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:17:24 +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=JXi2kiVAyn1VvFSXXqKzDZbQn9fghJBUdsME7dMWufc=; b=hol6jZgg5wfDgqt2lv7thSeTIKqMXh06qkQ4/IWEDUzn1vxzmCZ1CRq7whvjmeESuX xP/tetzXYezT8QjUYraisf5zDUhIsJImhqruxDiB2bbBV9ZldcynipaZNRvqtuT9jwPa r8wP6q6kklXHfVwpp/TQ50ypA44CZj/wM7LVo=
- 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=psqxcYHqIfSQamDj055g2to9avVdJtkgDWJQ/KtmFwtn2KKlyEJ8rEFX9n469PuJho v6+ramanUnU1ct8Gs5x4JMeNg6AeNia0egbi/QBddFfkO9RLH94kn5I7oolFkR1zgEFe GCQ+NiyFb2GqbJ3nhvNlqrceDOVvtO20y0tTw=
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/