LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-19-2006, 10:32 AM   #1
18thBronzeman
LQ Newbie
 
Registered: Oct 2006
Distribution: slackware
Posts: 18

Rep: Reputation: 0
unable to get wmp54gs wireless card working on slackware 10.2


hello all. i am running slackware 10.2. i have followed the walk-through provided by Barton, and others. all of the commands ran, but the connection is not up. i did have to go back a few versions for gcc compatibility and update the sym-links to a few files. i plan to update to Slackware 11, but i think the questions below should still hold true.

here is(are) the issue(s):

01. the iwconfig command shows settings. when i try to update those settings with iwconfig the only setting that reflects my changes is nickname. is there a reason why?

02. recycling/start-stop/bouncing network services. when i used to make changes on my network i had to recycle the system for Slackware 8 to read all of the updated files. do i have to do that now? if so, which command(s) or daemon(s) would handle that in this case?

03. security. i noticed that none of the threads mention implementing securtiy. i plan to use WPA-PSK [TKIP] + WPA2-PSK [AES]. i am not sure how to implement this with Slackware. help?

04. in Suse 10.1 i had to run a route add command. did anyone else have to?

thanks everyone. if there is any information that is needed please let me know. i will provide it asap.
 
Old 10-19-2006, 12:30 PM   #2
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
Quote:
Originally Posted by 18thBronzeman
01. the iwconfig command shows settings. when i try to update those settings with iwconfig the only setting that reflects my changes is nickname. is there a reason why?
Most commonly, ndiswrapper is not installed correctly, the driver is not loaded or the interface is not active. Review the steps for installing carefully. Install the program, run the program to install the Windows driver files, run the protram to make changes to the modules.conf file and load the module.

Quote:
Originally Posted by 18thBronzeman
02. recycling/start-stop/bouncing network services. when i used to make changes on my network i had to recycle the system for Slackware 8 to read all of the updated files. do i have to do that now? if so, which command(s) or daemon(s) would handle that in this case?
/etc/rc.d/rc.inet1 restart

Quote:
Originally Posted by 18thBronzeman
03. security. i noticed that none of the threads mention implementing securtiy. i plan to use WPA-PSK [TKIP] + WPA2-PSK [AES]. i am not sure how to implement this with Slackware. help?
Use wpa_supplicant. There have been several threads on how do configure wpa_supplicant in Slack recently, both in this forum and the wireless networking one.

Quote:
Originally Posted by 18thBronzeman
04. in Suse 10.1 i had to run a route add command. did anyone else have to?
If you pull an address from a DHCP server, it should be fine. I ran into a problem, though, with the neighbor's router responding to the DHCP broadcast before mine did, so I specified a gateway in /etc/rc.d/rc.inet1.conf
[/QUOTE]
 
Old 10-19-2006, 02:15 PM   #3
18thBronzeman
LQ Newbie
 
Registered: Oct 2006
Distribution: slackware
Posts: 18

Original Poster
Rep: Reputation: 0
[QUOTE=2Gnu]Most commonly, ndiswrapper is not installed correctly, the driver is not loaded or the interface is not active. Review the steps for installing carefully. Install the program, run the program to install the Windows driver files, run the protram to make changes to the modules.conf file and load the module.

re-ran everything. make install, ndiswrapper -i, modprobe ndiswrapper, ndiswrapper -l(wmp54gs driver installed, hardware present), ndiswrapper -m (got an error that alias existed), dhcpcd wlan0, iwconfig wlan0... same behavior from iwconfig command. ran slocate modules.conf and only came back with a man page?

btw, i am using ndiswrapper 1.11. incompatibility issues?
 
Old 10-19-2006, 03:19 PM   #4
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
Does ndiswrapper show up when you lsmod?

Does ifconfig show a device (typically wlan0)?

That is a pretty old version. Sometimes, it's hot or miss with the version that will work.

Did you use the .sys and .inf from the ndiswrapper site or the ones from the CD that came with the card. Using the files known to work is usually a better bet.
 
Old 10-19-2006, 03:53 PM   #5
18thBronzeman
LQ Newbie
 
Registered: Oct 2006
Distribution: slackware
Posts: 18

Original Poster
Rep: Reputation: 0
when i ran lsmod i get back a full entry for ndiswrapper. not sure if it matters, but i also get a (related?) listing lower down:

usbcore 59148 1 [ndiswrapper hid usb-ohci ehci-hcd]

