wlan0apap ?

Daevid Vincent daevid
Fri Jan 5 22:53:39 PST 2007


I finally got the hostap stuff working (again). Mostly I just went through
and switched all references to 'wlan0' to 'wlan0ap'. But one strange thing,
is that I see that now I have this extra 'wlan0apap' that wasn't there
before. It seems a bit redundant and silly. I'm assuming that there is
somewhere that I changed that is looking for just 'wlan0' and is appending
'ap' on the end, and since I named it 'wlan0ap' that's where the extra 'ap'
is appended from.

It doesn't seem to effect anything, as I'm typing this wirelessly now! Yeah!
But could someone tell me how to get rid of that if it's not supposed to be
there?

I *did* read this message:

daevid hostapd # head /etc/hostapd/hostapd.conf 
# AP netdevice name (without 'ap' postfix, i.e., wlan0 uses wlan0ap for
# management frames); ath0 for madwifi
interface=wlan0

But when I set this to just 'wlan0' (default) I get this error when I boot
up:

 * Starting hostapd ...
Configuration file: /etc/hostapd/hostapd.conf
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: No such device
Could not enable hostapd mode for interface wlan0
hostap driver initialization failed.
rmdir[ctrl_interface]: No such file or directory
[ !! ]

But when I make it: "interface=wlan0ap"

I don't get any errors, but I do get the second wlan0apap?!


daevid ~ # ifconfig
wifi0     Link encap:UNSPEC  HWaddr
00-02-6F-XX-YY-ZZ-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:283 errors:0 dropped:0 overruns:0 frame:0
          TX packets:271 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:33192 (32.4 Kb)  TX bytes:37833 (36.9 Kb)
          Interrupt:5 Base address:0x100 

wlan0ap   Link encap:Ethernet  HWaddr 00:02:6F:XX:YY:ZZ  
          inet addr:10.10.10.1  Bcast:10.10.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:119 errors:0 dropped:60 overruns:0 frame:0
          TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:14219 (13.8 Kb)  TX bytes:34693 (33.8 Kb)
          Interrupt:5 Base address:0x100 

wlan0apap Link encap:UNSPEC  HWaddr
00-02-6F-XX-YY-ZZ-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:2290  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:101 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:3074 (3.0 Kb)
          Interrupt:5 Base address:0x100 





More information about the Hostap mailing list