You are not logged in.

#1 2016-08-13 03:52:14

davay
Member
Registered: 2016-08-13
Posts: 3

Need help installing a usb wifi adapter's driver (Edimax EW-7711ULC)

There is an official linux driver given on edimax's site so at least I know it should be possible. Link below.

http://www.edimax.com/edimax/mw/cufiles … _v1.1.zip1

Inside the extracted tarball there is an unconfigured makefile and a README that I can't seem to understand.

The chipset used is mt7610u and the driver is actually available on aur. However, it does not seem to build with kernel 4.7.

I'm very new to this and unsure what to do now

Offline

#2 2016-08-13 07:57:53

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: Need help installing a usb wifi adapter's driver (Edimax EW-7711ULC)

Welcome to the arch forums davay.
What is the device ID from `lsusb` you can then match the ID using List_of_Wi-Fi_Device_IDs_in_Linux to see what kernel modules are available.
Wireless_network_configuration#Check_the_driver_status
What was the output of

$ dmesg | grep usbcore

Also what is the output of

$ ip link
davay wrote:

The chipset used is mt7610u and the driver is actually available on aur. However, it does not seem to build with kernel 4.7.

Which specific AUR package did you use?
What was the output generated when it failed to build?

Offline

#3 2016-08-13 17:09:31

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,740

Re: Need help installing a usb wifi adapter's driver (Edimax EW-7711ULC)

I was able to build the dkms version.  Which did you try? and how?   The other version did not build.

ewaller@turing ~/devel/build [128]1042 %git clone http://aur.archlinux.org/mt7610u_sta-dkms-git
Cloning into 'mt7610u_sta-dkms-git'...
remote: Counting objects: 16, done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 16 (delta 6), reused 9 (delta 4)
Unpacking objects: 100% (16/16), done.
Checking connectivity... done.
ewaller@turing ~/devel/build 1043 %cd mt7610u_sta-dkms-git 
ewaller@turing ~/devel/build/mt7610u_sta-dkms-git 1044 %makepkg
==> Making package: mt7610u_sta-dkms-git r25.5f01636-1 (Sat Aug 13 10:08:01 PDT 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning mt7610u_sta git repo...
Cloning into bare repository '/home/ewaller/devel/build/mt7610u_sta-dkms-git/mt7610u_sta'...
remote: Counting objects: 560, done.
remote: Total 560 (delta 0), reused 0 (delta 0), pack-reused 560
Receiving objects: 100% (560/560), 2.00 MiB | 798.00 KiB/s, done.
Resolving deltas: 100% (258/258), done.
Checking connectivity... done.
  -> Found dkms.conf
==> Validating source files with md5sums...
    mt7610u_sta ... Skipped
    dkms.conf ... Passed
==> Extracting sources...
  -> Creating working copy of mt7610u_wifi_sta_v3002_dpo_20130916 git repo...
Cloning into 'mt7610u_sta'...
done.
==> Starting pkgver()...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "mt7610u_sta-dkms-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: mt7610u_sta-dkms-git r25.5f01636-1 (Sat Aug 13 10:08:11 PDT 2016)
ewaller@turing ~/devel/build/mt7610u_sta-dkms-git 1045 %

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2016-08-14 00:14:26

davay
Member
Registered: 2016-08-13
Posts: 3

Re: Need help installing a usb wifi adapter's driver (Edimax EW-7711ULC)

Hang on, I'm gonna reinstall arch. Went back to manjaro last night.

Edit: nvm its troublesome setting everything up again

Last edited by davay (2016-08-14 02:58:30)

Offline

#5 2016-08-14 02:57:45

davay
Member
Registered: 2016-08-13
Posts: 3

Re: Need help installing a usb wifi adapter's driver (Edimax EW-7711ULC)

loqs wrote:

Welcome to the arch forums davay.
What is the device ID from `lsusb` you can then match the ID using List_of_Wi-Fi_Device_IDs_in_Linux to see what kernel modules are available.
Wireless_network_configuration#Check_the_driver_status
What was the output of

$ dmesg | grep usbcore

Also what is the output of

$ ip link
davay wrote:

The chipset used is mt7610u and the driver is actually available on aur. However, it does not seem to build with kernel 4.7.

Which specific AUR package did you use?
What was the output generated when it failed to build?


This is using the mt7610u_sta-dkms-git package on aur. Kernel 4.6.
On kernel 4.7 during the modprobe i get "modprobe: ERROR: could not insert 'mt7610u_sta': Exec format error"


[davay@da ~]$ dmesg | grep usbcore
[    1.222942] usbcore: registered new interface driver usbfs
[    1.222955] usbcore: registered new interface driver hub
[    1.223011] usbcore: registered new device driver usb
[    3.751747] usbcore: registered new interface driver btusb
[    3.752666] usbcore: registered new interface driver ath3k
[    3.773287] usbcore: registered new interface driver uvcvideo
[  319.273317] usbcore: registered new interface driver rt2870


[davay@da ~]$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 50:46:5d:e4:46:b4 brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether dc:85:de:5b:e1:31 brd ff:ff:ff:ff:ff:ff
4: ra0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state DORMANT mode DORMANT group default qlen 1000
    link/ether 74:da:38:8f:2f:8f brd ff:ff:ff:ff:ff:ff


Here's my iwconfig output
ra0       Ralink STA  ESSID:"11n-ac-AP"  Nickname:"MT7610U_STA"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated   
          Bit Rate:1 Mb/s   
          RTS thr:off   Fragment thr:off
          Link Quality=10/100  Signal level:0 dBm  Noise level:0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


ra0 is the wifi adapter I'm trying to use. At this point the lights on the adapter lights up but i cannot do anything. When scan, nothing shows up. Also, this is a 5ghz only adapter so i did try out all of the 5ghz channels available and set it through iwconfig. Still, nothing shows up.


Edit: forgot to include lsusb results.
Bus 003 Device 006: ID 7392:a711 Edimax Technology Co., Ltd.
This is not included in  List_of_Wi-Fi_Device_IDs_in_Linux.

Last edited by davay (2016-08-14 03:52:45)

Offline

#6 2017-03-24 19:46:00

qss
Member
Registered: 2017-03-24
Posts: 2

Re: Need help installing a usb wifi adapter's driver (Edimax EW-7711ULC)

Same situation ... need help smile i was searching every were how to make something but came here for help.

TP-LINK AC 600 archer T2UH Wifi Adapter

I have also with goes with laptop inside but i need True USB this one becouse specification of job .

[archie@qss ~]$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 0bda:57b5 Realtek Semiconductor Corp. 
Bus 001 Device 004: ID 8087:07dc Intel Corp. 
Bus 001 Device 007: ID 148f:761a Ralink Technology, Corp. 
Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
-------------
[archie@qss ~]$ dmesg | grep usbcore
[    0.912062] usbcore: registered new interface driver usbfs
[    0.912078] usbcore: registered new interface driver hub
[    0.912342] usbcore: registered new device driver usb
[    2.904782] usbcore: registered new interface driver btusb
[    2.913900] usbcore: registered new interface driver usbhid
[    2.921164] usbcore: registered new interface driver rtsx_usb
[    3.031693] usbcore: registered new interface driver uvcvideo
[  218.401875] usbcore: registered new interface driver rt2870
---------------
[archie@qss ~]$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether f0:42:1c:a8:44:b8 brd ff:ff:ff:ff:ff:ff
3: ra0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether 84:16:f9:1b:5a:03 brd ff:ff:ff:ff:ff:ff

Installed : from AUR mt7610u_sta-dkms-git

ra0 this is my adapter usb tplink
wlp2s0 - standart wifi in laptop .. he working without problems...

but i want make that i can work with one if i need a can switch usb adapter and work true the him.

Some one help me please....

Offline

#7 2017-04-08 05:13:52

qss
Member
Registered: 2017-03-24
Posts: 2

Re: Need help installing a usb wifi adapter's driver (Edimax EW-7711ULC)

and true the wifi-menu ra0 i see the routers but when i try to connect goes something wrong and i have mistake... that like Terminal dont want to responde any more

Offline

#8 2017-04-14 03:30:30

3igHankCh0w
Member
From: Fort Worth, Texas
Registered: 2012-08-22
Posts: 20

Re: Need help installing a usb wifi adapter's driver (Edimax EW-7711ULC)

I have been able to connect to a wifi network with the dongle, but I had to use netctl, could not get Network Manager to use the dongle. It is strange, because before I blacklisted the built in wifi, Network Manager would display both interfaces, but it would only allow the built in wifi to connect. I too am trying to get the dongle to work so I can connect a cantenna (need to be able to connect to coax on the cantenna). I am not trying to poach this question, I thought if I could help with what I got working, it might help with finding a solution to my problem. If ya'll need more details on how I was able to connect using the dongle, here is what I did. Blacklisted built in wifi, rebuilt kernel "mkinitcpio -p linux" disabled NetworkManager.service, rebooted. After reboot I used sudo moprobe mk7610u_sta to bring up kernel module, then used sudo netctl start "myProfile" note, I had to do this before i started the X Server, don't ask me why, that's the only way it would work. I tried loading the module with /etc/modules-load.d/mk7610.conf (kernel module mk7610u_sta), but that didn't work for Network Manager. I should add that I had to build the AUR package by hand (tried yaourt but it didn't work, kept getting build error, but it might be because I was patching the PKGBUILD incorrectly, finally noticed that the lines of code to patch the PKGBUILD had to be placed in a specific part of the PKGBUILD, I just added it to the bottom of the file. I know this is a bit long winded, but hopefully it will help someone. I almost forgot to add, for some reason when I go to shut down, it takes forever to stop all services, the netctl does not shut down, I have had to do a hard shut down, but it does not seem to create a problem.

Last edited by 3igHankCh0w (2017-04-14 03:32:44)


The cats have hacked into my network and are taking control!

Offline

#9 2017-04-14 04:04:16

3igHankCh0w
Member
From: Fort Worth, Texas
Registered: 2012-08-22
Posts: 20

Re: Need help installing a usb wifi adapter's driver (Edimax EW-7711ULC)

I guess I should post a more specific explanation on how I built mt7610u_wifi_sta from AUR. Used git clone to download https://aur.archlinux.org/mt7610u_wifi_sta.git, cd into /mt7610u_wifi_sta (the location where you cloned the file) then I changed the PKGBUILD as shown( it took me a while to get this right, I can be a bit slow sometimes):
goes:
A quick and dirty solution to build the package on a recent kernel is to substitute the deprecated IEEE80211-fields with the new ones, in the PKGBUILD.

Simply add the following into the build()-segment, right before the make invocation:

build() {
cd "${srcdir}/${pkgname}"
patch -p1 < "${srcdir}/0001-fix-compile-against-kernel-4.6.patch"
patch -p1 < "${srcdir}/0002-add-tplink-archer-t1u.patch"

Note add the patch below here note this is the corrected code!

find . -type f -exec sed -i 's/IEEE80211_NUM_BANDS/NUM_NL80211_BANDS/g' {} +
find . -type f -exec sed -i 's/IEEE80211_BAND_2GHZ/NL80211_BAND_2GHZ/g' {} +
find . -type f -exec sed -i 's/IEEE80211_BAND_5GHZ/NL80211_BAND_5GHZ/g' {} +

And above here

make -C "${srcdir}/${pkgname}"
}
I then used makepkg -s  to build the package, and then yaourt -U mt7610u_wifi_sta-4606187-3-any.pkg.tar.xz to install.
I know it's all there on the AUR page but it took me 4 tries to get it right.


The cats have hacked into my network and are taking control!

Offline

Board footer

Powered by FluxBB