LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-14-2005, 02:40 PM   #1
jasone
Member
 
Registered: Oct 2004
Location: Sweden
Distribution: FreeBSD, OpenBSD, Debian Etch
Posts: 160

Rep: Reputation: 30
restart wireless nic


Hi!

I know this is a newbie question but it's also slackware specific so I decided to post here anyway.

I simply need the command line to restart my wireless nic (pc-card) in slack. All I could find was general linux but it didn't work.

What I did was: /etc/init.d/pcmcia restart
and my answer was: No such file or directory.

Thanks in advance for helpful replies!
 
Old 04-14-2005, 03:34 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
You need this Slackware packages (you may already have it): http://www.slackware.com/pb/download...s-3.2.8-i486-1
And use: /etc/rc.d/rc.pcmcia restart
Remember that init.d applies to those distributions using System V init style, Slackware uses BSD style (it has a compatibility package for System V, but that's another story ).
 
Old 04-14-2005, 04:04 PM   #3
jasone
Member
 
Registered: Oct 2004
Location: Sweden
Distribution: FreeBSD, OpenBSD, Debian Etch
Posts: 160

Original Poster
Rep: Reputation: 30
Thanks for the reply!

I do have the file rc.pcmcia in my /etc/init.d/ directory. Doesn't that mean I've already got the package you was talking about? I took the full install. Well the: /etc/rc.d/rc.pcmcia restart don't work so I guess I need to know how to find out if it's installed or not. Help someone?

Edit:

I would like to make it clear that the nic is up and running in monitor mode (rfmon) and when I pop it out and put it back in it works in regular mode but I want to do this within linux instead...

Last edited by jasone; 04-14-2005 at 04:24 PM.
 
Old 04-14-2005, 06:55 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Quote:
Well the: /etc/rc.d/rc.pcmcia restart don't work so I guess I need to know how to find out if it's installed or not. Help someone?
What's the error you get? Maybe the file is not executable, try:
Code:
chmod +x /etc/rc.d/rc.pcmcia && /etc/rc.d/rc.pcmcia start
 
Old 04-15-2005, 12:45 AM   #5
jasone
Member
 
Registered: Oct 2004
Location: Sweden
Distribution: FreeBSD, OpenBSD, Debian Etch
Posts: 160

Original Poster
Rep: Reputation: 30
Thanks for the tip! I'm not at home with my box right now so I can't test it but:

When I'm in that directory the error is: rc.pcmcia: command not found. When I'm in another directory I'll get bash:/etc/init.d/rc.pcmcia no such file or directory...

Or something like that. My rc.pcmcia has a * after the last character and is green which would mean it's executable. Am I wrong?

Last edited by jasone; 04-15-2005 at 12:47 AM.
 
Old 04-15-2005, 12:55 PM   #6
jasone
Member
 
Registered: Oct 2004
Location: Sweden
Distribution: FreeBSD, OpenBSD, Debian Etch
Posts: 160

Original Poster
Rep: Reputation: 30
If someone in the future need to know:

I chmod:ed /etc/rc.d/rc.pcmcia with the flag -x and after that with 751 which did it for me and I can restart my nic!

Thank you all for your help. It's because people like you this is one of the best forums I ever participated in...
 
  


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
wireless connection requires network restart bbcar Linux - Wireless Networking 1 11-21-2005 02:02 AM
best way to restart a wireless card/daemon? lefty.crupps Linux - Wireless Networking 3 08-22-2005 01:36 PM
A Fix for PCMCIA NIC Restart Problem masonm Slackware 1 04-04-2005 10:33 AM
How do I get my wireless setting to take on restart? mordak Linux - Wireless Networking 4 03-08-2005 05:01 PM
Wireless network w/o a wireless NIC? rsheridan6 Linux - Wireless Networking 1 08-30-2004 12:03 AM

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

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