[SOLVED] Instal D-link DWA 125 Wireless adaptor on Slackware 13.1
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Skipped Step 2 because apt-get does not appear to work on Slackware. Step 3 worked up to the Update isb.ids. When I tried to copy the existing ids to back up I got the message "cannot stat '/var/lib/usbutils/usb.ids' no such file or directory"
you'd be better of to post this in the Slackwareforum (I reported this).
To your Questions: Step 2 is not necessary with Slackware since this packages already installed in Slackware.
And the directory /var/lib/usbutils does not exist.
If you did "make install" I'd recommend to restart the computer in order to get the kernel recognize the new module (the driver). After restarting please use the following command:
Code:
lsmod | grep rt2800usb
if you get no output you'll have to load the module like described for Ubuntu.
Code:
modprobe rt2800usb
Then please execute
Code:
iwconfig
and post the output here. Please post any errormessages as well.
Markus
Last edited by markush; 11-25-2010 at 01:47 AM.
Reason: typo, with the bold text it is correct
sorry, I made a mistake, to find out if a module is loaded you'll have to execute the command:
Code:
lsmod | grep nameofthemodule
I've changed this in my above post.
Your errormessages show, that the apropriate driver isn't still loaded. I'm not sure if this wlan0 is the D-link DWA 125 device. Could you please post the output of
Code:
lsusb
(the D-Link must be pluged in). From where did you get the information, that the Ralink driver will work for you D-link device?
And another question: for me the output of iwconfig looks like you have a wireless device in your machine (Ralink), why don't you use it? please post the output of
lsmod | grep rt2870usb returns no result
lsmod | grep rt2870sta returns "rt2870sta 413659 0"
lsusb returns
"Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0761:3c0d D-Link Systems DWA-125 150 USB Adaptor"
lspci returns a lot of things including the Ethernet adaptor, but no wireless adaptor.
I got the information that the DWA has the ralink chipset from various sources on the internet, including the article that I used to try and install the device, - most indicating it is the rt2870, one indicating it is the rt3070
I got the information that the DWA has the ralink chipset from various sources on the internet, including the article that I used to try and install the device, - most indicating it is the rt2870, one indicating it is the rt3070
ok, I looked at the windows-drivers, they are 2870 for this device, so you're right.
Please (with the D-link device pluged in) execute the command:
Code:
ifconfig wlan0 up
Post the errormessages. Which encryption do you use for your wireless network? I do normaly use wpa_supplicant for the authentication at the accesspoint, but I'm not sure which programs are installed on your system.
I've looked into the kernelsources, there is a driver for your adapter in "staging drivers". Could you please post the output of
Code:
uname -a
so that we can look if your kernel is recent enough?
ifconfig wlan0 up returned "operation not permitted"
uname -a returned "Linus cajj 2.6.33.4-smp Wed May 12 22:47:36 CDT 2010 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux"
rmmode rt2870sta removed the module (lsmod |grep rt2870sta now returns nothing)
modprobe rt2870 returned "FATAL: Module rt2870 not found"
Thank you for all your help - I would really like to get this going!
Well, I've again looked into the kernel-sources, the name of the kernelmodule is rt2870sta (the same like that in the Ubuntu forum).
This means you'll have to uninstall the kernel which you've downloaded in order to get the module from the original Slackware-kernel to load. I'm running Slackware-13.1 as well and I'm using the same kernel, The module is there.
If this doesn't work for you, please open a new thread in the Slackwareforum of LQ http://www.linuxquestions.org/questions/slackware-14/ there you will find more help and the guys there are more experienced than me. You may also post a link to this thread for clarification.
If the module is working for your adapter, you'll have to edit "/etc/wap_supplicant.conf" in order to configure the authentication at you wireless network.
and this is my /etc/wpa_supplicant.conf; change where needed and remove the <--- part :-)
Code:
# See /usr/doc/wpa_supplicant-0.6.10/wpa_supplicant.conf.sample
# for many more options that you can use in this file.
# This line enables the use of wpa_cli which is used by rc.wireless
# if possible (to check for successful association)
ctrl_interface=/var/run/wpa_supplicant
# By default, only root (group 0) may use wpa_cli
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
#country=US
# WPA protected network, supply your own ESSID and WPAPSK here:
network={
scan_ssid=0
ssid="my_ssid" <---- change this to your own ssid
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk="my_password" <--- change this to your own password
priority=10
}
# Plaintext connection (no WPA, no IEEE 802.1X),
# nice for hotel/airport types of WiFi network.
network={
key_mgmt=NONE
priority=0
}
make sure you have your wireless router on 2.4GHz, I had big time issues running above that.
I have been away and only ow back trying to get this thing going.
Thank you for this suggestion. I am however still stuck when I try and open the rc.local by typing emacs /etc/rc.local all I open is a new file. Is this correct?
Yes, in Slackware rc.local is reserved for the user (root) to make his/her own settings.
Markus
Thanks Markus
Next question
The /etc/rc.d/rc.inet1 has a lot in it. Where do I add the script? Secondly I do not have dhcp, so do I put the ip address and netmask within the quotes and change the yes to no?
What do you want to do with rc.inet1? leave it as it is!
rc.inet1 is started in the rc.M script which manages runlevel 3.
for the configuration you'll have to edit rc.inet1.conf. As Ramurd wrote you may use wpa_supplicant, look at Ramurd's post. In order to use wpa_supplicant you'll have to delete the commentcharacter ( # ) before the wpa_supplicant line in rc.inet1.conf. Further configuration is done in /etc/wpa_supplicant.conf
Quote:
...I do not have dhcp, so do I put the ip address and netmask within the quotes and change the yes to no?
The IP-settings can be configured in rc.inet1.conf as well, the file is documented very well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.