Friday, August 1, 2008

Can not connect to Vncserver on Fedora 7 from Windows

On Fedora Server check whether vnc-server has been installed or not, using the command: rpm -qagrep "vnc"
If not, install it. Installation command "yum install vnc-server".
Not start vncserver. Command: vncserver
Try to connect from windows. Command: vncviewer IP_ADDRESS:1
If fails, check your Firewall settings. The port 5901 must be unblocked.
Configure Firewall using iptables to unblock the port 5901.
This will solve the problem.

Friday, July 25, 2008

merge all CD ISO images into one DVD ISO image

1. Mount each cd in turn.
If you just have the iso image you can mount it as a loopback filesystem:
mount -o loop -t iso9660 /mnt/tmp

2. Copy all of the files to your hard drive.

3. Use mkisofs to create a new ISO image
mkisofs -o dvd_iso_image.iso /path/to/files

Yahoo Messenger can not start -- Ports used by Yahoo! Messenger

Ports used byYahoo! Messenger
Messenger services uses a variety of ports.

Chat & Messenger --->
TCP Port 5050: Client Access only

Insider/Room Lists --->
TCP Port 80: Client Access only

File Transfer --->
TCP Port 80: Server Access.
Your ISP may block this port, as its used for web hosting.
You can change port in Messenger, Preferences, File Transfer.

Voice Chat --->
UDP 5000-5010
TCP 5000-5001: Client Access
If UDP Fails, TCP will be used instead, see below.

WebCam --->
TCP Port 5100: Client Access

Super Webcam --->
TCP Port 5100: Server Access

P2P Instant Messages --->
TCP Port 5101: Server Access
PMs between Buddys may not use the Yahoo! Server, but this is not a requirement.

Monday, June 30, 2008

Install Fedora Live Image to USB Flash Drive

Installing Fedora Live Image to USB Flash Drive is now easy.
Please follow the tutorials from the link below.

http://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo

Friday, June 27, 2008

Find out a package which a file belongs to

Find out a package which a file belongs to
If some files are deleted or corrupted from Linux system, such as /bin/bash, /bin/mount then how can I find these file belongs to what RPM?

Just use the command "rpm -qf /bin/bash" , this will report the name of the package (bash-3.2-9.fc7 in my system) which contaions the file.

Monday, June 23, 2008

USB device identification using Linux/Fedora

USB device identification using Linux/Fedora.
A device has a Vendor ID (VID) & a Product ID (PID).

To check,

use the command "tail -f /var/log/messages"

This will show the last 10 lines of this file.

Now plug the USB device to any usb port.

Wait & see the changes on the conmmand screen.

Now press Ctrl+C

Then,use the command "lsusb" to get the BUS ID & Device ID (VID & PID)
.

My Pen Drive has the following info,
# lsusb
Bus 005 Device 008: ID 0457:0151 Silicon Integrated Systems Corp. Super Flash 1GB Flash Drive
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000

Which tells VID =0457 & PID = 0151
Visit http://www.linux-usb.org/usb.ids to get updated list of supported USB devices with IDs.

Thursday, June 19, 2008

Build your own Operating System

Build your own Operating System:-
The first step to build a new OS is, to build a new boot loader.
The prerequisite is --- assembly language, Computer system booting.
I have build my own small boot loader using "nasm" -- a free Linux assembler.

Art Auctions starting at $1