Problem connecting to Linksys wrt54g (ubuntu server 7.04)
The issue is VERY similar to this problem:
showthread.php?t=491092
I'm at home running a cable modem --> linksys wrt54g --> Two home computers and two Ubuntu Servers (sunfire x2200's)
Router is set to DHCP. Both macintosh machines are able to pull an IP, one is wireless the other is wired.
I added the two servers the other day (Ubuntu server latest stable release). I have the cable installed in eth1 (I also tried this in eth0). The /etc/network/interfaces file is set as follows:
---
#the rimary network interface
auto eth1
#iface the1 inet static
# address 192.168.1.111
# netmask 255.255.255.0
# network 192.168.1.0
# broadcast 192.168.1.255
# gateway 192.168.1.1
iface eth1 inet dhcp
---
after changing it from static (I commented all the lines) I ran sudo /etc/init.d/networking restart and I get the following:
There is already a pid file /var/run/dhclient.eth1.pid with pid 4897
killed old client processes, removed old pid file
<snip>
dhcpdiscover on eth1 to 255.255.255.255 port 67 interval 3
dhcpdiscover on eth1 to 255.255.255.255 port 67 interval 4
dhcpdiscover on eth1 to 255.255.255.255 port 67 interval 7
dhcpdiscover on eth1 to 255.255.255.255 port 67 interval 12
dhcpdiscover on eth1 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received
no working leases in persistent database - sleeping
Now I run ifconfig eth1 and this is returned:
eth1 link encap:ethernet hwaddr 00:16:36:68:46:0e
upbroadcast multicast mtu:1500 metric:1
rx packets:0 errors:0 dropped:0 overruns:0 frame:0
tx packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
rx bytes:0 (0,0 b) tx bytes: 0(0,0 b)
interrupt:20 base address: 0xe000
As you can see it's not pulling an IP address!
Any ideas what is going on?
I've tried both machines, multiple ports on each. I tried setting it up as static. I reset the servers, I reset the router.
I'm at a loss.
TIA,
- Ryan
|