1 |
Hi, |
2 |
Why would wireless no longer work after rebuilding the kernel to |
3 |
add USB OHCI support only? |
4 |
|
5 |
The title more or less says it. My network is a bunch of LinkSys |
6 |
access points and a LinkSys wireless router. I use WEP and broadcast |
7 |
my ESSID, for now. |
8 |
|
9 |
I emerged wireless-tools, wpa_supplicant (which I am not using at |
10 |
this time) and ndiswrapper. Using ndiswrapper I installed the Windows |
11 |
driver and ndiswrapper installed and working: |
12 |
|
13 |
christmas ~ # ndiswrapper -l |
14 |
Installed ndis drivers: |
15 |
net8180 driver present, hardware present |
16 |
christmas ~ # |
17 |
|
18 |
christmas ~ # lsmod | grep ndis |
19 |
ndiswrapper 162288 0 |
20 |
christmas ~ # |
21 |
|
22 |
I added ndiswrapper to /etc/modules.autoload.d/kernel-2.6: |
23 |
|
24 |
christmas ~ # cat /etc/modules.autoload.d/kernel-2.6 |
25 |
# /etc/modules.autoload.d/kernel-2.6: kernel modules to load when system boots. |
26 |
# |
27 |
# Note that this file is for 2.6 kernels. |
28 |
# |
29 |
# Add the names of modules that you'd like to load when the system |
30 |
# starts into this file, one per line. Comments begin with # and |
31 |
# are ignored. Read man modules.autoload for additional details. |
32 |
|
33 |
# For example: |
34 |
# 3c59x |
35 |
sis900 |
36 |
ndiswrapper |
37 |
christmas ~ # |
38 |
|
39 |
I configured the following files yesterday and got wireless working: |
40 |
|
41 |
christmas ~ # cat /etc/conf.d/wireless |
42 |
# /etc/conf.d/wireless: |
43 |
# Global wireless config file for net.* rc-scripts |
44 |
############################################################################## |
45 |
# SETTINGS |
46 |
############################################################################## |
47 |
|
48 |
essid_wlan0="LadySmithBliss" |
49 |
preferred_aps=( "LadySmithBliss" ) |
50 |
channel_wlan0="6" |
51 |
key_LadySmithBliss="AAAA-BBBB-CCCC-DDDD-EEEE-FFFF-GG enc restricted" |
52 |
|
53 |
christmas ~ # |
54 |
|
55 |
christmas ~ # cat /etc/conf.d/net |
56 |
# This blank configuration will automatically use DHCP for any net.* |
57 |
# scripts in /etc/init.d. To create a more complete configuration, |
58 |
# please review /etc/conf.d/net.example and save your configuration |
59 |
# in /etc/conf.d/net (this file :]!). |
60 |
|
61 |
config_eth0=( "192.168.1.58/24" ) |
62 |
routes_eth0=( "default via 192.168.1.1" ) |
63 |
|
64 |
config_wlan0=( "192.168.1.59/24" ) |
65 |
routes_wlan0=( "default via 192.168.1.1" ) |
66 |
christmas ~ # |
67 |
|
68 |
I created the link for wlan0: |
69 |
|
70 |
christmas ~ # ls -la /etc/init.d/net.* |
71 |
lrwxrwxrwx 1 root root 6 Jul 4 22:33 /etc/init.d/net.eth0 -> net.lo |
72 |
-rwxr-xr-x 1 root root 24324 Jul 4 22:33 /etc/init.d/net.lo |
73 |
lrwxrwxrwx 1 root root 6 Jul 8 02:09 /etc/init.d/net.wlan0 -> net.lo |
74 |
christmas ~ # |
75 |
|
76 |
At this point I could start and use the network by hand so I used |
77 |
rc-update to add net.wlan0 to default. Everything was working fine. I |
78 |
powered the machine completely down and booted cold. The wireless |
79 |
network can up and ran fine. |
80 |
|
81 |
I thought everything was great until we tried to configure my son's |
82 |
printer and found the kernel didn't have the right USB support so I |
83 |
rebuilt the kernel. After rebuilding the kernel I can no longer get |
84 |
wireless to run: |
85 |
|
86 |
christmas ~ # /etc/init.d/net.wlan0 start |
87 |
* Starting wlan0 |
88 |
* Configuring wireless network for wlan0 |
89 |
* Failed to configure wireless for wlan0 |
90 |
[ !! ] |
91 |
christmas ~ # |
92 |
|
93 |
I tried re-emerging ndiswrapper but that didn't help. |
94 |
|
95 |
I'm really confused at this point. Can someone suggest some things |
96 |
for me to look at? |
97 |
|
98 |
Thanks very much, |
99 |
Mark |
100 |
-- |
101 |
gentoo-user@g.o mailing list |