LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-29-2012, 09:05 PM   #1
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
wireless access point disconnect?


Hi, not sure if network thread or slackware.

Sometimes Toshiba M55-S1001 laptop loses connection to WAP. Not sure how to get it back without rebooting.

Networking is all there just can't communicate with WAP.

Slackware 13.1.0/2.6.33.5 and up to date.

I have same setup on A21m ThinkPad and it doesn't lose WAP when Toshiba does.

Is there a way to re-establish WAP connection without rebooting?

Can provide additional info as necessary.

thanks
 
Old 04-30-2012, 12:59 AM   #2
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Rep: Reputation: 59
Try this
Code:
/etc/rc.d/rc.inet1 restart
and yes, additional info would be useful, if you want to fix/find out what causes it.
 
Old 04-30-2012, 02:32 AM   #3
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

Rep: Reputation: Disabled
In addition to the above, you can also specify your interface like this:
Code:
/etc/rc.d/rc.inet1 wlan0_restart
I've only had disconnection problems with gui network managers (e.g. wicd, NetworkManager) and you can reconnect using those programs too.

You also might be able to get away with "dhcpcd" assuming everything is setup as desired.
 
Old 04-30-2012, 07:54 AM   #4
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
additional information

Forgot to say, the networking on the toshiba which loses the WAP can run for weeks/months without losing connection to the WAP.

I've used the following for couple years in /etc/rc.d/rc.local on both the thinkpad, laptop without any problem, and the
toshiba which has WAP disconnect problem.

/usr/sbin/wpa_supplicant -B -c/etc/wpa_supplicant.conf -iath0
sleep 5
/sbin/ifconfig ath0 up 192.168.0.199
/sbin/route add default gw 192.168.0.1
/sbin/iwconfig ath0 rate 54M

As I said before when toshiba loses the WAP the thinkpad does not.

I've tried to restart doing
/sbin/route del default gw 192.168.0.1
/sbin/ifconfig ath0 down
killall wpa_supplicant

then all the rc.local lines above, when I can't get connected and restart wireless, ifconfig shows ath0 has ip and mac address, iwconfig does not show connection to WAP.

What kind of other additional information would be helpful?
 
Old 05-03-2012, 09:40 AM   #5
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
next time this happens, I'll restart the WAP

Next time Toshiba laptop loses connection to wireless access point I'm going to turn off the wireless access point then turn it back on, then restart the wireless on the laptop to see what happens.

Will post back whenever that happens.
 
  


Reply



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
How do I get my wireless modem to work as an access point for wireless devices? Mac_09 Linux - Networking 5 07-13-2008 12:51 AM
Wireless router to wireless access point J3N7iL Linux - Wireless Networking 2 09-29-2005 08:55 PM
Wireless Router vs Wireless Access Point IBall Linux - Wireless Networking 2 02-01-2005 12:29 PM
Which is the best Wireless Access Point and Wireless Card? hamish Linux - Wireless Networking 13 05-04-2004 10:26 AM

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

All times are GMT -5. The time now is 04:46 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