:: [devuan-dev] bug#463: ifupdown: ifu…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Ryutaroh Matsumoto
Fecha:  
A: Devuan Bug Tracking System
Asunto: [devuan-dev] bug#463: ifupdown: ifup hangs up with wlan0 and does not configure it
Package: ifupdown
Version: 0.8.35
Severity: normal

Dear Maintainer,

After fresh installation of Beowulf by Server ISO Beta 3,
/etc/init.d/networking hangs up at ifup wlan0.

/etc/network/interfaces is

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-essid MYESSID
wpa-psk MY_WIFI_PASSWORD
# This is an autoconfigured IPv6 interface
iface wlan0 inet6 auto

"ifup" hangs up with the message
waiting for lock on /run/network/ifstate.wlan0

Detailed output with verbose=YES in /etc/default/networking is
attached as screenshot.

Then it times out. After login, "ip a" shows

root@devuan:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 00:1b:d3:88:9b:8f brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 00:24:d6:59:c6:68 brd ff:ff:ff:ff:ff:ff
    inet 169.254.8.252/16 brd 169.254.255.255 scope link wlan0:avahi
       valid_lft forever preferred_lft forever


IPv4 nor v6 address is not configured. After "ifdown wlan0; ifup wlan0",
"ip a" shows:

root@devuan:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 00:1b:d3:88:9b:8f brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:24:d6:59:c6:68 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.31/24 brd 192.168.1.255 scope global dynamic wlan0
       valid_lft 14355sec preferred_lft 14355sec
    inet6 2400:4050:2ba1:ac00:224:d6ff:fe59:c668/64 scope global dynamic mngtmpaddr 
       valid_lft 14354sec preferred_lft 12554sec
    inet6 fe80::224:d6ff:fe59:c668/64 scope link 
       valid_lft forever preferred_lft forever


Best regards, Ryutaroh Matsumoto


-- Package-specific info:
--- /etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-essid Yamashita9_203
wpa-psk sample0612sam
# This is an autoconfigured IPv6 interface
iface wlan0 inet6 auto

--- /etc/network/interfaces.d/*:
cat: '/etc/network/interfaces.d/*': No such file or directory

--- up and down scripts installed:
/etc/network/if-down.d:
total 4
-rwxr-xr-x 1 root root 1015 Apr 27 2018 avahi-autoipd
lrwxrwxrwx 1 root root 32 Mar 24 19:26 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh

/etc/network/if-post-down.d:
total 4
lrwxrwxrwx 1 root root 23 Oct 10 2018 avahi-daemon -> ../if-up.d/avahi-daemon
-rwxr-xr-x 1 root root 1409 Jun 6 2018 wireless-tools
lrwxrwxrwx 1 root root 32 Mar 24 19:26 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh

/etc/network/if-pre-up.d:
total 8
-rwxr-xr-x 1 root root 4191 Sep 15 2018 wireless-tools
lrwxrwxrwx 1 root root 32 Mar 24 19:26 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh

/etc/network/if-up.d:
total 16
-rwxr-xr-x 1 root root 923 Apr 27 2018 avahi-autoipd
-rwxr-xr-x 1 root root 484 Apr 27 2018 avahi-daemon
-rwxr-xr-x 1 root root 4948 Feb 27 2019 mountnfs
lrwxrwxrwx 1 root root 32 Mar 24 19:26 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh


-- System Information:
Distributor ID:    Debian
Description:    Devuan GNU/Linux 3 (beowulf)
Release:    3
Codename:    beowulf
Architecture: x86_64


Kernel: Linux 4.19.0-9-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages ifupdown depends on:
ii  adduser   3.118
ii  iproute2  4.20.0-2
ii  libc6     2.28-10
ii  lsb-base  10.2019051400


Versions of packages ifupdown recommends:
ii isc-dhcp-client [dhcp-client] 4.4.1-2

Versions of packages ifupdown suggests:
pn  ppp     <none>
pn  rdnssd  <none>


-- Configuration Files:
/etc/default/networking changed:
VERBOSE=yes
WAIT_ONLINE_TIMEOUT=30


-- no debconf information