LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-13-2007, 01:45 PM   #16
pappy_mcfae
Member
 
Registered: Feb 2007
Location: Dallas
Distribution: Gentoo x86 & x86_64
Posts: 190

Rep: Reputation: 30
Post I understand your frustration...


Quote:
Originally Posted by BCarey View Post
Does anyone have any ideas on this? This is really frustrating.

Brian
Unfortunately, to the best of my knowledge, there is nothing automatic that will resurrect a dead Linux wireless connection.

The script that I made to keep my wireless connections up and running works flawlessly. It works under Slack-11, and it works under Slack-12. It isn't automatic, but I have it set up so that when my wireless connection does die, I can bring the connection back better and more reliably than the automatic Windoze setup. The wireless networking can get flaky under XP, especially on this particular machine. When the wireless dies on the Windoze side, it can take a while for things to work properly again. It always comes back, but until it does, you have to mess with it.

I think that fact says something pretty cool about a well setup Linux Wireless connection. It may not be automatic like M$'s setup, and it may take a little more fidgeting with software to get it right, but once it is right, it is, over all a better connection, by my experience anyway. When you compare reconnecting in ten to fifteen seconds to sometimes taking as long as five minutes under Windoze, I think Linux wins that one.

As far as being able to move between wireless networks, let me make another suggestion. There is an undocumented program in wpa_supplicant-0.58 known as wpa_gui. As the name implies, it is designed to be used under an X-Windows sesssion. What that little dream does is allow you to scan for wireless networks, and assuming the key is either public, or the network is unsecured, connect with them.

In order to get wpa_gui, you need to go back to the source code for your version of wpa_supplicant, and add "wpa_gui" (without quotes) to end of the twelfth line in the Makefile; thusly:
Quote:
ALL=wpa_supplicant wpa_passphrase wpa_cli wpa_gui
.
I have used wpa_gui a few times, and it works as expected.

Until such time as someone makes an automatic wireless reconnection program for Linux, we will have to make due. It's not the worst thing in the world...

Oh yeah, if there is, in fact, a program that automatically reconnects narcoleptic Linux wireless connections, I'd love to know about it myself so I can update my own knowledge base, and have wireless connections that don't fall unconscious.

Blessed be!
Pappy
 
Old 08-13-2007, 02:21 PM   #17
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,212
Blog Entries: 29

Rep: Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421
Quote:
Originally Posted by BCarey View Post
Does anyone have any ideas on this? This is really frustrating.

Brian
Hi,

Which M$Windows driver are you using for ndiswrapper?
 
Old 08-14-2007, 09:03 AM   #18
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,623

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pappy_mcfae View Post
I have used wpa_gui a few times, and it works as expected.
I forgot about this. I'll give it a try. I still don't think it is normal that the connection drops after a seemingly random amount of inactivity. I have a cron job which pings a server every 10 minutes, but even so I often return to my computer to find the connection down.

It does, however, reconnect very quickly by running rc.inet1.

Brian

Last edited by BCarey; 08-14-2007 at 09:05 AM.
 
Old 08-14-2007, 09:05 AM   #19
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,623

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by onebuck View Post
Hi,

Which M$Windows driver are you using for ndiswrapper?
I'm using bcmwl5.

Brian
 
Old 08-14-2007, 11:06 AM   #20
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,212
Blog Entries: 29

Rep: Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421
Quote:
Originally Posted by BCarey View Post
I'm using bcmwl5.

Brian
Hi,

You got the driver from? My reasoning is that if it is a XP driver then you could try the W2K driver if one is available.

If from a XP install cd then I would get the current from M$.

I've had some success with the W2k drivers when the XP would present problems. Could be worth a try.
 
Old 08-14-2007, 11:41 AM   #21
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,623

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by onebuck View Post
Hi,

You got the driver from? My reasoning is that if it is a XP driver then you could try the W2K driver if one is available.

If from a XP install cd then I would get the current from M$.

I've had some success with the W2k drivers when the XP would present problems. Could be worth a try.
I got it from the XP that was pre-installed on my laptop. What is a W2K driver?

/Edit/Oh, yeah, Win 2000. Pardon my stupidity./End-Edit/

Brian

Last edited by BCarey; 08-14-2007 at 12:28 PM.
 
Old 08-15-2007, 03:32 AM   #22
pappy_mcfae
Member
 
Registered: Feb 2007
Location: Dallas
Distribution: Gentoo x86 & x86_64
Posts: 190

Rep: Reputation: 30
Post

Quote:
Originally Posted by BCarey View Post
I forgot about this. I'll give it a try. I still don't think it is normal that the connection drops after a seemingly random amount of inactivity. I have a cron job which pings a server every 10 minutes, but even so I often return to my computer to find the connection down.

It does, however, reconnect very quickly by running rc.inet1.

Brian
My experience is that it also happens under Windoze. The upside of wireless networking under Windoze is that it will automatically keep trying to re-connect until it achieves that goal. The downside is somethimes the adapter gets stuck on a fictitious IP address. Sometimes the "Repair" button needs to be pressed a few times to get it back. While this machine doesn't do it nearly as often as my other laptop, Windoze sometimes gets flaky.

Using my restore script on the Slackware side brings the wireless networking back on line in as little as ten seconds. That is something that Windoze can't do. Wireless networking may be more complicated under Linux; however, once you get it right, it works better than Windoze.

Oh yeah! Take that, M$!

Blessed be!
Pappy
 
Old 08-16-2007, 12:59 PM   #23
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,623

Original Poster
Rep: Reputation: Disabled
Onebuck,

Unfortunately I have no W2K driver. Is there a place on-line to get one?

Pappy,

The thing is, when I used the bcm43xx modules instead of ndiswrapper it never dropped the connection. ndiswrapper seems to drop the connection if there is inactivity for 5-10 minutes. My hack solution has been to ping a server every 5 minutes, now it no longer drops. But it would be nice to have a "real" solution.

Brian
 
Old 08-16-2007, 05:32 PM   #24
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,212
Blog Entries: 29

Rep: Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421Reputation: 2421
Quote:
Originally Posted by BCarey View Post
Onebuck,

Unfortunately I have no W2K driver. Is there a place on-line to get one?

Brian
Hi,

You could go to the Microsoft site and do a search to see if there is one available.
 
  


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
Ndiswrapper wpa_supplicant Query Kane2002 Linux - Wireless Networking 4 08-13-2007 01:56 PM
Ndiswrapper + NetworkManager + wpa_supplicant lonelydreamer Linux - Wireless Networking 5 06-13-2006 07:45 AM
wpa_supplicant and ndiswrapper rabidus Linux - Wireless Networking 2 10-20-2005 10:02 AM
ndiswrapper, wpa_supplicant, prism duette WORKS! esl537 Linux - Wireless Networking 3 08-28-2005 05:57 PM
wpa_supplicant/ndiswrapper seifenblasen Linux - Laptop and Netbook 3 03-24-2005 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration