Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net.eth1 don't work wpa_supplicant yes.. why?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
mambro
l33t
l33t


Joined: 22 Mar 2004
Posts: 752
Location: Mira (VE) - Italy

PostPosted: Fri Apr 28, 2006 9:45 pm    Post subject: net.eth1 don't work wpa_supplicant yes.. why? Reply with quote

I'm trying to use the wireless card of my ibook G4 (Airport 802.11g).
I'm using the 2.6.17-rc3 vanilla kernel and i've compiled as module bcm43xx.

I've a wireless router with wpa-psk support so i'm trying to use wpa_supplicant.

My /etc/wpa_supplicant.conf is
Code:

ctrl_interface=/var/run/wpa_supplicant

ctrl_interface_group=0

ap_scan=1

network={
        ssid="MambroWIFI"
        key_mgmt=WPA-PSK
        psk="[cut]"
}


and my /etc/conf.d/net is
Code:

config_eth0=( "192.168.1.4 mtu 1492" )
routes_eth0=( "default gw 192.168.1.2" )

modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"

config_eth1=( "192.168.1.4 mtu 1492" )
routes_eth1=( "default gw 192.168.1.2" )


when i manually start wpa_supplicant it works
Code:

ibook ~ # wpa_supplicant -c/etc/wpa_supplicant.conf -ieth1 -Dwext
Trying to associate with 00:03:2f:23:c4:1c (SSID='MambroWIFI' freq=0 MHz)
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Trying to associate with 00:03:2f:23:c4:1c (SSID='MambroWIFI' freq=0 MHz)
Associated with 00:03:2f:23:c4:1c
Authentication with 00:03:2f:23:c4:1c timed out.
ioctl[SIOCSIWMLME]: Operation not supported
Trying to associate with 00:03:2f:23:c4:1c (SSID='MambroWIFI' freq=0 MHz)
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Associated with 00:03:2f:23:c4:1c
WPA: Key negotiation completed with 00:03:2f:23:c4:1c [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 00:03:2f:23:c4:1c completed (auth)

and i can ping the other computer of the lan and the webserver on internet. But if i try to run the init script it sometimes work and sometimes goes to timeout..
Code:

ibook ~ # /etc/init.d/net.eth1 start
 * Starting eth1
 *   Starting wpa_supplicant on eth1 ...                                          [ ok ]
 *     eth1 connected to "MambroWIFI" at 00:03:2F:23:C4:1C
 *   Bringing up eth1
 *     192.168.1.4                                                                [ ok ]
 *   Adding routes
 *     default gw 192.168.1.2 ...                                                 [ ok ]

or
Code:

ibook ~ # /etc/init.d/net.eth1 start
 * Starting eth1
 *   Starting wpa_supplicant on eth1 ...                                          [ ok ]
 *     timed out                                              [ !! ]


What can I do?
_________________
"The design of a worldwide, fully transparent distributed file system for simultaneous use by millions of mobile and frequently disconnected users is left as an excercise for the reader".
Andrew S. Tanenbaum, Distributed Operating Systems.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Apr 29, 2006 3:55 am    Post subject: Reply with quote

bcm43xx is still a little immature. Either do it by hand or write a script yourself that sleeps between commands so that it has time to do each step.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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