Hello
I created a ks.cfg file that runs from a boot disk and install's RedHat from CD-rom.
From that script i need to put some files on the new installed PC that a want to get via FTP from a server that is on a other subnet.
My network settings look like:
network --bootproto static --ip 153.112.169.70 --netmask 255.255.255.0 --gateway 153.112.169.12 --device eth0 3C59x
when I put here:
network --bootproto dhcp --device eth0 3C59x
my network interface will not come up. Any idée why??
I put in the %post.
I also tried to add a route here:
route add default gw 153.112.169.12 (this also does not work)
#ftp
cat > "/tmp/ftp.cfg" <<EOF
ftp -n 153.112.159.124
user username userpassword
prompt
cd snarf/urlsnarf
lcd /opt/snarf/urlsnarf
mput *
cd ../scripts
lcd ../scripts
mput *
bye
EOF
chmod 777 /tmp/ftp.cfg
/tmp/ftp.cfg
rm /tmp/ftp.cfg
I got network is unreachable
Any idee how to solve this problem.
Regards,
Mario Van de Walle