Unable to connect to DHCP Network
Hi everyone. I am trying to connect to RezNet at the University of Western Ontario using Debian Linux sid. When I run /etc/init.d/networking restart, it says SIOCADDRT: no process found. I am unable to get onto the Internet, and I cannot ping any local addresses. Is there a particular package I should install to make this work? My /etc/network/interfaces has:
auto lo iface lo inet loopback auto eth1 iface eth1 inet dhcp Thanks in advance. |
Hrm your Ethernet interface is defined as eth1 rather than eth0. Typically the numbering would start at eth0..
What is the output of: cat /var/log/dmesg | grep eth |
The output of cat /var/log/dmesg | grep eth is:
Code:
debian:~# cat /var/log/dmesg | grep eth Code:
debian:~# ifconfig Code:
debian:~# /etc/init.d/networking restart |
Just out of curiosity, was the RezNet support team not able to assist you ? I would think there would be someone in their group at least familiar with Linux. Since that is a university network, there may be some special authentication system they have in place for your machine. I know Case Western in Cleveland registers the User PC's via their MAC address, so they can control access and track them. I'm not sure what systems your university may have in place. .
as for the error message SIOCDELRT No such process - You have tried to delete a route that doesn’t exist. List the routes with route –n and check the destaddr and netmask that you entered I wonder if this could be because of the other interfaces you have defined.. vmnet are those a vmware interfaces ? Since the error is about a route, what does your routing table look like ? I wonder if a route on your machine is conflicting with something in their DHCP network configuration. have you tried shutting down vmware so those interfaces are disabled and then trying to connect to reznet ? That would be the next step I would try.. |
I didn't know I had to add a destaddr and netmask, or even how to do that. I figured since it was DHCP, it would just work, without any configuration. Also, they do require MAC addresses, I was able to get online and do that earlier, but then I had to change the network settings to static IP for a LAN, and then upon changing back, the internet does not work. Also, changing vmware makes no difference. I should point out that I am not all that experienced with Linux networking, but I appreciate the fact that you're trying to help me greatly. Thanks a lot man.
Here is the output of route -n: Code:
debian:~# route -n |
You should definitely ask around the campus (try the Weldon library) to see if they can hook you up with a sysadmin, or technician. I know the systems in the Weldon library use Solaris 9 (I believe), so I'm more than sure one or two of the sysadmins would be able to help you out.
Is your version of Sid installed through a VM? The reason I ask is because of the "vmnetn" interfaces. Netmasks can be set through ifconfig and route. Check manpages for specifics. You can set a DHCP target destination (destaddr) using dhcdbd: # dhcdbd --dest host.domain.net Also, check out the dhcp-options(5) manpage. |
It looks more like the DHCP server is proposing a route that your system doesn't like.. I copied the wrong error message..
SIOCDELRT instead of SIOCADDRT One is delete route the second which you have is Add route.. my bad.. http://www.uit.co.uk/practical-tcpip/w-rterr-015.htm It's Also odd that your eth1 ends up with 2 addresses in the routing table... the 129 from the DHCP server and a 169. which is a typical autoconfig address seen on a windows machine. any idea where that 169 address is coming from ? Also there is no default gateway in your routing table, this is probably the part of the DHCP offer that is failing. possibly due to some of your other network configuration.. have you treid shutting down vmware yet ? the default route in your table would look something like this.. Code:
Kernel IP routing table |
Hey. I have no idea where the 169 address is coming from. I shut down vmware. The resulting route -n is as follows:
Code:
debian:~# route -n Edit to indienick: My version of Sid is native, I have XP installed in VMWare to run any miscellaneous programs that the university may require me to use which won't work on Linux. |
Haha fair enough. :)
Could you please post your /etc/network/interfaces and your /etc/resolv.conf? If you've been mucking around with them, the problem may very well lie therein. Also, there's a comment as the first line of /etc/resolv.conf: Code:
# generated by NetworkManager, do not edit! |
I was just thinking the same thing.. lets see that /etc/network/interfaces file. That address / route has got to be defined somewhere..
I have poked around the net a little bit and found other people with similar issues with connectivity. Each time the Default gateway is missing and that mysterious 169.254.0.0 route is in their table and none of them seem to know where it came from.. One workaround was to manually add the default gateway to your routing table. Go to a friends PC and find out what your Default gateway is supposed to be, you can use the command netstat -nr on windows, Mac or Linux with equal success to get the routing table. (for example purposes we'll use 129.100.193.1 again) Try and add a default route manually route add default gw 129.100.193.1 Test internet connectivity, try to browse the internet. http://www.google.com http://64.233.167.99 - If You can't browse by URL try with the IP (just in case you didn't get DNS info ) If that work's you could edit your /etc/network/interfaces file and have it manually add the default gateway to your system each time.. an ugly hack, but if it works.. Quote:
|
/etc/network/interfaces:
Code:
# This file describes the network interfaces available on your system Code:
# generated by NetworkManager, do not edit! |
For whatever reason, my internet is now functional. Thank you both very much for your help, I'm sure something that either of you suggested has made the difference. I can now take care of all the online stuff that I've had to put off. Thanks again.
|
Hahaha! You're very welcome; most of that should go to farslayer, as I came in late on this situation.
Just a faint curiosity, do you have a firewire port on your desktop/laptop? The reason I ask is because of your ethernet card being referred to as eth1, and not eth0. I just finished setting up my friend's laptop with a Linux install on it, and his ethernet card was bumped to eth1 just because he had a firewire port. |
That firewire 'network interface' is so annoying.. does ANYONE actually use firewire for a network interface ?
I wish that feature was not enabled by default. I also wish I knew which part got WolfCub straightened out.. but hey it's working, and that's what counts :) |
Hey guys. I had to reboot my computer a few minutes ago, and for whatever reason, the internet stopped working with the same reason again. This must mean that it has never been right, since it worked initially, then stopped working (and thus I made this thread), and then it worked, and now it has stopped again. Maybe RezNet is putting me on a different IP block or something and my computer can't take that (don't know how to phrase it, just a guess). So I guess I'm back to square one, unless I randomly boot up and it works, and then I never disconnect it again... Any ideas? Thanks in advance.
|
All times are GMT -5. The time now is 07:38 AM. |