[Voyage-linux] ifdown/ifup on ath0 causes WRAP to reboot - more
Edwin Whitelaw
(spam-protected)
Tue Apr 18 20:31:59 HKT 2006
Kim-man "Punky" TSE wrote:
> 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
Also note that the problem occurred with a single CM9 or a single
EMP8602, neither of which should challenge the power supply.
Can you comment on why I had to use the "up iwconfig..." to set power
instead of the "wireless-tspower" option?
Thx,
-e
>
> - 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.
>>
>
>
--
<=+=+=+==+=+=+==+=+=+=+=+=+=+=+=>
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