I don't have an account for there, and not sure if my problem is the
same, so I'll try to fully describe it.

I have a laptop (Acer aspire 5612WLMi) and using currently Jaunty. Apart
from the internal NIC (eth0), for internet I use a network interface via
usb (it's a kingston port duplicator with some extra USB connections, so
I get "all-usb-in-one-connection"), and it's eth1. When using NM
(Network Manager), and without any hibernation, etc in between, when the
dhcp lease expires, NM seems to ignore. These are the last logs about
this:

Aug 24 20:03:28 oscar-laptop dhclient: DHCPREQUEST of 192.168.1.33 on eth1 to 
192.168.1.1 port 67
Aug 24 20:03:28 oscar-laptop dhclient: DHCPACK of 192.168.1.33 from 192.168.1.1
Aug 24 20:03:28 oscar-laptop dhclient: bound to 192.168.1.33 -- renewal in 
40125 seconds.
Aug 24 20:03:28 oscar-laptop NetworkManager: <info>  DHCP: device eth1 state 
changed bound -> renew 
Aug 24 20:03:28 oscar-laptop NetworkManager: <info>    address 192.168.1.33 
Aug 24 20:03:28 oscar-laptop NetworkManager: <info>    prefix 24 
(255.255.255.0) 
Aug 24 20:03:28 oscar-laptop NetworkManager: <info>    gateway 192.168.1.1 
Aug 24 20:03:28 oscar-laptop NetworkManager: <info>    nameserver 
'80.58.61.250' 
Aug 24 20:03:28 oscar-laptop NetworkManager: <info>    nameserver 
'80.58.61.254' 


Which means that dhclient is aware of renewing and seems to renew properly. The 
leases are registered in the lease file:

# cat /var/lib/dhcp3/dhclient-eth1.lease 
lease {
  interface "eth1";
  fixed-address 192.168.1.33;
  option subnet-mask 255.255.255.0;
  option routers 192.168.1.1;
  option dhcp-lease-time 86400;
  option dhcp-message-type 5;
  option domain-name-servers 80.58.61.250,80.58.61.254;
  option dhcp-server-identifier 192.168.1.1;
  renew 1 2009/08/24 18:03:28;
  rebind 2 2009/08/25 04:32:44;
  expire 2 2009/08/25 07:32:44;
}
lease {
  interface "eth1";
  fixed-address 192.168.1.33;
  option subnet-mask 255.255.255.0;
  option routers 192.168.1.1;
  option dhcp-lease-time 86400;
  option dhcp-message-type 5;
  option domain-name-servers 80.58.61.250,80.58.61.254;
  option dhcp-server-identifier 192.168.1.1;
  renew 2 2009/08/25 05:12:13;
  rebind 2 2009/08/25 15:03:28;
  expire 2 2009/08/25 18:03:28;
}


As a comment, though eth1 seems correctly configured, I'm not able to ping the 
gateway, and anything related to eth1 times out (dhclient, mii-tool,...)


I've been unable to renew via restarting NM nor "dhclient eth1". After trying 
any of these, all routes are lost. The only way I've found to renew the IP is 
to unplug and plug again the usb interface.


If this is a duplicate or I should open a new different bug, please let me know.

-- 
Network Manager should retry DHCP
https://bugs.launchpad.net/bugs/387035
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to