LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
  Search this Thread
Old 11-14-2005, 03:01 PM   #1
rodm13
LQ Newbie
 
Registered: Mar 2005
Location: The Lone Star State
Distribution: Slackware 10.2
Posts: 10

Rep: Reputation: 0
USB Wireless G Adapter


I have a HWU54G Hawking Mini-USB Wireless adapter and I don't know how to get it working with my Slack 10.2 box. I just got it the other day for a desktop that is isolated from the router enough to prevent the possibility of a wire, and I tried messing around with ifconfig and iwconfig, but due to never having configured wireless, I had no luck. I also grabbed the drivers from Hawking's site and compiled/installed them (make, make install) and it apparently finished without errors, but the adapter still doesn't work. I have checked it and it works fine with Windows XP and it is detected as a USB 2.0 WLAN device as seen in the KDE Info Center. Any help would be appreciated!
 
Old 11-15-2005, 08:47 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I think that the KDE info Center just reads the product information that it gets from the PCI ID.
You can check if the card is detected by running
Code:
/sbin/ifconfig -a
to see if there are any network interfaces present that you don't know about, or
Code:
iwconfig
to look for available wireless cards.

Then, if your card driver is loaded, and armed with knowledge about your Wireless Access Point's (WAP's) ESSID and possibly WEP key, channel, etc.. you can write the information into /etc/rc.d/rc.inet1.conf and attach the PC to the network.

The hard part will be when the card is not detected by Slackware because there is no driver present for it. In that case, you will have to start looking for a driver, based on the information that you read on the card or it's packaging material. You might get lucky with the ZyDas driver based on what I read in this topic:
http://www.linuxquestions.org/questi...25#post1765125

Eric
 
Old 11-16-2005, 01:09 AM   #3
rodm13
LQ Newbie
 
Registered: Mar 2005
Location: The Lone Star State
Distribution: Slackware 10.2
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks, that got it working great. After I got a working driver and messed around with my routing table and iwconfig/ifconfig, it works. One last thing, though, do you know how to make it automatically load during boot? (Like which rc. file I should put my commands in?) I have to type (as root) to get it working:
Code:
ifconfig wlan0 192.168.0.3
route add default wlan0
route add default gw 192.168.0.1
Thanks

Rod
 
Old 11-16-2005, 03:46 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally posted by rodm13
Thanks, that got it working great. After I got a working driver and messed around with my routing table and iwconfig/ifconfig, it works. One last thing, though, do you know how to make it automatically load during boot? (Like which rc. file I should put my commands in?) I have to type (as root) to get it working:
Code:
ifconfig wlan0 192.168.0.3
route add default wlan0
route add default gw 192.168.0.1
Thanks

Rod
Modify the file:
Code:
/etc/rc.d/rc.inet1.conf
with these lines. You may choose something else for the VARIABLENAME[1]=.... that I use in the below example, like [0] or [2], whatever value is unused in the conf file:

Quote:
IFNAME[1]="wlan0"
IPADDR[1]="192.168.0.3"
NETMASK[1]="255.255.255.0"
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""
and further down in /etc/rc.d/rc.inet1.conf make sure it says
Code:
# Default gateway IP address:
GATEWAY="192.168.0.1"
After doing this, you can either reboot to test, or run the following (and then there is no need for a reboot):
Code:
/etc/rc.d/rc.inet1 wlan0_restart
PS: if you need to set any wireless parameter for your card, you can add it to /etc/rc.d/rc.inet1.conf as well, like this example to set the ESSID to "MY_AP":

Quote:
...otherstuff[1]=....
WLAN_ESSID[1]="MY_AP"
These are the same variables you use in rc.wireless.conf but with the string WLAN_ prepended to them. See the /etc/rc.d/rc.inet1.conf file contents for more examples.

Cheers, Eric
 
  


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 Usb Adapter Joshwaaa Linux - Wireless Networking 4 10-20-2004 06:46 AM
DWL-122 USB Wireless USB adapter Suse 9.1? hal_casteel Linux - Wireless Networking 3 08-03-2004 07:13 AM
USB Wireless Adapter isone Linux - Newbie 3 12-17-2003 11:41 AM
Almost there- Wireless USB adapter Safyre Linux - Wireless Networking 30 11-14-2003 11:08 AM
Wireless USB Adapter Jakass202 Linux - Hardware 4 06-23-2003 01:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:28 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration