Hi,
Why would wireless no longer work after rebuilding the kernel to
add USB OHCI support only?
The title more or less says it. My network is a bunch of LinkSys
access points and a LinkSys wireless router. I use WEP and broadcast
my ESSID, for now.
I emerged wireless-tools, wpa_supplicant (which I am not using at
this time) and ndiswrapper. Using ndiswrapper I installed the Windows
driver and ndiswrapper installed and working:
christmas ~ # ndiswrapper -l
Installed ndis drivers:
net8180 driver present, hardware present
christmas ~ #
christmas ~ # lsmod | grep ndis
ndiswrapper 162288 0
christmas ~ #
I added ndiswrapper to /etc/modules.autoload.d/kernel-2.6:
christmas ~ # cat /etc/modules.autoload.d/kernel-2.6
# /etc/modules.autoload.d/kernel-2.6: kernel modules to load when system boots.
#
# Note that this file is for 2.6 kernels.
#
# Add the names of modules that you'd like to load when the system
# starts into this file, one per line. Comments begin with # and
# are ignored. Read man modules.autoload for additional details.
# For example:
# 3c59x
sis900
ndiswrapper
christmas ~ #
I configured the following files yesterday and got wireless working:
christmas ~ # cat /etc/conf.d/wireless
# /etc/conf.d/wireless:
# Global wireless config file for net.* rc-scripts
##############################################################################
# SETTINGS
##############################################################################
essid_wlan0="LadySmithBliss"
preferred_aps=( "LadySmithBliss" )
channel_wlan0="6"
key_LadySmithBliss="AAAA-BBBB-CCCC-DDDD-EEEE-FFFF-GG enc restricted"
christmas ~ #
christmas ~ # cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0=( "192.168.1.58/24" )
routes_eth0=( "default via 192.168.1.1" )
config_wlan0=( "192.168.1.59/24" )
routes_wlan0=( "default via 192.168.1.1" )
christmas ~ #
I created the link for wlan0:
christmas ~ # ls -la /etc/init.d/net.*
lrwxrwxrwx 1 root root 6 Jul 4 22:33 /etc/init.d/net.eth0 -> net.lo
-rwxr-xr-x 1 root root 24324 Jul 4 22:33 /etc/init.d/net.lo
lrwxrwxrwx 1 root root 6 Jul 8 02:09 /etc/init.d/net.wlan0 -> net.lo
christmas ~ #
At this point I could start and use the network by hand so I used
rc-update to add net.wlan0 to default. Everything was working fine. I
powered the machine completely down and booted cold. The wireless
network can up and ran fine.
I thought everything was great until we tried to configure my son's
printer and found the kernel didn't have the right USB support so I
rebuilt the kernel. After rebuilding the kernel I can no longer get
wireless to run:
christmas ~ # /etc/init.d/net.wlan0 start
* Starting wlan0
* Configuring wireless network for wlan0
* Failed to configure wireless for wlan0
[ !! ]
christmas ~ #
I tried re-emerging ndiswrapper but that didn't help.
I'm really confused at this point. Can someone suggest some things
for me to look at?
Thanks very much,
Mark
--
[email protected] mailing list