Comment 2 for bug 297329

Revision history for this message
mungewell (simon-mungewell) wrote :

Checked and still crashes. It seems to do it when the default interface is up but not connected.

Method: remove ethernet cable and 'sudo /etc/init.d/networking restart', watch the dhclient timeout.
--
simon@destiny:~$ sudo /etc/init.d/networking restart
 * Reconfiguring network interfaces... RTNETLINK answers: No such process
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:d0:59:b7:80:76
Sending on LPF/eth0/00:d0:59:b7:80:76
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.32.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:d0:59:b7:80:76
Sending on LPF/eth0/00:d0:59:b7:80:76
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
                                                                                                        [ OK ]
simon@destiny:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 1000 0 0 eth0
--

It does not crash (testing after each command) if I do:
1) 'sudo ifdown eth0'
2) 'sudo ifconfig eth0 up' with no parameters
3) 'sudo ifconfig eth0 up 192.168.1.123 netmask 255.255.255.0'
4) 'sudo route add -net default gw 192.168.1.123'

I did try 'sudo route add -net default gw 0.0.0.0', but apparently this is illegal.

After the crash presence server is not running.
Mungewell.