Re: Aspire One as access point

Peter Rosenberg <[email protected]>
Newsgroups gmane.linux.drivers.madwifi.user
Message-ID <[email protected]>
Sune Mølgaard schrieb:
> Peter Rosenberg wrote:
>>
>>
>> Hi
>>
>> Thanks for the hint. I read this documentation already but the most of
>> it is out of date regarding Ubuntu. I could not find any documentation
>> for Ubuntu 9.10 using the preinstalled driver. The command wlanconfig is
>> not available at all.
>> I could also not find any up to date documentation how to deactivate the
>> preinstalled driver in order to use the compiled one.
>> Do you know of any documentation regarding Ubuntu 9.10 to create an
>> access point?
>>
>> Thanks for help.
>
> I believe that the standard driver for ubuntu is the ath5k driver,
> which is different from the madwifi driver in many respects, first and
> foremost, as to your inquiry, in that it is not configurable via
> wlanconfig.
>
> You have two options:
>
> 1) if you only need for your netbook to provide access for short
> periods of time, use Ubuntu's Network Manager applet to "Create new
> Wireless Network", effectively establishing an ad-hoc network with
> your One acting as gateway to the internet.
>
> 2) if it is intended as a long-term solution, use hostapd to create a
> wpa or wpa2 wireless access point on your One (there are docs for that
> elsewhere), noting that ath5k devices cannot be put into master mode
> by iwconfig, but will let hostapd do it for you. You need to specify
> the driver "nl80211" in the hostapd.conf file.
>
> I hope this helps, otherwise reply with the problems ;-)
>
> Best regards,
>
> Sune
Hi Sune

Thanks for your help. Yes, I need an AP as the iPhone and Android do not
support ad-hoc mode.
I specified the mentioned driver in hostapd.conf and started the daemon
with the following command:

<code>
$ sudo hostapd -dd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
Opening raw packet socket for ifindex 4419572
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
nl80211: Added 802.11b mode based on 802.11g information
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=13 freq=2472 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=13 freq=2472 MHz max_tx_power=20 dBm
Hardware does not support configured mode
wlan0: IEEE 802.11 Hardware does not support configured mode (2)
Could not select hw_mode and channel. (-1)
wlan0: Unable to setup interface.
rmdir[ctrl_interface]: No such file or directory
</code>

What may be my problem?

Thanks and best regards
Pete


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.