LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-04-2005, 01:19 AM   #1
Vindane
Member
 
Registered: Jan 2004
Location: Indiana
Distribution: Fedora
Posts: 117

Rep: Reputation: 15
startup script ... again.


I've searched through alot of posts pertaining to startup scripts but I'm still not completely sure about it. I'm hoping someone can shed some light on this for me.

I run Slackware 10.1
I edited /etc/rc.d/rc.local. This is exactly how this file reads:
Quote:
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local setup commands in here:

modprobe ndiswrapper
iwconfig wlan0 mode Managed
iwconfig wlan0 key restricted MY KEY
iwconfig wlan0 essid MY ESSID
dhcpcd wlan0
What am I leaving out? Is this the correct file that I should be putting this in?
Thanks!
 
Old 03-04-2005, 02:19 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
You should be able to sqeeze some of that together and I'd add one more command.

modprobe ndiswrapper
iwconfig wlan0 essid MY ESSID mode Managed key restricted MY KEY
ifconfig wlan0 up
dhcpcd wlan0
 
Old 03-04-2005, 02:57 AM   #3
Vindane
Member
 
Registered: Jan 2004
Location: Indiana
Distribution: Fedora
Posts: 117

Original Poster
Rep: Reputation: 15
Hmmm. I tried that suggestion you gave me and it still won't load at start-up. I would list the exact return it gives me but for some reason my System Log isn't wanting to pull up.

Any other suggestions?
 
  


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
'cannot stat' script in /etc/rc.d/, try to run script at startup quintan Linux - Software 1 11-21-2005 02:53 AM
How to call a script from a system startup script? jonatito Linux - Newbie 7 11-11-2005 09:40 PM
startup script rockwell_001 Linux - General 4 04-21-2005 04:22 PM
Script at startup rohde Linux - Newbie 2 09-12-2004 09:32 AM
startup script djinniyah Linux - Newbie 2 09-18-2003 05:07 AM


All times are GMT -5. The time now is 07:59 AM.

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
Open Source Consulting | Domain Registration