ifconfig alone only shows the local loopbback, lo. '#ifconfig wlan0' does show info on the interface (kb/packets received too?). wlan0 is shown with iwconfig though. not sure if that is proper scenario. is there a command to list all connections in one list?

i will run through a few versions to see which are compatible with the compiler. i am running gcc 3.3.6. the latest ndiswrapper versions require more up to date gcc compilers. i wanted to avoid upgrading gcc until i got online and did a full kernel upgrade. not sure if that mode of thinking is logical though.

i only used files from the original cd. i did not use the .sys. i used the .inf. this is the file i used with suse(64), not at all to say that it should work just stating as a point of reference.

i appreciate your help.
 
Old 10-19-2006, 04:30 PM   #6
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
The .sys file should be in the same dir as the .inf when you run the install command.

There's an entry on the ndiswrapper wiki list of working cards with a link to the drivers used and the version of ndiswrapper. Don't know if that helps or not.

http://ndiswrapper.sourceforge.net/m...index.php/List
 
Old 10-20-2006, 01:48 PM   #7
18thBronzeman
LQ Newbie
 
Registered: Oct 2006
Distribution: slackware
Posts: 18

Original Poster
Rep: Reputation: 0
thanks! read up on that link you sent. looks like my "problem" was a symptom of having a security issue. i am unable to associate my NIC with my router because the router will not associate with the NIC.

with that said, my issue seems to be with the iwconfig command. i am executing:

iwconfig wlan0 key restricted s:PASSWORD

this is returning:

Error for wireless request "Set Encode" (8B2A) :
Set failed on device wlan0 ; Invalid argument

i have tried mutiple variation on this them, removing arguments, quoting, etc... and i end up with either too few or invalid arguments.

this seems to possibly be a symptom of not having certain encryption elements compiled into the kernel. i will explor this further.

thank you for all of your help.
 
Old 10-20-2006, 05:03 PM   #8
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
Two other things to try:

Drop the s. Open authentication is slightly more secure than shared key with WEP (although the ease with which WEP keys can now be discovered makes it a minor point) but more importantly, some configs just don't like shared. Make sure the router is set to open or auto for the WEP authentication.

ex: iwconfig wlan0 key 1234567890

Next, make sure to use hexadecimal keys and not a passphrase for both the router and the client. 40/64 bit WEP is a 10-digit hex key (as in the example above) 108/128 bit uses a 26-digit key.

ex: iwconfig wlan0 key 7CDE-18BB-A214-ADF6-4BC2-8EB1-23

If it's feasible, move away from WEP to WPA for better security.
 
Old 10-23-2006, 04:40 PM   #9
18thBronzeman
LQ Newbie
 
Registered: Oct 2006
Distribution: slackware
Posts: 18

Original Poster
Rep: Reputation: 0
well it looks like this is an issue with my router. i started from scratch again and went completely open. because my router does not accept hex entries for keys and such i believe there was a conflict.

now when i set up my network using slackware everything runs smoothly. when i go into my router, netgear wgt624, it shows the MAC address of the connected device, but no IP or Device Name. i am searching the forums for this issue now.

if you have any ideas 2Gnu it is greatly appreciated. you have been a great help.
 
Old 10-23-2006, 10:00 PM   #10
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
Are you sure the router doesn't take hex keys? Grab the manual online just to be sure. Some routers, for example, require that a hex value be entered as 0x123457890ABCDE. Without the 0x, it's interpreted as ASCII.

Your symptom is characteristic of a WEP key mismatch.

Last edited by 2Gnu; 10-23-2006 at 10:01 PM.
 
Old 10-24-2006, 02:31 PM   #11
Dngrsone
Member
 
Registered: Nov 2005
Location: Centrally located far from everywhere
Distribution: Ubuntu, Smoothwall
Posts: 30

Rep: Reputation: 15
Try iwpriv wlan0 authmode 2
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I install Kubuntu with a Linksys wmp54gs wireless card? Maximus_Magni Ubuntu 10 07-02-2006 10:08 AM
Get linksys wmp54gs v1.o working cmanns Linux - Wireless Networking 1 03-28-2006 09:12 AM
Internal Dell Wireless card not working on Slackware 10.1 Rudy Linux - Hardware 5 09-18-2005 07:23 AM
PCMCIA Wireless Network Card Not Working With Slackware 9... zerojosh Linux - Hardware 7 05-06-2004 01:14 AM
Wireless network card not working in Slackware 9.1 sanfran49 Linux - Software 1 02-05-2004 06:51 PM


All times are GMT -5. The time now is 03:10 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