[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Need some help on setting up ADSL on a Linux machine
- To: Linux-IL mailing list <linux-il(at-nospam)cs.huji.ac.il>
- Subject: Need some help on setting up ADSL on a Linux machine
- From: Yaacov Fenster - System Engineering Troubleshooting and other miracles <fenspam(at-nospam)attglobal.net>
- Date: Sun, 01 Apr 2001 09:19:53 +0300
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
I finally got the Nezeq technician in to to install ADSL, and now I am
running into problems making the connection. I followed the HOWTO and a
connection comes up, but I don't get any further than the two IP's
(internal and external - both 10.15.0.X) assigned to the connection. I
have attached a short description of what is going on. Anyone with any
ideas ?
Thanks in advance
Yaacov
#
# Routes before connecting.
#
root@gateway:/home/fenster > netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
100.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth1
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
#
# Log of connecting and disconnecting
#
root@gateway:/usr/local/src/pptp/pptp-linux-1.0.2 > ./pptp 10.0.0.138 debug user guest@OBezeq remotename '10.0.0.138 RELAY_PPP1' defaultroute netmask 255.0.0.0 mtu 1452 mru 1452 noauth
(unknown)[466]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:531]: Client connection established.
(unknown)[466]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:637]: Outgoing call established.
Using interface ppp0
Connect: ppp0 <--> /dev/ttya0
sent [LCP ConfReq id=0x1 <mru 1452> <asyncmap 0x0> <magic 0xad84babd> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <mru 1452> <asyncmap 0x0> <magic 0xad84babd> <pcomp> <accomp>]
warn[decaps_gre:pptp_gre.c:239]: discarding out-of-order
rcvd [LCP ConfRej id=0x1 <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <mru 1452> <magic 0xad84babd>]
rcvd [LCP ConfAck id=0x2 <mru 1452> <magic 0xad84babd>]
rcvd [LCP ConfReq id=0x7e <mru 1500> <auth pap> <magic 0x1bc48e87>]
sent [LCP ConfAck id=0x7e <mru 1500> <auth pap> <magic 0x1bc48e87>]
sent [LCP EchoReq id=0x0 magic=0xad84babd]
sent [PAP AuthReq id=0x1 user="guest@OBezeq" password=<hidden>]
rcvd [PAP AuthAck id=0x1 ""]
sent [IPCP ConfReq id=0x1 <addr 192.168.0.1> <compress VJ 0f 01>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [LCP EchoReq id=0x0 magic=0x1bc48e87]
sent [LCP EchoRep id=0x0 magic=0xad84babd]
rcvd [IPCP ConfReq id=0x4b <addr 10.15.0.1>]
sent [IPCP ConfAck id=0x4b <addr 10.15.0.1>]
rcvd [LCP ProtRej id=0x7f 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
sent [IPCP ConfReq id=0x1 <addr 192.168.0.1> <compress VJ 0f 01>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 192.168.0.1>]
rcvd [IPCP ConfNak id=0x2 <addr 10.15.0.164>]
sent [IPCP ConfReq id=0x3 <addr 10.15.0.164>]
rcvd [IPCP ConfReq id=0x4b <addr 10.15.0.1>]
sent [IPCP ConfAck id=0x4b <addr 10.15.0.1>]
rcvd [IPCP ConfAck id=0x3 <addr 10.15.0.164>]
local IP address 10.15.0.164
remote IP address 10.15.0.1
Script /etc/ppp/ip-up started (pid 471)
rcvd [LCP EchoReq id=0x0 magic=0x1bc48e87]
sent [LCP EchoRep id=0x0 magic=0xad84babd]
Script /etc/ppp/ip-up finished (pid 471), status = 0x0
sent [LCP EchoReq id=0x1 magic=0xad84babd]
rcvd [LCP EchoRep id=0x1 magic=0x1bc48e87]
sent [LCP EchoReq id=0x2 magic=0xad84babd]
rcvd [LCP EchoRep id=0x2 magic=0x1bc48e87]
Terminating on signal 2.
Terminating on signal 15.
Script /etc/ppp/ip-down started (pid 484)
sent [LCP TermReq id=0x3 "User request"]
Script ?? finished (pid 467), status = 0x0
(unknown)[466]: log[pptp_conn_close:pptp_ctrl.c:275]: Closing PPTP connection
sent [LCP TermReq id=0x4 "User request"]
Terminating on signal 15.
Connection terminated.
Connect time 1.6 minutes.
Sent 975 bytes, received 708 bytes.
root@gateway:/usr/local/src/pptp/pptp-linux-1.0.2 > exit
exit
#
# Routing after connecting
#
root@gateway:/usr/local/src/pptp/pptp-linux-1.0.2 > netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.15.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
100.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth1
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 10.15.0.1 0.0.0.0 UG 0 0 0 ppp0
#
# Traceroute execution to numeric IP of mail.netvision.net.il
#
root@gateway:/usr/local/src/pptp/pptp-linux-1.0.2 > traceroute 194.90.1.121
traceroute to 194.90.1.121 (194.90.1.121), 30 hops max, 40 byte packets
1 10.15.0.1 (10.15.0.1) 28 ms 37 ms 32 ms
2 * *
#
# PPP module is configured and loaded
#
root@gateway:/home/fenster > lsmod
Module Size Used by
ppp_deflate 40340 0 (autoclean)
bsd_comp 4076 0 (autoclean)
ppp 20844 2 (autoclean) [ppp_deflate bsd_comp]
slhc 4440 0 (autoclean) [ppp]
ne 6508 2 (autoclean)
8390 6260 0 (autoclean) [ne]
serial 42484 0 (autoclean)
#
# Contents of secrets files
#
root@gateway:/home/fenster > grep Bezeq /etc/ppp/chap-secrets
"guest@OBezeq" "10.0.0.138 RELAY_PPP1" "Bezeq"
root@gateway:/home/fenster > grep Bezeq /etc/ppp/pap-secrets
"guest@OBezeq" "10.0.0.138 RELAY_PPP1" "Bezeq"
#
# I can ping the two addresses assigned to me
#
root@gateway:/usr/local/src/pptp/pptp-linux-1.0.2 > ping -c 1 10.15.0.164
PING 10.15.0.164 (10.15.0.164): 56 data bytes
64 bytes from 10.15.0.164: icmp_seq=0 ttl=255 time=1.182 ms
--- 10.15.0.164 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 1.182/1.182/1.182 ms
root@gateway:/usr/local/src/pptp/pptp-linux-1.0.2 > ping -c 1 10.15.0.1
PING 10.15.0.1 (10.15.0.1): 56 data bytes
64 bytes from 10.15.0.1: icmp_seq=0 ttl=64 time=38.464 ms
--- 10.15.0.1 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 38.464/38.464/38.464 ms