LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 08-13-2005, 04:27 PM   #1
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Rep: Reputation: 32
best way to restart a wireless card/daemon?


Hey ya-
On my Acer Aspire 3001CLi there is a built-in broadcom card. I have it working with ndiswrapper, and when it works it works well. But occasionally, daily at least, it goes down completely. My kWi-Fi Manager doesn't always see it, but the MEPIS OS center always controlls it best. That, however, cannot always seem to start the card, even if it was just working moments ago.

Is there a good command to try? I tried
Code:
ifconfig wlan0 down
if config wlan0 up
and it brings it down just fine. but not back up... in the mean time, M/OS center doesn't change from still being up, and kWi-Fi still sees it as down....

I am looking for a solid way to run this card. Any ideas?
 
Old 08-13-2005, 08:16 PM   #2
shotwellj
Member
 
Registered: Jul 2005
Location: Tempe, AZ
Distribution: Slackware
Posts: 66

Rep: Reputation: 15
I had a similar problem on a Linux install I did for a friend. I found that it was easiest to reload ndiswrapper. The interface needs to be brought down before removing the module.

Code:
ifconfig wlan0 down
rmmod ndiswrapper
modprobe ndiswrapper
ifconfig wlan0 up

Cheers,
Jacob
 
Old 08-16-2005, 12:42 PM   #3
bejiita
Member
 
Registered: Feb 2004
Location: Upstate NY
Distribution: Slackware
Posts: 79

Rep: Reputation: 15
heres a small script to help you

try this on for size

#!/bin/bash
ifconfig wlan0 down
rmmod ndiswrapper
modprobe ndiswrapper
ifconfig wlan0 up
iwconfig wlan0
dhcpcd wlan0
ifconfig -a
echo "All Done"

Last edited by bejiita; 08-16-2005 at 12:43 PM.
 
Old 08-22-2005, 01:36 PM   #4
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Original Poster
Rep: Reputation: 32
wow i will have to try that. thanks, i'll let you know!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
restart wireless nic jasone Slackware 5 04-15-2005 12:55 PM
How do I get my wireless setting to take on restart? mordak Linux - Wireless Networking 4 03-08-2005 05:01 PM
Restart daemon ust Linux - General 3 02-03-2005 03:25 AM
httpd daemon needs frequent restart to work properly sushil_deore Linux - Software 0 09-16-2004 07:35 AM
How to stop and restart sendmail daemon? J_Szucs Linux - Newbie 4 06-11-2002 11:31 PM


All times are GMT -5. The time now is 02:16 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration