Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Red Hat Linux, Fedora Core, Knoppix, tomsrtbt
Posts: 37
Rep:
Network is unreachable
I am running FC2 on a desktop and Knoppix 3.4 (Live CD, not harddrive) on a laptop and am trying to network the two with a crossover cable. I want to image my harddrive on my laptop before I use QTParted to make room for Linux. I have the /etc/exports set up. I currently reads
Code:
/home/confidential/image
I start up the nfs service on the desktop using /etc/rc.d/init.d/nfs start. In the Network applet, I have the IP of the NIC in my desktop set up as 192.168.0.1 and the name as main.home. I have my user account on both computers in the users group with a GroupID of 100. When I type
Code:
mount -t nfs 192.168.0.1:/home/confidential/image /home/Knoppix/image
I get the error
Code:
mount: RPC: Remote system error - Network is unreachable
How can I get my two computers to communicate? I figured that this would be easier than getting two XP Home computers to communicate since Linux was made for a network.
How can I get my two computers to communicate? I figured that this would be easier than getting two XP Home computers to communicate since Linux was made for a network.
So was the Windows NT kernel, but Windows misconceptions aside...
Are you sure it is a crossover cable, and not a patch cable? If it is a crossover cable, did you set both machines up with IP addresses in the same subnet and range?
Distribution: Red Hat Linux, Fedora Core, Knoppix, tomsrtbt
Posts: 37
Original Poster
Rep:
After playing with some settings, the mount command now produces the error
Code:
mount: RPC: Remote system error - No route to host
This appears to be a step in the right direction since the network must now be reachable.
Here is a rundown of all of my settings:
In Knoppix 3.4, I ran the Network Card Configuration utility (netcardconfig). I answered no to use DHCP broadcast since I dont have a DHCP server on my "network".
IP Address: 192.168.0.2
Network Mask: 255.255.255.0
Broadcast Address: 192.168.0.255
Default Gateway: 192.168.0.254
Nameserver(s): 192.168.0.254
netcardconfig produces the following output:
Code:
ifconfig eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255 up
route add default gw 192.168.0.254
SIOCADDRT: File exists
auto 1o eth0
Setting Nameserver in /etc/resolv.conf to 192.168.0.254
Done.
In FC2:
----In the Network Configuration applet:
--------DNS tab:
------------Hostname: main.home
------------Primary DNS: 209.151.160.51 (my ISP's DNS server)
------------Secondary DNS:
------------Tertiary DNS:
------------DNS Search Path:
--------Hosts tab:
------------IP: 192.168.0.1
------------Name: MAIN
------------Aliases:
--------General tab for eth0:
------------IPv6 enabled
------------Manual IP Address Settings:
----------------Address: 192.168.0.1
----------------Subnet mask: 255.255.255.0
----------------Default gateway address: 192.168.0.254 Sorry for the formatting, but spaces don't work, I can't use TABs, and I don't want to format it as code
u can use the ping command in a terminal window and use ctrl - c to close.
a good list of ping commands can be found at http://www.computerhope.com/unix/uping.htm
but it would seem that the network ip addresses and isp addresses need a bit more attention.....if nobody get backs to u with more today will offer more help tomorrow as just browsing through quickly :-)
Distribution: Red Hat Linux, Fedora Core, Knoppix, tomsrtbt
Posts: 37
Original Poster
Rep:
I tryed the ping command. last night. I was able to have each computer ping its own IP address, meaning that the ethernet interfaces had been brought up properly. However, when I tryed to ping the other computer, all of the packets were lost. I guess that there must be something wrong with some of my network parameters. Can someone help me sort them out and fix the problem?
Distribution: Red Hat Linux, Fedora Core, Knoppix, tomsrtbt
Posts: 37
Original Poster
Rep:
I have disabled the firewall on my FC2 machine. I do not know if a firewall is operating on the Knoppix machine. If it is, I don't know how to turn it off.
you could try adding a route to each machine to the specific IP address of the other and using its own NIC as the gateway for that IP. If that doesn't work then I would try using two regular patch cables plugged into a hub or switch. I'm not doubting your cable, but it would be worth trying a different one, or hooking them up to a hub or switch instead.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.