[Voyage-linux] Is it possible up ath0 with Atheros 802.11n mini-pci on ALIX?

Daniel Badawi (spam-protected)
Sat Oct 17 05:48:43 HKT 2009


Hi,

writing "wlanconfig ath0 create wlandev wifi0 wlanmode ap" did not work..
returns "wlanconfig: ioctl: No such device"

*follow my /etc/network/interfaces*

auto wlan0
iface wlan0 inet static
        address 10.1.10.1
        netmask 255.255.255.0
        broadcast 10.1.10.255
        up iwconfig wlan0 essid "voyage"
        up iwconfig wlan0 mode ap
        up iwconfig wlan0 txpower auto
        up iwconfig wlan0 enc off
        up iwconfig wlan0 rate auto
        up nat.sh wlan0 eth0 "10.1.10.0/24"



*And if I write "ifup wlan0", returns:*
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Invalid argument.
Failed to bring up wlan0.

I tryed mode AP also... but return same error..


*follow lspci:*
00:0c.0 Network controller: Atheros Communications Inc. Device 0029 (rev 01)

*follow iwconfig:*
lo        no wireless extensions.
eth0      no wireless extensions.
eth1      no wireless extensions.
eth2      no wireless extensions.
wmaster0  no wireless extensions.
wlan0     IEEE 802.11bgn  ESSID:"voyage"
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
          Tx-Power=20 dBm
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


*ifconfig:*
wlan0     Link encap:Ethernet  HWaddr 00:0c:42:51:b1:b4
          inet addr:10.1.10.1  Bcast:10.1.10.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wmaster0  Link encap:UNSPEC  HWaddr
00-0C-42-51-B1-B4-65-74-00-00-00-00-00-00-00-00
          UP RUNNING  MTU:0  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)



*my kernel version (I've download the dev version of voyage (0.6.2 appears
not supporting 802.11n):*
2.6.30-486-voyage


But, if I search for APs with my notebook, "voyage" doesnt appears..



thanks,
Badawi


On Mon, Oct 12, 2009 at 5:38 AM, Stefan Nakov <steftzo at gmail.com> wrote:

> Hi,
> You Have to write:
>
> wlanconfig ath0 create wlandev wifi0 wlanmode ap
>
> This is an example. you have to check if the device is wifi0...
>
> and then :
>
> iwconfig ath0 essid "name" channel 1 (for ex.)
>
>
>
>
> 2009/10/10 Daniel Badawi <danielbadawi at gmail.com>
>
>> Hi,
>>
>> I have an ALIX, and just bought an 802.11n mini-pci card.
>> I tried to up the ath0 interface with the configuration:
>>
>> auto ath0
>> iface ath0 inet static
>>         address 10.1.20.1
>>         netmask 255.255.255.0
>>         broadcast 10.1.20.255
>>         madwifi-base wifi0
>>         wireless-mode Master
>>         wireless-essid voyage
>>         wireless-key s:voyage
>>         wireless-channel 1
>>         up iwpriv ath0 mode 3
>>         up iwconfig ath0 txpower 14
>>         up athctrl -i wifi0 -d 8000
>>         down wlanconfig ath0 destroy
>>
>> auto ath0:0
>> iface ath0:0 inet static
>>         address 10.1.20.1
>>         netmask 255.255.255.0
>>         broadcast 10.1.20.255
>>
>>
>> and when I type # ifup ath0
>> I receive the message: SET failed on device ath0 ; No such device.
>>
>>
>> Is it possible start ath0 on ALIX with 802.11n Atheros mini-pci card?
>>
>>
>> thanks!
>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
>>
>
>
> --
> Стефан Наков.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20091016/092a9078/attachment-0002.html>


More information about the Voyage-linux mailing list