LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-31-2005, 11:36 PM   #1
DDoS YourseLF
Member
 
Registered: Jul 2005
Location: 127.0.0.1
Distribution: Slackware 10.1
Posts: 33

Rep: Reputation: 15
Really simple question


I want the following on Slackware 10.1.

On boot:

swapon /dev/hdb3
modprobe ndiswrapper
(5 second pause)
dhcpcd wlan0

Any help is appeciated it in advanced.
 
Old 07-31-2005, 11:55 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
First off, swap is generally automatically activated by the system at the appropriate time. Just add a line like this to your /etc/fstab:
Code:
/dev/hdb3 none swap sw 0 0
For the rest, in whatever init script you intend to place this in (rc.local, perhaps), just add:
Code:
modprobe ndiswrapper
sleep 5
dhcpcd wlan0
Though I think you'd probably want something like:
Code:
modprobe ndiswrapper
iwconfig wlan0 essid YOURESSID
sleep 5
dhcpcd wlan0
 
Old 08-01-2005, 12:20 AM   #3
DDoS YourseLF
Member
 
Registered: Jul 2005
Location: 127.0.0.1
Distribution: Slackware 10.1
Posts: 33

Original Poster
Rep: Reputation: 15
Worked like a charm, thank you very much!

+++Kudos
 
Old 08-01-2005, 12:24 AM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
No problem. Glad it works for you.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Fluxbox simple question, simple answer? generallimptoes Linux - Software 3 09-26-2005 02:03 PM
Installing Programs - A simple question from my simple mind jmp875 Linux - Newbie 6 02-18-2004 09:03 PM
simple question vadertech Linux - Newbie 14 01-26-2004 07:41 PM
Simple(hopefully) question magyartoth Linux - Networking 13 04-04-2002 02:24 PM
simple question seeking simple answer enzo250gto Linux - Newbie 1 10-27-2001 04:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:26 PM.

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