View previous topic :: View next topic |
Author |
Message |
Mroofka Guru
Joined: 25 Jan 2005 Posts: 369 Location: Poland
|
Posted: Fri Dec 03, 2010 12:46 pm Post subject: wpa_supplicant doesn't start with init scripts |
|
|
Hi
I've changed my notebook and my wifi connection doesn't work. net.wlan0 init script seems no to run wpa_supplicant at all:
if I start manually wifi works fine
Code: | wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
dhcpd wlan0
|
cat /etc/init.d/net
Code: | #WPA_SUPPLICANT
modules=( "wpa_supplicant" )
wpa_supplicant_wlan0="-Dwext"
config_wlan0=( "dhcp" ) |
/etc/init.d/net.wlan0 restart
Code: |
* Caching service dependencies ...
* Cannot add provide 'net', as a service with the same name exists! [ ok ]
* Starting wlan0
* Bringing up wlan0
* dhcp
* Running dhcpcd ...
dhcpcd[20494]: version 5.2.8 starting
dhcpcd[20494]: wlan0: waiting for carrier
|
Any advices?
Pozdrawiam
Mrooka _________________ "Make install not love"
registred linux User # 379143
"Ready for Anything; Prepared for everything; Surprised by Nothing !" |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sat Dec 04, 2010 4:49 am Post subject: |
|
|
if you are now on baselayout2 and openrc the nomenclature has changed:
modules="wpa_supplicant"
wpa_supplicant_wlan0="-Dwext"
config_wlan0="dhcp"
edit /etc/conf.d/rc to and get more information from Code: | /etc/init.d/net.wlan0 restart | like Quote: | * Starting wlan0
* Loading networking modules for wlan0
* modules: apipa arping ccwgroup macchanger macnet rename ifplugd wpa_supplicant essidnet iptunnel ifconfig system dhcpcd ip6to4
* ifplugd provides plug
* wpa_supplicant provides wireless
* ifconfig provides interface
* dhcpcd provides dhcp
* Configuring wlan0 for MAC address ... [ ok ]
* ifplugd does not work on wireless interfaces
* Starting wpa_supplicant on wlan0 ... [ ok ]
* Starting wpa_cli on wlan0 ... [ ok ]
* Waiting for association [ ok ]
* Backgrounding ...
* WARNING: apache2 is scheduled to start when net.wlan0 has started.
* WARNING: mythbackend is scheduled to start when net.wlan0 has started.
* WARNING: named is scheduled to start when net.wlan0 has started.
* WARNING: netmount is scheduled to start when net.wlan0 has started.
* WARNING: ntp-client is scheduled to start when net.wlan0 has started.
* WARNING: samba is scheduled to start when net.wlan0 has started.
* WARNING: sshd is scheduled to start when net.wlan0 has started. |
|
|
Back to top |
|
|
j-kidd Apprentice
Joined: 20 Feb 2003 Posts: 213
|
Posted: Mon Dec 06, 2010 12:19 am Post subject: |
|
|
Do you have net-wireless/wireless-tools installed? |
|
Back to top |
|
|
j-kidd Apprentice
Joined: 20 Feb 2003 Posts: 213
|
Posted: Mon Dec 06, 2010 5:21 pm Post subject: |
|
|
Ignore my previous post. I had the same problem, and fixed it by changing /sbin/wpa_supplicant to /usr/sbin/wpa_supplicant in /lib64/rc/init.d/nettree |
|
Back to top |
|
|
|