Make errors with dlink DWA-130 RevC1 [SOLVED]

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
K-Ron

Make errors with dlink DWA-130 RevC1 [SOLVED]

Post by K-Ron »

Very green to linux and haven't posted on a regular basis since the early ninties so my apologies for any breach of etiquette. I've been using linux mint on the netbook for about a month. Now I've gone and installed it on a Dell Dimension 3000 and can't seem to get the DWA-130 RevC1 working. I'm trying to install the linux drivers found on the dlink website: http://support.dlink.com/ProductInfo.aspx?m=DWA-130
So far I've:
1. Extracted the download. There was another compressed file named wpa_supplicant-0.5.10.tar.gz which I have not unpacked because the readme file did not mention unpacking it.
2. installed Build_Essential
3. Uninstalled and reinstalled mintwifi as Catfish claimed no such file existed.
4. Added and then deleted the Bianca repository
5. Rebooted several times throughout.
6. Searched google and the forums for ubuntu and mint...the post closest to the problem I'm having is found here: http://ubuntuforums.org/showthread.php?t=2049470 but it went unanswered.

inxi -Fxz
http://pastebin.com/fu783wRs

Mintwifi.py:
http://pastebin.com/WCFuFpa4

Here's the output from make:
http://pastebin.com/167tCp6g

Any help is appreciated. I'm trying to set this up for my son as a dedicated Minecraft machine and wireless is the only way it's going to happen. It's just too hot to crawl up in the attic to run another drop.

Kirk
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
PatH57

Re: Make errors with dlink DWA-130 RevC1

Post by PatH57 »

Hi,

you don't need any specific drivers, the latests are already shipped with your kernel 3.2, the ones you try to install are old and only work for kernel 2.6.
let's have a look at your setup

Code: Select all

wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && \chmod +x wireless_script && \./wireless_script
It will download a script and create a file named wireless-info.txt or wireless-info.tar.gz in your home folder with wireless information so we can see the condition of your wireless at the time. The MAC address, WPA key and WEP key are removed for your security. Paste contents of the wireless-info.txt or wireless-info.tar.gz file at http://pastebin.ubuntu.com or alternatively http://pastebin.com/ then post the link here in your question.
In the meantime check this
http://forums.linuxmint.com/viewtopic.php?f=42&t=175809
K-Ron

Re: Make errors with dlink DWA-130 RevC1

Post by K-Ron »

Thanks Pat. I saw the driver was for 2.6 but thought it would be backwards compatible. Here's the link for my pastebin:
http://pastebin.com/XzU3bq8U

I'll read over the topic you suggested.

Kirk
PatH57

Re: Make errors with dlink DWA-130 RevC1

Post by PatH57 »

[ 1.588097] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[ 17.514880] intel_rng: don't want to disable this in firmware setup, and if
[ 17.931375] r8192u_usb: module is from the staging directory, the quality is unknown, you have been warned.
[ 20.303647] rtl819xU:request firmware fail!
[ 20.303654] rtl819xU:ERR in init_firmware()
[ 20.303658] rtl819xU:ERR!!! rtl8192_adapter_start(): Firmware download is failed
[ 20.303662] rtl819xU:ERR!!! _rtl8192_up(): initialization is failed!
[ 20.303859] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 20.569194] rtl819xU:request firmware fail!
[ 20.569200] rtl819xU:ERR in init_firmware()
[ 20.569205] rtl819xU:ERR!!! rtl8192_adapter_start(): Firmware download is failed
[ 20.569209] rtl819xU:ERR!!! _rtl8192_up(): initialization is failed!
it's now all over the place.
Let's try to reload the normal ones.

Code: Select all

sudo apt-get install --reinstall linux-firmware
reboot and send me the output of the script again.
K-Ron

Re: Make errors with dlink DWA-130 RevC1

Post by K-Ron »

I ran get-apt a second time because I didn't follow your instructions correctly the first time and skipped the reboot. I rebooted, ran the get-apt, rebooted and then generated a new wireless-info.txt.

I forgot to save the output of the first get-apt, but here is what the second time returned:
http://pastebin.com/jsqGEYqq

Here is the new Wireless-info.txt:
http://pastebin.com/NSFbk9Mf

Kirk
PatH57

Re: Make errors with dlink DWA-130 RevC1

Post by PatH57 »

ok no way to get this one working on kernel 3.2 so we have to first update the kernel to 3.8.10.
Or you could install Mint 17 32 bit (it has kernel 3.13)
just to check your hw before we decide what to do

Code: Select all

inxi -Fxz
K-Ron

Re: Make errors with dlink DWA-130 RevC1

Post by K-Ron »

PatH57

Re: Make errors with dlink DWA-130 RevC1

Post by PatH57 »

a bit limit but you could try Mint 17 Xfce 32 bit (download the iso create your boot usb and try it out)
K-Ron

Re: Make errors with dlink DWA-130 RevC1

Post by K-Ron »

I had already downloaded the iso in case it came to that. I'll install and hope for the best. I was trying to stick with Maya since the hardware is a little long in the tooth. If I have problems, would it be better to start a new topic, or reply to this one?
PatH57

