Startup problems

Christian Frankerl MainNewz
Wed Sep 21 03:01:31 PDT 2005


Hello Henrik,

Tuesday, September 20, 2005, 10:37:54 PM, you wrote:

> On Tue, Sep 20, 2005 at 06:54:18PM +0200, Christian Frankerl wrote:
>> # /etc/init.d/hostapd start

> You need to configure wlan0 to use master mode in either
> /etc/conf.d/net or /etc/conf.d/wireless. Example:

> modules_wlan0=( "iwconfig" )
> config_wlan0=( "192.168.1.1/24" )
> channel_wlan0="6"
> essid_wlan0="test"
> mode_wlan0="master"

Why do i need to set the wlan-card to Mastermode? I thought this is
the Job from hostapd?

When i set up me card by hand like this:

# ifconfig wlan0 up
# wconfig wlan0 mode Master essid foobert channel 11

and configure the iptables, the card works as AP. For what do i need
hostapd, cause it works with this two lines above too... ?


And i have an other Problem:
When i try to start the wlan with the following commandline:
# wconfig wlan0 mode Master essid foobert channel 11
I get the following error message:
"wlan0: empty SSID not allowed in Master mode"

When i start wlan0 like this:
# iwconfig wlan0 essid foobert
# iwconfig wlan0 mode Master essid foobert channel 11

it works. Why? Why must i set up essid first? Can't i do this in only
one line?


Thx a lot
Chris





More information about the Hostap mailing list