Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-30-2008, 08:51 PM   #1
LQ Newbie
Registered: Aug 2008
Location: Poznań, PL
Distribution: Slackware 12.1
Posts: 7

Rep: Reputation: 0
12.1 /etc/rc.d/rc.wireless patch proposal


A short foreword, as I am posting here for the first time. I am new to Slackware but not new to GNU/Linux. To be precise, it has been ages since I faced Slackware (7.1) for the last time. But I even was neither root nor a sudoer so it does not count . I have just installed Slackware 12.1 and I am very content so far. Being very disappointed at successive releases of OS X (I was a Mac user for a couple of years) I switched to Debian (PowerPC). Then, a year ago, I bought myself a PC and started using Ubuntu. I quickly got the same feeling I had earlier about OS X. Lack of stability, resource-consuming visual effects and other "features" I wanted/had to get rid of, including not-very-bright-automagic here and there. That would be my story.

I have gone through some threads on wireless networking with Slackware. With *a very little* of editing I got it up and running.

There is one thing, though, I find a little bit confusing. It is the following error:

root@nostromo:~# /etc/rc.d/rc.inet1 wlan0_start
/etc/rc.d/rc.inet1:  wlan0 information: 'Any ESSID'
Error for wireless request "Set Nickname" (8B1C) :
    SET failed on device wlan0 ; Operation not supported.
I have googled a little and I believe this is something very common. This error is caused by a following iwconfig call:

root@nostromo:/etc/rc.d# iwconfig wlan0 nickname foo
Error for wireless request "Set Nickname" (8B1C) :
    SET failed on device wlan0 ; Operation not supported.
The manual page for iwconfig reads:

Set the nickname, or the station name. Some 802.11 products do define it, but this is not used as far as the protocols (MAC, IP, TCP) are concerned and completely useless as far as configuration goes. Only some wireless diagnostic tools may use it.
So I have gone through /etc/rc.d/rc.inet1 and /etc/rc.d/rc.wireless scripts and now I am wondering if calling iwconfig nick only if it has been evidently specified in respective conf files would not be a better approach.

Let's say, in the /etc/rc.d/rc.wireless file instead of doing:

if [ ! -n "$NICKNAME" ] ; then
if [ -n "$ESSID" -o -n "$MODE" ] ; then
      echo "$0:  $IWCOMMAND nick $NICKNAME" | $LOGGER
we could do:

if [ -n "$NICKNAME" ] && [ -n "$ESSID" -o -n "$MODE" ] ; then
        echo "$0:  $IWCOMMAND nick $NICKNAME" | $LOGGER
What do you, guys, think?


- Michal Roszka
Old 08-31-2008, 03:32 AM   #2
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Rep: Reputation: 33
Anything that makes this error message go away would be welcome, since wireless is typically something that takes some tweaking to set up satisfactorily and when you see an error message you assume that it must be significant. In this case it isn't as far as I can see and it just wastes time in eliminating it as the cause of your problems.

Boguś Żaba
Old 08-31-2008, 08:06 AM   #3
Alien Bob
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 6,612

Rep: Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903
I have no objections against this patch. Nothing uses the nick anyway.



iwconfig, patch, rcd, script, slackware12, wireless

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
Research Proposal zeeshanhayat General 7 09-25-2006 03:31 PM
Orinoco Wireless Patch on Debian? Eklipz Debian 2 12-10-2004 01:58 PM
A Modest Proposal shane25119 General 4 09-30-2004 06:24 PM
attempting to patch an Avaya Gold wireless card Evil_Cowgod Linux - Wireless Networking 3 01-24-2004 02:38 PM
How to patch orinoco wireless driver wkm001 Linux - Software 3 12-07-2003 05:11 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration