Installing Wireless USB Adapter

Questions about applications and software
Forum rules
Before you post please read how to get help
User avatar
Bob M
Level 3
Level 3
Posts: 108
Joined: Sat Jan 28, 2017 9:54 pm
Location: New Zealand

Installing Wireless USB Adapter

Postby Bob M » Wed Nov 01, 2017 10:51 pm

I have a Wireless USB Adapter that I wish to install on a Desktop that only has USB 2.0 Ports and although the Adapter is USB 3.0 Compliant, my understanding is that it is Backward compatible with USB 2.0

The make and model are as follows: EDUP EP-AC1617.

Now it comes with a disk with drivers for Windows – Mac – Linux v3.0.0.1 and I run Mint – Cinnamon – Sarah, so I don’t know if there is a compatibility issue there.

Plugging it in does absolutely nothing, not even the light comes on which it does on a Windows Laptop. I don’t want it installed on the Laptop because the built in Wi-Fi already works fine.

So the question is: What is the correct procedure for installing these things on Linux? There are heaps of files in the Linux CD folder but none of them say install, so I guess it is a Terminal Command?

Any help appreciated,

Bob

User avatar
Pjotr
Level 18
Level 18
Posts: 8841
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Installing Wireless USB Adapter

Postby Pjotr » Thu Nov 02, 2017 5:34 am

Make sure the adapter is plugged in and then do this:

a. Please generate an overview of your system like this:

- Launch a terminal window (this is how to launch a terminal window);

- make the terminal window full screen, to avoid chopped lines;

- copy/paste this command into the terminal:

Code: Select all

inxi -Fxz

(if you type: the letter F is a capital letter)

- Press Enter.

- Copy/paste the output in your next message.

b. Do the same with the following three commands:

Code: Select all

rfkill list all

and:

Code: Select all

inxi -Nn

and:

Code: Select all

iwconfig
Tip: 10 things to do after installing Linux Mint 18.2 Sonya
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

JeremyB
Level 17
Level 17
Posts: 7430
Joined: Fri Feb 21, 2014 8:17 am

Re: Installing Wireless USB Adapter

Postby JeremyB » Thu Nov 02, 2017 5:38 am

Don't forget about lsusb results

User avatar
Pjotr
Level 18
Level 18
Posts: 8841
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Installing Wireless USB Adapter

Postby Pjotr » Thu Nov 02, 2017 5:39 am

JeremyB wrote:Don't forget about lsusb results

You're right. Thanks. :P
Tip: 10 things to do after installing Linux Mint 18.2 Sonya
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

richlion2
Level 2
Level 2
Posts: 52
Joined: Mon Sep 05, 2016 9:00 am

Re: Installing Wireless USB Adapter

Postby richlion2 » Thu Nov 02, 2017 9:55 am

I think it would be best if you first checked if your USB WIFI dongle is compatible with Linux in the first place. I use a TP-LINK uSB 2.0 dongle, I just plugged it in also into a 2.0 port and I got it working. No need to install anything. Check what other people are recommending:
viewtopic.php?t=196425

Or this:
https://help.ubuntu.com/community/WifiD ... sSupported

Rich

User avatar
Pjotr
Level 18
Level 18
Posts: 8841
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Installing Wireless USB Adapter

Postby Pjotr » Thu Nov 02, 2017 9:59 am

richlion2 wrote:I think it would be best if you first checked if your USB WIFI dongle is compatible with Linux in the first place.

Wifi dongles that are totally incompatible with Linux, are very rare, thankfully. In most cases, a non-functioning wifi dongle can be made to function in Linux after all. :)
Tip: 10 things to do after installing Linux Mint 18.2 Sonya
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
Pierre
Level 15
Level 15
Posts: 5853
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Installing Wireless USB Adapter

Postby Pierre » Thu Nov 02, 2017 10:18 am

also - - insert it into the usb port Before starting the machine up:
- most Linux System will detect new hardware on Boot-up,
more so than with Plug & Play, like on an Windows System.

- - then run those given commands in Terminal, & copy those results - back here.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

User avatar
Bob M
Level 3
Level 3
Posts: 108
Joined: Sat Jan 28, 2017 9:54 pm
Location: New Zealand

Re: Installing Wireless USB Adapter

Postby Bob M » Thu Nov 02, 2017 7:26 pm

Thanks Guys, I haven’t completed all the tasks you have set me but I am on the case. :D

In the meantime I can report:

1: I plugged an old EDUP USB 2.0 802.11n dongle in and it just worked.

2: I thought maybe I had a dud new one, so I dug out a very old XP Computer and Windows recognised the new dongle, asked me to install the drivers which I did and away it went. Unbelievably, on speedtest the fastest in the house, and that includes Win10 Laptops. :shock:

So, I guess we can safely say the Dongle isn’t faulty and it is backward compatible with USB 2.0.

OK, I’ll be back later with the results of the other tests.

Thanks

Bob

User avatar
Bob M
Level 3
Level 3
Posts: 108
Joined: Sat Jan 28, 2017 9:54 pm
Location: New Zealand

Re: Installing Wireless USB Adapter

Postby Bob M » Thu Nov 02, 2017 7:47 pm

Here you go guys.

But just be aware that some of the reports may refer to an internal PCI Modem which I wish to replace because of its slowness.

Code: Select all

bob@bob-desktop ~ $ inxi -Fxz
System:    Host: bob-desktop Kernel: 4.4.0-36-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.0.7 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18 Sarah
Machine:   Mobo: Gigabyte model: GA-M55SLI-S4
           Bios: Award v: F8 date: 12/01/2006
CPU:       Dual core AMD Athlon 64 X2 4200+ (-MCP-) cache: 1024 KB
           flags: (lm nx sse sse2 sse3 svm) bmips: 4020
           clock speeds: max: 2200 MHz 1: 1000 MHz 2: 1000 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] RV370 [Radeon X300]
           bus-ID: 05:00.0
           Display Server: X.Org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa)
           Resolution: 1680x1050@59.88hz
           GLX Renderer: Gallium 0.4 on ATI RV370
           GLX Version: 2.1 Mesa 11.2.0 Direct Rendering: Yes
Audio:     Card-1 NVIDIA CK804 AC'97 Audio Controller
           driver: snd_intel8x0 ports: b800 bc00 bus-ID: 00:04.0
           Card-2 Solid Year driver: USB Audio usb-ID: 001-004
           Sound: Advanced Linux Sound Architecture v: k4.4.0-36-generic
Network:   Card-1: NVIDIA CK804 Ethernet Controller
           driver: forcedeth port: e800 bus-ID: 00:0a.0
           IF: enp0s10 state: down mac: <filter>
           Card-2: Qualcomm Atheros AR5212/5213/2414 Wireless Network Adapter
           driver: ath5k bus-ID: 01:07.0
           IF: wlp1s7 state: up mac: <filter>
Drives:    HDD Total Size: 1750.4GB (3.3% used)
           ID-1: /dev/sda model: ST3250620NS size: 250.1GB
           ID-2: /dev/sdb model: ST1000DM000 size: 1000.2GB
           ID-3: /dev/sdc model: ST3500820AS size: 500.1GB
Partition: ID-1: / size: 224G used: 54G (26%) fs: ext4 dev: /dev/sda1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 36.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 188 Uptime: 2:17 Memory: 938.3/3952.2MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35


bob@bob-desktop ~ $ rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

bob@bob-desktop ~ $ inxi -Nn
Network: Card-1: NVIDIA CK804 Ethernet Controller driver: forcedeth
IF: enp0s10 state: down mac: 00:16:e6:db:de:64
Card-2: Qualcomm Atheros AR5212/5213/2414 Wireless Network Adapter driver: ath5k
IF: wlp1s7 state: up mac: 00:14:78:77:a1:b3

bob@bob-desktop ~ $ bob@bob-desktop ~ $ iwconfig
bob@bob-desktop: command not found
bob@bob-desktop ~ $ lo no wireless extensions.
lo: command not found
bob@bob-desktop ~ $
bob@bob-desktop ~ $ enp0s10 no wireless extensions.
enp0s10: command not found
bob@bob-desktop ~ $
bob@bob-desktop ~ $ wlp1s7 IEEE 802.11bg ESSID:"vodafone4425"
wlp1s7: command not found
bob@bob-desktop ~ $ Mode:Managed Frequency:2.417 GHz Access Point: DC:09:4C:B7:44:2C
Mode:Managed: command not found
bob@bob-desktop ~ $ Bit Rate=54 Mb/s Tx-Power=20 dBm
No command 'Bit' found, did you mean:
Command 'vit' from package 'vit' (universe)
Command 'wit' from package 'wit' (universe)
Command 'nit' from package 'python-nevow' (universe)
Command 'git' from package 'git' (main)
Bit: command not found
bob@bob-desktop ~ $ Retry short limit:7 RTS thr:off Fragment thr:off
Retry: command not found
bob@bob-desktop ~ $ Power Management:off
Power: command not found
bob@bob-desktop ~ $ Link Quality=42/70 Signal level=-68 dBm
No command 'Link' found, did you mean:
Command 'link' from package 'coreutils' (main)
Command 'dink' from package 'freedink-engine' (universe)
Command 'ink' from package 'ink' (universe)
Link: command not found
bob@bob-desktop ~ $ Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Rx: command not found
bob@bob-desktop ~ $ Tx excessive retries:11 Invalid misc:82 Missed beacon:0
Tx: command not found

bob@bob-desktop ~ $ lsusb
Bus 001 Device 007: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 006: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 005: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 004: ID 060b:8003 Solid Year
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 006: ID 046d:c52e Logitech, Inc. MK260 Wireless Combo Receiver
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Last edited by Moem on Wed Nov 08, 2017 5:54 pm, edited 1 time in total.
Reason: [code] tags added for easier reading

User avatar
Bob M
Level 3
Level 3
Posts: 108
Joined: Sat Jan 28, 2017 9:54 pm
Location: New Zealand

Re: Installing Wireless USB Adapter

Postby Bob M » Sun Nov 05, 2017 7:50 pm

Well guys I haven’t made any progress on this matter but have come to the conclusion that the drivers supplied need to be installed, so let’s start at the beginning.

The Dongle was supplied with a small CD that contained three Folders: Linux – Mac – Windows.

Image 1.jpg
Image 1.jpg (29.08 KiB) Viewed 326 times
]

Now if I open the Linux Folder I find one single folder named DPO.

Image 2.jpg
Image 2.jpg (16.62 KiB) Viewed 326 times


And if I open that, I find a mixture of Folders and Files, none of which strike me as being an Install or Set-Up, so how do I install these Drivers?


Image3 (Medium).jpg


Thanks

Bob

User avatar
Pierre
Level 15
Level 15
Posts: 5853
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Installing Wireless USB Adapter

Postby Pierre » Sun Nov 05, 2017 9:33 pm

those files that are in the Linux Folder, seem to me to be of the type that need to be compiled,
if anything - - so what information is in the folder called DOC ??

I'm still of the opinion that you may find that you have lots of issues in getting this dongle to work,
on your Linux machine - - IMHO it's far easier to find some dongle that will be recognised by the Linux kernel
and thus will work Out Of the Box, so to speak.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

JeremyB
Level 17
Level 17
Posts: 7430
Joined: Fri Feb 21, 2014 8:17 am

Re: Installing Wireless USB Adapter

Postby JeremyB » Mon Nov 06, 2017 6:36 am

Was the device plugged in when you ran the lsusb command. From the files you have on disk, it might actually compile

User avatar
Bob M
Level 3
Level 3
Posts: 108
Joined: Sat Jan 28, 2017 9:54 pm
Location: New Zealand

Re: Installing Wireless USB Adapter

Postby Bob M » Mon Nov 06, 2017 3:55 pm

Ok, to answer some questions.

Pierre: Opening the DOC file produces this:

Linux DOC Folder Contents.jpg


Then opening the Read Me file produces this:

How to make?
1. If you want to buid the Linux AP code, set the "MODE = AP" in Makefile
and chose the TARGET to Linux by set "TARGET = LINUX"

2. If you want to build the Linux STA code, set the "MODE = STA" in Makefile
and chose the TARGET to Linux by set "TARGET = LINUX"

3. If you want to buid the uCOS AP code, set the "MODE = AP" in Makefile
and chose the TARGET to UCOS by set "TARGET = UCOS"

4. If you want to build the uCOS STA code, set the "MODE = STA" in Makefile
and chose the TARGET to uCOS by set "TARGET = UCOS"

5. If you wnat to clean the tree, just "make clean" it will clean the target and mode you set

6. In os/linux/config.mk
define the GCC and LD of the target machine
define the compiler flags CFLAGS
define the linux kernel source include file path LINUX_SRC
modify to meet your need.

7. For the Linux port , please read /include/rt_linux.h os/linux/rt_linux.c and os/linux/rt_main_dev.c

8. For the uCOS port , please read /include/rt_ucos.h os/linux/rt_ucos.c and os/ucos/rt_main_dev.c

9. For the Linux Station port, please add the Makefile section in os/linux/Makefile.

10. Currently you can build and run on your 2.4.x Linux kernel, 2.6.x not sure and not try yet.

11. In tools/bin2h.c will convert the 8051 firmware from common/rt2860.bin into include/firmware.h.
Which will be used by rtmp_init.c to include in the firmware image in an array.


Branch:B20070129

Support:
1. Support MBSS
2. Support LoadFirmware
3. Access BBP by way of 8051 Firmware
4. Temperature conpensation for Tx Power
5. Using Management ring by Mac Version
6. BBP setting by Mac Version

Branch: B20070202
Support:
1. Add Ralink proprietary Aggregation/PiggyBack support
2. Modify some Big-Endian swap code for Action frame
3. Add WDS support
4. Remove unused variables and modify wrong statments to reduce compiler warning msg.
5. Add STA encryption/decryption code by Albert

All of which means nothing to me. :(

For what it's worth here are the specifications for the Dongle which might provide a clue as to the likelihood of getting this thing working:


EDUP WIFI USB Wireless LAN Dongle Adapter USB3.0 HIGH SPEED 802.11AC Dual Band 2.4/5.8GHz


Product Description

The EDUP EP-AC1617 is a 802.11ac USB Wireless adapter using a MTK7612 or RTL8812 chipset providing a maximum transfer rate of 1200Mbps.This product can be used for computer, PSP, media player or other device which needs the flexibility of a wireless connection. It can be configured as an AP during installation,allowing you to share the internet connetion to other Wi-Fi device. The WPS button allows very convenient encryption . With the inscluded AUTO-RUN CD, even novice user can install EP-AC1617 easy and quickly.

Features:
Brand:EDUP
Model:EP-AC1617
Wifi Standard: IEEE 802.11n/g/b/a/ac
Transmit Speed: Up to 1200Mbps
Frequency Range: 2.412~2.4835 GHz;5.180~5.320GHz;5.500~5.700GHz­;5.745~5.825GHz
Support USB3.0
Support 20MHz/40MHz/80MHz frequency
5G compatible with IEEE 802.11ac and IEEE 802.11a standard
2.4G compatible with IEEE 802.11n, IEEE 802.11g, IEEE 802.11g standard
Detect the network and change transmit speed automatically
Support WPA/WPA2/WPA-WPA2/802.1x and 64/128 bit WEP encryption
Support WPS 2.0
Internal Omni-directional Antenna
Support 2.4G and 5G dual band
Support Wi-Fi Direct
Support Multiple BSSID
Support QoS-WMM, WMM-PS
Support WPS: PIN, PBC
Support Infrastructure mode, Ad-Hoc mode and Soft AP three modes
Support Cisco CCX
Low consumption management
Supported OS: Window XP/Vista/Win7/Win8/Win8.1/Win 10/Mac OS 10.10/Linux v3.0.0.1 or above

Given that this Dongle is the same brand as it's little brother which works fine, and they say it works on Linux, plus they provide files for Linux, I 'm rather hoping it can be got going. Just don't know how. :D

Jeremy: I can't remember if it was plugged in or not when that command was run so I'll try again.

Should it ask to be directed to linux folder? As you have probably guessed, I'm as green as grass when it comes to Linux, but I'm throughly enjoying the experience. :D

User avatar
Bob M
Level 3
Level 3
Posts: 108
Joined: Sat Jan 28, 2017 9:54 pm
Location: New Zealand

Re: Installing Wireless USB Adapter

Postby Bob M » Mon Nov 06, 2017 8:48 pm

Back again Jeremy.

Ok, I've done that lsusb test and got the following;

The first test was done without the Dongle plugged in and the second with it plugged in.

You'll notice that on the second test a MediaTek device has turned up which is the chipset mentioned in the dongles specification.

lsusb.jpg
lsusb.jpg (91.53 KiB) Viewed 267 times


So I guess we can see it but how do we install the drivers?

JeremyB
Level 17
Level 17
Posts: 7430
Joined: Fri Feb 21, 2014 8:17 am

Re: Installing Wireless USB Adapter

Postby JeremyB » Tue Nov 07, 2017 7:21 am

Code: Select all

sudo apt-get install build-essential git

Code: Select all

git clone https://github.com/ulli-kroll/mt7612u.git

Code: Select all

make

Code: Select all

sudo cp mt7612u.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless/

Code: Select all

sudo depmod -a

Reboot

User avatar
Bob M
Level 3
Level 3
Posts: 108
Joined: Sat Jan 28, 2017 9:54 pm
Location: New Zealand

Re: Installing Wireless USB Adapter

Postby Bob M » Tue Nov 07, 2017 2:28 pm

All appeared to be going well Jeremy until we got to "make'.

Got message """ No targets specified and no makefile found. Stop

Wireless Dongle.jpg
Wireless Dongle.jpg (46.88 KiB) Viewed 221 times

michael louwe
Level 6
Level 6
Posts: 1053
Joined: Sun Sep 11, 2016 11:18 pm

Re: Installing Wireless USB Adapter

Postby michael louwe » Tue Nov 07, 2017 3:32 pm

@ Bob M, .......

Bob M wrote:.


Try AlbertP's likely fix at this link ... viewtopic.php?t=191361 (RTL8812 vs RTL8812au.?)
... I have checked Realtek's website and there is no just plain RTL8812, ... http://www.realtek.com.tw/products/prod ... l=5&Conn=4

For reference about this very common Linux problem ... https://www.google.com/search?biw=1280& ... RUR3y-9c4I

User avatar
Bob M
Level 3
Level 3
Posts: 108
Joined: Sat Jan 28, 2017 9:54 pm
Location: New Zealand

Re: Installing Wireless USB Adapter

Postby Bob M » Tue Nov 07, 2017 4:02 pm

Thanks Michael, I’ll follow up on those links you provided.

With regard to the Realteck problem, I “think” this particular Dongle is running a MediaTek MTK7612 chipset, which may, or may not make, a difference.

Anyway, I’ll get back after I’ve studied those links you provided.

Thanks

Bob

JeremyB
Level 17
Level 17
Posts: 7430
Joined: Fri Feb 21, 2014 8:17 am

Re: Installing Wireless USB Adapter

Postby JeremyB » Tue Nov 07, 2017 5:45 pm

Forgot one step

Code: Select all

sudo apt-get install build-essential git

Code: Select all

git clone https://github.com/ulli-kroll/mt7612u.git

Code: Select all

cd mt7612u

Code: Select all

make

Code: Select all

sudo cp mt7612u.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless/

Code: Select all

sudo depmod -a

Reboot

michael louwe
Level 6
Level 6
Posts: 1053
Joined: Sun Sep 11, 2016 11:18 pm

Re: Installing Wireless USB Adapter

Postby michael louwe » Tue Nov 07, 2017 6:07 pm

@ Bob M, .......

Bob M wrote:.

.
My apologies.

Try the Linux driver download at this MediaTek link ... https://www.mediatek.com/products/broad ... -downloads


Return to “Software & Applications”

Who is online

Users browsing this forum: rotozeev, tomakomay and 22 guests