Непонятки с ppp

Ребята, че та я запутался уже =\
Поднимаю инет на прова, using rp-pppoe.
сделал :
cd /etc/init.d/
ln -s net.lo net.ppp0
поправил /etc/conf.d/net + /etc/ppp/pppoe.conf
rc-update add net.ppp0 default

вот конфиги :

conf.d # more /etc/conf.d/net

modules=( "ifconfig" )
config_eth0=( "10.11.0.2 netmask 255.255.252.0" )

config_ppp0=( "ppp" )
link_ppp0="eth0"
plugins_ppp0=("pppoe")
username_ppp0='datest'
password_ppp0='tehpass'
pppd_ppp0=( "call Inet" )

depend_ppp0() {
        need net.eth0
}


conf.d # rc-update -v show
            bootmisc | boot
             checkfs | boot
           checkroot | boot
               clock | boot
         consolefont | boot
         crypto-loop |
                 gpm |
              hdparm |
            hostname | boot
             keymaps | boot
               local |      default nonetwork
          localmount | boot
             modules | boot
            net.eth0 |      default
              net.lo | boot
            net.ppp0 |      default
            netmount |      default
                nscd |
             numlock |
           rmnologin | boot
              rsyncd |
           syslog-ng |      default
             urandom | boot
          vixie-cron |      default



conf.d # more /etc/ppp/pppoe.conf
ETH=eth0
USER=datest
DEMAND=no
DNSTYPE=SERVER
DNS1=
DNS2=
DEFAULTROUTE=yes
CONNECT_TIMEOUT=30
CONNECT_POLL=2
ACNAME=
SERVICENAME=
PING="."
PIDFILE="/var/run/rp-pppoe-eth0.pid"
SYNCHRONOUS=no
CLAMPMSS=1412
LCP_INTERVAL=20
PPPOE_TIMEOUT=80
FIREWALL=NONE
LINUX_PLUGIN=
PPPOE_EXTRA=""
PPPD_EXTRA=""



conf.d # ls -al /etc/init.d/ne*
lrwxrwxrwx 1 root root     6 Dec 13 15:44 /etc/init.d/net.eth0 -> net.lo
-rwxr-xr-x 1 root root 30522 Apr 20  2007 /etc/init.d/net.lo
lrwxrwxrwx 1 root root     6 Feb  9 01:25 /etc/init.d/net.ppp0 -> net.lo
-rwxr-xr-x 1 root root  3046 Apr 20  2007 /etc/init.d/netmount





conf.d # more /etc/ppp/peers/Inet
#mtu 1400
#mru 1400
noauth
#sync
noaccomp
nodeflate
lock
name datest
pty "pppoe -T 80 -I eth0"
linkname testgroup
refuse-eap
nopersist
lcp-echo-interval 20
lcp-echo-failure 4

при ребуте получаю айпи все дела но дальше дело не идет. ничо не пингается. ни по хостнейму ни по айпи.

eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:10
          inet addr:10.11.0.2  Bcast:10.11.3.255  Mask:255.255.252.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:452 errors:0 dropped:0 overruns:0 frame:0
          TX packets:182 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:37855 (36.9 Kb)  TX bytes:17767 (17.3 Kb)
          Interrupt:17 Base address:0xe800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:195.6.18.2  P-t-P:10.0.0.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:209 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:10784 (10.5 Kb)  TX bytes:30 (30.0 b)



~ # netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.0.0.1        0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
10.11.0.0       0.0.0.0         255.255.252.0   U         0 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo


~ # more /etc/resolv.conf
nameserver 192.168.1.1
nameserver 192.168.1.1



~ # ps wax | grep ppp
 5625 ?        Ss     0:00 /usr/sbin/pppd unit 0 user datest remotename ppp0 linkname ppp0 call Inet plugin passwordfd.so passwordfd 3 maxfail 0 persist connect true plugin rp-pppoe.so eth0


~ # ping mail.ru
ping: unknown host mail.ru

делаю
killall pppd
pppoe-start
получаю - connected :

eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:10
          inet addr:10.11.0.2  Bcast:10.11.3.255  Mask:255.255.252.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2086 errors:0 dropped:60 overruns:0 frame:0
          TX packets:1248 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1051648 (1.0 Mb)  TX bytes:339353 (331.3 Kb)
          Interrupt:17 Base address:0xe800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:22932 (22.3 Kb)  TX bytes:22932 (22.3 Kb)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:195.6.18.2  P-t-P:10.0.0.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:297 errors:0 dropped:0 overruns:0 frame:0
          TX packets:316 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:27897 (27.2 Kb)  TX bytes:243623 (237.9 Kb)






~ # netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.0.0.1        0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
10.11.0.0       0.0.0.0         255.255.252.0   U         0 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         10.0.0.1        0.0.0.0         UG        0 0          0 ppp0


~ $ more /etc/resolv.conf
nameserver 192.168.1.1
nameserver 192.168.1.1



~ # ps wax | grep ppp
 7013 pts/0    S      0:00 /bin/sh /usr/sbin/pppoe-connect /dev/fd/63
 7032 ?        Ss     0:00 /usr/sbin/pppd pty /usr/sbin/pppoe -p /var/run/rp-pppoe-eth0.pid.pppoe -I eth0 -T 80 -U  -m 1412    noipdefault noauth default-asyncmap defaultroute hide-password nodetach usepeerdns mtu 1492 mru 1492 noaccomp nodeflate nopcomp novj novjccomp user datest lcp-echo-interval 20 lcp-echo-failure 3
 7033 ?        S      0:00 /usr/sbin/pppoe -p /var/run/rp-pppoe-eth0.pid.pppoe -I eth0 -T 80 -U -m 1412

~ # ping mail.ru
PING mail.ru (194.67.57.26) 56(84) bytes of data.
64 bytes from mail.ru (194.67.57.26): icmp_seq=1 ttl=117 time=63.9 ms
64 bytes from mail.ru (194.67.57.26): icmp_seq=2 ttl=117 time=83.2 ms

--- mail.ru ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 63.991/73.635/83.279/9.644 ms

че ж я накосячил такого ?

может проще

может проще настроить полностью через conf.d/net ?

config_ppp0=( "ppp" )
link_ppp0="eth0"
plugins_ppp0=( "pppoe" )
username_ppp0='user'
password_ppp0='pass'
pppd_ppp0=(
            "updetach"
            "defaultroute"
            "maxfail 10"
            "lcp-echo-failure 10"
            "lcp-echo-interval 60"
            )

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".