Re: Two small problems in network.sh |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/slitaz Archives
]
- To: slitaz@xxxxxxxxxxxxxxxxxxx
- Subject: Re: Two small problems in network.sh
- From: Rohit Joshi <rj.rohit@xxxxxxxxx>
- Date: Mon, 15 Feb 2010 14:26:42 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=kbcrcX20wI9yBwydoxLkPP/gg3Cq/agZTQjzi/fecZQ=; b=nqhrdXEnnOOXNBnmunmn+JQrOQg6tTrFuxrMD8n22T7egRTylepVGf9sQ9jV0QRuMd 130XiElj2woSht9TzEeYH8ZhlnW/AVZL9o7NAjFLW5El30OIi79ngC/NvGyIiIPv1FDi hb2VxK32c8nlV4yd+/SGquIbX39qPy8ZmKU/4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=kZBwuILB9niE2yF9cxX79qzHpqaCjdT+LfF2nMYQj2rI6QMwKGgwNb4K21rxbjE7C+ RBwzeVp6GyWhkGldUuD6c4xn827WW3NttEyqou3rfRVamKz6H0wXRqicPEDCKEIlBgWT 60B1YxSQ28CpcaZE2rf4iqD6SPZwYi8ynuwNc=
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/