+grml-network (0.1.15) unstable; urgency=low
+
+ * Suggest x.x.x.1 as default gatway and DNS server instead of x.x.x.254.
+ * Create directory /etc/udev/scripts/ before using it.
+
+ -- Michael Prokop <mika@grml.org> Mon, 05 Nov 2007 00:15:02 +0100
+
grml-network (0.1.14) unstable; urgency=low
[ Michael Gebetsroither ]
generate_udev_entry() {
interface=''
+ mkdir -p /etc/udev/scripts
echo "# Auto generated script from netcardconfig on $(date)
# Executing this script generates an entry in /etc/udev/rules.d/z25_persistent-net.rules
# for you, please check z25_persistent-net.rules for existing entries before
$DIALOG --inputbox "$MESSAGE8 $DV" 10 45 "${BC:-${IP%.*}.255}" 2>"$TMP" || bailout 1
read BC <"$TMP" ; rm -f "$TMP"
- $DIALOG --inputbox "$MESSAGE9" 10 45 "${DG:-${IP%.*}.254}" 2>"$TMP"
+ $DIALOG --inputbox "$MESSAGE9" 10 45 "${DG:-${IP%.*}.1}" 2>"$TMP"
read DG <"$TMP" ; rm -f "$TMP"
if [ -f "/etc/resolv.conf" ]; then
NS="$(awk '/^nameserver/{printf "%s ",$2}' /etc/resolv.conf)"
fi
- $DIALOG --inputbox "$MESSAGE10" 10 45 "${NS:-${IP%.*}.254}" 2>"$TMP"
+ $DIALOG --inputbox "$MESSAGE10" 10 45 "${NS:-$DG}" 2>"$TMP"
read NS <"$TMP" ; rm -f "$TMP"
if [ -w /etc/network/interfaces ]; then