Hello all,
I am trying to set up wireless on my linux box, which is running slackware 10RC1. The wireless adapter will go to a wireless/wired router running DHCP.
I have followed the procedures from another post here on this forum, which I will quote below since I am not yet allowed to include URLs:
Quote:
I was able to get the Syntax USB-400 wireless USB to work under Debian Linux by downloading and building the linux-wlan-ng-0.2.1-pre20 modules with all drivers.
You are going to need the source code to your kernel at /usr/src/linux (create the symbolic link or rename the folder). Copy your distributions configuration file from the /boot/ folder (Debian names it something like config-2.6.5). You will have to have some kernel parts compiled in order for the linux-wlan-ng module to work. I ended up creating a whole new kernel.
Run the ./Configure from the linux-wlan-ng folder. It asks you some basic setup questions and attempts to load everything. This didn't work for me. I then ran 'make all' and 'make install' to have all modules built and installed into the correct /lib/modules/'uname -r'/ folder. Run 'depmod' and 'modprobe -l | grep prism' to see if you have the prism2_usb module. Then load the module with 'modprobe prism2_usb', the 80211b driver also will get loaded.
I was also able to have hotplug (*URL removed for posting*) recognize my toy by copying the output of 'cat /lib/modules/'uname -r'/modules.usbmap | grep prism2_usb' to /etc/hotplug/usb.usermap. I think this is what I used 'cat /lib/modules/'uname -r'/modules.usbmap | grep prism2_usb >> /etc/hotplug/usb.usermap'
Now I don't have to have the USB-400 plugged into my laptop until I am ready to use it.
To have it connect to a wireless network, I had to change the /etc/network/interfaces to include:
auto wlan0
iface wlan0 inet dhcp
wireless_mode managed
wireless_essid default
#default was the name of my router I wanted to connect to.
|
I followed it up to the point where configuration is needed to allow it to connect to a wireless network.
However, I am not sure where to go from here in terms of configuring the network settings to use the wireless adapter in the context of slackware.
When I installed slackware, I configured the network settings to use the attached ethernet port with a fixed IP address. From there, what settings do I need to change in order to get the wireless adapter to work?
After following the procedures in the above post, dmesg gave the following:
Code:
...
linkstatus=AP_OUTOFRANGE (unhandled)
linkstatus=AP_INRANGE (unhandled)
...
The above repeated for a considerable time, then after a while I began to get the following:
Code:
...
linkstatus=DISCONNECTED (unhandled)
linkstatus=CONNECTED (unhandled)
...
Currently, this output is also repeating.
Also, from dmesg, after doing a modprobe, the following was output:
Code:
prism2usb-int: prism2_usb.o: 0.2.1-pre20 Loaded
prism2usb_init: dev_info is: prism2_usb
usb.c: registered new driver prism2_usb
ident: nic h/w: id=0x8026 1.0.0
This seems to suggest (though I wouldn't know for sure) that the driver is installed correctly.
So if anyone has step by step instructions for changing my network configuration from a fixed IP address using the ethernet port to a wireless setup using DHCP, I would greatly appreciate it.
BTW, I am sort of a newbie to linux. I've played with it on and off before, and during times where I'm not using it, I usually tend to forget things.
Thanks!