LMDE double-wifi connection issues & constant pop-ups!

Questions about WIFI networks and devices
Forum rules
Before you post please read this

LMDE double-wifi connection issues & constant pop-ups!

Postby chrisbarton on Wed May 09, 2012 4:49 pm

Dear All

Greetings from a newbie linuxer. Well done to all working on LMDE, loving it! :D

However, please could you help me with my connectivity issues. I am constantly getting irritating pop-ups for authentication requests required by my wireless network. I am using LMDE-32 bit 201204 Cinnamon, installed on an external hard disk. I've done a lot of searching but can't seem to find the solution...

For some weird reason, I have two wifis listed: :?: (Is this normal??)

wlan0: Ralink Corp. RT2790 Wireless 802.11n 1T/2R PCIe
wlan1: Ralink 802.11 bg WLAN

wlan0 appears to be causing all the annoying requests, wlan1 seems to be okay. These pop-up requests are regular and constant! :evil:

As you can see from the lsusb output (extract) below, I use a D-Link DWL-G122:

Code: Select all
Bus 001 Device 005: ID 07d1:3c03 D-Link System AirPlus G DWL-G122 Wireless Adapter(rev.C1) [Ralink RT2571W]


Apart from the odd double-wifi problem, the next weird thing is that my conky set up (yes I'm brand new to linux but I'm pleased I already got this far) shows a totally different signal % than the two wifis, wlan0 and wlan1! What the?? (My conky file needed adjusting to point to wlan1 as it previously failed to give results from wlan0).

Could someone please advise me on what to do to:
1. Stop the infinite pop-ups for passwords etc relating to my wifi connection. It is driving me mad!
2. Simplify my wifi to have just one - i see no reason to have two, however I can't erase either of them using the network manager!
3. Get a correct signal % to show on wifi and/or conky!

Thanks in advance! :D
Christopher

p.s. Here is output using sudo /usr/lib/linuxmint/mintWifi/mintWifi.py, if it helps...........

Code: Select all
-------------------------
* I. scanning WIFI PCI devices...
  -- Ralink corp. RT2790 Wireless 802.11n 1T/2R PCIe
      ==> PCI ID = 1814:0781
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
lo        no wireless extensions.

wlan1     IEEE 802.11bg  ESSID:"wifi 164-32" 
          Mode:Managed  Frequency:2.472 GHz  Access Point: 00:1E:58:E8:6E:A6   
          Bit Rate=54 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=46/70  Signal level=-64 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:301   Missed beacon:0

eth1      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
         
-------------------------
* IV. querying ifconfig...
eth1      Link encap:Ethernet  HWaddr 00:1f:16:f6:c9:99 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:20 Memory:fe8e0000-fe900000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:327 errors:0 dropped:0 overruns:0 frame:0
          TX packets:327 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:30957 (30.2 KiB)  TX bytes:30957 (30.2 KiB)

wlan0     Link encap:Ethernet  HWaddr 70:1a:04:63:af:24 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan1     Link encap:Ethernet  HWaddr 00:21:91:7b:ee:4f 
          inet addr:94.224.190.31  Bcast:94.224.191.255  Mask:255.255.248.0
          inet6 addr: fe80::221:91ff:fe7b:ee4f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:39901 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31133 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:48747273 (46.4 MiB)  TX bytes:3093231 (2.9 MiB)

-------------------------
* V. querying DHCP...
Reloading /etc/samba/smb.conf: smbd only.
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
Server:      195.130.130.129
Address:   195.130.130.129#53

Non-authoritative answer:
Name:   google.com
Address: 173.194.65.102
Name:   google.com
Address: 173.194.65.113
Name:   google.com
Address: 173.194.65.138
Name:   google.com
Address: 173.194.65.139
Name:   google.com
Address: 173.194.65.100
Name:   google.com
Address: 173.194.65.101
chrisbarton
Level 1
Level 1
 
Posts: 2
Joined: Wed May 09, 2012 4:32 pm

Linux Mint is funded by ads and donations.
 

Re: LMDE double-wifi connection issues & constant pop-ups!

Postby roger64 on Thu May 10, 2012 6:10 am

Hi

I have a related problem. I only use a Wifi connection. Usually, it works automatically without any problem. AHowever, sometimes, after a long suspend, I am requested for a password by different pop-ups and nothing is working any more. Then I stop, reboots, and it's OK again.

It's a quirk of network-manager, I cannot say more for the moment and I will observe it.
roger64
Level 4
Level 4
 
Posts: 260
Joined: Wed Jun 01, 2011 5:48 am

Re: LMDE double-wifi connection issues & constant pop-ups!

Postby roger64 on Sat May 12, 2012 3:07 am

Two observations:
- network manager does not like to be hurried. I have to wait quietly it establishes or renew the connection. Usually not too long.
- these pop-ups seems to appear when, for some reason the wifi connection has already dropped (provider network is down or some other reason). Then nm is frantically looking for a solution and keep on trying and popping up even when it's useless.

It seems for me that these quirks are caused by an external network failure and nm is in fact not guilty of anything. This is my feeling and I do not pretend it's a general rule.
roger64
Level 4
Level 4
 
Posts: 260
Joined: Wed Jun 01, 2011 5:48 am

Re: LMDE double-wifi connection issues & constant pop-ups!

Postby nobugs on Tue May 15, 2012 10:44 am

hi chrisbarton,

Noticed that your wlan0 is the newer "n" protocol and wlan1 is the older "bg".
You are probably connected using wlan1 (bg) and your system is trying to connect to wlan0 as well.
If you click Network Manager and Edit Connections...Wireless......your connection name for wlan0.......edit and untick the Connect automatically on wlan0, then Apply, it may solve your problem. Apologies if you have already done this. Apart from that I cannot offer much more help as newbie myself. hth
Cheers
nobugs
Level 2
Level 2
 
Posts: 69
Joined: Thu Nov 24, 2011 11:30 pm

Re: LMDE double-wifi connection issues & constant pop-ups!

Postby chrisbarton on Tue May 15, 2012 5:14 pm

Hi nobugs and roger64

Thanks for your comments. I had tried anything and everything to kill wlan0 but to no avail. It was somehow "linked" to wlan1. If I physically switched off wlan0 using the network manager it would also affect wlan1, but if I cancelled the endless pop-ups (literally by hitting the cancel button), then wlan1 would run fine, at least until the next relapse of pop-ups! Trying to delete a wifi connection did nothing - it would not let me do this.

Small update: Thanks to my rather gifted brother-in-law, who is a linux guru, he has managed to somehow disable wlan0 by presumably setting it to point to some static IP, thus stopping it from endlessly searching/scanning. So, whilst I can now still see the two wifis listed on my connections list, wlan0 now has "unmanaged" written against it. I'll try to find out what he did exactly and post it here later.

I still do not understand why I have two wifis running - this is very odd as the only device I have is the D-Link DWL-G122 and nothing else! It seems as if the pc box itself has some kind of internal wifi thing but I never identified this whilst using Windows on it, so what do you think could be going on here?

As for the last thing relating to conky, I do find it odd that the conky signal % differs from that shown against wlan1 in the connections list, despite conky pointing to wlan1 in the conkyrc file.
chrisbarton
Level 1
Level 1
 
Posts: 2
Joined: Wed May 09, 2012 4:32 pm


Return to Wireless

Who is online

Users browsing this forum: No registered users and 3 guests