Hi All!!!<br>
<br>
I'm having a little trouble. I have ubuntu 7.04 on my laptop with an
ethernet modem (seen as a wired connection). I'm getting my IP by DHCP.
On my win XP it is done very quickly with no trouble. But on my Ubuntu
it is not .<br>
<br>
I can see the modem, I can ping and access my gateway(my modem) in
firefox (so I can reset the modem from the laptop or do any settings).
When I connect to my modem, in it's settings it is said that my MAC is
'Proprietary', so all seems good.<br>
<br>
Everything seems great, but after I try to connect, it says that 'You
are connected to wired network', but I get almost all ip adresses equal
to '<a href="http://0.0.0.0">0.0.0.0</a>' in network manager. Seems like dhcp client does something
wrong maybe.... Because the gateway itself is 100% working and I get my
IP normally on winXP (just plug in the cable to my PC with XP and it's
working. Plug in into my laptop with ubuntu - doesn't work )...<br>
<br>
The dhcp server sends the IP addresses by the MAC addresses. The MAC
address is registered by my ISP, so it must be known on the other side.<br>
<br>My modem (which is actually my gateway, which, I believe, should give me the IP using DHCP) is Motorola Cable Modem SB5101<br><br>
Here is some data, which is taken after I try to connect and get all IPs '<a href="http://0.0.0.0">0.0.0.0</a>' in network manager:<br>
<br>
<br>
<br>
$ ifconfig -a<br>
eth1 Link encap:Ethernet HWaddr 00:16:36:4D:CF:3A<br>
inet6 addr: fe80::216:36ff:fe4d:cf3a/64 Scope:Link<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
RX packets:5267 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:495 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:1000<br>
RX bytes:447752 (437.2 KiB) TX bytes:69316 (67.6 KiB)<br>
Interrupt:17<br>
<br>
eth1:avah Link encap:Ethernet HWaddr 00:16:36:4D:CF:3A<br>
inet addr:<a href="http://169.254.5.200">169.254.5.200</a> Bcast:<a href="http://169.254.255.255">169.254.255.255</a> Mask:<a href="http://255.255.0.0">255.255.0.0</a><br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
Interrupt:17<br>
<br>
lo Link encap:Local Loopback<br>
inet addr:<a href="http://127.0.0.1">127.0.0.1</a> Mask:<a href="http://255.0.0.0">255.0.0.0</a><br>
inet6 addr: ::1/128 Scope:Host<br>
UP LOOPBACK RUNNING MTU:16436 Metric:1<br>
RX packets:171 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:171 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:0<br>
RX bytes:15536 (15.1 KiB) TX bytes:15536 (15.1 KiB)<br>
$ cat /etc/network/interfaces<br>
auto lo<br>
iface lo inet loopback<br>
<br>
auto eth1<br>
iface eth1 inet dhcp<br>
<br>
auto eth2<br>
iface eth2 inet dhcp<br>
<br>
auto ath0<br>
iface ath0 inet dhcp<br>
<br>
auto wlan0<br>
iface wlan0 inet dhcp<br>
<br>
<br>
iface eth0 inet dhcp<br>
address <a href="http://87.237.115.100">87.237.115.100</a><br>
netmask <a href="http://255.0.0.0">255.0.0.0</a><br>
gateway <a href="http://87.237.115.1">87.237.115.1</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
auto eth0<br>
$ route<br>
Kernel IP routing table<br>
Destination Gateway Genmask Flags Metric Ref Use Iface<br>
link-local * <a href="http://255.255.0.0">255.255.0.0</a> U 0 0 0 eth1<br>
default * <a href="http://0.0.0.0">0.0.0.0</a> U 1000 0 0 eth1