Re: Make errors with dlink DWA-130 RevC1

Post by PatH57 »

if it's still wifi related let's continue here, else start another thread.
K-Ron

Re: Make errors with dlink DWA-130 RevC1

Post by K-Ron »

MInt 17 installed. All updates applied. Taskbar icon says "Device not ready" under Wifi networks

Wireless Text output
http://pastebin.com/2aPydNFb
PatH57

Re: Make errors with dlink DWA-130 RevC1

Post by PatH57 »

ok,

let's do this, remove the stick

Code: Select all

sudo apt-get install linux-firmware linux-firmware-nonfree

Code: Select all

sudo modprobe rtl8192cu swenc=1
As the USB Vendor ID & Device ID are not known to the module, we need to declare it live as a new ID.

Code: Select all

echo "2001 3301" | sudo tee /sys/bus/usb/drivers/rtl8192cu/new_id
You can now connect your D-Link DWA-131 the light should come on.
K-Ron

Re: Make errors with dlink DWA-130 RevC1

Post by K-Ron »

No light, still reports "device not ready" Tried a reboot. Still nothing.
PatH57

Re: Make errors with dlink DWA-130 RevC1

Post by PatH57 »

Code: Select all

sudo modprobe -r r8192u_usb

Code: Select all

sudo modprobe rtl8192cu swenc=1

Code: Select all

sudo echo "2001 3301" | sudo tee /sys/bus/usb/drivers/rtl8192cu/new_id
don't reboot but run the wifi script again.
PatH57

Re: Make errors with dlink DWA-130 RevC1

Post by PatH57 »

ok,
note I only did try this on a revB1 with another OP, the only difference is that the id is 2001 330D but lsusb tells us yours is 2001 3301.....
now

Code: Select all

sudo gedit /etc/modules
add
# DWA-131 rev C1
rtl8192cu

Code: Select all

sudo gedit /etc/modprobe.d/net-rtl8192cu.conf
add
options rtl8192cu swenc=1

Code: Select all

sudo gedit /etc/rc.local
add
# Declare DWA-131 USB ID to rtl8192cu module
echo "2001 3301" | tee /sys/bus/usb/drivers/rtl8192cu/new_id

exit 0
K-Ron

Re: Make errors with dlink DWA-130 RevC1

Post by K-Ron »

PatH57

Re: Make errors with dlink DWA-130 RevC1

Post by PatH57 »

because we need to get the driver for the C1 specifically.
download the driver from http://support.dlink.ca/ProductInfo.aspx?m=DWA-130 the C version, then unpack it to the desktop. You should have a RTL8192U folder.

Code: Select all

sudo mkdir /lib/firmware/RTL8192U

Code: Select all

cd Desktop/RTL8192U

Code: Select all

sudo cp * /lib/firmware/RTL8192U/
Now, let's unload and reload the driver:

Code: Select all

sudo rmmod -f r8192u_usb

Code: Select all

sudo modprobe r8192u_usb
fingers crossed the light should come up.
K-Ron

Re: Make errors with dlink DWA-130 RevC1

Post by K-Ron »

Success! You have my sincerest appreciation. I'll mark as solved, but a few last questions.

1. Seems like there were a few deadends in there, could you summarize the necessary steps it make it easy for others?
2. Could this have been done in Maya? This Dell is creaking under Qiana.
3. If not, would I be able to get the wireless working using similar steps if I were to switch to a lighter distro like DSL or Puppy?

I'm leaving for a trip in about an hour and will be away from this machine until late Wednesday night. I won't be able to implement any other suggestions until then.

Thank you again.
Kirk
PatH57

Re: Make errors with dlink DWA-130 RevC1 [SOLVED]

Post by PatH57 »

Glad it worked.

1. Seems like there were a few deadends in there, could you summarize the necessary steps it make it easy for others?
in theory yes, we needed to force the driver from DLink onto the new kernel, but the steps may be different for others (kernel version, revision of the stick and id)
2. Could this have been done in Maya? This Dell is creaking under Qiana.
yes the kernel is 3.2 so we can use the same method.
identify the stick

Code: Select all

lsusb
should look like this id is 2001 330(x) and a revision
Download the driver from http://support.dlink.ca/ProductInfo.aspx?m=DWA-130 the C version, then unpack it to the desktop. You should have a RTL8192U folder.

Code: Select all

sudo mkdir /lib/firmware/RTL8192U

Code: Select all

cd Desktop/RTL8192U

Code: Select all

sudo cp * /lib/firmware/RTL8192U/
Now, let's unload and reload the driver:

Code: Select all

sudo rmmod -f r8192u_usb

Code: Select all

sudo modprobe r8192u_usb
this should be enough to enable the stick. but connection to the wifi may need to be tweaked again.

3. If not, would I be able to get the wireless working using similar steps if I were to switch to a lighter distro like DSL or Puppy?
as long as the kernel is > then 2.6 it "should" work on Debian distro it may need to create a new id... Check it and let me know.
Locked

Return to “Networking”