X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fwireless-tools;h=1dc3201aa3279970c3b4dc75d38f73bb1ef4730f;hb=28d0870bca1d37d0428af01f1b44cc7f29199ba4;hp=e72babcf1b197689ebe6359a2e6c6bf582515892;hpb=e8cc14e96c051666130d201fa5c60291a881e008;p=hvlinux.git diff --git a/stage2/pkg/wireless-tools b/stage2/pkg/wireless-tools index e72babc..1dc3201 100644 --- a/stage2/pkg/wireless-tools +++ b/stage2/pkg/wireless-tools @@ -8,6 +8,18 @@ hvconfig_pre() hvbuild_post() { - echo "TODO: Configurer ssid" install -d -m755 /etc/sysconfig/network/ssid + +cat > /etc/sysconfig/network/ssid/TEMPLATE << EOF +# This file must be named exactly as your ESSID (case is important) +KEY_TYPE="WPA-PSK" + +# This can be "static" or "dhcp" +BOOTPROTO="static" + +# The following variables are used only for "static": +IPADDR="192.168.1.6" +PREFIX_LENGTH="24" +GATEWAY="192.168.1.1" +EOF }