Re: [Voyage-linux] can´t get Atheros AR9280 (ath9k) in AP mode

Pablo Escobar (spam-protected)
Sun May 15 23:00:51 HKT 2011


I got it working. I have just connected with my phone

what I did was just a clean voyage-current install ( Build Date 20110514)
and don´t edit /etc/default/hostapd as done in voyage0.7

I have just edited /etc/network/interfaces and uncomented the "auto wlan0"
line to get the interface up and rebooted the alix board.

auto wlan0
iface wlan0 inet static
        address 10.1.10.1
        netmask 255.255.255.0
        broadcast 10.1.10.255
                hostapd /etc/hostapd/hostapd.wlan0.conf
        up nat.sh wlan0 eth0 "10.1.10.0

many thanks Punky.
¿have you tested wirelessN mode in voyage-current to get higher bandwidth?
¿could you point me to good docs about how to enable wirelessN?

pablo.



2011/5/15 Punky Tse <punkytse at punknix.com>

>  Hi Pablo,
>
> did you set channel, e.g.:
>
> channel=11
>
>
>
> On 15/5/2011 19:22, Pablo Escobar wrote:
>
> I have tried the latest voyage-current available in the web and I still
> can´t get my card in ap mode
>
>  I have seen voyage-current has a  /etc/hostapd/hostapd.wlan0.conf file by
> default. So I edited the /etc/default/hostapd to use that config and I keep
> getting the same output from iwconfig and I can´t see the ap ssid with my
> client computer :(
>
>
>
> 2011/5/15 Punky Tse <punkytse at punknix.com>
>
>>  Hi,
>>
>> You may need the daily (voyage-current), which includes 2.6.38, as 9280
>> sounds like a device.
>>
>> Regards,
>> Punky
>>
>>
>> On 15/5/2011 6:18, Pablo Escobar wrote:
>>
>>  Hi,
>>
>>  I am trying to get a working AP in my alix board with a Mikrotik r52n-m
>> minipci card (atheros ar9280 chipset using ath9k driver) using voyage 0.7
>>
>>  I have tried to follow this guide without success:
>> http://www.punknix.com/dnma92-ath9k-and-hostapd-with-voyage-linux
>>
>>  Also tried to do small modifications to the the hostapd.conf file in
>> that guide and also tried this reduced config but couldn´t get it working
>>
>>  interface=wlan0
>> driver=nl80211
>> ssid=yourssidhere
>> hw_mode=g
>> ieee80211n=1
>>
>>  This is my /etc/default/hostapd  file:
>>
>>  DAEMON_CONF="/etc/hostapd/hostapd.conf
>> DAEMON_OPTS="-dd"
>>
>>  And in my /etc/network/interfaces I have this:
>>
>>  auto wlan0
>> iface wlan0 inet static
>>        address 10.5.30.1
>>        netmask 255.255.255.0
>>        broadcast 10.5.30.255
>>         up nat.sh wlan0 eth0 "10.5.30.0/24"
>>
>>  also tried to add the line "hostapd /etc/hostapd/hostapd.conf" in the
>> wlan0 section in /etc/network/interfaces file after reading this post
>> (without success)
>> http://marc.info/?l=voyage-linux&m=129999678907115&w=2
>>
>>  My wireless card never gets the ssid. This is the output that I get from
>> "iwconfig" command
>>
>>
>>  wlan0     IEEE 802.11abgn  Mode:Master  Frequency:2.462 GHz  Tx-Power=20
>> dBm
>>           Retry  long limit:7   RTS thr:off   Fragment thr:off
>>           Power Management:on
>>
>> mon.wlan0  IEEE 802.11abgn  Mode:Monitor  Frequency:2.462 GHz  Tx-Power=20
>> dBm
>>           Retry  long limit:7   RTS thr:off   Fragment thr:off
>>           Power Management:off
>>
>>
>>  ¿anyone could post a working hostapd.conf file? ¿maybe is a problem with
>> my wireless card? ¿or with country code? ¿maybe I need to install any extra
>> package? I am quite lost right now as I don´t know of any other place or
>> config file to look at. I purchased this minipci card to switch to wifiN but
>> it seems I will have to keep using my older wifiG atheros cards which worked
>> great.
>>
>>  many thanks for any help.
>>
>>
>> _______________________________________________
>> Voyage-linux mailing listVoyage-linux at list.voyage.hkhttp://list.voyage.hk/mailman/listinfo/voyage-linux
>>
>>
>>
>> --
>>
>> Regards,
>> Kim-man "Punky" Tse
>>
>> * Open Source Embedded Solutions and Systems
>>   - Voyage Linux (http://linux.voyage.hk)
>>   - Voyage ONE   (http://linux.voyage.hk/voyage-one)
>>   - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
>> * Voyage Store   (http://store.voyage.hk)
>>
>>
>
>
> --
>
> Regards,
> Kim-man "Punky" Tse
>
> * Open Source Embedded Solutions and Systems
>   - Voyage Linux (http://linux.voyage.hk)
>   - Voyage ONE   (http://linux.voyage.hk/voyage-one)
>   - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
> * Voyage Store   (http://store.voyage.hk)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20110515/edb80533/attachment.html>


More information about the Voyage-linux mailing list