No subject

bogus at does.not.exist.com bogus at does.not.exist.com
Sun Jun 2 21:10:54 PDT 2013


iface wlan0 inet manual
      address   192.168.3.128
      netmask   255.255.255.0
      gateway   192.168.3.254
      broadcast 192.168.3.255
      pre-up    echo "atelier pre-up" || true
      up        echo "atelier up" || true
      post-up   echo "atelier post-up" || true
      pre-down  echo "atelier pre-down" || true
      down      echo "atelier going down" || true
      post-down echo "atelier post-down" || true

# ifup wlan0
atelier pre-up
atelier up
atelier post-up

# ip addr show wlan0
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN
qlen 1000
    link/ether e8:4e:06:0f:49:36 brd ff:ff:ff:ff:ff:ff

# ifdown wlan0
atelier pre-down
atelier going down
RTNETLINK answers: No such process
atelier post-down

??? I wonder about the RTNETLINK stuff, but at least it *works*. ???

===================================================
Now, let's change so that wpa_supplicant is involved:

This *will* correctly configure the interface, since wpa_supplicant can
provide the credentials.
But it will *not* execute the 'up' routines.





More information about the Hostap mailing list