Running wpa_supplicant and hostapd on the same machine

Johannes Berg johannes
Thu Apr 7 09:50:35 PDT 2011


On Thu, 2011-04-07 at 17:38 +0100, Panagiotis Georgopoulos wrote:
> So, following this up, I tried to run hostapd using the wired driver
> and interface=lo so that it listens on local host and I get the
> following error : 
> 
>  
> 
> root at mr1:/#hostapd -dd /etc/hostapd.wired.conf.local
> 
> Configuration file: /etc/hostapd.wired.conf.local
> 
> Opening raw packet socket for ifindex 1
> 
> Invalid HW-addr family 0x0304
> 
> wired driver initialization failed.
> 
> ELOOP: remaining socket: sock=3 eloop_data=0x86c3e60 user_data=(nil)
> handler=0x8074930 
> 
>  
> 
> Does anyone know where can I find more information about the ?Invalid
> HW-addr family 0x0304? error and how can I solve that? Jouni any
> ideas?

Err, you can't use interface=lo because it's not an ethernet interface
(0x304 is 772 is ARPHRD_LOOPBACK, expects ethernet)

johannes





More information about the Hostap mailing list