Package: ifupdown
Version: 0.8.23
Severity: normal
Hi!
The new rename support yet again.
rename mac/00:e0:4c:11:7f:4e/=wl0
allow-hotplug wl0
iface wl0 inet static
yaddayadda
If I [re-]connect the card on a running system (ie, hotplug), all works
fine. Not so for boot-up.
The interface gets renamed but stays down, wpa-supplicant is not started,
etc. Note that the IP address _gets_ assigned, though:
3: wl0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group
default qlen 1000
link/ether 00:e0:4c:11:7f:4e brd ff:ff:ff:ff:ff:ff
inet 192.168.8.6/24 brd 192.168.8.255 scope global wl0
valid_lft forever preferred_lft forever
After re-plugging, all is fine:
5: wl0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group
default qlen 1000
link/ether 00:e0:4c:11:7f:4e brd ff:ff:ff:ff:ff:ff
inet 192.168.8.6/24 brd 192.168.8.255 scope global wl0
valid_lft forever preferred_lft forever
inet6 fe80::2e0:4cff:fe11:7f4e/64 scope link
valid_lft forever preferred_lft forever
The kernel says:
[ 8.543103] usb 1-5: Vendor: Realtek
[ 8.543106] usb 1-5: Product: 802.11n NIC
[ 8.543108] usb 1-5: Serial:
\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff
[ 8.543111] usb 1-5: rtl8192eu_parse_efuse: dumping efuse (0x200 bytes):
[ 8.543113] usb 1-5: [lots of spam]
[ 8.543215] usb 1-5: RTL8192EU rev B (SMIC) 2T2R, TX queues 3, WiFi=1, BT=0,
GPS=0, HI PA=0
[ 8.543218] usb 1-5: RTL8192EU MAC: 00:e0:4c:11:7f:4e
[ 8.543220] usb 1-5: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin
[ 8.545056] usb 1-5: Firmware revision 19.0 (signature 0x92e1)
[ 9.634117] usbcore: registered new interface driver rtl8xxxu
[ 9.669407] rtl8xxxu 1-5:1.0 wl0: renamed from wlan0
[ 9.790612] IPv6: ADDRCONF(NETDEV_UP): wl0: link is not ready
On reconnect:
[30461.019614] usb 1-5: RTL8192EU rev B (SMIC) 2T2R, TX queues 3, WiFi=1, BT=0,
GPS=0, HI PA=0
[30461.019616] usb 1-5: RTL8192EU MAC: 00:e0:4c:11:7f:4e
[30461.019618] usb 1-5: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin
[30461.020553] usb 1-5: Firmware revision 19.0 (signature 0x92e1)
[30462.157807] rtl8xxxu 1-5:1.0 wl0: renamed from wlan0
[30462.207525] IPv6: ADDRCONF(NETDEV_UP): wl0: link is not ready
[30463.443032] wl0: authenticate with f0:43:47:84:04:ef
[30463.464832] wl0: send auth to f0:43:47:84:04:ef (try 1/3)
[30463.466354] wl0: authenticated
[30463.470179] wl0: associate with f0:43:47:84:04:ef (try 1/3)
[30463.474951] wl0: RX AssocResp from f0:43:47:84:04:ef (capab=0x1411 status=0
aid=3)
[30463.476675] usb 1-5: rtl8xxxu_bss_info_changed: HT supported
[30463.478053] wl0: associated
[30463.478066] IPv6: ADDRCONF(NETDEV_CHANGE): wl0: link becomes ready
-- Package-specific info:
--- /etc/network/interfaces:
[chaff snipped]
rename mac/00:e0:4c:11:7f:4e/=wl0
allow-hotplug wl0
iface wl0 inet static
wpa-ssid mial
wpa-psk blah blah blahity blah
address 192.168.8.6
netmask 255.255.255.0
--- up and down scripts installed:
/etc/network/if-down.d:
total 8
-rwxr-xr-x 1 root root 332 Jan 6 2013 upstart
lrwxrwxrwx 1 root root 32 Feb 20 11:55 wpasupplicant ->
../../wpa_supplicant/ifupdown.sh
/etc/network/if-post-down.d:
total 12
lrwxrwxrwx 1 root root 29 Jun 26 17:48 bridge -> /lib/bridge-utils/ifupdown.sh
lrwxrwxrwx 1 root root 25 Feb 20 11:55 hostapd -> ../../hostapd/ifupdown.sh
lrwxrwxrwx 1 root root 32 Feb 20 11:55 wpasupplicant ->
../../wpa_supplicant/ifupdown.sh
/etc/network/if-pre-up.d:
total 16
lrwxrwxrwx 1 root root 29 Jun 26 17:48 bridge -> /lib/bridge-utils/ifupdown.sh
-rwxr-xr-x 1 root root 344 Sep 22 2014 ethtool
lrwxrwxrwx 1 root root 25 Feb 20 11:55 hostapd -> ../../hostapd/ifupdown.sh
lrwxrwxrwx 1 root root 32 Feb 20 11:55 wpasupplicant ->
../../wpa_supplicant/ifupdown.sh
/etc/network/if-up.d:
total 28
-rwxr-xr-x 1 root root 1685 Sep 22 2014 ethtool
-rwxr-xr-x 1 root root 4958 Oct 25 2014 mountnfs
-rwxr-xr-x 1 root root 168 Nov 11 2016 openntpd
-rwxr-xr-x 1 root root 972 Mar 30 12:18 openssh-server
-rwxr-xr-x 1 root root 1483 Jan 6 2013 upstart
lrwxrwxrwx 1 root root 32 Feb 20 11:55 wpasupplicant ->
../../wpa_supplicant/ifupdown.sh
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'),
(150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.13.0-rc2-debug-00025-g7c422cf6b36d (SMP w/6 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages ifupdown depends on:
ii adduser 3.115
ii init-system-helpers 1.49
ii iproute2 4.9.0-1
ii libc6 2.24-12
ii lsb-base 9.20161125
Versions of packages ifupdown recommends:
ii isc-dhcp-client [dhcp-client] 4.3.5-3
Versions of packages ifupdown suggests:
pn ppp <none>
pn rdnssd <none>
-- no debconf information