[Voyage-linux] Re: 0.8.0: pppd still missing, other utils
Teco Boot
(spam-protected)
Sat Sep 17 20:42:35 HKT 2011
Punky, Adrian,
I tested allow-hotplug again. I see no difference with auto. Both
don't work well on Alix6 (and probably many other platforms).
The problem is that "RUNNING" state change does not trigger dhclient.
Config / test results below.
@Adrian: Voyage install should not configure ifplugd for
any interface. It would be nice to control ifplugd from
/etc/network/interfaces. An ifplugd replacement is OK also.
Thanks, Teco
My config:
==========
# eth1: DHCP client, connect to Internet
# and MANET cross-link
allow-hotplug eth1
iface eth1 inet dhcp
post-up vconfig add eth1 2580
post-up ip address add 172.29.175.166/16 dev eth1.2580
post-up ifconfig eth1.2580 broadcast 255.255.255.255
post-up ifconfig eth1.2580 up
pre-down vconfig rem eth1.2580
After reboot, cable disconnected:
Last login: Sat Sep 17 11:25:39 2011 from 172.31.175.173
root at AHR-175-166:~# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:0d:b9:21:08:21
UP BROADCAST 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:11
root at AHR-175-166:~# ps -ef | grep eth
root 1098 1 0 11:34 ? 00:00:00 ifup --allow=hotplug eth1
root 1582 1098 0 11:34 ? 00:00:00 /bin/sh -c dhclient -v -pf /var/run/dhclient.eth1.pid -lf /var/lib/dhcp/dhclient.eth1.leases eth1
root 1583 1582 0 11:34 ? 00:00:00 dhclient -v -pf /var/run/dhclient.eth1.pid -lf /var/lib/dhcp/dhclient.eth1.leases eth1
After ~ 1 minute, I see another dhclient proces:
root 2365 1 0 11:35 ? 00:00:00 dhclient -v -pf /var/run/dhclient.eth1.pid -lf /var/lib/dhcp/dhclient.eth1.leases eth1
Syslog (filtered for dhclient & eth1):
Sep 17 11:34:53 AHR-175-166 kernel: [ 4.533739] via-rhine 0000:00:0a.0: eth1: VIA Rhine III (Management Adapter) at 0xe0040000, 00:0d:b9:21:08:21, IRQ 11
Sep 17 11:34:53 AHR-175-166 kernel: [ 4.541038] via-rhine 0000:00:0a.0: eth1: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000
Sep 17 11:34:53 AHR-175-166 kernel: [ 12.803058] via-rhine 0000:00:0a.0: eth1: link down
Sep 17 11:34:53 AHR-175-166 kernel: [ 12.805134] 8021q: adding VLAN 0 to HW filter on device eth1
Sep 17 11:34:53 AHR-175-166 kernel: [ 12.810013] ADDRCONF(NETDEV_UP): eth1: link is not ready
Sep 17 11:34:55 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5
Sep 17 11:35:00 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10
Sep 17 11:35:10 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10
Sep 17 11:35:20 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 21
Sep 17 11:35:41 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
Sep 17 11:35:53 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3
Sep 17 11:35:56 AHR-175-166 dhclient: No DHCPOFFERS received.
Sep 17 11:35:56 AHR-175-166 dhclient: No working leases in persistent database - sleeping.
Sep 17 11:35:56 AHR-175-166 kernel: [ 77.228962] ADDRCONF(NETDEV_UP): eth1.2580: link is not ready
Sep 17 11:38:46 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
Sep 17 11:38:50 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
Sep 17 11:38:56 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
Sep 17 11:39:04 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
Sep 17 11:39:12 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
Sep 17 11:39:21 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 19
Then, I connect a cable and wait (long.....) for an IP address:
Sep 17 11:46:38 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
Sep 17 11:46:42 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
Sep 17 11:46:51 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 19
Sep 17 11:47:10 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
Sep 17 11:47:22 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
Sep 17 11:47:30 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
Sep 17 11:47:39 AHR-175-166 dhclient: No DHCPOFFERS received.
Sep 17 11:47:39 AHR-175-166 dhclient: No working leases in persistent database - sleeping.
Sep 17 11:49:10 AHR-175-166 kernel: [ 869.098417] via-rhine 0000:00:0a.0: eth1: link up, 100Mbps, full-duplex, lpa 0xC5E1
Sep 17 11:49:10 AHR-175-166 kernel: [ 869.099539] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Sep 17 11:49:10 AHR-175-166 kernel: [ 869.102951] ADDRCONF(NETDEV_CHANGE): eth1.2580: link becomes ready
Sep 17 11:49:10 AHR-175-166 kernel: [ 869.106623] device br0 left promiscuous mode
Sep 17 11:49:10 AHR-175-166 kernel: [ 869.110615] device br0 entered promiscuous mode
Sep 17 11:49:20 AHR-175-166 kernel: [ 879.955706] eth1.2580: no IPv6 routers present
Sep 17 11:49:21 AHR-175-166 kernel: [ 880.051703] eth1: no IPv6 routers present
root at AHR-175-166:~# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:0d:b9:21:08:21
inet6 addr: fe80::20d:b9ff:fe21:821/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:88 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20941 (20.4 KiB) TX bytes:2380 (2.3 KiB)
Interrupt:11
Sep 17 11:53:00 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5
Sep 17 11:53:00 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5
Sep 17 11:53:00 AHR-175-166 dhclient: DHCPOFFER from 10.175.173.1
Sep 17 11:53:00 AHR-175-166 dhclient: DHCPREQUEST on eth1 to 255.255.255.255 port 67
Sep 17 11:53:00 AHR-175-166 dhclient: DHCPOFFER from 10.175.173.1
Sep 17 11:53:00 AHR-175-166 dhclient: DHCPREQUEST on eth1 to 255.255.255.255 port 67
Sep 17 11:53:00 AHR-175-166 dhclient: DHCPACK from 10.175.173.1
Sep 17 11:53:00 AHR-175-166 dhclient: DHCPACK from 10.175.173.1
Sep 17 11:53:01 AHR-175-166 dhclient: bound to 10.175.173.29 -- renewal in 37657 seconds.
Sep 17 11:53:01 AHR-175-166 dhclient: bound to 10.175.173.29 -- renewal in 37657 seconds.
root at AHR-175-166:/etc# cat /var/lib/dhcp/dhclient.eth1.leases
lease {
interface "eth1";
fixed-address 10.175.173.29;
option subnet-mask 255.255.255.128;
option routers 10.175.173.1;
option dhcp-lease-time 86400;
option dhcp-message-type 5;
option domain-name-servers 10.175.173.1;
option dhcp-server-identifier 10.175.173.1;
option dhcp-renewal-time 43200;
option broadcast-address 10.175.173.127;
option dhcp-rebinding-time 75600;
renew 6 2011/09/17 22:20:38;
rebind 0 2011/09/18 08:53:00;
expire 0 2011/09/18 11:53:00;
}
So it took almost 4 minutes for dhclient to wake up. Not acceptable for me. I could
tune with e.g. retry 60 in /etc/dhcp/dhclient.conf.
Now I disconnect the cable.
Sep 17 12:03:11 AHR-175-166 kernel: [ 1710.706105] via-rhine 0000:00:0a.0: eth1: link down
Sep 17 12:03:11 AHR-175-166 kernel: [ 1710.706105] via-rhine 0000:00:0a.0: eth1: link down
root at AHR-175-166:/etc# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:0d:b9:21:08:21
inet addr:10.175.173.29 Bcast:10.175.173.127 Mask:255.255.255.128
inet6 addr: fe80::20d:b9ff:fe21:821/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:3634 errors:0 dropped:0 overruns:0 frame:0
TX packets:782 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:827134 (807.7 KiB) TX bytes:86518 (84.4 KiB)
Interrupt:11
root at AHR-175-166:/etc# cat /var/lib/dhcp/dhclient.eth1.leases
lease {
interface "eth1";
fixed-address 10.175.173.29;
option subnet-mask 255.255.255.128;
option routers 10.175.173.1;
option dhcp-lease-time 86400;
option dhcp-message-type 5;
option domain-name-servers 10.175.173.1;
option dhcp-server-identifier 10.175.173.1;
option dhcp-renewal-time 43200;
option broadcast-address 10.175.173.127;
option dhcp-rebinding-time 75600;
renew 6 2011/09/17 22:20:38;
rebind 0 2011/09/18 08:53:00;
expire 0 2011/09/18 11:53:00;
}
The "RUNNING" state is gone, but the IP address is not released.
This is not acceptable for me.
Now I connect to another LAN (IP subnet 10.175.169.0/25):
Sep 17 12:08:16 AHR-175-166 kernel: [ 2015.644125] via-rhine 0000:00:0a.0: eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
root at AHR-175-166:/etc# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:0d:b9:21:08:21
inet addr:10.175.173.29 Bcast:10.175.173.127 Mask:255.255.255.128
inet6 addr: fe80::20d:b9ff:fe21:821/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3762 errors:0 dropped:0 overruns:0 frame:0
TX packets:836 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:891092 (870.2 KiB) TX bytes:91398 (89.2 KiB)
Interrupt:11
The dhclient is not notified of state change, and keeps the IP address of earlier
subnet configured. This is bad.
Restart dhclient does help:
root at AHR-175-166:/etc# killall dhclient
root at AHR-175-166:/etc# dhclient -v -pf /var/run/dhclient.eth1.pid -lf /var/lib/dhcp/dhclient.eth1.leases eth1
Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth1/00:0d:b9:21:08:21
Sending on LPF/eth1/00:0d:b9:21:08:21
Sending on Socket/fallback
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
DHCPOFFER from 10.175.169.1
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 10.175.169.1
bound to 10.175.169.29 -- renewal in 42412 seconds.
root at AHR-175-166:/etc#
root 7403 1 0 12:14 ? 00:00:00 dhclient -v -pf /var/run/dhclient.eth1.pid -lf /var/lib/dhcp/dhclient.eth1.leases eth1
root at AHR-175-166:/etc# cat /var/lib/dhcp/dhclient.eth1.leases
lease {
interface "eth1";
fixed-address 10.175.173.29;
option subnet-mask 255.255.255.128;
option dhcp-lease-time 86400;
option routers 10.175.173.1;
option dhcp-message-type 5;
option dhcp-server-identifier 10.175.173.1;
option domain-name-servers 10.175.173.1;
option dhcp-renewal-time 43200;
option dhcp-rebinding-time 75600;
option broadcast-address 10.175.173.127;
renew 6 2011/09/17 22:20:38;
rebind 0 2011/09/18 08:53:00;
expire 0 2011/09/18 11:53:00;
}
lease {
interface "eth1";
fixed-address 10.175.169.29;
option subnet-mask 255.255.255.128;
option routers 10.175.169.1;
option dhcp-lease-time 86400;
option dhcp-message-type 5;
option domain-name-servers 10.175.169.1;
option dhcp-server-identifier 10.175.169.1;
option dhcp-renewal-time 43200;
option broadcast-address 10.175.169.127;
option dhcp-rebinding-time 75600;
renew 0 2011/09/18 00:01:38;
rebind 0 2011/09/18 09:14:45;
expire 0 2011/09/18 12:14:45;
}
root at AHR-175-166:/etc#
Now I start ifplugd, and check same procedure back to original network.
root at AHR-175-166:/etc# cat ./default/ifplugd
# This file may be changed either manually or by running dpkg-reconfigure.
#
# N.B.: dpkg-reconfigure deletes everything from this file except for
# the assignments to variables INTERFACES, HOTPLUG_INTERFACES, ARGS and
# SUSPEND_ACTION. When run it uses the current values of those variables
# as their default values, thus preserving the administrator's changes.
#
# This file is sourced by both the init script /etc/init.d/ifplugd and
# the udev script /lib/udev/ifplugd.agent to give default values.
# The init script starts ifplugd for all interfaces listed in
# INTERFACES, and the udev script starts ifplugd for all interfaces
# listed in HOTPLUG_INTERFACES. The special value all starts one
# ifplugd for all interfaces being present.
INTERFACES="eth1"
HOTPLUG_INTERFACES=""
ARGS="-q -f -u0 -d5 -w -I"
SUSPEND_ACTION="stop"
root at AHR-175-166:/etc/rc2.d# start ifplugd
Network Interface Plugging Daemon...start eth1...done.
root 8285 1 0 12:24 ? 00:00:00 /usr/sbin/ifplugd -i eth1 -q -f -u0 -d5 -w -I
(still on right subnet)
root at AHR-175-166:/etc# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:0d:b9:21:08:21
inet addr:10.175.169.29 Bcast:10.175.169.127 Mask:255.255.255.128
inet6 addr: fe80::20d:b9ff:fe21:821/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6042 errors:0 dropped:0 overruns:0 frame:0
TX packets:1752 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2112403 (2.0 MiB) TX bytes:182210 (177.9 KiB)
Interrupt:11
root at AHR-175-166:/etc# ping -c 1 10.175.169.1
PING 10.175.169.1 (10.175.169.1) 56(84) bytes of data.
64 bytes from 10.175.169.1: icmp_req=1 ttl=64 time=0.417 ms
--- 10.175.169.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.417/0.417/0.417/0.000 ms
root at AHR-175-166:/etc#
(now disconnect cable)
Sep 17 12:28:29 AHR-175-166 kernel: [ 3228.915016] via-rhine 0000:00:0a.0: eth1: link down
Sep 17 12:28:30 AHR-175-166 ifplugd(eth1)[8285]: Link beat lost.
Sep 17 12:28:35 AHR-175-166 ifplugd(eth1)[8285]: Executing '/etc/ifplugd/ifplugd.action eth1 down'.
Sep 17 12:28:35 AHR-175-166 ifplugd(eth1)[8285]: client: Removed VLAN -:eth1.2580:-
Sep 17 12:28:36 AHR-175-166 dhclient: Internet Systems Consortium DHCP Client 4.1.1-P1
Sep 17 12:28:36 AHR-175-166 ifplugd(eth1)[8285]: client: Internet Systems Consortium DHCP Client 4.1.1-P1
Sep 17 12:28:36 AHR-175-166 dhclient: Copyright 2004-2010 Internet Systems Consortium.
Sep 17 12:28:36 AHR-175-166 ifplugd(eth1)[8285]: client: Copyright 2004-2010 Internet Systems Consortium.
Sep 17 12:28:36 AHR-175-166 dhclient: All rights reserved.
Sep 17 12:28:36 AHR-175-166 ifplugd(eth1)[8285]: client: All rights reserved.
Sep 17 12:28:36 AHR-175-166 dhclient: For info, please visit https://www.isc.org/software/dhcp/
Sep 17 12:28:36 AHR-175-166 ifplugd(eth1)[8285]: client: For info, please visit https://www.isc.org/software/dhcp/
Sep 17 12:28:36 AHR-175-166 dhclient:
Sep 17 12:28:36 AHR-175-166 dhclient: Listening on LPF/eth1/00:0d:b9:21:08:21
Sep 17 12:28:36 AHR-175-166 ifplugd(eth1)[8285]: client: Listening on LPF/eth1/00:0d:b9:21:08:21
Sep 17 12:28:36 AHR-175-166 dhclient: Sending on LPF/eth1/00:0d:b9:21:08:21
Sep 17 12:28:36 AHR-175-166 ifplugd(eth1)[8285]: client: Sending on LPF/eth1/00:0d:b9:21:08:21
Sep 17 12:28:36 AHR-175-166 dhclient: Sending on Socket/fallback
Sep 17 12:28:36 AHR-175-166 ifplugd(eth1)[8285]: client: Sending on Socket/fallback
Sep 17 12:28:36 AHR-175-166 dhclient: DHCPRELEASE on eth1 to 10.175.169.1 port 67
Sep 17 12:28:36 AHR-175-166 ifplugd(eth1)[8285]: client: DHCPRELEASE on eth1 to 10.175.169.1 port 67
Sep 17 12:28:37 AHR-175-166 ifplugd(eth1)[8285]: Program executed successfully.
Sep 17 12:28:37 AHR-175-166 kernel: [ 3236.189431] via-rhine 0000:00:0a.0: eth1: link down
Sep 17 12:28:37 AHR-175-166 kernel: [ 3236.192943] 8021q: adding VLAN 0 to HW filter on device eth1
Sep 17 12:28:37 AHR-175-166 kernel: [ 3236.195090] ADDRCONF(NETDEV_UP): eth1: link is not ready
root at AHR-175-166:/etc# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:0d:b9:21:08:21
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:6300 errors:0 dropped:0 overruns:0 frame:0
TX packets:1853 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2245406 (2.1 MiB) TX bytes:192190 (187.6 KiB)
Interrupt:11
(IPv6 address is released also, which is great).
Then back to original LAN, with 10.175.173.0/128:
Sep 17 12:30:39 AHR-175-166 kernel: [ 3358.574624] via-rhine 0000:00:0a.0: eth1: link up, 100Mbps, full-duplex, lpa 0xC5E1
Sep 17 12:30:39 AHR-175-166 kernel: [ 3358.575605] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Sep 17 12:30:40 AHR-175-166 ifplugd(eth1)[8285]: Link beat detected.
Sep 17 12:30:40 AHR-175-166 ifplugd(eth1)[8285]: Executing '/etc/ifplugd/ifplugd.action eth1 up'.
Sep 17 12:30:40 AHR-175-166 dhclient: Internet Systems Consortium DHCP Client 4.1.1-P1
Sep 17 12:30:40 AHR-175-166 ifplugd(eth1)[8285]: client: Internet Systems Consortium DHCP Client 4.1.1-P1
Sep 17 12:30:40 AHR-175-166 dhclient: Copyright 2004-2010 Internet Systems Consortium.
Sep 17 12:30:40 AHR-175-166 ifplugd(eth1)[8285]: client: Copyright 2004-2010 Internet Systems Consortium.
Sep 17 12:30:40 AHR-175-166 dhclient: All rights reserved.
Sep 17 12:30:40 AHR-175-166 ifplugd(eth1)[8285]: client: All rights reserved.
Sep 17 12:30:40 AHR-175-166 dhclient: For info, please visit https://www.isc.org/software/dhcp/
Sep 17 12:30:40 AHR-175-166 ifplugd(eth1)[8285]: client: For info, please visit https://www.isc.org/software/dhcp/
Sep 17 12:30:40 AHR-175-166 dhclient:
Sep 17 12:30:40 AHR-175-166 dhclient: Listening on LPF/eth1/00:0d:b9:21:08:21
Sep 17 12:30:40 AHR-175-166 dhclient: Sending on LPF/eth1/00:0d:b9:21:08:21
Sep 17 12:30:40 AHR-175-166 dhclient: Sending on Socket/fallback
Sep 17 12:30:40 AHR-175-166 ifplugd(eth1)[8285]: client: Listening on LPF/eth1/00:0d:b9:21:08:21
Sep 17 12:30:40 AHR-175-166 ifplugd(eth1)[8285]: client: Sending on LPF/eth1/00:0d:b9:21:08:21
Sep 17 12:30:40 AHR-175-166 ifplugd(eth1)[8285]: client: Sending on Socket/fallback
Sep 17 12:30:41 AHR-175-166 dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
Sep 17 12:30:41 AHR-175-166 ifplugd(eth1)[8285]: client: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
Sep 17 12:30:41 AHR-175-166 dhclient: DHCPOFFER from 10.175.173.1
Sep 17 12:30:41 AHR-175-166 dhclient: DHCPREQUEST on eth1 to 255.255.255.255 port 67
Sep 17 12:30:41 AHR-175-166 ifplugd(eth1)[8285]: client: DHCPOFFER from 10.175.173.1
Sep 17 12:30:41 AHR-175-166 ifplugd(eth1)[8285]: client: DHCPREQUEST on eth1 to 255.255.255.255 port 67
Sep 17 12:30:41 AHR-175-166 dhclient: DHCPACK from 10.175.173.1
Sep 17 12:30:41 AHR-175-166 ifplugd(eth1)[8285]: client: DHCPACK from 10.175.173.1
Sep 17 12:30:42 AHR-175-166 dhclient: bound to 10.175.173.29 -- renewal in 41018 seconds.
Sep 17 12:30:42 AHR-175-166 ifplugd(eth1)[8285]: client: bound to 10.175.173.29 -- renewal in 41018 seconds.
Sep 17 12:30:42 AHR-175-166 ifplugd(eth1)[8285]: client: Added VLAN with VID == 2580 to IF -:eth1:-
Sep 17 12:30:49 AHR-175-166 kernel: [ 3368.776025] eth1: no IPv6 routers present
Sep 17 12:30:53 AHR-175-166 kernel: [ 3372.279498] eth1.2580: no IPv6 routers present
Sep 17 12:30:57 AHR-175-166 ntpdate[9307]: step time server 192.87.106.3 offset 1.834955 sec
Sep 17 12:30:57 AHR-175-166 ifplugd(eth1)[8285]: Program executed successfully.
So here I have my correct address back in seconds.
Great !!!
Op 17 sep 2011, om 11:58 heeft Adrian Reyer het volgende geschreven:
> On Sat, Sep 17, 2011 at 05:06:23PM +0800, Punky Tse wrote:
>> What is the configuration of ifplugd and in /etc/init.d/network?
>> Doesn't "allow-hotplug eth0" solve the problem?
>
> ifplugd as well as allow-hotplug fail on some devices even to the extend
> of not at all detecting a cable and as a result not bringing up the
> network interface. This is limited by the drivers or even the hardware
> not relaying/transmitting an event if a cable is plugged in.
>
> I really don't want to have ifplugd installed/used as a default. It is
> perfectly fine to install ifplugd afterwards if someone wants to use
> it, for me having an initially working network is worth by far more and
> having a working network connection it is easy to get ifplugd installed.
> The other way round it is extra work while the system is in a broken
> state, network-wise.
>
> Regards,
> Adrian
> --
> LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
> Fon: +49 (7 11) 78 28 50 90 - Fax: +49 (7 11) 78 28 50 91
> Mail: lihas at lihas.de - Web: http://lihas.de
> Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart
More information about the Voyage-linux
mailing list