Author Topic: get WLAN working  (Read 4598 times)

fritual

  • Jr. Member
  • **
  • Posts: 60
get WLAN working
« on: June 30, 2016, 21:17:42 PM »
Re: D-Link Wireless N Nano USB Adapter
Model# DWA-131 /RE refurbished
Hi,
Q: Please explain how to get referenced WiFi adapter to function w/Plop Linux?

http://support.dlink.com/ProductInfo.aspx?m=DWA-131


Only linux driver I could find that D-Link endorses:

http://www.dlink.com/uk/en/support/product/dwa-131-wireless-n-nano-usb-adapter?revision=deu_revb


thx
fritual

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2421
  • a command shell is enough to do amazing things
Re: get WLAN working
« Reply #1 on: July 01, 2016, 14:01:42 PM »
Whats the output of 'lsusb'?


Best regards
Elmar

fritual

  • Jr. Member
  • **
  • Posts: 60
Re: get WLAN working
« Reply #2 on: July 02, 2016, 03:02:35 AM »
Whats the output of 'lsusb'?


Best regards
Elmar
Hi,
Code: [Select]
root@ploplinux ~# lsusb
Bus 001 Device 002: ID 05dc:c753 Lexar Media, Inc. JumpDrive TwistTurn
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 0bda:8192 Realtek Semiconductor Corp. RTL8191SU 802.11n Wireless Adapter
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@ploplinux ~#
HTH
fritual

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2421
  • a command shell is enough to do amazing things
Re: get WLAN working
« Reply #3 on: July 02, 2016, 12:56:14 PM »
I need also the output of 'lsmod'
and the output file of 'dmesg > dmesg.txt' (as attachment)

fritual

  • Jr. Member
  • **
  • Posts: 60
Re: get WLAN working
« Reply #4 on: July 02, 2016, 20:22:05 PM »
I need also the output of 'lsmod'
and the output file of 'dmesg > dmesg.txt' (as attachment)
lsmod:

Code: [Select]
[root@ploplinux ~]# lsmod
Module                  Size  Used by
dm_crypt               15038  0
ipw2200               151474  0
libipw                 22861  1 ipw2200
lib80211                2758  1 libipw
i915                  916817  0
cfg80211              371786  2 libipw,ipw2200
snd_intel8x0           23509  1
snd_intel8x0m           9384  1
snd_ac97_codec         85308  2 snd_intel8x0,snd_intel8x0m
ac97_bus                1006  1 snd_ac97_codec
sdhci_pci              10768  0
drm_kms_helper         80409  1 i915
drm                   222012  2 i915,drm_kms_helper
intel_agp               8425  0
intel_gtt               9972  3 i915,intel_agp
[root@ploplinux ~]#

Attached dmesg . . .
fritual

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2421
  • a command shell is enough to do amazing things
Re: get WLAN working
« Reply #5 on: July 02, 2016, 20:38:40 PM »
Whats the output of iwconfig?

fritual

  • Jr. Member
  • **
  • Posts: 60
Re: get WLAN working
« Reply #6 on: July 02, 2016, 22:32:41 PM »
Whats the output of iwconfig?
Hi,
I'm using X, hard wired to ethernet to post this note.
iwconfig:

Code: [Select]
root@ploplinux ~# iwconfig
sit0      no wireless extensions.

lo        no wireless extensions.

eth0      no wireless extensions.

root@ploplinux ~#



dongle's in USB port.
thx
fritual
*going on HOLIDAY

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2421
  • a command shell is enough to do amazing things
Re: get WLAN working
« Reply #7 on: July 02, 2016, 22:54:29 PM »
The firmware has not been loaded. It's a non-free firmware, so its in an own directory with special license information.

You have to unsquashfs the ploplinux/lib.sqfs
change to squashfs-root/firmware/ipw2x00 and move all files one level up.

remove the old lib.sqfs

create a new lib.sqfs: mksquashfs squashfs-root lib.sqfs

Now 'iwconfig' should show a wlan0 and 'iwlist scan' should show the WLANs around you.

Regards
Elmar


fritual

  • Jr. Member
  • **
  • Posts: 60
Re: get WLAN working
« Reply #8 on: July 03, 2016, 01:13:08 AM »
move all files one level up.

Hi,
I interpret ipw2x00 directory files moved into intelwimax directory (attached).
Therefore, ipw2x00 must be empty.
Please clarify.
fritual

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2421
  • a command shell is enough to do amazing things
Re: get WLAN working
« Reply #9 on: July 03, 2016, 01:17:28 AM »
the files ipw2200-bss.fw and so on, must come to 'lib/firmware' or in squashfs level 'squashfs-root/firmware'
« Last Edit: July 03, 2016, 01:25:21 AM by Elmar »

fritual

  • Jr. Member
  • **
  • Posts: 60
Re: get WLAN working
« Reply #10 on: July 03, 2016, 04:30:28 AM »
the files ipw2200-bss.fw and so on, must come to 'lib/firmware' or in squashfs level 'squashfs-root/firmware'
Elmar,
It's looking better:
Code: [Select]
[root@ploplinux ~]# iwconfig
sit0      no wireless extensions.

lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11bg  ESSID:off/any 
          Mode:Managed  Channel:0  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power=off   Sensitivity=8/0 
          Retry limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

[root@ploplinux ~]#

Iwlist scan's SO, SO:

Code: [Select]
[root@ploplinux ~]# iwlist scan
sit0      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

eth1      No scan results

[root@ploplinux ~]#



. . . still need nameserver, IP address, input WEP key, etc.
Thanks for ALL the help!
fritual