PPP problem - HELP!!!
Hi!
I'm pretty new on this list, but I think I my mails wount be too lame for
you...
(sorry for my bad english)
Ok, let's start:
I've a problem, and I don't know how to fix this! (nearly every1 has on
this list ;))
I have a Debian 2.1 aka "Slink" changed slightely to Potato (all packages
related
to kernel and networking and a few other are from Potato).
I use kernel 2.2.14 and I have a PROBLEM with ppp - I want to connect to
my ISP
(actually this isn't my real ISP - do you know what TP S.A. is? :)) and
everything is
fine except... when the connection is established, I cannot ping to my
internet gateway,
and everywhere in the internet.
Ah, I forgot to tell you that I don't have permanent connection to
internet, and I have a small
LAN (two PCs connected each other with ethernet). My LAN address on eth0
is 192.168.1.1.
Now I want to show you my scripts - created automagically by pppconfig:
(I use CHAT to connect)
file /etc/chatscripts/provider
---------------------------------
# This chatfile was generated by pppconfig 2.0.1.
# Please do not delete any of the comments. Pppconfig needs them.
#
# ispauth chat
# abortstring
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO
DIAL TONE' ABORT 'NO ANSWER'
# modeminit
'' ATZ
# ispnumber
OK-AT-OK ATDT0202122
# ispconnect
CONNECT ''
# prelogin
# ispname
sername: ppp
# isppassword
ssword: \qppp
# postlogin
'' \d\c
# end of pppconfig stuff
--------------------------------------
and options file /etc/ppp/peers/provider:
---------------------------------------
# This optionfile was generated by pppconfig 2.0.1.
#
#
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"
debug
/dev/ttyS1
115200
defaultroute
noipdefault
user ppp
remotename provider
ipparam provider
-------------------------------------------
Everything seems to be OK - I've set static nameservers - as I know their
addreses and
my /etc/resolv.conf file looks like this:
-----------------------------------------------
domain lodz.tpnet.pl
search lodz.tpnet.pl tpnet.pl
nameserver 194.204.152.34
nameserver 194.204.159.1
-------------------------------------------------
And now my logs - how it all works (actually DON'T!):
/var/log/ppp.log:
---------------------------------------------
Jan 19 23:04:55 guru pppd[2741]: pppd 2.3.10 started by root, uid 0
Jan 19 23:04:56 guru chat[2743]: abort on (BUSY)
Jan 19 23:04:56 guru chat[2743]: abort on (NO CARRIER)
Jan 19 23:04:56 guru chat[2743]: abort on (VOICE)
Jan 19 23:04:56 guru chat[2743]: abort on (NO DIALTONE)
Jan 19 23:04:56 guru chat[2743]: abort on (NO DIAL TONE)
Jan 19 23:04:56 guru chat[2743]: abort on (NO ANSWER)
Jan 19 23:04:56 guru chat[2743]: send (ATZ^M)
Jan 19 23:04:56 guru chat[2743]: expect (OK)
Jan 19 23:04:56 guru chat[2743]: ATZ^M^M
Jan 19 23:04:56 guru chat[2743]: OK
Jan 19 23:04:56 guru chat[2743]: -- got it
Jan 19 23:04:56 guru chat[2743]: send (ATDT0202122^M)
Jan 19 23:04:57 guru chat[2743]: expect (CONNECT)
Jan 19 23:04:57 guru chat[2743]: ^M
Jan 19 23:05:20 guru chat[2743]: ATDT0202122^M^M
Jan 19 23:05:20 guru chat[2743]: CONNECT
Jan 19 23:05:20 guru chat[2743]: -- got it
Jan 19 23:05:20 guru chat[2743]: send (^M)
Jan 19 23:05:20 guru chat[2743]: expect (sername:)
Jan 19 23:05:20 guru chat[2743]: 115200^M
Jan 19 23:05:23 guru chat[2743]: ^M
Jan 19 23:05:23 guru chat[2743]: WITAMY W INTERNECIE (Lodz)^M
Jan 19 23:05:23 guru chat[2743]: ^M
Jan 19 23:05:23 guru chat[2743]: ^M
Jan 19 23:05:23 guru chat[2743]: http://www.tpnet.pl^M
Jan 19 23:05:23 guru chat[2743]: http://www.tpsa.pl^M
Jan 19 23:05:23 guru chat[2743]: ^M
Jan 19 23:05:23 guru chat[2743]: Name server: 194.204.152.34,
194.204.159.1^M
Jan 19 23:05:23 guru chat[2743]: ^M
Jan 19 23:05:23 guru chat[2743]: Prosze wpisac:^M
Jan 19 23:05:23 guru chat[2743]: ^M
Jan 19 23:05:23 guru chat[2743]: Username:
Jan 19 23:05:23 guru chat[2743]: -- got it
Jan 19 23:05:23 guru chat[2743]: send (ppp^M)
Jan 19 23:05:23 guru chat[2743]: expect (ssword:)
Jan 19 23:05:23 guru chat[2743]: ppp Password:
Jan 19 23:05:23 guru chat[2743]: -- got it
Jan 19 23:05:23 guru chat[2743]: send (??????)
Jan 19 23:05:23 guru chat[2743]: send (\d)
Jan 19 23:05:24 guru pppd[2741]: Serial connection established.
Jan 19 23:05:24 guru pppd[2741]: Using interface ppp0
Jan 19 23:05:24 guru pppd[2741]: Connect: ppp0 <--> /dev/ttyS1
Jan 19 23:05:25 guru pppd[2741]: sent [LCP ConfReq id=0x1 <mru 552>
<asyncmap 0x0> <magic 0x4c8198cd> <pcomp> <accomp>]
Jan 19 23:05:26 guru pppd[2741]: rcvd [LCP ConfReq id=0x1 <mru 1500>
<asyncmap 0xa0000> <magic 0x6b543e19> <pcomp> <accomp>]
Jan 19 23:05:26 guru pppd[2741]: sent [LCP ConfAck id=0x1 <mru 1500>
<asyncmap 0xa0000> <magic 0x6b543e19> <pcomp> <accomp>]
Jan 19 23:05:28 guru pppd[2741]: sent [LCP ConfReq id=0x1 <mru 552>
<asyncmap 0x0> <magic 0x4c8198cd> <pcomp> <accomp>]
Jan 19 23:05:28 guru pppd[2741]: rcvd [LCP ConfNak id=0x1 <mru 1500>]
Jan 19 23:05:28 guru pppd[2741]: sent [LCP ConfReq id=0x2 <asyncmap 0x0>
<magic 0x4c8198cd> <pcomp> <accomp>]
Jan 19 23:05:29 guru pppd[2741]: rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>
<magic 0x4c8198cd> <pcomp> <accomp>]
Jan 19 23:05:29 guru pppd[2741]: sent [LCP EchoReq id=0x0
magic=0x4c8198cd]
Jan 19 23:05:29 guru pppd[2741]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>
<compress VJ 0f 01>]
Jan 19 23:05:29 guru pppd[2741]: sent [CCP ConfReq id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Jan 19 23:05:29 guru pppd[2741]: rcvd [LCP EchoRep id=0x0
magic=0x6b543e19]
Jan 19 23:05:29 guru pppd[2741]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f
00>]
Jan 19 23:05:29 guru pppd[2741]: sent [IPCP ConfNak id=0x1 <addr 0.0.0.0>]
Jan 19 23:05:29 guru pppd[2741]: rcvd [IPCP ConfReq id=0x2 <compress VJ 0f
00> <addr 194.204.181.26>]
Jan 19 23:05:29 guru pppd[2741]: sent [IPCP ConfAck id=0x2 <compress VJ 0f
00> <addr 194.204.181.26>]
Jan 19 23:05:32 guru pppd[2741]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>
<compress VJ 0f 01>]
Jan 19 23:05:32 guru pppd[2741]: sent [CCP ConfReq id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Jan 19 23:05:32 guru pppd[2741]: rcvd [IPCP ConfNak id=0x1 <addr
212.160.29.43>]
Jan 19 23:05:32 guru pppd[2741]: sent [IPCP ConfReq id=0x2 <addr
212.160.29.43> <compress VJ 0f 01>]
Jan 19 23:05:32 guru pppd[2741]: rcvd [LCP ProtRej id=0x0 80 fd 01 01 00
0f 1a 04 78 00 18 04 78 00 15 03 2f]
Jan 19 23:05:32 guru pppd[2741]: rcvd [IPCP ConfAck id=0x2 <addr
212.160.29.43> <compress VJ 0f 01>]
Jan 19 23:05:32 guru pppd[2741]: Cannot determine ethernet address for
proxy ARP
Jan 19 23:05:32 guru pppd[2741]: local IP address 212.160.29.43
Jan 19 23:05:32 guru pppd[2741]: remote IP address 194.204.181.26
Jan 19 23:05:59 guru pppd[2741]: sent [LCP EchoReq id=0x1
magic=0x4c8198cd]
Jan 19 23:05:59 guru pppd[2741]: rcvd [LCP EchoRep id=0x1
magic=0x6b543e19]
Jan 19 23:06:29 guru pppd[2741]: sent [LCP EchoReq id=0x2
magic=0x4c8198cd]
Jan 19 23:06:29 guru pppd[2741]: rcvd [LCP EchoRep id=0x2
magic=0x6b543e19]
Jan 19 23:06:59 guru pppd[2741]: sent [LCP EchoReq id=0x3
magic=0x4c8198cd]
Jan 19 23:06:59 guru pppd[2741]: rcvd [LCP EchoRep id=0x3
magic=0x6b543e19]
Jan 19 23:07:29 guru pppd[2741]: sent [LCP EchoReq id=0x4
magic=0x4c8198cd]
Jan 19 23:07:29 guru pppd[2741]: rcvd [LCP EchoRep id=0x4
magic=0x6b543e19]
Jan 19 23:07:59 guru pppd[2741]: sent [LCP EchoReq id=0x5
magic=0x4c8198cd]
Jan 19 23:07:59 guru pppd[2741]: rcvd [LCP EchoRep id=0x5
magic=0x6b543e19]
Jan 19 23:08:29 guru pppd[2741]: sent [LCP EchoReq id=0x6
magic=0x4c8198cd]
Jan 19 23:08:29 guru pppd[2741]: rcvd [LCP EchoRep id=0x6
magic=0x6b543e19]
Jan 19 23:08:59 guru pppd[2741]: sent [LCP EchoReq id=0x7
magic=0x4c8198cd]
Jan 19 23:08:59 guru pppd[2741]: rcvd [LCP EchoRep id=0x7
magic=0x6b543e19]
Jan 19 23:09:29 guru pppd[2741]: sent [LCP EchoReq id=0x8
magic=0x4c8198cd]
Jan 19 23:09:29 guru pppd[2741]: rcvd [LCP EchoRep id=0x8
magic=0x6b543e19]
Jan 19 23:09:59 guru pppd[2741]: sent [LCP EchoReq id=0x9
magic=0x4c8198cd]
Jan 19 23:09:59 guru pppd[2741]: rcvd [LCP EchoRep id=0x9
magic=0x6b543e19]
Jan 19 23:10:29 guru pppd[2741]: sent [LCP EchoReq id=0xa
magic=0x4c8198cd]
Jan 19 23:10:29 guru pppd[2741]: rcvd [LCP EchoRep id=0xa
magic=0x6b543e19]
-----------------------------------------------
Everything seems to be ok right?
Maybe except line with:
Cannot determine ethernet address for proxy ARP - what does it mean?
Is this my real problem???
When connection is established "ifconfig" returns:
----------------------------------------
eth0 Link encap:Ethernet HWaddr 00:60:52:0A:E5:F5
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:9 Base address:0xdc00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
ppp0 Link encap:Point-to-Point Protocol
inet addr:212.160.29.43 P-t-P:194.204.181.26
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:552 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
-----------------------------------------
ppp0 looks good except this "NOARP" thing (again)
and "route -n" returns:
-----------------------------------------
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
194.204.181.26 0.0.0.0 255.255.255.255 UH 0 0 0
ppp0
192.168.1.0 192.168.1.1 255.255.255.0 UG 0 0 0
eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
0.0.0.0 194.204.181.26 0.0.0.0 UG 0 0 0
ppp0
------------------------------------------
Is this good?
And "ping 195.116.162.1" (this IP is the address of host in my city)
returns:
------------------------------------------
PING 195.116.162.1 (195.116.162.1): 56 data bytes
ping: send - operation not permited
ping: wrote 195.116.162.1 64 chars, ret=-1
ping: send - operation not permited
ping: wrote 195.116.162.1 64 chars, ret=-1
ping: send - operation not permited
ping: wrote 195.116.162.1 64 chars, ret=-1
--- 195.116.162.1 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
-------------------------------------------
That's all folks!
As you can see I cannot ping any host in the internet, my INET gateway too
(in this case 194.204.181.26), but ping on my ppp0 (212.160.29.43) address
is ok.
What's going on here? What is wrong here?
Maybe my /etc/init.d/network script is wrong? How it should look?
Please HELP me! I don't know what to do and how to fix this!
Any help will be appreciated!
Greetings, aDEk.
_________ ___. ____ adrian zurek
____\ \ _______-- !_/ / adek@abyss.lodz.pdi.net
/ \ \ \\ _____/ / http://plukwa.pdi.net/~adek
\ -- \ \ / ___)____ <--------------------------------------------.
\____/\\_____/_______ / \\ Debian GNU/Linux rulez!!! |
`--------\/-of
seasons-\/__/\____\------------------------------------------'
Reply to: