I have some problems when i try to configure the PPOE ADSL with Debian Woody.
the ping say "uknown host" after 30s.
file /var/log/ppp-connect-errors content:
Quote:
pppoe: Timeout waiting for PADS packets
pppoe: recv (receivePacket): Network is down
i have an ethernet modem (modem tout 9) and the Nforce 2 network card.
|
lsmod:
Quote:
soundcore 3588 0 (autoclean)
ppp_deflate 3008 0 (autoclean)
zlib_deflate 17984 0 (autoclean) [ppp_deflate]
agpgart 14176 3 (autoclean)
bsd_comp 4032 0 (autoclean)
nvidia 1628704 11 (autoclean)
tap0 2624 1 (autoclean)
ppp_async 6592 1 (autoclean)
ppp_generic 17132 3 (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc 4704 0 (autoclean) [ppp_generic]
nvnet 26080 1 (autoclean)
parport_pc 14180 0 (autoclean)
c-qcam 9008 0 (unused)
parport 23328 0 [parport_pc c-qcam]
video1394 12292 0 (unused)
ohci1394 22976 0 [video1394]
ieee1394 42624 0 [video1394 ohci1394]
msr 1408 0 (unused)
cpuid 1184 0 (unused)
keybdev 1728 0 (unused)
usbkbd 2944 0 (unused)
input 3392 0 [keybdev usbkbd]
usb-ohci 17920 0 (unused)
|
pppoeconf detect eth0.
ifconfig say:
Quote:
eth0 Link encap:Ethernet HWaddr 00:50:8D:FB:92:35
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1378 errors:0 dropped:0 overruns:0 frame:0
TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:99066 (96.7 KiB) TX bytes:2500 (2.4 KiB)
Interrupt:5
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:136 errors:0 dropped:0 overruns:0 frame:0
TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8933 (8.7 KiB) TX bytes:8933 (8.7 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:62.39.207.122 P-t-P:62.39.207.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:1301 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:65736 (64.1 KiB) TX bytes:97 (97.0 b)
tap0 Link encap:Ethernet HWaddr FE:FD:00:00:00:00
inet addr:192.168.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:1233 (1.2 KiB)
Interrupt:5
|
i hve made a link /etc/resolv.conf -> /etc/ppp/resolv.conf
Quote:
nameserver 212.30.96.108
nameserver 213.203.124.146
|
in /etc/network/interfaces
Quote:
auto lo eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
broadcast 192.168.0.255
iface lo inet loopback
iface tap0 inet static
address 192.168.0.254
netmask 255.255.255.0
pre-up tunctl -u 1000 -t tap1
up route add -host 192.168.0.25 dev tap1
up echo "1" >| /proc/sys/net/ipv4/ip_forward
up echo "1" >| /proc/sys/net/ipv4/conf/all/proxy_arp
|
and i don't know where is the error !