From faeba22f204748b2a9404a40664157c5a50f8003 Mon Sep 17 00:00:00 2001 From: freesource Date: Fri, 14 Dec 2001 04:37:29 +0000 Subject: [PATCH] Nicer network expl for new uml behavior. --- yard/scripts/make_debian | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/yard/scripts/make_debian b/yard/scripts/make_debian index 5b983f3..87c4a81 100755 --- a/yard/scripts/make_debian +++ b/yard/scripts/make_debian @@ -163,15 +163,18 @@ $Id /etc/hosts.deny # 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 +# +# You will want to edit the /etc/network/interfaces file. +# Make sure your host system kernel has the proper capabilities compiled +# or the appropriate module, for instance if tap is used you need the +# ethertap and netlink_dev modules. +# # And when you start your creation with the uml box you will want to add # something like this to the options where HWaddr (see ifconfig) belongs # to your network device: +# # eth0=ethertap,tap0,HWaddr,192.168.1.5 +# /etc/resolv.conf /etc/hosts <= Replacements/etc/hosts /root/umlnet <= Replacements/root/umlnet # Example network setup script @@ -243,7 +246,7 @@ return $stuff; use strict; use File::Basename; my $rm = "\$"; -$main::Id = "# \$Id: make_debian,v 1.59 2001/12/13 04:21:32 freesource Exp $rm"; +$main::Id = "# \$Id: make_debian,v 1.60 2001/12/13 05:43:27 freesource Exp $rm"; my $sbin = grep(/\/usr\/sbin/,$ENV{'PATH'}); if ($sbin == 0) { $ENV{'PATH'} = "/usr/sbin:" . $ENV{'PATH'}; @@ -764,15 +767,3 @@ sub start_up { } # end start_up - - - - - - - - - - - -