Hello,
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:
Code:
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:
Code:
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:
Quote:
nick[name]
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:
Code:
if [ ! -n "$NICKNAME" ] ; then
NICKNAME=`/bin/hostname`
fi
if [ -n "$ESSID" -o -n "$MODE" ] ; then
echo "$0: $IWCOMMAND nick $NICKNAME" | $LOGGER
$IWCOMMAND nick $NICKNAME
fi
we could do:
Code:
if [ -n "$NICKNAME" ] && [ -n "$ESSID" -o -n "$MODE" ] ; then
echo "$0: $IWCOMMAND nick $NICKNAME" | $LOGGER
$IWCOMMAND nick $NICKNAME
fi
What do you, guys, think?
Cheers,
- Michal Roszka