[Voyage-linux] ifdown/ifup on ath0 causes WRAP to reboot
Kim-man "Punky" TSE
(spam-protected)
Tue Apr 18 01:18:29 HKT 2006
Hi Edwin,
Tried you config and does exhibit your reboot problem. Do you see
kernel panic message in the serial console? If not, I think it is
probably relates to power issues. Check your PSU unit, or check your
WRAP board if it has 8 capacitors?
See this: http://madwifi.org/wiki/UserDocs/WRAP
- Punky
Edwin Whitelaw wrote:
> 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.
>
--
Regards,
Punky
P U N K N ! X . c o m
Technology + Lifestyle
(http://www.punknix.com)
Voyage Linux
(http://www.voyage.hk/software/voyage.html)
More information about the Voyage-linux
mailing list