LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 01-31-2006, 05:25 PM   #1
mkumer24
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
suse 9.3 wireless card setup.. clueless


I recently installed Suse 9.3 and don't know how to get my wireless card to work.

It's a linksys (WMP54GS - Wireless-G PCI Adapter with Speedbooster).

Suse detects my non-wireless linksys card but doesn't detect the wireless one. I'm extremely new to linux haven't a clue what to do. How can I get it to detect my card? Do I need to download some driver somewhere, or is there something built into Linux. I tried just configuring a wireless connection and putting in my ssid, passkey, etc... which didn't work.

Where can I start. Thanks for any help.
 
Old 01-31-2006, 07:02 PM   #2
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
Here http://avasarala.homelinux.net:9054/SuSE-9.3.html to get an idea of how to with suse, here http://ndiswrapper.sourceforge.net/m...dex.php/List#L to get the right driver for your card and here http://ndiswrapper.sourceforge.net/m...p/Installation for complete guide.
 
Old 01-31-2006, 07:11 PM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
1) Download the ndiswrapper source from http://ndiswrapper.sourceforge.net. The ndiswrapper command that comes with SuSE 9.3 may not be recent enough.

2) Uninstall the old (from the rpm) ndiswrapper if it is installed.

3) compile and install the new ndiswrapper program. There is a README and INSTALL file in the tarball. You can either use the "./configure" "make" "sudo make install" route, or extract the file "ndiswrapper.spec" and copy it to the /usr/src/packages/SPECS/ directory, and copy the source tar ball to the /usr/src/packages/SOURCE/ directory; and then use the "rpmbuild" command to install "ndiswrapper" and the "ndiswrapper.ko" kernel module.

Inside the /usr/src/packages/SPECS directory, running

rpmbuild -bi ndiswrapper
will install ndiswrapper and the kernel module

rpmbuild -ba ndiswrapper
will create a pair of rpm files. ( in /usr/src/packages/RPMS/ ).
If you do a security upgrade and have a new version of the kernel, you will need to run "rpmbuild -ba ndiswrapper" again and the install the kernel-module rpm.
3) If it isn't installed, install the wireless-tools package. You will net it later.

4) Locate the windows drivers on your install CD or on the web. I think that the driver is named BCMWL5.SYS. You will need both that file and the one with the .INF extension. Copying these files to the root directory may be a good idea in case the CD gets lost or damaged in the future.
Wrap ndiswrapper around the driver with the command:
ndiswrapper -i BCMWL5.INF ( Note: I'm not certain on the exact name of the driver, please check it yourself) Check that this worked with the "ndiswrapper -l" command and see if the driver is listed.

5) ndiswrapper -m
( This will generate the modprobe.conf alias for you. If you type ndiswrapper --help, there is an option for generating hotplug information. If this is a PCMCIA wireless care, I think that would be a good idea. )

6) modprobe ndiswrapper
This loads in the kernel module. I you get a message about an illegal or invalid operation the type in: depmod ; modprobe ndiswrapper

7) Now you should be ready to go into "YaST2 network" to set up the card. Go to the "Network Interfaces" section. If the wireless device isn't listed in the top, Click on the "Add" button. Select "Wireless" in the drop down box, and enter the module name: "ndiswrapper". The default "static-1" name entry is OK. This is the name that YaST gives to the hardware, not to the interface.

8) Go through the three Buttons on the bottom of the page, Make sure the host name is entered. I use the same name for my local domain as the ESSID. One less thing to have to remember. If you are using DHCP, click on the box to have dhcp update the information. Then in the advanced options, select the advanced DHCP options, and click on the "report name to DHCP" box also, I think that this may be needed for authentication and browsing shared folders, down the road. After this part is over, you will get to the authentication section. You may want to keep open, until you can test whether eth0 is working.

9) Finish the network interface dialog.

10) a)In the shell, shutdown the NIC interface. You can't have
two interfaces on the same subnet. The wlan0 device won't work until you do this.
Either, "ifdown eth0" or "rcnetwork stop eth0" will do the trick.
b) Let's restart the wlan0 device: "ifup wlan0" or "rcnetwork restart wlan0"

11.) Use the "iwlist wlan0" command to look at the status of the wireless interface. You could even make changes here like setting the "essid" and channel. The "iwlist wlan0 scanning" will scan for wireless networks. If the device seems to be working you can go back into YaST2 and configure the authentication/encryption to match that of the wireless router ap. Use "ifconfig wlan0" to see if the interface has an IP address. If not, and the router is using open authentication, enter "ifconfig wlan0 192.168.1.10 netmask 255.255.255.0", (assuming the router is at 192.168.1.1 and the first DHCP assigned address is .100) and see if you can ping the router.

Things that had tripped me up:
1) Use a recent version of ndiswrapper
2) I have an AMD64 laptop, with a builtin wireless device (Broadcom). I finally found a 64 bit windows driver on the www.linuxant.com website. ( Select windows drivers in the sidebar, it's on the top of the list. )

3) When I configured the "Advanced" DHCP settings, I was finally able to communicate with the router.
4) I think that the YaST2 Authentication Setup page expects hexidecimal numbers to be upper case. It doesn't take a number like '123a' as hex. Use the letters 'ABCDEF" instead.
5) May need to run "depmod" or reboot, if you just installed the "ndiswrapper" program.

I hope this helps, and that I didn't skip any important steps. You may need to be sure that the hotplug system works with PCMCIA.

Good Luck!
--

Here is a fun way to generate a 64 byte random hexidecimal number:
dd bs=1 count=64 if=/dev/random | od -tx1 | sed -e 's/^.\{7\} //' -e 's/ //g' | tr -d '\
' | tr '[[:lower:]]' '[[:upper:]]' > 64bytehexkey

I cut and pasted my key into the router's setup page and when editing the /etc/sysconfig/network/ifcfg-wlan0 file.

Last edited by jschiwal; 01-31-2006 at 10:13 PM. Reason: cfg-wlan0 -> ifcfg-wlan0 correction.
 
Old 01-31-2006, 09:11 PM   #4
mkumer24
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Original Poster
Rep: Reputation: 0
thanks a ton for all the information... :-)
 
Old 02-01-2006, 06:32 AM   #5
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 876

Rep: Reputation: 184Reputation: 184
Just one point to add. My broadcom driver that I used for Suse had three .inf files. Something like BCMWL5.inf, BCMWL5a.inf and BCMWL5m.inf. I couldn't work out what the dfference was supposed to be but only one worked - I had to try them one by one to find the right one.

Otherwise thats a wicked how-to.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless card w/rt2500 chipset + SUSE 10; help setup! The MCP Linux - Wireless Networking 7 04-03-2006 03:20 PM
HP wireless network card setup tywarren Linux - Wireless Networking 5 02-05-2006 09:29 AM
Newbie Alert - WMP54G setup - and I'm clueless! SSgtT Linux - Newbie 45 04-22-2005 05:22 PM
HELP~clueless. need wireless network drivers littleangelo Linux - Wireless Networking 0 09-24-2004 06:33 PM
wireless card setup problem thethinker101 Linux - Wireless Networking 3 12-01-2003 04:58 AM


All times are GMT -5. The time now is 05:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration