[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Etch Bootvorgang wpa_supplicant [Zusatz]



Am 2007-03-07 16:17:04, schrieb Matthias Haegele:
> >>a) /etc/wpa_supplicant-athome.conf
> >>b) /etc/wpa_supplicant-uni.conf
> 
> Kann mir nicht vorstellen wie das zu realisieren wäre, lasse mich aber 
> gerne erleuchten ;-).

In LILO so:

------------------------------------------------
image=/vmlinux
    label=Zuhause
    append=/etc/wpa_supplicant-athome.conf
    readonly

image=/vmlinux
    label=Uni
    append=/etc/wpa_supplicant-uni.conf
    readonly
------------------------------------------------

und dann ein script in

----[ '/etc/init.d/setup_wpa_supplicant' ]----------------------------
#!/bin/sh

CONF=/etc/wpa_supplicant.conf

if [ -n "$(echo /proc/cmdline |grep athome.conf)" ] ; then
  cp --force /etc/wpa_supplicant-athome.conf ${CONF}
else
  cp --force /etc/wpa_supplicant-uni.conf ${CONF}
fi
----------------------------------------------------------------------

und danach wpa_supplicant mit der config "/etc/wpa_supplicant.conf"
aufrufen.


Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: