Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
LYNEC UA1 WiFi USB Adapter
-
- Posts: 6
- Joined: 2016-11-17 20:38
LYNEC UA1 WiFi USB Adapter
Hey
I'm an I.T. Assistant for a public library. We recently ordered eight LYNEC UA1 WiFi USB Adapters from Amazon (https://www.amazon.com/LYNEC-UA1-150Mbp ... c+wifi+usb) for our writing computers which are located in a small activity room. The issue is the Linux drivers included on the disc are files which require me to use MAKE FILE and MAKE INSTALL. My issue is I need a driver for Debian that I can just drop onto the computer and install through Apper (KDE) or GDebi (Gnome). Is anybody able to help me out here? I have to help with the circulation desk where books are checked out and fix these computers at the same time, so sitting down and compiling files away from the Circ Desk is not an option for me. I prefer to use Debian on our writing PCs because this allows for the minimum requirements to write a document for FREE, using either LibreOffice or Google Docs running inside Firefox.
I'm an I.T. Assistant for a public library. We recently ordered eight LYNEC UA1 WiFi USB Adapters from Amazon (https://www.amazon.com/LYNEC-UA1-150Mbp ... c+wifi+usb) for our writing computers which are located in a small activity room. The issue is the Linux drivers included on the disc are files which require me to use MAKE FILE and MAKE INSTALL. My issue is I need a driver for Debian that I can just drop onto the computer and install through Apper (KDE) or GDebi (Gnome). Is anybody able to help me out here? I have to help with the circulation desk where books are checked out and fix these computers at the same time, so sitting down and compiling files away from the Circ Desk is not an option for me. I prefer to use Debian on our writing PCs because this allows for the minimum requirements to write a document for FREE, using either LibreOffice or Google Docs running inside Firefox.
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
-
- Posts: 6
- Joined: 2016-11-17 20:38
Re: LYNEC UA1 WiFi USB Adapter
Currently there is a library program taking place in the activity room at the minute, but after the program is over I will be able to tell you what the output ofarochester wrote:With a dongle in place what is the output ofCode: Select all
lsusb
Code: Select all
lsusb
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: LYNEC UA1 WiFi USB Adapter
The Amazon page for that product states that:
You may need to install a firmware package, see https://wiki.debian.org/Firmware
Debian jessie runs Linux v3.16+ so the drivers should already be included in the kernel.Support Linux v3.0.0.4 System
You may need to install a firmware package, see https://wiki.debian.org/Firmware
deadbang
-
- Posts: 6
- Joined: 2016-11-17 20:38
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: LYNEC UA1 WiFi USB Adapter
Tried what?cmalson@gcpl wrote:I tried that
Please post the exact, full commands used and any output produced in the terminal.
deadbang
-
- Posts: 6
- Joined: 2016-11-17 20:38
Re: LYNEC UA1 WiFi USB Adapter
I downloaded the firmware onto a USB Flash Drive last night it was the firmware_rt_0.43all.deb file and I installed it last night, still the computer is not recognizing the device as a Network device.Head_on_a_Stick wrote:Tried what?cmalson@gcpl wrote:I tried that
Please post the exact, full commands used and any output produced in the terminal.
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
-
- Posts: 6
- Joined: 2016-11-17 20:38
Re: LYNEC UA1 WiFi USB Adapter
That is the exact page I visited and downloaded the driver last night.
The end result of my lsusb output.
The end result of my lsusb output.
Code: Select all
writer@debian:~$ lsusb
BUS 003 Device 007: ID 148f:7601 Ralink Technology, Corp.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: LYNEC UA1 WiFi USB Adapter
That seems to be the rt2870 chipset, a search turns up http://unix.stackexchange.com/questions ... 0-148f7601cmalson@gcpl wrote:BUS 003 Device 007: ID 148f:7601 Ralink Technology, Corp.[/code]
Just to be sure, run this command then check the ID again:
Code: Select all
# update-usbids
deadbang
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: LYNEC UA1 WiFi USB Adapter
It looks like this thing: https://wikidevi.com/wiki/TP-LINK_TL-WN727N_v4
The mt7601u driver is in the jessie-backports 4.7 kernel, the required firmware is in the firmware-misc-nonfree package in backports. It's confirmed to work for this user: https://forum.mxlinux.org/viewtopic.php ... 1u#p396074
More reading with the same USB ID: https://forum.mxlinux.org/viewtopic.php?f=107&t=39743
There's also a PPA with a safe dkms source deb package that will build automatically on the stock 3.16 kernel if headers, dkms, and compiler packages are installed, which aren't by default in Debian. http://ppa.launchpad.net/hanipouspilot/ ... 610u-dkms/
The easy way to set up the computer is build with dkms is to install dkms and module-assistant, then run with sysadmin rightsin a terminal:
It'll stop a couple times to ask (y/n), just reply (y).
MediaTek bought and absorbed Ralink, it seems. Do you have any Net access on any of those computers, such as wired? That makes things a lot easier. I think the backports kernel also needs other package upgrades from backports, making it more than just a couple debs that need installing. If I had to do it myself and had Net access, the backports kernel route is the one I'd take.
The mt7601u driver is in the jessie-backports 4.7 kernel, the required firmware is in the firmware-misc-nonfree package in backports. It's confirmed to work for this user: https://forum.mxlinux.org/viewtopic.php ... 1u#p396074
More reading with the same USB ID: https://forum.mxlinux.org/viewtopic.php?f=107&t=39743
There's also a PPA with a safe dkms source deb package that will build automatically on the stock 3.16 kernel if headers, dkms, and compiler packages are installed, which aren't by default in Debian. http://ppa.launchpad.net/hanipouspilot/ ... 610u-dkms/
The easy way to set up the computer is build with dkms is to install dkms and module-assistant, then run with sysadmin rightsin a terminal:
Code: Select all
m-a prepare
MediaTek bought and absorbed Ralink, it seems. Do you have any Net access on any of those computers, such as wired? That makes things a lot easier. I think the backports kernel also needs other package upgrades from backports, making it more than just a couple debs that need installing. If I had to do it myself and had Net access, the backports kernel route is the one I'd take.
MX Linux packager and developer
-
- Posts: 6
- Joined: 2016-11-17 20:38
Re: LYNEC UA1 WiFi USB Adapter
Right now I have the first Writer-PC setup to share it's Wi-Fi connection through an ethernet that connects to the second computer. Although my boss would prefer that I use the WiFi adapters she purchased on all four computers. Right now I'm formatting the fourth one, and fixing the Wi-Fi on the other two. The first one is the only one with Wi-Fi and that's because it had a wireless card already on the board.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: LYNEC UA1 WiFi USB Adapter
OK, you should be able to upgrade the kernel and firmware on the ones with a connection to get their wifi working--hopefully you can switch the cable around to get them all connected for the upgrades.
Some driver packages also had a -source package I could have used to create a .deb package for the stock Jessie kernel, then you could have just installed that deb to get the wifi working for each one, but the PPA didn't have one. You could try the dkms package on one to create the mt7601u.ko file and install that in each computer, along with Jessie-backport's firmware-misc-nonfree, then run "depmod -ae" as sysadmin so the kernel will pick up the new driver file--though that's also a bit of work. A simple script to accomplish the installs and depmod command would speed things up. This would depend on all the computers having the same kernel and architecture. A .ko file only works for the kernel version it was compiled for.
Some driver packages also had a -source package I could have used to create a .deb package for the stock Jessie kernel, then you could have just installed that deb to get the wifi working for each one, but the PPA didn't have one. You could try the dkms package on one to create the mt7601u.ko file and install that in each computer, along with Jessie-backport's firmware-misc-nonfree, then run "depmod -ae" as sysadmin so the kernel will pick up the new driver file--though that's also a bit of work. A simple script to accomplish the installs and depmod command would speed things up. This would depend on all the computers having the same kernel and architecture. A .ko file only works for the kernel version it was compiled for.
Code: Select all
cp mt7601u.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless/mediatek/mt7601u/
depmod -ae
dpkg -i firmware-misc-nonfree_20160824-1~bpo8+1_all.deb
MX Linux packager and developer