configuration

Bob Beers bob.beers
Mon Dec 6 08:54:03 PST 2004


On Mon, 6 Dec 2004 17:08:38 +0100, capacity77 at tin.it <capacity77 at tin.it> wrote:
> Hi there!

Hi,

> I have some problem configuring hostap!

Everyone does at first.

> First: when I insert the card, two interfaces get loaded:
> 
> wifi0     Link encap:UNSPEC  HWaddr 00-50-8B-99-B7-FF-00-00-00-00-00-00-00-00-00-00
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:2 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:188 (188.0 b)  TX bytes:1824 (1.7 KiB)
>           Interrupt:5 Base address:0x100
> 
> wlan0     Link encap:Ethernet  HWaddr 00:50:8B:99:B7:FF
>           UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 b)  TX bytes:1824 (1.7 KiB)
>           Interrupt:5 Base address:0x100
> 
> they seem the same interface but the wifi0 has a strange HWaddr, that's
> the same of wlan0 but with many 00-00 in the end.

This is normal, expected, correct behaviour for this driver.  Have you read
 through the last few months of this list?  You should.
<http://sisyphus.iocaine.com/pipermail/hostap/>

> 
> Second: other machines see me as an AP but can't receive an IP from my dhcp
> server!

This is now a network configuration problem, not related to hostap itself. Is
 the access point box also the dhcp server? Is it supposed to be an ethernet
 bridge?

> Is there a configuration you can advice me, or is there any good howto,
> a simple to use one?

Not without some more info from you about what your setup is and what
 you are trying to accomplish.  A lot depends on which distribution you
 are using.  You _can_ configure everything on the command line using
 "ifconfig wlan0" and "iwconfig wlan0", and a proper dhcpd.conf.  But for
 things to startup automatically differs between distributions.

I hope this helps, but no one wants to answer these kinds of questions on this
 list.  Your driver is installed, and working.  The rest is basic network
 administration stuff.

Good luck,

-bbeers




More information about the Hostap mailing list