Package: ifupdown
Version: 0.8.20
Severity: normal

Hi!
I've tried the newest and greatest interface matching and renaming.

State before:
1: lo: ...
2: eth0: ... master br0
3: wlan0: <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 wlan0
       valid_lft forever preferred_lft forever
    inet6 fe80::2e0:4cff:fe11:7f4e/64 scope link 
       valid_lft forever preferred_lft forever
4: br0: ...

I physically pulled out the USB WiFi card, wrote its stanza using the way
mentioned in your d-d@l.d.o post:

allow-hotplug mac/00:e0:4c:11:7f:4e/=wl0
iface wl0 inet static
        wpa-ssid mial
        wpa-psk <A passphrase>
        address 192.168.8.6
        netmask 255.255.255.0

upgraded ifupdown to 0.8.20, and plugged the WiFi card back in.

It's sitting there under its old name and unconfigured as:

5: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default 
qlen 1000
    link/ether 00:e0:4c:11:7f:4e brd ff:ff:ff:ff:ff:ff


Am I holding it wrong?



-- Package-specific info:
--- /etc/network/interfaces:
#source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet manual

auto br0
iface br0 inet6 static
        bridge_ports eth0
        address 2001:470:64f4::6
        netmask 64
        gateway 2001:470:64f4::90
        up   ip addr add 10.0.1.6/24 dev br0
        up   ip route add default via 10.0.1.90

allow-hotplug usb0
iface usb0 inet static
        address 192.168.2.14
        netmask 255.255.255.0
        up iptables -A POSTROUTING -t nat -s 192.168.2.15/32 -j MASQUERADE
#       up echo 1 > /proc/sys/net/ipv4/ip_forward
        down iptables -D POSTROUTING -t nat -s 192.168.2.15/32 -j MASQUERADE
#       down echo 0 > /proc/sys/net/ipv4/ip_forward
        up ip addr add 2001:470:64f4:3::1/64 dev usb0
        down ip addr del 2001:470:64f4:3::1/64 dev usb0
#       up /etc/init.d/radvd start
#       down /etc/init.d/radvd stop

allow-hotplug mac/00:e0:4c:11:7f:4e/=wl0
iface wl0 inet static
        wpa-ssid mial
        wpa-psk <CENSORED>
        address 192.168.8.6
        netmask 255.255.255.0

#allow-hotplug wlan0
#iface wlan0 inet manual
#       hostapd /etc/hostapd/hostapd.conf

--- 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.12.2+ (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.48
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

Reply via email to