localhost ~ # cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0=("10.3.51.114 netmask 255.255.254.0 brd 10.3.51.255")
routes_eth0=("default gw 10.3.50.1")
config_ppp0=("ppp")
link_ppp0="pty 'pptp pptp.nsu.ru --nolaunchpppd'"
username_ppp0='login'
password_ppp0='pass'
pppd_ppp0=(
debug
lock
deflate 0
defaultroute
mtu 1490
mru 1490
nobsdcomp
persist
)
depend_ppp0() {
need net.eth0
}Add a code snippet to your website: www.paste.org