Re: [leaf-wisp] netcs2 essid problem

Vladimir Ivaschenko <[email protected]>
Newsgroups gmane.linux.leaf.wisp-dist
Message-ID <[email protected]>
The bug is a clash in interface naming.

When the system brings the fixed wireless interface up, it gets 
assigned name "netcs0". That conflicts with "netcs0" which should be 
assigned to PCMCIA socket #0.

After some thought it seems that the only proper fix (actually a hack) 
is to add the following after line 17 in /etc/network/wireless-start:

SOCKET=`expr $SOCKET + 1`

This will shift naming of all PCMCIA interfaces by +1 and therefore 
there will be no clash with netcs0.

I cannot think of a proper automatic fix right now... I don't want to 
scrap the interface name<->socket number binding scheme altogether as 
it may lead to unpredictable mapping between interface names and 
physical cards, as there is no guarantee that all interfaces will be 
discovered in the same order each time.

>>Anyway Vladimir suggested a bug is out there that could cause the problem and
>>I prefer to fix the bug (in case it exists). He also suggested a race
>>condition could exists but I could not find anything in that direction.
>>
>>abel
>>
>>On Sat, 06 Mar 2004 23:18:03 -0500, Ray Gwinn wrote
>>
>>>Able, a kludge to work around the Wisp-Disp essid problem with three radios
>>>is 
>>
>>to set the 
>>
>>>essid of netcs2 in rc.local, ie: 
>>>
>>>/sbin/iwconfig netcs2 essid my_essid 
>>>
>>>I have not done a lot of testing, but it worked okay in a few tests.  The 
>>
>>"test" essid may 
>>
>>>show up on a wireless users system just after Wisp-Dist boots, but it goes 
>>
>>away in about 
>>
>>>30 seconds. 
>>>
>>>Ray
>>>
>>>-------------------------------------------------------
>>>This SF.Net email is sponsored by: IBM Linux Tutorials
>>>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>>>GenToo technologies. Learn everything from fundamentals to system
>>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
>>>_______________________________________________
>>>leaf-wisp-dist mailing list
>>>[email protected]
>>>https://lists.sourceforge.net/lists/listinfo/leaf-wisp-dist
>>
>>
>>
>>
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by: IBM Linux Tutorials
>>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>>GenToo technologies. Learn everything from fundamentals to system
>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
>>_______________________________________________
>>leaf-wisp-dist mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/leaf-wisp-dist
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> leaf-wisp-dist mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/leaf-wisp-dist
> 


-- 
Best Regards,
Vladimir Ivashchenko
ThunderWorx - www.thunderworx.com
Senior Systems Designer/Engineer



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.