LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-14-2008, 05:35 PM   #1
r52
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
Rc.local + Slackware & the Internet!


I am a complete beginner to linux/unix and probably havent made things easier by installing slackware. Anyway, so far everything is working fine except my wireless card which I have to set up in the console each time I reboot. I have an atheros AR5212 802.11 abg card in an IBM r40 thinkpad.
Ive read about editing the rc.local file and the possibility of adding a script in there.

This is what I put into console at startup:
modprobe ath_pci
ifconfig ath0 up
modprobe wlan_scan_sta
iwconfig ath0 essid "home"
iwpriv ath0 authmode 1
iwconfig ath0 key sassword
dhclient ath0

[I dont know if I need to put all this in but Ive just copied it from a tutorial on the net]. How can I make a simple script to execute this.

Am I thinking along the right lines or is there a far easier way of achieving the same goal?

Any help would be much appreciated.
R
 
Old 09-14-2008, 05:44 PM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
There is a thread about this in the Slackware forum. See also here:

http://alien.slackbook.org/dokuwiki/...ckware:madwifi
 
  


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
Slackware 12.1 RC.Local won't start (AMP) xeross Linux - Server 3 06-15-2008 04:36 AM
switching between slackware 12 & ubuntu hardy stops internet connection (dsl) spamhippy Linux - Networking 9 06-01-2008 03:42 AM
AOL UK && BT Voyager 100 && Slackware 10.2 && RP-PPPoE pitt0071 Linux - Networking 3 01-17-2006 06:10 AM
(FreeBSD && Fedora Core 4 && Slackware 10.0) Filesystem Support taylor_venable *BSD 1 07-14-2005 02:24 PM
Slackware & internet TiCkO Linux - Networking 10 05-19-2004 09:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration