YEp. After another 2-3 months on Windows XP im back to Vector.
Im trying to set up my girlfriends old pc (p3 500, 64ram, 2eth cards) as an home PC and internet sharing PC in one.
I have same problem. First (lets say wan) card is pluged in with cable modem due eth cable. After restart i must do:
- su > vasm > inet > start > eth1 -> then it gets DHCP settings
But i cant do it all the time! I dont want to sleep at PC every night ;p How to setup this to make DHCP automatic every PC restart?
cat /etc/rc.d/rc.inet1
#!/bin/sh
# This file is supposed to be created by vnetadd
# and modified by vnetset.
# You can modify it by hand, but be careful ;-)
#
# GNU GPL (c) Eko M. Budi, 2004
# (c) Vector Linux, 2004
#
###########################################################
## The settings
DEVICE='eth0'
DHCP='no'
IPADDR='192.168.0.1'
NETMASK='255.255.255.0'
GATEWAY='192.168.0.255'
PROBE='no'
###########################################################
## The script
## You may make customized script here
## If not, source the standard network
. /etc/rc.d/functions-network "$@"
domek://home/dom
root:# cat /etc/rc.d/rc.inet2
#!/bin/sh
# This file is supposed to be created by vinetadd
# and modified by vinetset.
# You can modify it but be careful
#
# GNU GPL (c) Eko M. Budi, 2004
# (c) Vector Linux, 2004
#
###########################################################
## The settings
DEVICE=eth1
DHCP=yes
IPADDR=
NETMASK=
GATEWAY=
PROBE=no
###########################################################
## The script
## source the standard functions
. /etc/rc.d/functions-network "$@"
domek://home/dom
root:# cat /etc/resolv.conf
# Generated by dhcpcd for interface eth1
nameserver 217.172.224.92
nameserver 89.228.7.226
domek://home/dom
root:#