Unix Technical Forum

Problem with rc.wireless.conf

This is a discussion on Problem with rc.wireless.conf within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I searched a.o.l.s in Google and didn't see any mention of this problem. The config script has the following ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 06:16 PM
dentonj1
 
Posts: n/a
Default Problem with rc.wireless.conf

I searched a.o.l.s in Google and didn't see any mention of this problem.

The config script has the following code at the beginning:

case "$HWADDR" in

## NOTE : Comment out the following five lines to activate the samples
below ...
## --------- START SECTION TO REMOVE -----------
## Pick up any Access Point, should work on most 802.11 cards
*)
INFO="Any ESSID"
ESSID="any"
;;
## ---------- END SECTION TO REMOVE ------------


$HWADDR is the MAC address of your wireless interface. It's determined
in rc.wireless. Later on in the script, you have entries such as:

# Old Lucent Wavelan
08:00:0E:*)
INFO="Wavelan example (Lucent default settings)"
NWID="0100"
MODE="Ad-Hoc"
FREQ="2.425G"
KEY="off"
;;


However, anything you set in the appropriate section of rc.wireless.conf
for your card is not set when you run /etc/rc.d/rc.wireless <interface>.
The case statement never gets very far because the first '*)' matches
everything. I testing this by adding a number of `echo` commands to the
script.

The fix: Commment out the first section:
#*)
# INFO="Any ESSID"
# ESSID="any"
# ;;

I'd normally say that moving that section to the end of the script would
also fix the problem, but there's another *) selection at the end.

dentonj
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 06:16 PM
dentonj1
 
Posts: n/a
Default Re: Problem with rc.wireless.conf

## NOTE : Comment out the following five lines to activate the samples
below ...

Nevermind, just ignore me.

dentonj
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 06:16 PM
Edafe Knabe
 
Posts: n/a
Default Re: Problem with rc.wireless.conf

dentonj1,
Maybe this could have been useful:

http://www.edafe.org/slack.html#wireless

Regards,
Edafe

dentonj1 wrote:
> ## NOTE : Comment out the following five lines to activate the samples
> below ...
>
> Nevermind, just ignore me.
>
> dentonj

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:38 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com