[Voyage-linux] ifdown/ifup on ath0 causes WRAP to reboot

Edwin Whitelaw (spam-protected)
Tue Apr 18 00:08:43 HKT 2006


WRAP2C with 0.2 voyage + apt-get upgrade using default sources.list 
file.  Tried SR5, CM9 and EMP8602 radios with identical results.  Also 
switched WRAP boards with no change.

If I run ifdown ath0 followed by ifup ath0 the system always reboots.

Anyone have any thoughts on why this is happening?  I have other boards 
that dont' exhibit this behavior.

Thx,

Edwin

-----------
voyage:~# cat /etc/network/interfaces
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
#iface eth0 inet static
#       address 10.220.204.1
#       netmask 255.255.255.0
#       broadcast 10.220.204.255

auto ath0
iface ath0 inet static
        address 10.220.4.1
        netmask 255.255.255.0
        broadcast 10.220.4.255
        #pre-up wlanconfig ath create wlandev wifi0 wlanmode ap
         madwifi-base wifi0
         wireless-mode Master
         wireless-essid crc-peak
         wireless-channel 149
         wireless-rate 24M
        up iwconfig ath0 txpower 26db
        down wlanconfig ath0 destroy
-----
Comment:  using "wireless-txpower 26db" does *not* work while "up 
iwconfig ath0 txpower 26db" does.  ???

----------
voyage:~# ifdown ath0
run-parts: /etc/network/if-down.d/0_wpasupplicant exited with return code 1
ath0: ERROR while getting interface flags: No such device
voyage:~# ifup ath0
run-parts: /etc/network/if-pre-up.d/0_wpasupplicant exited with return 
code 1
.
.
system is rebooting at this point
.
.
login as: root

everything is back to normal.

-- 
<=+=+=+==+=+=+==+=+=+=+=+=+=+=+=>
Edwin Whitelaw, P.E.
New River Valley Unwired, LLC
2200 Lonesome Dove Dr
Christiansburg, VA 24073
540-239-0318





More information about the Voyage-linux mailing list