RE: Problem switching to static IP address
I do not set DNS information as this does get assigned by my DHCP Server
but if you need a script to do it as well, you can add this after
getting the IP Information in the first script I sent:
# Place this after the reading of IP information
printf "What is the Primary DNS Server? "
printf "What is the Secondary DNS Server? "
rm -f /etc/resolv.conf
# Place this after 'cat << INTERFACES > /etc/network/interfaces'
cat <<RESOVLCONF > /etc/resolv.conf
If you want to specify a DOMAIN you can copy one of the above PRINTF
statements and ask for DOMAIN NAME, add a section to the CAT statement:
If you want to specify a Domain Suffix you can copy one of the above
PRINTF statements and ask for SEARCH SUFFIX, add a section to the CAT
statement: search $SUFFIX
-Stephen (AKA Screwba)
org] On Behalf Of Thomas H. George
Sent: Monday, June 16, 2008 5:09 PM
Subject: Problem switching to static IP address
I have built a very nice Debian Live CD but with two problems.
One, I can't switch to the static IP addressed used by my lan. I
included a copy of my interfaces file in chroot_local-includes. When I
boot from the CD I can substitute this file in /etc/network but I can't
find a way to shutdown the network and restart it with the substituted
file. I must have failed to include some package as there is no network
entry in the Debian/Applications drop down list.
(Bringing along my special config files does work very nicely in other
cases. Specifically, I have an xorg.conf file which allows me to use a
Wacom tablet. After booting from the cd I substitute a copy of this
file and restart gdm and the Wacom tablet works perfectly.)
My second problem must also be an omitted package as only root has a
The CD is 575 MB. I hope a couple small packages might correct these
problems without taking more than the remaining space.
debian-live-devel mailing list