* [gentoo-user] iwlwifi & psk auth
@ 2008-03-10 19:37 Sergey Kobzar
2008-03-10 20:23 ` Pongracz Istvan
2008-03-10 20:33 ` Jan Seeger
0 siblings, 2 replies; 16+ messages in thread
From: Sergey Kobzar @ 2008-03-10 19:37 UTC (permalink / raw
To: gentoo-user
I have iwl3945 card:
# dmesg | grep iwl
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.1.17ks
iwl3945: Copyright(c) 2003-2007 Intel Corporation
iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection
iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels
phy0: Selected rate control algorithm 'iwl-3945-rs'
And used http://gentoo-wiki.com/HARDWARE_ipw3945 giud to setup my
wireless network.
My kernel is Linux 2.6.24-gentoo-r3.
Unfortunately I can't emerge iwlwifi (but maybe it's not required?):
# emerge -pv iwlwifi
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild NS ] sys-kernel/gentoo-sources-2.6.22-r10 USE="symlink -build" 44,216 kB
[ebuild N ] net-wireless/iwlwifi-1.2.23 USE="ipw3945 -ipw4965" 355 kB
Total: 2 packages (1 new, 1 in new slot), Size of downloads: 44,570 kB
- it wants gentoo-sources-2.6.22-r10, but I emerged iwl3945-ucode-2.14.1.5.
Also looks like it's impossible to get WPA-PSK working with iwlwifi
driver - I didn't find any success story in Google.
At the moment I have:
# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
Tx-Power=off
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
But can't get wpa_supplicant working.
Thanks for any help.
--
Sergey
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] iwlwifi & psk auth
2008-03-10 19:37 [gentoo-user] iwlwifi & psk auth Sergey Kobzar
@ 2008-03-10 20:23 ` Pongracz Istvan
2008-03-10 20:33 ` Jan Seeger
1 sibling, 0 replies; 16+ messages in thread
From: Pongracz Istvan @ 2008-03-10 20:23 UTC (permalink / raw
To: gentoo-user
Hi,
Welcome to the club :)
I'm sucking with iwlwifi with the same environment like yours.
Without success.
2008. 03. 10, hétfő keltezéssel 21.37-kor Sergey Kobzar ezt írta:
> I have iwl3945 card:
.....
> Unfortunately I can't emerge iwlwifi (but maybe it's not required?):
iwlwifi is included in the latest kernel (2.6.24.x).
Check your kernel config.
I will send you my config file for the same kernel version in a private mail.
....
> But can't get wpa_supplicant working.
>
>
Sorry, I also haven't got solution for this.
I can see some APs around me, but I cannot connect to them.
I tried with Wlassistant, the result is above.
I cannot setup the mode. Really weird and I get hate this bloody wifi
card. Ok, I guess, this is my fault, but I cannot find solution using
google.
Cheers,
István
PS: wlasssistant log:
# wlassistant
kbuildsycoca running...
Loaded application options.
All interfaces: eth1, wlan0, wmaster0_rename
Wireless interface(s): wlan0
Permissions checked.
DHCP Client: dhcpcd
All executables found.
scan: /sbin/iwlist wlan0 scan
Networks found: 2
ACTION: CONNECT.
No DHCP client running.
No pre-connection command specified.
iwconfig_set: /sbin/iwconfig wlan0 mode managed channel 9 key off essid
default
==>stderr: Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Device or resource busy.
iwconfig_ap: /sbin/iwconfig wlan0 ap 00:0E:2E:70:3A:17
ifconfig_dhcp: /sbin/dhcpcd -nd wlan0
==>stderr: err, wlan0: timed out
err, wlan0: lease information file `/var/lib/dhcpcd/dhcpcd-wlan0.info'
does not exist
warn, wlan0: using IPV4LL address 169.254.215.212
Running DHCP client found.
kill_dhcp: /sbin/dhcpcd -k wlan0
CONNECTION FAILED.
disconnect: /sbin/iwconfig wlan0 mode managed key off ap off essid off
==>stderr: Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Device or resource busy.
Application options saved.
Kernel socket closed.
--
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
http://www.osbusiness.hu
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] iwlwifi & psk auth
2008-03-10 19:37 [gentoo-user] iwlwifi & psk auth Sergey Kobzar
2008-03-10 20:23 ` Pongracz Istvan
@ 2008-03-10 20:33 ` Jan Seeger
2008-03-10 20:44 ` Re[2]: " Sergey Kobzar
` (2 more replies)
1 sibling, 3 replies; 16+ messages in thread
From: Jan Seeger @ 2008-03-10 20:33 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 1944 bytes --]
On Mon, 10. Mar, Sergey Kobzar spammed my inbox with
<snip>
> My kernel is Linux 2.6.24-gentoo-r3.
> Unfortunately I can't emerge iwlwifi (but maybe it's not required?):
Yes, with 2.6.24, iwlwifi is not required anymore.
<snip>
>
> Also looks like it's impossible to get WPA-PSK working with iwlwifi
> driver - I didn't find any success story in Google.
Then you haven't read mine^^. I actually have it working beautifully with
WPA-PSK and unencrypted. Here's my wpa_supplicant.conf and my /etc/conf.d/net
(with passwords removed, of course^^):
/etc/wpa_supplicant/wpa_supplicant.conf:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
update_config=0
fast_reauth=1
ap_scan=1
network={
ssid="WLAN1"
psk="<key>"
pairwise=TKIP
group=TKIP
priority=5
}
network={
ssid="WLAN2"
psk="<key>"
pairwise=TKIP
group=TKIP
priority=500
}
network={
ssid="lrz"
key_mgmt=NONE
priority=500
}
network={
key_mgmt=NONE
priority=0
}
/etc/conf.d/net (with comments):
modules=("wpa_supplicant")
wpa_supplicant_wlan0="-Dwext" # This, you need
#preferred_aps=( "WLAN1","WLAN2" ) Do not set this: wpa_supplicant chooses
#the APs itself
#Network configuration
config_WLAN1=( "192.168.178.25 netmask 255.255.255.0 broadcast 192.168.178.255" )
config_WLAN2=( "192.168.178.25 netmask 255.255.255.0 broadcast 192.168.178.255" );
#
routes_WLAN1=( "default via 192.168.178.1" )
routes_WLAN2=( "default via 192.168.178.1" )
#
dns_servers_WLAN1=( "192.168.178.1" )
dns_servers_WLAN2=( "192.168.178.1" )
#
gateways_WLAN1=( "192.168.178.1" )
gateways_WLAN2=( "192.168.178.1" )
Also, I have a handy little script which I will attach. It stops the net.wlan0
initscript, unloads the iwl module and reloads the module. The initscript
automatically restarts.
HTH,
Jan
--
thenybble.de/blog/ -- four bits at a time
[-- Attachment #1.2: iwlrestart --]
[-- Type: text/plain, Size: 72 bytes --]
#!/bin/bash
/etc/init.d/net.wlan0 stop
rmmod iwl3945
modprobe iwl3945
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re[2]: [gentoo-user] iwlwifi & psk auth
2008-03-10 20:33 ` Jan Seeger
@ 2008-03-10 20:44 ` Sergey Kobzar
2008-03-10 21:01 ` Jan Seeger
2008-03-10 20:56 ` Pongracz Istvan
2008-03-11 11:32 ` Peter Humphrey
2 siblings, 1 reply; 16+ messages in thread
From: Sergey Kobzar @ 2008-03-10 20:44 UTC (permalink / raw
To: Jan Seeger; +Cc: gentoo-user
Hi Jan,
Monday, March 10, 2008, 10:33:32 PM, you wrote:
>> My kernel is Linux 2.6.24-gentoo-r3.
>> Unfortunately I can't emerge iwlwifi (but maybe it's not required?):
> Yes, with 2.6.24, iwlwifi is not required anymore.
Looks like iwl3945-ucode firmware required only.
> Then you haven't read mine^^. I actually have it working beautifully with
> WPA-PSK and unencrypted. Here's my wpa_supplicant.conf and my /etc/conf.d/net
> (with passwords removed, of course^^):
Thanks Jan, I got it working.
But during startup I get:
* Starting wpa_supplicant on wlan0 ...
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported [ ok ]th param 5 value 0x1 -
* Starting wpa_cli on wlan0 ... [ ok ]
* Backgrounding ...
Looks like I just have to ignore it?
> Also, I have a handy little script which I will attach. It stops the net.wlan0
> initscript, unloads the iwl module and reloads the module. The initscript
> automatically restarts.
Ah, that's why I could not get network working after
/etc/init.d/net.wlan0 restart...
> HTH,
> Jan
--
Sergey
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] iwlwifi & psk auth
2008-03-10 20:44 ` Re[2]: " Sergey Kobzar
@ 2008-03-10 21:01 ` Jan Seeger
2008-03-10 21:28 ` Pongracz Istvan
0 siblings, 1 reply; 16+ messages in thread
From: Jan Seeger @ 2008-03-10 21:01 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1134 bytes --]
On Mon, 10. Mar, Sergey Kobzar spammed my inbox with
> Hi Jan,
>
> Monday, March 10, 2008, 10:33:32 PM, you wrote:
>
> >> My kernel is Linux 2.6.24-gentoo-r3.
> >> Unfortunately I can't emerge iwlwifi (but maybe it's not required?):
> > Yes, with 2.6.24, iwlwifi is not required anymore.
>
> Looks like iwl3945-ucode firmware required only.
Yep
>
> But during startup I get:
>
> * Starting wpa_supplicant on wlan0 ...
> ioctl[SIOCSIWAUTH]: Operation not supported
> WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported [ ok ]th param 5 value 0x1 -
> * Starting wpa_cli on wlan0 ... [ ok ]
> * Backgrounding ...
>
> Looks like I just have to ignore it?
Yeah, same here. But doesn't seem to be a problem.
Oh, and a technicality: Since I (and anyone else on this list) is probably
subscribed to the list, it should suffice to just send a mail to the list and
not send one to me and cc the list.
I was just a bit suprised when I got your mail in my inbox...
Regards,
Jan
--
thenybble.de/blog/ -- four bits at a time
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] iwlwifi & psk auth
2008-03-10 21:01 ` Jan Seeger
@ 2008-03-10 21:28 ` Pongracz Istvan
2008-03-10 21:39 ` Pongracz Istvan
0 siblings, 1 reply; 16+ messages in thread
From: Pongracz Istvan @ 2008-03-10 21:28 UTC (permalink / raw
To: gentoo-user
Hi,
Thank you, I modified my settings based on your config.
I still fail.
I configured my router as follows:
Wireless Configuration
Mode AP
ESSID HomeLinux
Channel Number 9
Security&#-1;&#-1; WPA pre-shared key
Associated Clients 0
BSSID&#-1;&#-1; 00:0e:2e:70:3a:17
Authentication type: Shared key
Broadcast ESSID: Enabled
IAPP: Enabled
802.11g protection: Enabled
Encryption: WPA pre-shared key
WPA Unicast Cipher Suite: WPA(TKIP)
Pre-shared Key format: Passphrase
Pre-shared key: My very secret password
My wpa_supplicant is:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
update_config=0
fast_reauth=1
ap_scan=1
network={
ssid="HomeLinux"
psk="WADDA"
key-mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
priority=5
}
network={
key_mgmt=NONE
priority=0
}
My net is:
######### WIRELESS ########################
modules=("wpa_supplicant")
wpa_supplicant_wlan0="-Dwext" # This, you need
#preferred_aps=( "WLAN1","WLAN2" ) Do not set this: wpa_supplicant chooses
#the APs itself
#Network configuration
config_HomeLinux=( "192.168.0.100 netmask 255.255.255.0 broadcast 192.168.0.255" )
#
routes_HomeLinux=( "default via 192.168.0.1" )
#
dns_servers_HomeLinux=( "192.168.0.1" )
#
gateways_HomeLinux=( "192.168.0.1" )
I guess, I missed something trivial. For example I should use only wired lan :)
István
--
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
http://www.osbusiness.hu
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] iwlwifi & psk auth
2008-03-10 21:28 ` Pongracz Istvan
@ 2008-03-10 21:39 ` Pongracz Istvan
2008-03-11 8:00 ` Re[2]: " Sergey Kobzar
0 siblings, 1 reply; 16+ messages in thread
From: Pongracz Istvan @ 2008-03-10 21:39 UTC (permalink / raw
To: gentoo-user
2008. 03. 10, hétfő keltezéssel 22.28-kor Pongracz Istvan ezt írta:
....
>
> network={
> ssid="HomeLinux"
> psk="WADDA"
> key-mgmt=WPA-PSK
In fact this is key_mgmt, I corrected.
Anyway, with/without key_mgmt it seems it is not working...
I got this message:
* Starting wlan0
* Starting wpa_supplicant on wlan0 ...
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not
supported
[ ok ]th param 5 value 0x1 -
* Starting wpa_cli on wlan0 ...
[ ok ]
* Backgrounding ...
Maybe a restart needed ........
IStván
--
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
http://www.osbusiness.hu
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re[2]: [gentoo-user] iwlwifi & psk auth
2008-03-10 21:39 ` Pongracz Istvan
@ 2008-03-11 8:00 ` Sergey Kobzar
2008-03-11 9:05 ` Pongracz Istvan
0 siblings, 1 reply; 16+ messages in thread
From: Sergey Kobzar @ 2008-03-11 8:00 UTC (permalink / raw
To: gentoo-user
What does
'wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf'
command tell?
Don't forget stop wpa_supplicant before and reload iwl module.
Monday, March 10, 2008, 11:39:55 PM, you wrote:
> 2008. 03. 10, hetfo keltezessel 22.28-kor Pongracz Istvan ezt irta:
> ....
>>
>> network={
>> ssid="HomeLinux"
>> psk="WADDA"
>> key-mgmt=WPA-PSK
> In fact this is key_mgmt, I corrected.
> Anyway, with/without key_mgmt it seems it is not working...
> I got this message:
> * Starting wlan0
> * Starting wpa_supplicant on wlan0 ...
> ioctl[SIOCSIWAUTH]: Operation not supported
> WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not
> supported
> [ ok ]th param 5 value 0x1 -
> * Starting wpa_cli on wlan0 ...
> [ ok ]
> * Backgrounding ...
> Maybe a restart needed ........
> IStvan
> --
> BSA. Mert megerdemlitek.
> Open Source. Mert megerdemlem.
> --
> BSA. They value it.
> Open Source. The value. It.
> --
> http://www.osbusiness.hu
--
Sergey
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Re[2]: [gentoo-user] iwlwifi & psk auth
2008-03-11 8:00 ` Re[2]: " Sergey Kobzar
@ 2008-03-11 9:05 ` Pongracz Istvan
2008-03-11 10:49 ` Pongracz Istvan
0 siblings, 1 reply; 16+ messages in thread
From: Pongracz Istvan @ 2008-03-11 9:05 UTC (permalink / raw
To: gentoo-user
Hi,
2008. 03. 11, kedd keltezéssel 10.00-kor Sergey Kobzar ezt írta:
> What does
> 'wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf'
> command tell?
>
> Don't forget stop wpa_supplicant before and reload iwl module.
Thank you for you help.
I already removed the ipw3945d ebuild from my system.
So, here is the output:
fujitsu ~ # wpa_supplicant -Dwext -iwlan0
-c/etc/wpa_supplicant/wpa_supplicant.conf
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not
supported
WEXT auth param 5 value 0x1 - ioctl[SIOCGIWSCAN]: Resource temporarily
unavailable
^CCTRL-EVENT-TERMINATING - signal 2 received
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not
supported
WEXT auth param 4 value 0x0 - fujitsu ~ #
My relevant dmesg is:
Regarding ieee80211 (grep'ed):
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation
<jketreno@linux.intel.com>
Regarding iwl (grep'ed)
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for
Linux, 1.1.17kds
iwl3945: Copyright(c) 2003-2007 Intel Corporation
iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection
iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels
phy0: Selected rate control algorithm 'iwl-3945-rs'
iwl3945: Error sending REPLY_TX_PWR_TABLE_CMD: time out after 500ms.
iwl3945: Error sending REPLY_RXON: time out after 500ms.
iwl3945: Error setting new configuration (-110).
iwl3945: Error sending REPLY_RXON: time out after 500ms.
iwl3945: Error setting new configuration (-110).
Regarding the wlan (grep'ed):
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
Anyaway, at this moment I have no wireless access point near to me
(workplace).
Thank you for your help,
István
--
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
http://www.osbusiness.hu
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Re[2]: [gentoo-user] iwlwifi & psk auth
2008-03-11 9:05 ` Pongracz Istvan
@ 2008-03-11 10:49 ` Pongracz Istvan
2008-03-11 12:02 ` Peter Humphrey
0 siblings, 1 reply; 16+ messages in thread
From: Pongracz Istvan @ 2008-03-11 10:49 UTC (permalink / raw
To: gentoo-user
Hi,
I realized, some kernel modules were unloaded.
Maybe I only have to load all the required kernel modules, such as:
ieee80211.ko
ieee80211_crypt.ko
ieee80211_crypt_ccmp.ko
ieee80211_crypt_tkip.ko
ieee80211_crypt_wep.ko
Maybe rfkill and rfkill_input
I will try again this night :)
Cheers,
István
--
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
http://www.osbusiness.hu
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] iwlwifi & psk auth
2008-03-11 10:49 ` Pongracz Istvan
@ 2008-03-11 12:02 ` Peter Humphrey
2008-03-11 19:39 ` Pongracz Istvan
0 siblings, 1 reply; 16+ messages in thread
From: Peter Humphrey @ 2008-03-11 12:02 UTC (permalink / raw
To: gentoo-user
On Tuesday 11 March 2008 10:49:02 Pongracz Istvan wrote:
> I realized, some kernel modules were unloaded.
> Maybe I only have to load all the required kernel modules, such as:
>
> ieee80211.ko
> ieee80211_crypt.ko
> ieee80211_crypt_ccmp.ko
> ieee80211_crypt_tkip.ko
> ieee80211_crypt_wep.ko
After Jan's helpful contribution I got my wifi working, and I don't have any
of those modules loaded, nor are they compiled into the kernel. You may not
have the right kernel setup. In particular, I think you want "Networking >
Wireless > Generic IEEE 802.11 Networking Stack (mac80211)" in preference
to the one without "mac80211" in it, which is older.
I assume you've selected the right wireless device driver, but in case it
helps here's what I have: "Device Drivers > Network device support >
Wireless LAN > Wireless LAN (IEEE 802.11)" and (in the same menu) "Intel
Wireless WiFi Link Drivers" and the 3945 module.
(I should perhaps say this is a Thinkpad T61 with the Intel 3945ABG
chipset.)
--
Rgds
Peter
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] iwlwifi & psk auth
2008-03-11 12:02 ` Peter Humphrey
@ 2008-03-11 19:39 ` Pongracz Istvan
0 siblings, 0 replies; 16+ messages in thread
From: Pongracz Istvan @ 2008-03-11 19:39 UTC (permalink / raw
To: gentoo-user
Hi,
Finally the iwlwifi is working on my laptop, BIG FAT thanks to all of
you guys!
Based on Jan Seeger's config files I modified my config as shown below.
Here is my net config:
/etc/conf.d/net
------------ >8 ----------------
######### WIRELESS ########################
modules=("wpa_supplicant")
wpa_supplicant_wlan0="-Dwext"
#Network configuration
config_HomeLinux=( "192.168.0.100 netmask 255.255.255.0 broadcast
192.168.0.255" )
#
routes_HomeLinux=( "default via 192.168.0.1" )
#
dns_servers_HomeLinux=( "192.168.0.1" )
#
gateways_HomeLinux=( "192.168.0.1" )
------------ >8 ----------------
My wpa_supplicant config:
/etc/wpa_supplicant/wpa_supplicant.conf
------------ >8 ----------------
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
update_config=0
fast_reauth=1
ap_scan=1
network={
ssid="HomeLinux"
psk="XXXXXXXXXX"
#key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
priority=5
}
------------ >8 ----------------
Thank you again,
Cheers,
István
--
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
http://www.osbusiness.hu
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] iwlwifi & psk auth
2008-03-10 20:33 ` Jan Seeger
2008-03-10 20:44 ` Re[2]: " Sergey Kobzar
@ 2008-03-10 20:56 ` Pongracz Istvan
2008-03-11 11:32 ` Peter Humphrey
2 siblings, 0 replies; 16+ messages in thread
From: Pongracz Istvan @ 2008-03-10 20:56 UTC (permalink / raw
To: gentoo-user
Thank you very much, I start to rewrite my configs and test it.
István
--
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
http://www.osbusiness.hu
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] iwlwifi & psk auth
2008-03-10 20:33 ` Jan Seeger
2008-03-10 20:44 ` Re[2]: " Sergey Kobzar
2008-03-10 20:56 ` Pongracz Istvan
@ 2008-03-11 11:32 ` Peter Humphrey
2008-03-11 12:36 ` Jan Seeger
2 siblings, 1 reply; 16+ messages in thread
From: Peter Humphrey @ 2008-03-11 11:32 UTC (permalink / raw
To: gentoo-user
On Monday 10 March 2008 20:33:32 Jan Seeger wrote:
> Yes, with 2.6.24, iwlwifi is not required anymore.
In fact you can't emerge it at all with kernel 2.6.24.
> Here's my wpa_supplicant.conf and my /etc/conf.d/net
Heartfelt thanks from me! Your config has got my wifi working; now I'll have
to find out what difference in particular between yours and mine caused it
to spring into life.
> network={
> ssid="WLAN1"
> psk="<key>"
> pairwise=TKIP
> group=TKIP
> priority=5
> }
[...]
> /etc/conf.d/net:
>
> modules=("wpa_supplicant")
> wpa_supplicant_wlan0="-Dwext" # This you need
I thought wext was the default device, no?
> #Network configuration
> config_WLAN1=( "192.168.178.25 netmask 255.255.255.0 broadcast
192.168.178.255" )
> routes_WLAN1=( "default via 192.168.178.1" )
> dns_servers_WLAN1=( "192.168.178.1" )
> gateways_WLAN1=( "192.168.178.1" )
The key difference here is that you've defined variables for the SSID of the
network link, where I would have used (was using) the interface to which
that link is attached. /etc/conf.d/*.example don't make this clear at all.
> Also, I have a handy little script which ... stops the net.wlan0
> initscript, unloads the iwl module and reloads the module. The initscript
> automatically restarts.
It doesn't restart automatically here.
I submitted a bug report: https://bugs.gentoo.org/show_bug.cgi?id=212383.
The silence is deafening :-)
--
Rgds
Peter
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] iwlwifi & psk auth
2008-03-11 11:32 ` Peter Humphrey
@ 2008-03-11 12:36 ` Jan Seeger
2008-03-11 17:22 ` Peter Humphrey
0 siblings, 1 reply; 16+ messages in thread
From: Jan Seeger @ 2008-03-11 12:36 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1162 bytes --]
On Tue, 11. Mar, Peter Humphrey spammed my inbox with
<snip>
> > #Network configuration
> > config_WLAN1=( "192.168.178.25 netmask 255.255.255.0 broadcast
> 192.168.178.255" )
> > routes_WLAN1=( "default via 192.168.178.1" )
> > dns_servers_WLAN1=( "192.168.178.1" )
> > gateways_WLAN1=( "192.168.178.1" )
>
> The key difference here is that you've defined variables for the SSID of the
> network link, where I would have used (was using) the interface to which
> that link is attached. /etc/conf.d/*.example don't make this clear at all.
That is autoconfiguration: When connected to the corresponding AP, it
automatically chooses the corresponding configuration. If you use routes_wlan0
and similar, it always uses these settings.
> > Also, I have a handy little script which ... stops the net.wlan0
> > initscript, unloads the iwl module and reloads the module. The initscript
> > automatically restarts.
>
> It doesn't restart automatically here.
That is strange. Have you, perchance, edited something in /etc/conf.d/rc
regarding the hot-/coldplugging services?
Regards,
Jan
--
thenybble.de/blog/ -- four bits at a time
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] iwlwifi & psk auth
2008-03-11 12:36 ` Jan Seeger
@ 2008-03-11 17:22 ` Peter Humphrey
0 siblings, 0 replies; 16+ messages in thread
From: Peter Humphrey @ 2008-03-11 17:22 UTC (permalink / raw
To: gentoo-user
On Tuesday 11 March 2008 12:36:49 Jan Seeger wrote:
> On Tue, 11. Mar, Peter Humphrey spammed my inbox with
> > It doesn't restart automatically here.
>
> That is strange. Have you, perchance, edited something in /etc/conf.d/rc
> regarding the hot-/coldplugging services?
Yes, that'll be it. I've switched them all off while I sorted out what's
causing what.
--
Rgds
Peter
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2008-03-11 19:42 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-10 19:37 [gentoo-user] iwlwifi & psk auth Sergey Kobzar
2008-03-10 20:23 ` Pongracz Istvan
2008-03-10 20:33 ` Jan Seeger
2008-03-10 20:44 ` Re[2]: " Sergey Kobzar
2008-03-10 21:01 ` Jan Seeger
2008-03-10 21:28 ` Pongracz Istvan
2008-03-10 21:39 ` Pongracz Istvan
2008-03-11 8:00 ` Re[2]: " Sergey Kobzar
2008-03-11 9:05 ` Pongracz Istvan
2008-03-11 10:49 ` Pongracz Istvan
2008-03-11 12:02 ` Peter Humphrey
2008-03-11 19:39 ` Pongracz Istvan
2008-03-10 20:56 ` Pongracz Istvan
2008-03-11 11:32 ` Peter Humphrey
2008-03-11 12:36 ` Jan Seeger
2008-03-11 17:22 ` Peter Humphrey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox