LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
Search this Thread
Old 02-03-2006, 09:58 PM   #1
bobby_hawk
Member
 
Registered: Jul 2004
Location: Columbus, Ohio
Distribution: Slackware 10.2, RH9, Ubuntu
Posts: 65

Rep: Reputation: 15
rc.wireless.conf WEP


I'm using Slackware 10.2 on my IBM Laptop 380ED 166MHz w/ 81Megs of RAM in Text Mode Only. So far it works very good.

I'm trying to get the PC on the INTERNET using my WEP key.

If I leave my router open then my laptop can connect and get to the INTERNET, no problems. I would like to turn on WEP again but when I do my laptop can't connect.

I think I need to manually configure rc.wireless.conf but I really don't know what to do with the file rc.wireless.conf to make it work.

Question: so this a script file that I need to run? I don't know how to run Linux script files. Are they like DOS Batch *.bat files?

I have gone through the rc.wireless.conf file... do I just remove a # sign, making the line active, then run the script? Or is Linux going to read this file dynamically?

Am I on the right track?

Bob

Last edited by bobby_hawk; 02-04-2006 at 07:16 AM.
 
Old 02-04-2006, 08:03 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,790
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
You may be on the right track, but it kind of depends. The rc.wireless script really works only if the driver for your card is already loaded. Depending on how your system is set up, that may, or may not, be true. Personally, I've always found it easier to either have a separate script I run when I need, or to add the needed commands to rc.local, which is the last startup script run in Slackware. However, if you give us a bit more detail about what driver you're using and how you load it, we can probably be a bit more specific.
Quote:
Question: so this a script file that I need to run? I don't know how to run Linux script files. Are they like DOS Batch *.bat files?
Script files are the rough equivalent of DOS batch files, but in reality are a WHOLE lot more powerful. The bash scripting language is simply much, much richer than DOS ever was. In essensce to make a script file you need the first line to contain the pointer to the bash command interpreter (#!/bin/bash) and then you need valid bash commands on the following lines. Once you save it as a file and make it executable, you have a script file.

Now for Slackware wireless, the rc.wireless is the script file that sets up the wireless card using the configurations in rc.wireless.conf. As long as rc.wireless is executable, it should get run at boot time. Of course you can run rc.wireless at any time after boot if your are playing with getting it to work. Unlike Windows, you don't have to reboot the system to get the various bits to work. Also, rc.wireless.conf isn't a script, so it doesn't need to be executable.
 
  


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 WEP encryption chris71mach1 Linux - Security 3 05-25-2007 08:41 PM
Associating wireless with no WEP kellinjar Linux - Wireless Networking 2 01-29-2006 12:01 PM
Wireless won't work with WEP jdudley2 Linux - Wireless Networking 3 05-25-2005 05:33 PM
Wireless with WEP in Suse 9 jbclarkman Suse/Novell 1 01-27-2005 08:08 AM
wireless card and wep firedude Linux - Wireless Networking 1 10-25-2002 06:07 AM


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