1 |
Am Donnerstag, 25. März 2010 schrieb CJoeB: |
2 |
> Hi, |
3 |
> |
4 |
> I have an Intel 3945 wireless adaptor in my laptop. I have always used |
5 |
> the ipw3945 driver in gentoo because I have never had any luck with the |
6 |
> iwl3945 driver. |
7 |
> [...] |
8 |
> Tonight I, again, following the wiki, tried building the iwl3945 driver |
9 |
> into the kernel, but had no success. I need to get wireless working |
10 |
> because I am changing isp's and will not longer be using an ethernet |
11 |
> connection, but a dsl one. |
12 |
|
13 |
Have you found out yet what really isn’t working? It could be a number of |
14 |
things, but when dealing with kernel drivers “it doesn’t work“ is not enough. |
15 |
;-) |
16 |
|
17 |
> I don't know if it matters, but I am using wireless-extensions as |
18 |
> opposed to wpa-supplicant because it doesn't seem that wpa-supplicant |
19 |
> supports the Intel 3945 wireless adaptor. |
20 |
|
21 |
IWL3945 and wpa_supplicant are working just fine over here. My only difference |
22 |
is that I’ve built it as a module. Here’s what I set in the kernel config. |
23 |
|
24 |
Networking |
25 |
[*] Wireless |
26 |
-*- Wireless extensions |
27 |
{M} Common routines for IEEE802.11 drivers |
28 |
<M> Generic IEEE 802.11 Networking Stack (mac80211) |
29 |
Device drivers |
30 |
[*] Network device support |
31 |
Wireless LAN |
32 |
[*] Wireless LAN (IEEE 802.11) |
33 |
<M> Intel Wireless WiFi |
34 |
<M> Intel PRO/Wireless 3945ABG/BG Network Connection (iwl3945) |
35 |
|
36 |
# lsmod | grep iwl3945: |
37 |
iwl3945 80412 0 |
38 |
iwlcore 98076 1 iwl3945 |
39 |
mac80211 142636 2 iwl3945,iwlcore |
40 |
cfg80211 82108 3 iwl3945,iwlcore,mac80211 |
41 |
|
42 |
IIRC, there’s nothing more to it, really. |
43 |
I also added suppor for tun/tap and devices and some ppp options because I use |
44 |
vpn on my Uni’s network, but I don’t reckon they’re a requisite for wireless. |
45 |
|
46 |
Then I grabbed iwl3945-ucode from portage, and that was it, IIRC. Just last |
47 |
weekend I rebuilt my system from scratch and it worked right away after I |
48 |
installed the ucode, dhcpcd and wpa_supplicant. Then I created the symlink |
49 |
net.wlan0 -> net.lo in /etc/init.d and added it to the default runleven via |
50 |
rc-update. Oh yeah, I had to add the driver module iwl3945 to |
51 |
modules.autoload.d/kernel-2.6, because it didn’t get loaded (by udev?) at |
52 |
boot. Not sure if that is still necessary, but it was at some point in the |
53 |
past, obviosly. |
54 |
|
55 |
Lastly, you need of course a correct wpa config, which is no rocket science |
56 |
either. Here’s mine for our WPA2 home network: |
57 |
|
58 |
network={ |
59 |
ssid="our ssid" |
60 |
key_mgmt=WPA-PSK |
61 |
# group=TKIP |
62 |
psk="our secret keyphrase" |
63 |
} |
64 |
|
65 |
To connect, I did: |
66 |
|
67 |
# wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf -Dwext -iwlan0 & |
68 |
# dhcpcd wlan0 & |
69 |
|
70 |
and I was ready to go (That is from my memory, it may contain typos or similar |
71 |
errors). |
72 |
-- |
73 |
Gruß | Greetings | Qapla' |
74 |
UNIX is not user-unfriendly. |
75 |
It just expects the user to be a little more computer-friendly. |