leoxsys LEO NANO 150N usb wireless adapter on linux mint 16 not working

Cannot connect to internet leoxsys LEO NANO 150N wireless usb adapter even after
going through all the steps of topic 11154 on my linux mint 16 (petra) desktop.
The vendor ID 148f is MediaTek and 7601 is productID. Is there a linux driver for 7601
that can be compiled and integrated in the system?
The relevant outputs are listed below.

mint@mint ~ $ inxi -n
Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
IF: eth0 state: up speed: 100 Mbps duplex: full mac: 00:20:ed:ff:ff:ff
Card-2: Ralink
IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A

mint@mint ~ $ uname -a
Linux mint 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:12:00 UTC 2013 i686 i686 i686 GNU/Linux

mint@mint ~ $ lsusb
Bus 001 Device 003: ID 148f:7601 Ralink Technology, Corp.

mint@mint ~ $ sudo lshw -C network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 02
serial: 00:20:ed:ff:ff:ff
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=192.168.2.2 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:42 ioport:d000(size=256) memory:e1110000-e1110fff memory:e1100000-e110ffff memory:e1120000-e112ffff

Hi nvs, and welcome to the forum :slight_smile:

Whilst I’ve never tried compiling these against the 3.11 kernel, they certainly compile against 3.8

In best Blue Peter fashion … here’s one I prepared earlier:
http://peppermintos.net/viewtopic.php?p=41805#p41805

I’ll repost my instructions here though:-

Ralink wireless driver 148f:7601 (for wireless adapters with the Ralink MT7601U chipset)

Make sure you have an active internet connection (connect to your router by an ethernet cable if you need to), then open a terminal and run these commands in sequence:

sudo apt-get install linux-headers-generic build-essential

then

mkdir ~/MT7601-Driver

then

cd ~/MT7601-Driver

then

wget https://dl.dropboxusercontent.com/u/11876059/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.gz

then

tar xvf DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.gz

then

cd ~/MT7601-Driver/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913

then

make

then

sudo make install

then

sudo modprobe mt7601Usta

Did wireless spring to life ?

If so, check it survives a reboot.

Mark,

You are great. It worked and survived reboot.

Thank you very much.

nvs

You’re most welcome :slight_smile:

I tried to set up a wireless network connection from menu->preferences->network connections and entered connection name, SSID of my Belkin router,
mode infrastructure, router mac address for BSSID, and USB mac address for device mac address. In the router I added usb mac address in wireless access
control list and in wlan section of lan interface. With that set up I tried to connect to internet after disconnecting the wired connection. I could not connect to internet.

What am I doing wrong?
inxi -n
Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
IF: eth0 state: up speed: 100 Mbps duplex: full mac: 00:20:ed:ff:ff:ff
Card-2: Ralink driver: rt2870
IF: ra0 state: down mac: 12:34:56:00:09:43

After executing ifup -a,
inxi -n
Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
IF: eth0 state: up speed: 100 Mbps duplex: full mac: 00:20:ed:ff:ff:ff
Card-2: Ralink driver: rt2870
IF: ra0 state: down mac: 12:34:56:00:09:43
ra0 state remains down.

OK, it seems to have gone back to using the rt2870 driver

What’s the output from:

sudo lshw -C network

ravi@earth ~ $ sudo lshw -C network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 02
serial: 00:20:ed:ff:ff:ff
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=192.168.2.2 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:42 ioport:d000(size=256) memory:e1110000-e1110fff memory:e1100000-e110ffff memory:e1120000-e112ffff
*-network DISABLED
description: Wireless interface
physical id: 1
logical name: ra0
serial: 12:34:56:00:09:43
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=RALINK WLAN multicast=yes wireless=Ralink STA

ravi@earth ~ $ lsusb
Bus 001 Device 002: ID 148f:7601 Ralink Technology, Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

ravi@earth ~ $ sudo lsmod | grep 7601
mt7601Usta 744038 0

post the full output from

lsmod

and

rfkill list

@nvs

If your copy and pasting these commands into the terminal, the second command should be

rfkill list

fixed above … thanks Emegra :slight_smile:

ravi@earth ~ $ lsmod
Module Size Used by
cfg80211 401436 0
bnep 18893 2
rfcomm 53664 0
bluetooth 323534 10 bnep,rfcomm
binfmt_misc 13140 1
coretemp 13195 0
gpio_ich 13229 0
ppdev 17391 0
mt7601Usta 744038 0
snd_hda_codec_realtek 45473 1
snd_hda_intel 42658 3
snd_hda_codec 164003 2 snd_hda_codec_realtek,snd_hda_intel
microcode 18830 0
snd_hwdep 13272 1 snd_hda_codec
snd_pcm 89488 2 snd_hda_codec,snd_hda_intel
dm_multipath 22402 0
scsi_dh 14458 1 dm_multipath
snd_page_alloc 14230 2 snd_pcm,snd_hda_intel
snd_seq_midi 13132 0
snd_seq_midi_event 14475 1 snd_seq_midi
snd_rawmidi 25094 1 snd_seq_midi
lpc_ich 16864 0
snd_seq 55383 2 snd_seq_midi_event,snd_seq_midi
serio_raw 13189 0
snd_seq_device 14137 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 24447 2 snd_pcm,snd_seq
parport_pc 31981 1
snd 60790 16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
mac_hid 13037 0
soundcore 12600 1 snd
lp 13299 0
parport 40795 3 lp,ppdev,parport_pc
hid_generic 12492 0
usbhid 47361 0
hid 87192 2 hid_generic,usbhid
dm_mirror 21715 0
dm_region_hash 15984 1 dm_mirror
dm_log 18072 2 dm_region_hash,dm_mirror
i915 589697 3
video 18777 1 i915
i2c_algo_bit 13197 1 i915
drm_kms_helper 46867 1 i915
drm 242354 4 i915,drm_kms_helper
r8169 61434 0
mii 13654 1 r8169
ravi@earth ~ $ rfkill list
ravi@earth ~ $

Undo whatever you did … ie. delete all wireless connections in networkmanager.

Then reboot.

Are you sure you haven’t disabled wireless with a hardware switch ?

I’m baffled by your not having any output from “rfkill list” … and why the card has become “disabled”

Does removing the driver, then reinserting it make a difference ?:

sudo modprobe -r mt7601Usta

then

sudo modprobe mt7601Usta

After I deleted WiFi1 only Ethernet connection 1 is left as shown below.

ravi@earth /etc/NetworkManager/system-connections $ ls
Ethernet connection 1

ravi@earth ~ $ sudo modprobe -r mt7601Usta
[sudo] password for ravi:
ravi@earth ~ $ sudo modprobe mt7601Usta
ravi@earth ~ $

After that I created WiFi1 as indicated here

ravi@earth ~ $ sudo cat /etc/NetworkManager/system-connections/WiFi1
[sudo] password for ravi:
[connection]
id=WiFi1
uuid=70f89d0d-4558-4133-b5a4-a8e8fa12105e
type=802-11-wireless

[802-11-wireless]
ssid=SKS
mode=adhoc
bssid=EC:1A:59:90:40:6C
mac-address=12:34:56:00:09:43
security=802-11-wireless-security

[802-11-wireless-security]
key-mgmt=wpa-psk
proto=rsn;
pairwise=ccmp;
group=ccmp;
psk=wh0ami?!

[ipv4]
method=auto

[ipv6]
method=auto

When I disconnected the wired Ethernet connection and I tried to switch on wireless connection
the connection name HOME appeared. Trying to turn that on repeatedly kept asking for password
authentication but never established connection. I deleted that connection. Rebooted the system.
Created a new connection with mode Ad-hoc.
ravi@earth ~ $ sudo cat /etc/NetworkManager/system-connections/WiFi1
[sudo] password for ravi:
[connection]
id=WiFi1
uuid=70f89d0d-4558-4133-b5a4-a8e8fa12105e
type=802-11-wireless

[802-11-wireless]
ssid=SKS
mode=adhoc
bssid=EC:1A:59:90:40:6C
mac-address=12:34:56:00:09:43
security=802-11-wireless-security

[802-11-wireless-security]
key-mgmt=wpa-psk
proto=rsn;
pairwise=ccmp;
group=ccmp;
psk=********

[ipv4]
method=auto

[ipv6]
method=auto

Now clicking on the network icon at bottom right, disonnecting wired connection and clicking on
wireless shows unavailable and automatically creates a connection “Auto HOME” and goes into
authentication loop endlessly generating additional “Auto HOME” connections.

I am frustrated and ready to give up. Anyway, it is 11:30 and I feel sleepy. Will resume tomorrow.

Why are you manually creating the connection ? … is your wireless hidden ?

and why are you setting it as an adhoc network

Yes, I have set router to not broadcast SSID and I have also entered LEO NANO
ethernet address in wireless access control list and in the WLAN section of the LAN
interface.

After reading your comment I changed the Belkin router configuration to default
configuration and that created a wireless connection “Auto belkin.06C” listed below.

earth system-connections # cat Auto\ belkin.06C
[connection]
id=Auto belkin.06C
uuid=2bd95e60-74ca-4850-9bc7-37af1dc76fe1
type=802-11-wireless

[802-11-wireless]
ssid=belkin.06C
mode=infrastructure
security=802-11-wireless-security

[802-11-wireless-security]
key-mgmt=wpa-psk
auth-alg=open
psk=********

[ipv4]
method=auto

[ipv6]
method=auto

This connection is established but I cannot connect to the internet.

Are you able to ping both your routers IP and the IP of Google.com ?

What’s the output from:

ping -c 5 173.194.34.131

and
ping -c 5 <ip.address.of.router>

No, I cannot even ping 192.168.2.1 the IP address of my Belkin router with the connection wifi1, a hidden network, listed below.
I probably need to do something in ipv4 setting but don’t know what. It has only one entry method “Automatic DHCP”

earth system-connections # cat wifi1
[connection]
id=wifi1
uuid=d2033f03-1280-4b44-83b4-0428249ca6ac
type=802-11-wireless

[802-11-wireless]
ssid=SKS
mode=infrastructure
bssid=EC:1A:59:90:40:6C
mac-address=12:34:56:00:09:43
security=802-11-wireless-security

[802-11-wireless-security]
key-mgmt=wpa-psk
psk=*********

[ipv4]
method=auto

[ipv6]
method=auto

For now disable mac address filtering and unhide the network SSID in your router … you can enable them again later, but for now it’s complicating things, I want to see if the network adapter/drivers are actually working properly or not.

In network manager delete any wireless connections.

click the networkmanager icon in your system tray … is your network listed ?

if so, click on it to connect … enter your Mint password and wireless key … did it connect ?

is the internet available ?

Sorry for the delay. I was visiting my sister in Mumbai. Now I am back to U.S. I hope my registration will be forever.
I will ask my niece-in-law who is unfamiliar with linux but well-versed in windows to make changes to configuration
that you will recommend.

After I set the router to default configuration I got connected to the router but not to the internet. Here is what I got.
ravi@earth ~ $ sudo cat /etc/NetworkManager/system-connections/b
[sudo] password for ravi:
[connection]
id=Auto belkin.06C
uuid=8ca4e7bd-088c-4c51-8aac-4add9bbe5a2e
type=802-11-wireless

[802-11-wireless]
ssid=belkin.06C
mode=infrastructure
security=802-11-wireless-security

[802-11-wireless-security]
key-mgmt=wpa-psk
auth-alg=open
psk=********

[ipv4]
method=auto

[ipv6]
method=auto

ravi@earth ~ $ ping -c5 192.168.2.1
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
64 bytes from 192.168.2.1: icmp_seq=1 ttl=30 time=1.56 ms
64 bytes from 192.168.2.1: icmp_seq=2 ttl=30 time=1.37 ms
64 bytes from 192.168.2.1: icmp_seq=3 ttl=30 time=1.41 ms
64 bytes from 192.168.2.1: icmp_seq=4 ttl=30 time=1.53 ms
64 bytes from 192.168.2.1: icmp_seq=5 ttl=30 time=1.50 ms

— 192.168.2.1 ping statistics —
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 1.376/1.478/1.567/0.080 ms

Networking screen for belkin.06C shows

belkin.06C
Connected
Hardware Assress 12:34:56:00:09:43
Security WPA, WPA2
Strength Excellent
Link Speed 54 Mb/s
IP Address 192.168.2.2
Default Route 192.168.2.1
DNS 192.168.2.1

DNS address above is that of the router. The network connection has no routing information added.

So what happens now if you try pinging google.com by IP

ping -c 5 173.194.41.166