Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
WLAN doesn't work - if started during boot
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
someone12345
Guru
Guru


Joined: 09 Apr 2005
Posts: 365

PostPosted: Fri Mar 03, 2006 5:08 pm    Post subject: WLAN doesn't work - if started during boot Reply with quote

Hi!

I've a ipw2200 and quite a strange problem establishing a connection to my WPA AP. If I rc-update add net.eth1 default it will fail during boot:

Code:

Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
...


If I don't let net.eth1 to be executed during boot and execute the script manually when the system's up, it works (?).

I just don't understand. Okay, this is only half the truth, what I wrote above is most of the time true but not always and things don't seem to be reliably reproducable. So here are some misc console snippets:

after net.eth1 failed during boot:
Code:

notebook ~ # wpa_supplicant -Dwext -c/etc/wpa_supplicant.conf -ieth1 -w
ioctl[SIOCGIFADDR]: Cannot assign requested address
ioctl[SIOCGIFADDR]: Cannot assign requested address
ioctl[SIOCGIFADDR]: Cannot assign requested address
ioctl[SIOCGIFADDR]: Cannot assign requested address
ioctl[SIOCGIFADDR]: Cannot assign requested address
ioctl[SIOCGIFADDR]: Cannot assign requested address
CTRL-EVENT-TERMINATING - signal 2 received
notebook ~ # wpa_supplicant -Dwext -c/etc/wpa_supplicant.conf -ieth1 -w
CTRL-EVENT-TERMINATING - signal 15 received
notebook ~ # wpa_supplicant -Dwext -c/etc/wpa_supplicant.conf -ieth1 -w
CTRL-EVENT-TERMINATING - signal 15 received


disabling/enabling WLAN device

Code:

notebook ~ # wpa_supplicant -Dwext -c/etc/wpa_supplicant.conf -ieth1 -w
Authentication with 00:00:00:00:00:00 timed out.
Trying to associate with 00:11:95:cf:06:db (SSID='foo' freq=0 MHz)
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Authentication with 00:00:00:00:00:00 timed out.
Trying to associate with 00:11:95:cf:06:db (SSID='foo' freq=0 MHz)
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Authentication with 00:00:00:00:00:00 timed out.
Trying to associate with 00:11:95:cf:06:db (SSID='foo' freq=0 MHz)
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Authentication with 00:00:00:00:00:00 timed out.
Trying to associate with 00:11:95:cf:06:db (SSID='foo' freq=0 MHz)
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Authentication with 00:00:00:00:00:00 timed out.


Hi!

I've a ipw2200 and quite a strange problem establishing a connection to my WPA AP. If I rc-update add net.eth1 default it will fail during boot:

Code:
 
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
...


If I don't let net.eth1 to be executed during boot and execute the script manually when the system's up, it works (?).

I just don't understand. Okay, this is only half the truth, what I wrote above is most of the time true but not always and things don't seem to be reliably reproducable. So here are some misc console snippets:

after net.eth1 failed during boot:
Code:
 
notebook ~ # wpa_supplicant -Dwext -c/etc/wpa_supplicant.conf -ieth1 -w
ioctl[SIOCGIFADDR]: Cannot assign requested address
ioctl[SIOCGIFADDR]: Cannot assign requested address
ioctl[SIOCGIFADDR]: Cannot assign requested address
ioctl[SIOCGIFADDR]: Cannot assign requested address
ioctl[SIOCGIFADDR]: Cannot assign requested address
ioctl[SIOCGIFADDR]: Cannot assign requested address
CTRL-EVENT-TERMINATING - signal 2 received
notebook ~ # wpa_supplicant -Dwext -c/etc/wpa_supplicant.conf -ieth1 -w
CTRL-EVENT-TERMINATING - signal 15 received
notebook ~ # wpa_supplicant -Dwext -c/etc/wpa_supplicant.conf -ieth1 -w
CTRL-EVENT-TERMINATING - signal 15 received


disabling/enabling WLAN device

Code:
 
notebook ~ # wpa_supplicant -Dwext -c/etc/wpa_supplicant.conf -ieth1 -w
Authentication with 00:00:00:00:00:00 timed out.
Trying to associate with 00:11:95:cf:06:db (SSID='foo' freq=0 MHz)
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Authentication with 00:00:00:00:00:00 timed out.
Trying to associate with 00:11:95:cf:06:db (SSID='foo' freq=0 MHz)
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Authentication with 00:00:00:00:00:00 timed out.
Trying to associate with 00:11:95:cf:06:db (SSID='foo' freq=0 MHz)
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Authentication with 00:00:00:00:00:00 timed out.
Trying to associate with 00:11:95:cf:06:db (SSID='foo' freq=0 MHz)
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Authentication with 00:00:00:00:00:00 timed out.


2.6.15 with CONFIG_IPW2200=M and ipw2200-firmware-2.4.

Code:

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
network={
        ssid=...
        scan_ssid=1
        key_mgmt=WPA-PSK
        psk=...
}
Back to top
View user's profile Send private message
XmN
n00b
n00b


Joined: 20 Feb 2005
Posts: 45
Location: Belgium

PostPosted: Sat Mar 04, 2006 11:46 am    Post subject: Reply with quote

did you modprobe ipw2200 ?
_________________
Women and Linux are alike:
You need certain skills to root them.
Back to top
View user's profile Send private message
someone12345
Guru
Guru


Joined: 09 Apr 2005
Posts: 365

PostPosted: Sat Mar 04, 2006 4:05 pm    Post subject: Reply with quote

XmN wrote:
did you modprobe ipw2200 ?


...yes...
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