View previous topic :: View next topic |
Author |
Message |
garnie Tux's lil' helper
Joined: 09 Jan 2004 Posts: 108 Location: Vinderup, Denmark
|
Posted: Thu Jun 29, 2006 9:33 am Post subject: Wireless nightmare |
|
|
Just got a laptop (Dell Inspiron 6400) with a ipw3945 card (driver name)
When i startup only about half the times it manages to start load the module ipw3945 and i have to load it manually later,
where i can't seem to figure out how to bind it to eth1.
Why is that ? Can't seem to fine a logical reason anywhere.
Also when i get it started i can't connect
/etc/wpa_suppliancant.conf
Code: | ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
fast_reauth=1
network={
ssid="SKP-elev"
proto=WPA
key_mgmt=WPA-PSK
#pairwise=CCMP TKIP
#group=CCMP TKIP WEP104 WEP40
psk="gedehamster"
priority=1 |
}
and
this in /etc/conf.d/net
Code: | # IPW3945 Wireless connection
config_eth1=( "dhcp" )
dhcpcd_eth1="-t 10"
wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1=10 |
i might just have forgot a little detail (used a guide a gentoo-wiki.com) , first time wireless linux user
Thanks in advance.
//garnie _________________ Proud gentoo user. |
|
Back to top |
|
|
feiticeir0 Apprentice
Joined: 13 Jul 2005 Posts: 288 Location: Castelo Branco, Portugal
|
Posted: Thu Jun 29, 2006 10:09 am Post subject: |
|
|
Hello.
About wpa_supplicant, and about your /etc/conf.d/net, you need to add an extra line, just before Quote: | wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1=10
|
add
Code: | modules=( "wpa_supplicant" ) |
about your wireless card beeing eth1 or else, the order dependes by the order in which the modules are loaded...
in /etc/modules.autoload.d/kernel-2.6 (if using kernel 2.6) you put the modules beeing loaded at boot time
this is a part of mine
tg3 is the module of my wired card, and it will be eth0
ipw2200 is the module of my wireless card and will be eth1 (the led=1 is just for the led to be on)
if i change the order, first the ipw2200 and next the tg3, wireless would be eth0 and wired would be eth1
hope it helps,
Cheers _________________ Do It With Rhythm |
|
Back to top |
|
|
garnie Tux's lil' helper
Joined: 09 Jan 2004 Posts: 108 Location: Vinderup, Denmark
|
Posted: Thu Jun 29, 2006 11:37 am Post subject: |
|
|
thanks
okay some progress
It now loads every time .. i had to reinstall baselayout, very strange.
Code: | localhost linux # /etc/init.d/net.eth1 start
* Caching service dependencies ... [ ok ]
* Starting eth1
* Starting wpa_supplicant on eth1 ...
'.supported driver 'wext [ !! ] |
Now when i start eth1 i get this weird thing "'.supported driver 'wext" and i have no idea of what it is.
I now find the AP with a "wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant.conf -dd" command
and if i type "iwconfig" i get this :
Code: | lo no wireless extensions.
eth0 no wireless extensions.
eth1 unassociated ESSID:"SKP-elev"
Mode:Managed Frequency=nan kHz Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power:16 dBm
Retry limit:15 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:20 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:1923 Missed beacon:0 |
_________________ Proud gentoo user. |
|
Back to top |
|
|
feiticeir0 Apprentice
Joined: 13 Jul 2005 Posts: 288 Location: Castelo Branco, Portugal
|
Posted: Thu Jun 29, 2006 12:05 pm Post subject: |
|
|
It's strange the "-Dwext " not working....
i'll do some research about that.
this may be why you cannot associate with any AP...
for you to check you wpa_supplicant configuration, try this site:
http://hostap.epitest.fi/wpa_supplicant/conf/configure.html
cheers _________________ Do It With Rhythm |
|
Back to top |
|
|
|