Re: [Thinstation-developer] [Thinstation-general] TS-2.2.1: Wifi [ath0] configuration does not appl
Brought to you by:
doncuppjr
From: TrevorB <tre...@us...> - 2008-01-19 01:47:28
|
On Fri, 2008-01-18 at 12:53 +0300, Leonid Satanovsky wrote: > Ok, thanks for the patch, > but there was one syntactical mistake ( <...> != ""<NO WHITESPACE>] > <...> ), so the corrected patch file is attached to the message. Anyway, > it worked (at least, the lamp is blinking)... > -------------- > And the question is: why isn't the patch applied to the distribution, > or it is just a matter of time? Now that it's tested, we'll look at putting it in SVN and putting a patch up on sourceforge.... Can't do it before it's completed, and we know it works ;-) Trevor B > > > TrevorB wrote: > > Looking at it a bit harder, the original logic is wrong in calling > > wireless_config there. It needs to be IN the manual_config section (as > > it cycles through the devices). suggested patch attached (please test) > > > > Trevor B > > PS. It's definitely a bug in the manual setup (so your boss can back > > off :-) > > > > On Fri, 2008-01-18 at 00:14 +0300, Leonid Satanovsky wrote: > > > >> no, no. > >> the particular config file that doesn't matter in that case at all. > >> It is definitely that the script /etc/init.d/network does not set > >> $device variable before calling wireless_config( ); > >> (i've debugged it inserting my diagnostic "echo_log <...> ")... > >> ________________________________________________________________ > >> A shorthand salvation: > >> after I set $device it just set up my ath0 and it was fine... at > >> least, the lamp started blinking :))) : > >> > >> <...> > >> if [ "$NET_USE_DHCP" = "OFF" ] ; then > >> echo_log "Booting with manually configured network..." $debug > >> manual_config > >> # > >> # I set up the device var this way > >> # > >> (cat $DEVICELIST) | > >> while read device client_mac > >> do > >> # > >> # And only than calling the routine. > >> # > >> wireless_config > >> done > >> else > >> <...> > >> > >> ________________________________________________________________ > >> In original code it looks like this: > >> <...> > >> if [ "$NET_USE_DHCP" = "OFF" ] ; then > >> echo_log "Booting with manually configured network..." $debug > >> manual_config > >> wireless_config > >> else > >> <...> > >> > >> ________________________________________________________________ > >> this is a bug i think. > >> Anybody, please answer... or my boss'll kill me... > >> I'm joking. > >> ) > >> > >> > >> > >> > >> Mike Eriksen wrote: > >> > >>> I'd be sceptical, if wifi settings will work from a ts.conf.user file. > >>> They belong in ts.conf.buildtime I think. > >>> > >>> Mike > >>> > >>> > >>> On Jan 17, 2008 5:05 PM, Leonid Satanovsky <leo...@ar...> wrote: > >>> > >>> > >>>> Good time of the day, people!. > >>>> > >>>> The problem: > >>>> I've got the TP-Link's "TL-WN550G/TL-WN551G" card > >>>> which is based on an Atheros chipset and > >>>> works fine when I boot the Thinstation-2.2.1 in "debug mode" and > >>>> configure it manually: doing something like > >>>> iwconfig ath0 essid "some_essid" > >>>> ... The green lamp starts blinking and I'm even able to communicate > >>>> over the radio wave - > >>>> so, generally, it works ) > >>>> > >>>> But. > >>>> The WiFi settings entered in the > >>>> /mnt/floppy/thinstation.profile/thinstation.conf.user > >>>> file for some reason do not apply (there's no problem with reading the > >>>> file: the name of the station applies successfully, etc.). > >>>> Here they are: > >>>> > >>>> <...> > >>>> WIRELESS_ESSID="some_ssid" > >>>> WIRELESS_NWID="" > >>>> WIRELESS_MODE="Managed" > >>>> #WIRELESS_FREQ="" > >>>> #WIRELESS_CHANNEL="" > >>>> #WIRELESS_SENS="" > >>>> #WIRELESS_RATE="" > >>>> #WIRELESS_RTS="" > >>>> #WIRELESS_FRAG="" > >>>> WIRELESS_IWCONFIG="" > >>>> WIRELESS_IWSPY="" > >>>> WIRELESS_IWPRIV="" > >>>> #WIRELESS_WPAKEY="" > >>>> #WIRELESS_KEY="" > >>>> WIRELESS_DRIVER=madwifi > >>>> <...> > >>>> --------- > >>>> > >>>> I wonder, what could it b-e-e-e-e ? > >>>> > >>>> P.S. > >>>> I run Thinstation-2.2.1 in with debug package installed (in "debug mode"). > >>>> > >>>> > >>>> > >>>> > >>>> ------------------------------------------------------------------------- > >>>> This SF.net email is sponsored by: Microsoft > >>>> Defy all challenges. Microsoft(R) Visual Studio 2008. > >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >>>> _______________________________________________ > >>>> Thinstation-general mailing list > >>>> Thi...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/thinstation-general > >>>> > >>>> > >>>> > >>> > >>> > >>> > >> ------------------------------------------------------------------------- > >> This SF.net email is sponsored by: Microsoft > >> Defy all challenges. Microsoft(R) Visual Studio 2008. > >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >> _______________________________________________ Thinstation-general mailing list Thi...@li... https://lists.sourceforge.net/lists/listinfo/thinstation-general > >> > |