Re: Two small problems in network.sh

[ Thread Index | Date Index | More lists.tuxfamily.org/slitaz Archives ]


Additional information:

network.sh script supports /etc/wpa_supplicant.conf file, so any
authenticantion format supported by wpa_supplicant can be supported by
slitaz networking script (even though wifibox supports only a subset
of them)

You can just uncomment any example in /etc/wpa_supplicant.conf. It should work.

Rohit


On Mon, Feb 15, 2010 at 2:17 PM, Rohit Joshi <rj.rohit@xxxxxxxxx> wrote:
> Thanks Arnaud. Pushed to wok
> http://hg.slitaz.org/slitaz-boot-scripts/rev/3e13b3a30ae5
>
> For WPA2-PSK, instead of removing "proto=WPA" as you have suggested; I
> have added RSN to proto line. This should be much faster. Please test
> it out.
>
> Rohit
>
> On Thu, Feb 11, 2010 at 2:05 AM, Arnaud BONVALLET (dobby)
> <dobby@xxxxxxxxxx> wrote:
>> Hi all,
>>
>> I just noticed two small problems with network.sh (slitaz-boot-scripts
>> 3.2, http://mirror.slitaz.org/packages/cooking/slitaz-boot-scripts-3.2.tazpkg).
>> 1- A problem with wifi authentification throught WPA2-PSK
>> 2- A problem with a static IP configuration.
>>
>> Here is the way I solved these:
>>
>> 1- Wifi authentification with WPA2-PSK :
>> The temporary configuration file for wpa_supplicant created by
>> /etc/init.d/network.sh define (on line 92) the parameter:
>>    proto=WPA
>> which limits to an authentification through WPA-PSK. If the parameter
>> is not set, it defaults proto=WPA, RSN which allows WPA and WAP2
>> authentification (see /etc/wpa_supplicant.conf ligne 209).
>> So I removed the line 92.
>>
>> 2- When configuring the network with a static IP, the wifi card and
>> the access point are not associated since wpa_supplicant is waiting
>> for wpa_cli (lines 99 and 117): -W parameter.
>> A dirty trick could be to start wpa_cli, in the static_ip() function:
>>    wpa_cli -B
>>
>> I join a diff with the modifications.
>>
>> Cheers,
>>
>> Arnaud.
>>
>

---
SliTaz GNU/Linux Mailing list - http://www.slitaz.org/


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/