View previous topic :: View next topic |
Author |
Message |
d2_racing Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1190120345458c61e31ec3c.jpg)
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sun Apr 27, 2008 3:30 pm Post subject: |
|
|
I will post my /etc/wpa/wpa_supplicant.conf file tomorrow ![Razz :P](images/smiles/icon_razz.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
longint Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/3e848c013d6bee3baafeb.gif)
Joined: 27 Aug 2002 Posts: 100 Location: good old germany
|
Posted: Sun Apr 27, 2008 9:35 pm Post subject: What is wrong here? |
|
|
So, what is wrong here? After migrating from a working ipw3945 config (with older kernel) I just can't get it to work:
Code: |
toral ~ # uname -a
Linux toral.ds.de 2.6.24-gentoo-r5 #2 SMP Sun Apr 27 22:25:38 CEST 2008 i686 Genuine Intel(R) CPU T2600 @ 2.16GHz GenuineIntel GNU/Linux
toral ~ # dmesg |grep -A5 -B5 3945
pcmcia: parent PCI bridge Memory window: 0xf4200000 - 0xf45fffff
ACPI: PCI Interrupt 0000:02:06.2[B] -> GSI 19 (level, low) -> IRQ 18
sdhci: SDHCI controller found at 0000:02:06.3 [104c:803c] (rev 0)
ACPI: PCI Interrupt 0000:02:06.3[C] -> GSI 22 (level, low) -> IRQ 22
mmc0: SDHCI at 0xf4209000 irq 22 PIO
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.1.17ks
iwl3945: Copyright(c) 2003-2007 Intel Corporation
ACPI: PCI Interrupt 0000:10:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:10:00.0 to 64
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'
udev: renamed network interface wmaster0 to eth1
Bluetooth: L2CAP ver 2.9
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
toral ~ # zgrep IWL /proc/config.gz
CONFIG_IWLWIFI=y
# CONFIG_IWLWIFI_DEBUG is not set
CONFIG_IWLWIFI_SENSITIVITY=y
CONFIG_IWLWIFI_SPECTRUM_MEASUREMENT=y
# CONFIG_IWLWIFI_QOS is not set
# CONFIG_IWL4965 is not set
CONFIG_IWL3945=m
toral ~ # lsmod
Module Size Used by
rfcomm 31760 6
bnep 11392 2
l2cap 19328 16 rfcomm,bnep
hci_usb 12956 2
bluetooth 47460 8 rfcomm,bnep,l2cap,hci_usb
sdhci 14724 0
mmc_core 41348 1 sdhci
yenta_socket 22284 0
rsrc_nonstatic 9216 1 yenta_socket
pcmcia_core 30740 2 yenta_socket,rsrc_nonstatic
tifm_7xx1 5504 0
tifm_core 6916 1 tifm_7xx1
iwl3945 80488 0
fglrx 1508364 22
mac80211 108428 1 iwl3945
toral ~ # cat /etc/conf.d/net
config_eth0="10.168.10.235/16"
routes_eth0="default via 10.168.11.4"
modules_eth1=("wpa_supplicant" "dhcpcd")
wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1=60
config_eth1=("dhcp")
dhcpcd_eth1="-t 5 -A"
preup(){
ifconfig eth1 up
}
toral ~ # cat /etc/wpa_supplicant/wpa_supplicant.conf
network={
key_mgmt=NONE
priority=-9999999
}
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=users
update_config=0
fast_reauth=1
network={
ssid="ABC..."
key_mgmt=NONE
wep_key0="abc..."
wep_tx_keyidx=0
}
toral ~ # ifconfig eth1
eth1: flags=4098<BROADCAST,MULTICAST> mtu 1500 metric 1
unspec 00-13-02-45-DA-9B-00-00-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
toral ~ # /etc/init.d/net.eth1 start
* Bringing up interface eth1
* Running preup ...
SIOCSIFFLAGS: Operation not supported
* ERROR: net.eth1 failed to start
toral ~ # ifconfig eth1 up
SIOCSIFFLAGS: Operation not supported
|
Any ideas? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d2_racing Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1190120345458c61e31ec3c.jpg)
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Mon Apr 28, 2008 4:11 pm Post subject: |
|
|
Can you post your ifconfig -a plz. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
longint Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/3e848c013d6bee3baafeb.gif)
Joined: 27 Aug 2002 Posts: 100 Location: good old germany
|
Posted: Mon Apr 28, 2008 6:05 pm Post subject: |
|
|
Solved, seemes I had a wrong entry in /etc/udev/rules.d/70-persistent-net.rules. This is the current one and I'm writing this using wireless LAN:
Code: | toral ~ # cat /etc/udev/rules.d/70-persistent-net.rules
# PCI Device: 0x8086:0x4222 (ipw3945)
#SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:13:02:45:da:9b", NAME="eth1"
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:13:02:45:da:9b", ATTR{type}=="1", NAME="eth1"
# PCI device 0x14e4:0x16fd (tg3)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:15:60:c4:c1:d9", NAME="eth0"
|
Thx a lot! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
danomac l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/150252826944596be5c5716.gif)
Joined: 06 Nov 2004 Posts: 881 Location: Vancouver, BC
|
Posted: Mon Apr 28, 2008 6:41 pm Post subject: |
|
|
I'm still having a heck of a time making my card connect to a non-broadcast ssid. Anyone else have this problem? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
TequilaTR n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Feb 2005 Posts: 68
|
Posted: Mon Apr 28, 2008 7:07 pm Post subject: |
|
|
danomac wrote: | I'm still having a heck of a time making my card connect to a non-broadcast ssid. Anyone else have this problem? |
Yes. Still unsolved at my side (with iwl4965), but i am quite sure it is the same issue.
But it is not directly related to no ssid at my side, it is just if the networks are unknown. If i hardcode an ssid, of which i know it is around, it also works. But no iwlist scan if i have no valid connection, etc :( |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
danomac l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/150252826944596be5c5716.gif)
Joined: 06 Nov 2004 Posts: 881 Location: Vancouver, BC
|
Posted: Mon Apr 28, 2008 7:37 pm Post subject: |
|
|
My specific problem was that it would connect (show up as connected under iwconfig) but would not pull an ip from the dhcp server. It still works on ipw, but I did notice wireless performance was better with iwl. I just hope I can get it to work with a hidden ssid. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dannypoo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Nov 2002 Posts: 25 Location: london
|
Posted: Fri May 09, 2008 10:18 pm Post subject: |
|
|
i'm back with an update on my situation:
i moved my setup to NetworkManager and i still have a similar problem. although NetworkManager gave me a further insight.
I think that there was a problem with signal strength and wireless congestion...
as my network is an unsecured net - (it's the only way I could get the Wii to work!!!) there are about 7 wireless networks in range...
when I booted cold, my network didn't appear in the list. I unloaded iwl4965 and mac80211 and then reloaded them and all of a sudden the network appeared...
so I guess there is nothing wrong...
thanks for all your help
danny |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jcat Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/8613556479655c309323.jpg)
Joined: 26 May 2006 Posts: 1337
|
Posted: Fri May 09, 2008 11:58 pm Post subject: |
|
|
dannypoo wrote: |
as my network is an unsecured net - (it's the only way I could get the Wii to work!!!) there are about 7 wireless networks in range...
|
FYI
My Wii works no problem with WPA2 personal key.
Cheers,
jcat |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
TequilaTR n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Feb 2005 Posts: 68
|
Posted: Sat May 10, 2008 8:30 am Post subject: |
|
|
I can also add, that sometimes unloading (modprobe -r) iwl4965 and reloading it, most of the times helps to recover the insight in networks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jekyll n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Mar 2006 Posts: 63
|
Posted: Sun May 11, 2008 5:50 am Post subject: |
|
|
I miss my LED light for my wifi. Does it work with iwlwifi yet?
-jekyll |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
VinzC Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/92679028148bc3f0ff1e99.jpg)
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Sun May 11, 2008 8:35 am Post subject: |
|
|
jekyll wrote: | I miss my LED light for my wifi. Does it work with iwlwifi yet?
-jekyll |
With vanilla-sources-2.6.25* the LED features seem back again. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d2_racing Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1190120345458c61e31ec3c.jpg)
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sun May 11, 2008 8:35 pm Post subject: |
|
|
Yeah, it's seems to be resolve.
I will wait to the gentoo-sources to hit stable ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chris.c.hogan Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 02 Oct 2005 Posts: 189
|
Posted: Mon May 19, 2008 7:15 am Post subject: My iwl3945 finally works |
|
|
Yay! My iwl3945 finally works under 2.6.25!
WEP encryption, hidden ESSID. It worked under 2.6.23, though it wouldn't start from the init script. It didn't work with 2.6.24. I decided to play around with 2.6.25 tonight. At first it wouldn't work, even after trying everything suggested in this thread. However, it works now. The solution would probably make it work under 2.6.24 and get it to start with the init script in 2.6.23. However, I haven't tested those yet.
Here is what I added to /etc/conf.d/net:
Code: |
preup() {
ifconfig wlan0 up
iwconfig wlan0 txpower on
iwconfig wlan0 essid XXXXXXX
iwconfig wlan0 channel X
iwconfig wlan0 key open
iwconfig wlan0 key [X] XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX
iwlist scanning
iwconfig wlan0 ap XX:XX:XX:XX:XX:XX
return 0
}
|
Just replace the Xs with your own information. It may be that some of the commands are not needed. I have not done much testing. I just copy-and-pasted what I'd tried on the command line into the preup function. It worked. I can say that the iwlist scanning command is needed. It won't work without it. It also needs to be executed before the init script tries to bring the interface up, thus using preup function.
By the way, here is the error I kept getting before I used this bit of code:
Quote: |
iwl3945: Radio disabled by SW RF kill (module parameter)
|
This error would repeat until the init script would error out. Doing it at the command line produced the same error, until I issued the iwlist scanning command. At that point it all started to work.
If you can't tell by my babbling, it's 1 in the morning and I work early. I might test this out more latter. For now it works. Hope this helps someone else out...
Chris |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mjrosenb Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/11784027645f7f344ed9e0.jpg)
Joined: 12 Jun 2006 Posts: 115 Location: CMU
|
Posted: Thu May 22, 2008 5:14 pm Post subject: |
|
|
I think that the preup() function is the wrong place to have all of that configuration stuffs. in any case, It didn't work for me, but this shorter one did:
Code: |
preup(){
modprobe -r iwl3945 &&
modprobe iwl3945 &&
iwlist scanning &&
retrun 0;
}
|
This one seems to work for me.
also, the error message that I was getting after the initial failure was:
Quote: |
* Wireless radio has bddn killed for interface wlan0
|
For whatever reason, re-inserting the module, then re-trying to bring up the interface didn't change the error message that it gave me. _________________ I'll be mjrosenb on #${COMPUTER_RELATED_SUBJECT}
1x i386 laptop w/ Gentoo
4x i386 desktop w/ Gentoo
2x dual proc i386 w/dragonfly bsd
1x x86-64 desktop w/ Gentoo
1x i386 desktop w/ FreeBSD
1x alpha workstation w/ Gentoo
looking for more |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d2_racing Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1190120345458c61e31ec3c.jpg)
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sat May 31, 2008 1:34 am Post subject: |
|
|
With the kernel 2.6.25-Gentoo-r4, does anyone who is able to active the led when the Iwl3945 module is loaded ?
This feature is suppose to be include in this kernel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mikkoc Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 24 May 2007 Posts: 231
|
Posted: Sat May 31, 2008 8:37 am Post subject: |
|
|
d2_racing wrote: | With the kernel 2.6.25-Gentoo-r4, does anyone who is able to active the led when the Iwl3945 module is loaded ?
This feature is suppose to be include in this kernel. |
I don't think so.. Led support for iwlwifi was added in 2.6.26 afaik. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bigsmoke Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/6837083833f34eee46c86b.png)
Joined: 09 Aug 2003 Posts: 92 Location: The city of Groningen in The Netherlands
|
Posted: Sat May 31, 2008 9:20 am Post subject: |
|
|
mikkoc wrote: | d2_racing wrote: | With the kernel 2.6.25-Gentoo-r4, does anyone who is able to active the led when the Iwl3945 module is loaded ?
This feature is suppose to be include in this kernel. |
I don't think so.. Led support for iwlwifi was added in 2.6.26 afaik. |
I can confirm this. I'm writing this on 2.6.25 without LED support. _________________ Gentoo's kind community
has build up an immunity
for the kind of rash
that makes others bash(1)
the newer GNU/Linux user,
a man(1) that is inapt
to flawlessly adapt,
and therefore called a luser. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
VinzC Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/92679028148bc3f0ff1e99.jpg)
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Sat May 31, 2008 10:36 am Post subject: |
|
|
d2_racing wrote: | With the kernel 2.6.25-Gentoo-r4, does anyone who is able to active the led when the Iwl3945 module is loaded ?
This feature is suppose to be include in this kernel. |
mikkoc wrote: | I don't think so.. Led support for iwlwifi was added in 2.6.26 afaik. |
Not quite. Kernel 2.6.25.x configuration now supports LED Triggers, which is the start of a more general way to control LEDs for WiFi and other devices. It's probably not complete as far as WiFi LEDs are concerned, don't know exactly.
[EDIT: I've run another distro's LiveCD recently and my WiFi LED worked with a 2.6.25 kernel. It wasn't ipw3945d that was used. I don't remember which distro however .] _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
termite Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 06 May 2007 Posts: 466
|
Posted: Sat May 31, 2008 2:15 pm Post subject: |
|
|
Works on 2.6.26-rc4 (zen-sources). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Clete2 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 09 Aug 2003 Posts: 530
|
Posted: Sat May 31, 2008 7:41 pm Post subject: |
|
|
I've scanned this thread.. but is there a guide to setting this up? I don't know what I need to do other than emerging the ucode and adding the module to my kernel (and loading it, obviously). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d2_racing Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1190120345458c61e31ec3c.jpg)
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Clete2 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 09 Aug 2003 Posts: 530
|
Posted: Sun Jun 01, 2008 4:52 am Post subject: |
|
|
I checked out the thread and it helped me get some configurations correct, but I have two problems:
1) lspci does not show the adapter (I have the ABGN model).
2) I have no clue how to actually go about utilizing it and finding my access point and connecting and etc. Once it's recognized by the system, how do I look for APs and connect to them using WEP/WPA/etc.? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d2_racing Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1190120345458c61e31ec3c.jpg)
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sun Jun 01, 2008 11:50 pm Post subject: |
|
|
Hi, can you post your lspci and also what kernel version are you using ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d2_racing Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1190120345458c61e31ec3c.jpg)
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Mon Jun 02, 2008 2:07 am Post subject: |
|
|
Since, it's a N version, you will need to install the iwl4965 module instead of the iwl3945.
Maybe you will need to recompile your kernel.
Also, you will need to install the iwl4965-ucode instead of the iwl3945-ucode.
For the rest, just follow the thread and replace the 3945 by 4965. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|