Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wpa_supplicant_eth0 does not define a driver
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dinomyte66
n00b
n00b


Joined: 12 Aug 2005
Posts: 48

PostPosted: Sat Aug 13, 2005 11:44 pm    Post subject: wpa_supplicant_eth0 does not define a driver Reply with quote

any idea why I am getting this error?

#/etc/init.d/net.eth0 start
*starting eth0
*starting wpa_supplicant on eth0
*wpa_supplicant_eth0 does not define a driver
Failed to read configuration file '/etc/wpa_supplicant.conf'.

I read the followed the following:
http://gentoo-wiki.com/HOWTO_Wireless_Configuration_and_Startup

I've verified that my /etc/conf.d/net file has:

Code:
modules=( "wpa_supplicant" )
wpa_supplicant_eth="ipw2200"


my /etc/conf.d/wpa_supplicant file has:

Code:
INTERFACES="eth0"
ARGS="-w -dd"
ARGS_eth1="ipw2200"


my /etc/wpa_supplicant.conf file has:

Code:
network={
    ssid="XXX"
    key_mgmt=WPA-PSK
    proto=WPA
    group=TKIP
    psk=<ASCII string of my passphrase???>

Why would it keep coming back with wpa_supplicant_eth0 does not define a driver. This happens at boot and if I try to manually bring the interface up.

help please...

Dino
Back to top
View user's profile Send private message
dinomyte66
n00b
n00b


Joined: 12 Aug 2005
Posts: 48

PostPosted: Sat Aug 13, 2005 11:49 pm    Post subject: Reply with quote

typo, its actually:

ARGS_eth0="ipw2200"

Dino
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Sun Aug 14, 2005 1:50 am    Post subject: Reply with quote

Actually, that's deprecated.

Code:
wpa_supplicant_eth1="-Dipw"


Of course, that relies on baselayout-1.11 or higher and not using init.d/wpa_supplicant
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
dinomyte66
n00b
n00b


Joined: 12 Aug 2005
Posts: 48

PostPosted: Sun Aug 14, 2005 3:29 pm    Post subject: [PARTIALLY SOLVED] Reply with quote

Awesome, thankyou Uberlord. That fixed the wpa_supplicant_eth0 does not define a driver, so my config now look likes this:

/etc/conf.d/net
Code:
modules=( "wpa_supplicant" )
wpa_supplicant_eth0="-Dipw"


and

/etc/wpa_supplicant.conf
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
opensc_engine_path=/usr/lib/opensc/engine_opensc.so
pkcs11_engine_path=/usr/lib/opensc/engine_pkcs11.so
pkcs11_module_path=/usr/lib/pkcs11/opensc-pkcs11.so
network={
    ssid="XXX"
    psk=<"ASCII string of my passphrase">
    priority=5


but---I still get the following error message when I bootup or manually try and start the inteface:

#/etc/init.d/net.eth0 start
*starting eth0
*starting wpa_supplicant on eth0
Failed to read configuration file '/etc/wpa_supplicant.conf'.

any ideas? Thanks for all of your help thus far...

Dino
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Aug 15, 2005 6:46 am    Post subject: Reply with quote

That error means it cannot read the file - or rather the contents because of a syntax error.

In your case, your missing the closing } to your network block
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
dinomyte66
n00b
n00b


Joined: 12 Aug 2005
Posts: 48

PostPosted: Tue Aug 16, 2005 2:27 pm    Post subject: Reply with quote

Thank you once again UberLord.
My apologies for the oversight. I guess I'm portraying my true colors as a noob.

Your suggestion once again fixed my oversight.

Thanks again,
Dino
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum