Driver for D-Link DWA-123?

Hello there.

First off I’m quite new to Linux in general, but I decided to make a move since Win7 won’t be supported in the near future and Win10 is no option at all. So now I’m glad to be here on this forum and hopefully I can get the answers.
Secondly, I’m not so computer technical and it’s not so easy after a long time of using Windows to switch to Linux. But me and the command line are slowly getting friends. :slight_smile: I’m learning bit by bit every day. So please bare with me.

Currently I own an old Lenovo Thinkpad T450. Everything works fine, but sometimes the WiFi is a bit jerky and it doesn’t work properly. I still found an old USB WiFi adapter which I bought a few years back. It’s a D-Link DWA-123 Revision D1 F/W 4.0.
Right now I’m trying to figure out how to get it to work with LEAP 42.2 but I just can’t get it right. Even using Win7 it wasn’t so easy to get the right driver.

I found some stuff online (1, 2, 3 and 4), mainly for Ubuntu, but it didn’t work either. They are also a bit outdated. So is there any chance to get is peculiar device running properly? Any support would be greatly appreciated.

Tobi.

Welcome to openSUSE Forums.

Start by sharing the chipset details of that D-Link device. Open a terminal and run the following commands. Post the output here.

lsusb

This command will tell us if a driver is loaded for it

usb-devices

Assuming it is the 2001:3310 chipset then it should be supported by the kernel (via the r8188eu module).

# modinfo r8188eu|grep 3310
alias:          usb:v2001p3310d*dc*dsc*dp*ic*isc*ip*in*

Make sure that kernel-firmware is installed.

With the device plugged in, check for a wireless network interface device node

/sbin/ifconfig -a

Alright. Here is the outcome so far by using the above commands:


lsusb
Bus 001 Device 007: ID 2001:3310 D-Link Corp.


usb-devices
T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=02 Dev#=  7 Spd=480 MxCh= 0 
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1 
P:  Vendor=2001 ProdID=3310 Rev=00.00 
S:  Manufacturer=Realtek 
S:  Product=DWA-123 11n Adapter 
S:  SerialNumber=C4A81DF37CF4 
C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA 
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=r8188eu

So as you said before it is the r8188eu


modinfo r8188eu|grep 3310 
alias:          usb:v2001p3310d*dc*dsc*dp*ic*isc*ip*in*

And finally:


ifconfig -a 
enp2s0    Link encap:Ethernet  HWaddr 34:97:f6:16:53:4b   
         UP BROADCAST MULTICAST  MTU:1500  Metric:1 
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0 
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 
         collisions:0 txqueuelen:1000  
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B) 


lo        Link encap:Local Loopback   
         inet addr:127.0.0.1  Mask:255.0.0.0 
         inet6 addr: ::1/128 Scope:Host 
         UP LOOPBACK RUNNING  MTU:65536  Metric:1 
         RX packets:912 errors:0 dropped:0 overruns:0 frame:0 
         TX packets:912 errors:0 dropped:0 overruns:0 carrier:0 
         collisions:0 txqueuelen:1  
         RX bytes:72640 (72.6 KB)  TX bytes:72640 (72.6 KB) 


wlp3s0    Link encap:Ethernet  HWaddr 74:c6:3b:5d:d3:93   
         UP BROADCAST MULTICAST  MTU:1500  Metric:1 
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0 
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 
         collisions:0 txqueuelen:1000  
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B) 


wlxc4a81df37cf4 Link encap:Ethernet  HWaddr c4:a8:1d:f3:7c:f4   
         UP BROADCAST MULTICAST  MTU:1500  Metric:1 
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0 
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 
         collisions:0 txqueuelen:1000  
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B) 

What I really don’t get it should work right? Or maybe it is an issue with the internal WiFi card? As I said before it is a bit jerky. Sometimes it works and sometimes it just turns off unexpectedly.

Check which wireless device node is associated with that USB wireless device

This should tell you

/usr/sbin/hwinfo --netcard

Post output here if its not clear to you.

Then configure the appropriate device. (You may need to remove the config for the existing device if you don’t want it to associate with your AP.)

If using wicked, this is done via YaST > System > Network Settings, select the device and then ‘Edit’. Follow the prompts given

If using Network Manager, then via the NM connection editor.

All right. I finally got it up and running. Thanks for the support.

Thanks for the update. Happy days!