On Thu, Jul 27, 2017 at 05:39:57PM +0200, Guus Sliepen wrote:
> On Tue, Jul 25, 2017 at 11:42:01PM +0200, Adam Borowski wrote:
> 
> > rename mac/00:e0:4c:11:7f:4e/=wl0
> > allow-hotplug wl0
> > iface wl0 inet static
> >     yaddayadda
> 
> I see you're using wpasupplicant. Could it be that that one is having a
> problem? Maybe it depends on something that is not available yet when
> the hotplug interface is brought up.

Possibly.  I see nothing in /var/log/daemon.log where wpa_supplicant usually
logs to, not even:
Aug  2 03:21:51 umbar wpa_supplicant[6816]: Successfully initialized 
wpa_supplicant
which it says when hotplugged.
 
> ifquery --state wl0 should say "wl0=wl0" when ifupdown things the
> interface is up, and it should say nothing if it thinks it is down. What
> does it say after a cold boot?

wl0=wl0

> Also, can you try commenting the wpa- options out, rebooting, and
> checking the output?

Same.

> > The interface gets renamed but stays down, wpa-supplicant is not started,
> > etc.  Note that the IP address _gets_ assigned, though:
> 
> That really means ifup was running up to and including configuring
> addresses. wpa-supplicant is started from both if-pre-up.d and if-up.d,
> so I think the error happens in the post-up phase. Is there anything in
> the logs that could tell you what is going on?

Nothing in logs that would appear interesting, but, on serial console (tty1
scrolls out as Manuel Schölling applied his wonderful persistent scrollback
patch only to vgacon for now) there's:

[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 234
[1G[ ok [?25h.
[....] Synthesizing the initial hotplug events...[1G[ ok [?25hdone.
[....] Waiting for /dev to be fully populated...[    9.888986] nouveau 
0000:01:00.0: NVIDIA GF114 (0ce000a1
)
[    9.932611] usbcore: registered new interface driver usbserial
[    9.940499] usbcore: registered new interface driver usbserial_generic
[    9.949140] usbserial: USB Serial support registered for generic
[    9.962199] usbcore: registered new interface driver pl2303
[    9.969745] usbserial: USB Serial support registered for pl2303
[    9.977652] pl2303 6-3:1.0: pl2303 converter detected
[    9.984821] usbcore: registered new interface driver cp210x
[    9.992457] usbserial: USB Serial support registered for cp210x
[   10.000419] cp210x 3-1:1.0: cp210x converter detected
[   10.006270] usb 6-3: pl2303 converter now attached to ttyUSB0
[   10.006302] pl2303 4-1:1.0: pl2303 converter detected
[   10.027321] usb 4-1: pl2303 converter now attached to ttyUSB2
[   10.031235] usb 3-1: cp210x converter now attached to ttyUSB1
[   10.058025] nouveau 0000:01:00.0: bios: version 70.24.2e.00.02
[   10.086077] EDAC amd64: Node 0: DRAM ECC disabled.
[   10.091422] EDAC amd64: ECC disabled in the BIOS or no ECC capability, 
module will not load.
[   10.091422]  Either enable ECC checking or force module loading by setting 
'ecc_enable_override'.
[   10.091422]  (Note that use of the override may cause unknown side effects.)
[   10.188478] EDAC amd64: Node 0: DRAM ECC disabled.
[   10.191468] usb 1-5: Vendor: Realtek
[   10.191471] usb 1-5: Product: 802.11n NIC
[   10.191473] usb 1-5: Serial: <FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF>
[   10.191475] usb 1-5: rtl8192eu_parse_efuse: dumping efuse (0x200 bytes):
<elebenty lines of efuse dump>
[   10.191572] usb 1-5: RTL8192EU rev B (SMIC) 2T2R, TX queues 3, WiFi=1, BT=0, 
GPS=0, HI PA=0
[   10.191574] usb 1-5: RTL8192EU MAC: 00:e0:4c:11:7f:4e
[   10.191576] usb 1-5: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin
[   10.193470] usb 1-5: Firmware revision 19.0 (signature 0x92e1)
[   10.198836] do the RAM reset
<snip>
[   11.373767] usbcore: registered new interface driver rtl8xxxu
[   11.417507] rtl8xxxu 1-5:1.0 wl0: renamed from wlan0
[   11.512204] [TTM] Zone  kernel: Available graphics memory: 4087048 kiB
[   11.519015] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[   11.525790] [TTM] Initializing pool allocator
[   11.530413] [TTM] Initializing DMA pool allocator
[   11.535351] nouveau 0000:01:00.0: DRM: VRAM: 1024 MiB
[   11.540617] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
[   11.546179] nouveau 0000:01:00.0: DRM: TMDS table version 2.0
[   11.552145] nouveau 0000:01:00.0: DRM: DCB version 4.0
[   11.554111] IPv6: ADDRCONF(NETDEV_UP): wl0: link is not ready
<snip>
[....] Cleaning up temporary files...[1G[ ok [?25h.
[....] Setting kernel variables...[1G[ ok [?25hdone.
[....] Configuring network interfaces...[   18.600624] r8169 0000:02:06.0 eth0: 
link down
[   18.600650] r8169 0000:02:06.0 eth0: link down
[   18.609635] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
invoke-rc.d: could not determine current runlevel
[   18.681691] br0: port 1(eth0) entered blocking state
[   18.686776] br0: port 1(eth0) entered disabled state
[   18.691927] device eth0 entered promiscuous mode
[   18.701007] IPv6: ADDRCONF(NETDEV_UP): br0: link is not ready

Waiting for br0 to get ready (MAXWAIT is 32 seconds).
Waiting for DAD... [   21.732402] r8169 0000:02:06.0 eth0: link up
[   21.737149] br0: port 1(eth0) entered blocking state
[   21.742276] br0: port 1(eth0) entered forwarding state
[   21.747639] IPv6: ADDRCONF(NETDEV_CHANGE): br0: link becomes ready
Done
invoke-rc.d: could not determine current runlevel
ifup: interface wl0 already configured
[1G[ ok [?25hdone.
Starting NBD client process: Connecting...[....] Cleaning up temporary 
files...[1G[ ok [?25h.
[....] Setting up ALSA...[1G[ ok [?25hdone.


Note that "ifup: interface wl0 already configured" line -- possibly relevant?
It's not there for eth0 nor br0.



-- 
⢀⣴⠾⠻⢶⣦⠀ What Would Jesus Do, MUD/MMORPG edition:
⣾⠁⢰⠒⠀⣿⡁ • multiplay with an admin char to benefit your mortal
⢿⡄⠘⠷⠚⠋⠀ • abuse item cloning bugs (the five fishes + two breads affair)
⠈⠳⣄⠀⠀⠀⠀ • use glitches to walk on water

Reply via email to