LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 09-16-2013, 04:07 PM   #1
kandi9973
LQ Newbie
 
Registered: Sep 2013
Posts: 6

Rep: Reputation: Disabled
WiFi connection dropping in Linux Mint


Hi,
I'm an old hand at Windows but pretty new at Linux. I'm running Linux Mint 15. I've installed NDISwrapper and the windows driver (bcmwlhigh5) for the Linksys AE2500 USB wireless adapter.

When I boot up, the system connects to the wireless network, but more often than not, after a short time the connection will be lost. The Mint tells me the connection remains, but all data output/input over the network comes to a halt. I have to reboot the system to reconnect.

I've got a good signal from my Cisco DPQ3925 router via a Linksys RE2000 range extender. I've downloaded and run inSIDDer and moved my broadcast from channel 6 to channel 1 to avoid excess interference.

Also, my c:\ drive is dual-boot, and when I boot into Windows Vista or Windows 8, I don't have the same drop-out problem. (All there OSs have different static IP addresses).

Any ideas? I'm at my wit's end.

Kandi
 
Old 09-18-2013, 01:31 AM   #2
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
you could try wicd instead of the default network manager

wicd doesn’t have the extras, like vpn management that NetworkManager has, but I have found it more reliable with 'flaky' wifi drivers


Alternative...
I'm not familiar with the Linksys AE2500 USB,
You could look for alternative non-NDISwrapper drivers

had a very quick look and found this
http://wikidevi.com/wiki/Linksys_AE2500
on the right side..
Quote:
Linux driver
depends on chip revision
brcmfmac (in backports) supports r3 chips
r1/r2 chips appear to be more common and do not use the fullmac driver model
(see also passys)

if you do ( in terminal )

Code:
lsusb
( you may need root )
and compare the USB Device ID to those listed in
http://wireless.kernel.org/en/users/Drivers/brcm80211

we can go from there..
post the relevant line from lsusb if you need further help
 
Old 09-19-2013, 11:43 AM   #3
kandi9973
LQ Newbie
 
Registered: Sep 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
First of all, thanks for your very professional reply.

Ok, I used the Synaptic Package Manager to install wicd and it's related files. An icon appeared on the system tray. But, when I tried to launch it, I got the error message, “Could not connect to wicd's D-Bus interface. Check wicd log for error messages.” This was immediately followed by a window saying, “wicd needs to logon to the wireless network,” which was followed by the same “could not connect, etc” error message.

As for the Linux driver, I ran lsusb, which showed the following: chipset = 13b1:003A (note, there was no indication of r1, r2 or r3); Broadcom (bcm43236). After following the leads you supplied, apparently the linux driver that's needed is the brcmfmac (usb) driver. The Broadcom web page indicates that no firmware need be downloaded, only to “cp brcm/brcmfmac432236b.bin /lib/firmware/brcm.”

I've checked the package manager to see if brcmfmac can be installed from a repository, but all I find is “brcm-patchram-plus-nexus7”. I've tried adding the following linux firmware repository, “git.kernel.org/cgit/linux/kernel/git/firmware/linux”, but was unsuccessful.

So, while I sense that the answer to my problem may be found in either or both of your suggestions, frankly, being from the Windows world, I'm not knowledgeable enough about the command line to find these files or the wicd error logs. Or, is this simpler than it seems?
 
Old 09-19-2013, 12:17 PM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 19
Posts: 6,168
Blog Entries: 21

Rep: Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089
Quote:
Check wicd log for error messages.
What did it say to help firerat out?

Post also after typing in terminal

Code:
mintwifi
place between code tags "#" it is in go advanced reply box in the toolbar.

Edit: Did synaptic show that Network Manager was unistalled/removed when you told it to install wicd? Having both running causes problems also.

http://askubuntu.com/questions/55868...reless-drivers

Last edited by rokytnji; 09-19-2013 at 12:23 PM.
 
Old 09-19-2013, 12:23 PM   #5
kandi9973
LQ Newbie
 
Registered: Sep 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
OK, as a follow-up:
I used what little command line skills I have to locate the brcmfmac file as follows:"/lib/firmware/brcm/brcmfmac43236b.bin". So the driver is on the computer. And, because it is located in the "/lib/firmware/brcm/" directory, there is no apparent need to copy it. So far, so good.

But, since the driver has been there all this time and yet the wifi keeps dropping, unless there is something more to do with it (install? config? start?) its presence doesn't seem to be the answer. Is there something more I can do?
 
Old 09-19-2013, 01:25 PM   #6
kandi9973
LQ Newbie
 
Registered: Sep 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Update and correction: I neglected to say that after I got the error message, “Could not connect to wicd's D-Bus interface”, and after the error message, “Check wicd log for error messages”, and after the window saying, “wicd needs to logon to the wireless network,” I got the following “error connecting to the wicd service via D-Bus. Please ensure the wicd service is running” error message.

To see if the wicd service is running, in the terminal I typed “ls” and saw, among other things, “srv”, which I took to indicate “services” (but I'm not sure). I changed directory to “srv”, then typed “ls” and it said “total 0.” So, it appearing that the wicd service was not running, I typed, “sudo service wicd start”, and got the following, “starting network connection manager wicd [failed]”.

Also, I checked the package manager to see if Network Manager was still installed, and it was (along with 3 or 4 similar files). Not knowing which files to remove, I left them all.

As for the wicd log, I looked under /var/log/wicd/ but it shows nothing at all, just blank space.
 
Old 09-19-2013, 02:33 PM   #7
kandi9973
LQ Newbie
 
Registered: Sep 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Code:
 $ mintwifi 
------------------------- 
* I. scanning WIFI PCI devices... 
------------------------- 
* II. querying ndiswrapper... 
bcmwlhigh5 : driver installed 
	device (13B1:003A) present 
------------------------- 
* III. querying iwconfig... 
wlan0     IEEE 802.11g  ESSID:"2c86f8"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 4C:72:B9:2C:86:F8   
          Bit Rate=130 Mb/s   Tx-Power:32 dBm   
          RTS thr:2347 B   Fragment thr:2346 B   
          Power Management:off 
          Link Quality:75/100  Signal level:-48 dBm  Noise level:-96 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0 
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0 

lo        no wireless extensions. 

eth0      no wireless extensions. 

------------------------- 
* IV. querying ifconfig... 
eth0      Link encap:Ethernet  HWaddr 00:1b:fc:9b:74:47  
          inet addr:192.168.0.10  Bcast:192.168.0.255  Mask:255.255.255.0 
          inet6 addr: fe80::21b:fcff:fe9b:7447/64 Scope:Link 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
          RX packets:176655 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:105317 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:1000 
          RX bytes:255222774 (255.2 MB)  TX bytes:8983956 (8.9 MB) 

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:65536  Metric:1 
          RX packets:888 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:888 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:0 
          RX bytes:84615 (84.6 KB)  TX bytes:84615 (84.6 KB) 

wlan0     Link encap:Ethernet  HWaddr 48:f8:b3:71:be:94  
          inet addr:192.168.0.12  Bcast:192.168.0.255  Mask:255.255.255.0 
          inet6 addr: fe80::4af8:b3ff:fe71:be94/64 Scope:Link 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
          RX packets:1370 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:1144 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:1000 
          RX bytes:327482 (327.4 KB)  TX bytes:368688 (368.6 KB) 

------------------------- 
* V. querying DHCP... 
Rather than invoking init scripts through /etc/init.d, use the service(8) 
utility, e.g. service smbd reload 

Since the script you are attempting to invoke has been converted to an 
Upstart job, you may also use the reload(8) utility, e.g. reload smbd 
RTNETLINK answers: File exists 
------------------------- 
* VI. querying nslookup google.com... 
Server:		68.105.28.11 
Address:	68.105.28.11#53 

Non-authoritative answer: 
Name:	google.com 
Address: 173.194.115.7 
Name:	google.com 
Address: 173.194.115.8 
Name:	google.com 
Address: 173.194.115.9 
Name:	google.com 
Address: 173.194.115.14 
Name:	google.com 
Address: 173.194.115.0 
Name:	google.com 
Address: 173.194.115.1 
Name:	google.com 
Address: 173.194.115.2 
Name:	google.com 
Address: 173.194.115.3 
Name:	google.com 
Address: 173.194.115.4 
Name:	google.com 
Address: 173.194.115.5 
Name:	google.com 
Address: 173.194.115.6
 
Old 09-19-2013, 08:16 PM   #8
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Code:
sudo service wicd start

a reboot will also work
 
Old 09-23-2013, 06:31 PM   #9
kandi9973
LQ Newbie
 
Registered: Sep 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Ok, I think I've got the rather discouraging answer: the usb dongle I was using has a broadcom chipset (brcm432360) which is not the r3 that would allow it to run in linux in a stable, reliable manner.

For those who might be interested, I've also discovered a list of usb adapters that offer open-source drivers (http://www.cyberciti.biz/tips/linux-...y-adapter-list). From what I can tell, most of these adapters use the atheros 9170 chipset. Also, I found ThinkPenquin.com which peddles linux friendly hardware, etc.

I'm no expert, but I've spent alot of time looking into this, and I think my conclusions are pretty valid.

So, in at least for now, what I've decided to do is kind of a cheap-out...I bought a Netgear Powerline 500 which uses the wiring in your house (whatever) and allows you to easily and conveiently connect the computer via ethernet cable. Problem solved? I don't know, but at least I've got an internet connection where I didn't before.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux mint wifi connection trough terminal incruator Linux - Newbie 1 07-28-2013 04:39 AM
Help : Wifi Connection dropping with network manager speigel205 Linux - Wireless Networking 2 01-23-2012 09:34 AM
Wifi connection keeps dropping - please help! meglamanaic Linux - Wireless Networking 7 05-17-2007 10:40 PM
DLink 624+ and dropping wifi connection kahn Linux - Wireless Networking 1 07-04-2005 07:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 02:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration