15th May, 2017, 05:56 AM
15th May, 2017, 06:41 AM
PS. to have udev rename the interface "ra0" into "wlan0" at boot, run below one and replace "a0:b1:c2:d3:e4:f5" with the MAC address of the card.
The MAC address is displayed when you run "ip link show ra0".
This works for almost any network card that you want to rename.
The MAC address is displayed when you run "ip link show ra0".
This works for almost any network card that you want to rename.
Code:
echo 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="a0:b1:c2:d3:e4:f5", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="wlan0"' | sudo tee -a /etc/udev/rules.d/70-persistent-net.rules
sudo reboot
15th May, 2017, 06:44 AM
(15th May, 2017 06:41 AM)deHakkelaar Wrote: [ -> ]PS. to have udev rename the interface "ra0" into "wlan0" at boot, run below one and replace "a0:b1:c23:e4:f5" with the MAC address of the card.
The MAC address is displayed when you run "ip link show ra0".
This works for almost any network card that you want to rename.
Code:
echo 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="a0:b1:c2:d3:e4:f5", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="wlan0"' | sudo tee -a /etc/udev/rules.d/70-persistent-net.rules
sudo reboot
Tried this months ago, but for this wlan device I had no success
16th May, 2017, 07:08 AM
Still no luck with this dongle, I'm wondering if I could have mucked something up, setting up WiFi with one dongle and then turning it all back on later with another dongle?
Here are some information, if I can be of help?
If there is anything else you want to see please say.
Here are some information, if I can be of help?
Terminal
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie
Linux xbian 4.4.48+ #1 PREEMPT Sun Feb 12 17:39:36 CET 2017 armv6l GNU/Linux
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie
Linux xbian 4.4.48+ #1 PREEMPT Sun Feb 12 17:39:36 CET 2017 armv6l GNU/Linux
lsusb -v (Click to View)
Terminal
xbian@xbian ~ $ lsusb -v Bus 001 Device 005: ID 0b95:1790 ASIX Electronics Corp. Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.10 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 255 Vendor Specific Subclass bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x0b95 ASIX Electronics Corp. idProduct 0x1790 bcdDevice 1.00 iManufacturer 1 iProduct 2 iSerial 3 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 248mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 0 iInterface 4 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 11 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Bus 001 Device 004: ID 148f:7601 Ralink Technology, Corp. Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.01 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x148f Ralink Technology, Corp. idProduct 0x7601 bcdDevice 0.00 iManufacturer 1 iProduct 2 iSerial 3 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 74 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 160mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 8 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x84 EP 4 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x85 EP 5 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x08 EP 8 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x04 EP 4 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x05 EP 5 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x06 EP 6 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x07 EP 7 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x09 EP 9 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Bus 001 Device 003: ID 1997:2433 Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x1997 idProduct 0x2433 bcdDevice 20.12 iManufacturer 1 iProduct 2 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 59 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 1 Boot Interface Subclass bInterfaceProtocol 1 Keyboard iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.01 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 77 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 8 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 1 Boot Interface Subclass bInterfaceProtocol 2 Mouse iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.01 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 116 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 1 Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 1 Single TT bMaxPacketSize0 64 idVendor 0x05e3 Genesys Logic, Inc. idProduct 0x0608 USB-2.0 4-Port HUB bcdDevice 77.64 iManufacturer 0 iProduct 1 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0001 1x 1 bytes bInterval 12 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 1 Single TT bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0002 2.0 root hub bcdDevice 4.04 iManufacturer 3 iProduct 2 iSerial 1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 12
16th May, 2017, 09:01 AM
16th May, 2017, 09:46 AM
Code:
sudo modprobe mt7610u_sta
just asks for password and goes back to "xbian@xbian ~ $"
I ran
Code:
echo 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="a0:b1:c2:d3:e4:f5", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="wlan0"' | sudo tee -a /etc/udev/rules.d/70-persistent-net.rules
with a reboot and nothing happened.
Just ran
Code:
sudo lshw
Terminal
*-usb:1 UNCLAIMED
description: Generic USB device
product: 802.11 n WLAN
vendor: MediaTek
physical id: 3
bus info: usb@1:1.3
version: 0.00
serial: 1.0
capabilities: usb-2.01
configuration: maxpower=160mA speed=480Mbit/s
description: Generic USB device
product: 802.11 n WLAN
vendor: MediaTek
physical id: 3
bus info: usb@1:1.3
version: 0.00
serial: 1.0
capabilities: usb-2.01
configuration: maxpower=160mA speed=480Mbit/s
So it does see the device but does not want to use it?
16th May, 2017, 10:10 AM
I still do not know if module mt7610u_sta is loaded or not?
Please give me output of
sudo lsmod
after a reboot
Please give me output of
Terminal
sudo lsmod
after a reboot
16th May, 2017, 11:23 PM
(16th May, 2017 10:10 AM)Nachteule Wrote: [ -> ]Please give me output of
Terminal
sudo lsmod
after a reboot
Terminal
xbian@xbian ~ $ sudo lsmod
[sudo] password for xbian:
Module Size Used by
cpufreq_conservative 3550 1
zram 17994 1
zsmalloc 14883 1 zram
mt7601u 75559 0
evdev 11221 3
joydev 9032 0
mac80211 569349 1 mt7601u
ax88179_178a 14451 0
pwm_bcm2835 2787 0
bcm2835_gpiomem 2937 0
lirc_rpi 6558 3
lirc_dev 7760 1 lirc_rpi
rc_core 17824 1 lirc_dev
uio_pdrv_genirq 3274 0
uio 7549 1 uio_pdrv_genirq
fixed 2568 0
cfg80211 448094 2 mac80211,mt7601u
rfkill 15709 1 cfg80211
snd_bcm2835 19199 0
snd_pcm 74691 1 snd_bcm2835
snd_timer 20123 1 snd_pcm
snd 51053 3 snd_timer,snd_bcm2835,snd_pcm
rpcsec_gss_krb5 20973 0
uinput 7935 1
16th May, 2017, 11:52 PM
Thanks, you're confusing me
Module mt7601u is being loaded and active, seems you do not have a mt7610u wlan usb dongle
Your output of lsusb -v is quite unreadable, could you please add output of lsusb for the sake of completeness
Seems this thread is completely wrong for your issue
Module mt7601u is being loaded and active, seems you do not have a mt7610u wlan usb dongle
Your output of lsusb -v is quite unreadable, could you please add output of lsusb for the sake of completeness
Seems this thread is completely wrong for your issue
17th May, 2017, 02:31 AM
I had the output of lsusb noted down.
148f:7601 Ralink Technology, Corp.
148f:7601 Ralink Technology, Corp.
17th May, 2017, 02:34 AM
(17th May, 2017 02:31 AM)TheDutypaid Wrote: [ -> ]I had the output of lsusb noted down.
148f:7601 Ralink Technology, Corp.
Ok, so you are absolutely wrong here
Please open new thread or continue here
Btw, a quick google session found possible reason for your issue, but I do not post it here because of wrong thread
9th Jan, 2020, 08:53 PM
(20th Feb, 2016 09:35 AM)greenbag Wrote: [ -> ](20th Feb, 2016 09:04 AM)Nachteule Wrote: [ -> ]What happens if you do aQuote:sudo modprobe mt7610uBtw, should not be a problem to add this driver to our kernel
It gives a fatal panic saying it can't find it. I think it's supposed to be sudo modprobe mt7610Usta, as that's what's needed for the mt7601u chip. Neither work.
I'm coming from openelec, basically because it's so damn hard to add anything to the root system unless you compile it into the entire image. Not as easy as a knoppix remaster though. And osmc's too buggy for me. So.. I came upon xbian. So far I like it.. I can install things. It also looks like it has perl, or at least I can install it. I need that for zap2xml.
You are right. I am also able to install things