LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Configuring a linksys wireless network card (https://www.linuxquestions.org/questions/suse-opensuse-60/configuring-a-linksys-wireless-network-card-311113/)

bignose 04-08-2005 11:06 AM

Configuring a linksys wireless network card
 
how can I, in SuSe, configure my linksys wireless network card: WUSB11 ver. 2.6

I also need to set for it a static IP, Gateway and Netmask, how do I do that, I've got all the info I need to insert but do not know how to do it, please help me as soon as possible, and if it is possible to tell me how to connect it to the wireless network after configuring it, I would be greatful...

-bignose

mikevicious 04-08-2005 11:30 AM

Is it a built-in or external card? Do you have n existing wireless network and know the card to be good?
I don't know SuSe (I use Fedora), but they should have a Network Configuration GUI (system-config-network in Fedora) to set up a wireless connection.
If it doesn't identify your wireless card (i.e., don't have a driver for it), you may have to use ndiswrapper to use the Windows drive for the wireless card.
If someone else wants to jump in here and help find out if he can just use SuSe's GUI, or if ndiswrapper is needed, then I'll jump back and explain ndiswrapper if needed.

bignose 04-08-2005 11:36 AM

yes, I use that same card on my network and it works fine, it's an external card, is there any driver for it to work on SuSe?

mikevicious 04-08-2005 11:50 AM

Check here to see if you card will work out of the box:

http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/

If it does, you'll use iwconfig to set it up (/sbin/iwconfig on Fedora - not sure where it is on SuSe). 'man iwconfig' should get you started.
Let me know if your card isn't natively supported and I'll walk you through the ndiswrapper process.

mikevicious 04-08-2005 04:25 PM

If you have the driver installed, you can get online via the command line with the following:
1. iwconfig wlan0 key open XXXXXXXXXXX
(where Xs represent your network's hexidecimal key - for other types of network security, type man iwconfig to see the command. If you don't have security on your wireless router, then tell us where you live so we can download illegal mp3s off your wireless network, haha).Note: I had to change the type of networks to look for to open (instead of restricted, even though my network is of course protected; the open just means to look for both types of access points, I'm thinking):
2. Request an IP address:
dhclient wlan0

If there's a native Linux driver for your card, then you should now be online. If not:

I'm going to assume that there isn't a native linux driver for your wireless card.
Here's some more info:
1. First, make sure that the computer recognizes that you have a wireless card.
As root:
lspci
Find your wireless card and write down the series of numbers in the first column (something like 00:00:blah). Good- your wireless card is recognized.
2. Then:
lspci -n
Get the PCI ID number (3rd column; looks like 14e4:4320): corresponding to the number you wrote down in the last step.
Go to http://ndiswrapper.sourceforge.net/p...index.php/List
and search for the number you wrote down in step 2. Find someone that has had success with your card, and download the Windows driver they used.
3. Download ndiswrapper. Get the most recent version unless you saw in step 2 that your card would only work with an earlier one.
4. Make sure you have all the gcc and glibc libraries installed on your computer (otherwise ndiswrapper won't make correctly)- gcc, -headers -common -profile, etc - (this was the biggest problem i had)
yum install glibc gcc gcc-headers gcc-common gcc-profile should do it.
5. uncompress ndiswrapper
tar xzvf ndiswrapper-1.0versionhere
6. cd into the new ndiswrapper directory
7. type 'make'
8. type 'make install'
ndiswrapper should now be installed if there were no errors
9. cd to where the driver for your wireless card is after you downloaded it in step 2.
10. /usr/sbin/ndiswrapper -i name of driver.inf
11. /usr/sbin/ndiswrapper -l (the letter L)
--> tells you if the drivers are installed properly
12. modprobe ndiswrapper
--> loads the kernel module
13. dmesg
--> verify that the driver is loaded
14. /usr/sbin/ndiswrapper -m
--> You should get a message saying: Adding "alias wlan0 ndiswrapper" to /etc/modprobe.conf (that way ndiswrapper will be used when wlan0 is brought up)
You're good to go. I use Network Manager, because it will automatically find the fastest connection available:
Network Manager:
Make sure NetworkManager and NetworkManager-gnome are installed
Go to Services (or SuSe's equivalent)
Stop network and uncheck it (so it won't start on startup)
Start NetworkManager and check it (so it will)
Save and exit Services
Create a launcher icon on the desktop that will run the command 'NetworkManagerInfo'
Click it and watch in your panel as it looks for and finds wireless networks.

mikevicious 04-08-2005 04:26 PM

Forgot to credit sources
 
The info provided above was taken from a combination of 2 main places:
http://wiki.linuxquestions.org/wiki/Wireless_networking
and
http://ndiswrapper.sourceforge.net/p...p?Installation

mikevicious 12-17-2005 04:10 PM

One more thing:
Make sure you have the kernel-devel package installed for the kernel version you are running (you don't have to install the actual source, just the -devel package).
M


All times are GMT -5. The time now is 09:13 PM.