[pkg-fso-maint] wicd now working?

Steffen Moeller steffen_moeller at gmx.de
Sun Mar 8 21:27:37 UTC 2009


gregor herrmann wrote:
> On Sun, 08 Mar 2009 19:39:37 +0100, Steffen Moeller wrote:

[...]


>> My understanding was that we have kind of agreed that wicd is the way to go for
>> a default wifi installation. 
> 
> At least nobody has spoken up yet with a better proposal.

... or anything that worked for me :)

>> Under "configuration" we currently have this code:
>>
>> 	if [ -f "$WPA_SUPPLICANT_CONF" ]; then
>> 	  echo " * Installing wpasupplicant, wireless-tools and udhcpc"
>> 	  chroot "$INST_DIR" apt-get $APT_OPTIONS install wpasupplicant wireless-tools udhcpc
>> 	  echo " * $WPA_SUPPLICANT_CONF copied from this machine"
>> 	  cat > "$INST_DIR$WPA_SUPPLICANT_CONF" <$WPA_SUPPLICANT_CONF
>> 	fi
>>
>> If I understood your comment right, then the above should not be installed if wicd is
>> installed, right? 
> 
> Yup.

>> I am somewhat irritated, though, since wicd depends on wireless-tools,
>> wpasupplicant and "dhcpd | dhcp3-client | pump". So, wpasupplicant is installed upon an
>> otherwise innocent install of wicd. So, the copying would make sense after all?!?
> 
> No, wicd doesn't use /etc/wpa_supplicant/wpa_supplicant.conf but has
> its own configuration under /etc/wicd, and AFAICS it creates it's own
> wpa-supplicant files on the fly from them.

In this case, the local configuration would even be irritating and should hence not be copied.

> Not that /etc/wpa_supplicant/wpa_supplicant.conf really hurts, it's
> just not used by wicd.

It does not hurt you ... but Wifi newbies like me and so we will get better bug reports of
users that have some Kraft left for reports - if we don't copy it.

>> And since udhcpc is providing dhcp3-client, I should make sure to install that rather than
>> something else, right? I'd hence suggest to install wpasupplicant wireless-tools udhcpc
>> for the task WIFI and leave the "if" only for the copying of the wpa_supplicant
>> configuration.
> 
> I think I only installed wicd, the rest got pulled in and that's all
> I need.

Hm. Ok. I'll add a note in the script indicating the the other bits are pulled.

> I have no opinion wrt udhcpc vs. dhcp3-client; I just checked on my
> Freerunner:
> 
> deanna:~# dpkg -l *dhcp*
> [..]
> +++-=====================-=====================-==========================================================
> un  dhcp-client           <none>                (no description available)
> ii  dhcp3-client          3.1.1-6               DHCP client
> ii  dhcp3-common          3.1.1-6               common files used by all the dhcp3* packages
> un  dhcpcd                <none>                (no description available)
> pn  udhcpc                <none>                (no description available)
> 
>> The fyp folks also install wicd, and they add wifi-radar on top. Should that be mimmicked?
> 
> I never used wifi-radar but AFAIK it's similar to wicd. Installing
> both sounds a bit like installing openoffice.org and then abiword
> additionally.
:)

> Well, maybe wifi-radar is nicer/smaller/... than wicd but someone
> needs to test it ...
> 
> Ah, one difference is: "You need to have root access to use this
> program." (wifi-radar's description), so it's probably not that
> useful if we change the default user from root to something else.

Indeed.

Have many thanks for your very EXplicit transfer of INsights.

Steffen




More information about the pkg-fso-maint mailing list