From e03d2e6ff61e1a909a690c8fb2932f808c595db9 Mon Sep 17 00:00:00 2001 From: freesource Date: Thu, 23 Aug 2001 02:45:01 +0000 Subject: [PATCH] Improved the network setup. --- yard/scripts/make_debian | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/yard/scripts/make_debian b/yard/scripts/make_debian index 4a84e8b..db9f0f9 100755 --- a/yard/scripts/make_debian +++ b/yard/scripts/make_debian @@ -19,7 +19,8 @@ my $info = "/var/lib/dpkg/info"; # # Swim provides excellent information for this task. swim -qT packagename & # swim -ql --df packagename & swim -qc packagename (not all conf files can -# be found this way .. read above). +# be found this way .. read above) so you will want to use +# swim -q --scripts packagename. my @extra_packages = qw(file-rc swim apt apt-utils debconf nvi sysklogd klogd netbase tcpd net-tools portmap netkit-ping netkit-inetd ifupdown less @@ -267,8 +268,20 @@ $stuff = << "STUFF"; /etc/default/ipchains # Network stuff +# You will want to edit the interfaces file. +# Remember to load any needed modules on the host system, for instance +# if tap is used, you will want to do this: +# modprobe ethertap +# modprobe netlink_dev /etc/resolv.conf /root/umlnet <= Replacements/root/umlnet # Example network setup script +/etc/network <= Replacements/etc/network +/etc/network/if-down.d # empty +/etc/network/if-post-down.d # "" +/etc/network/if-pre-up.d # "" +/etc/network/if-up.d # "" +/etc/network/interfaces <= Replacements/etc/network/interfaces +/etc/network/spoof-protect # Devices - optional stuff which can be picked up by devfsd. /dev/MAKEDEV # a link