LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-20-2011, 10:28 PM   #1
sean_hurly
LQ Newbie
 
Registered: Jun 2010
Location: South Africa
Distribution: Ubuntu
Posts: 18

Rep: Reputation: 0
local and remote ip address identical using ppp


Hi, I manage to ping and traceroute "www.google.com" but see the following strange syslog wrt local and remote ip address on my embedded platform when trying to use a gprs modem. Can someone please explain the LCP code: LCP ProtRej id=0x3 80 fd ...


Sep 20 12:11:36 mini6410 daemon.info pppd[1230]: Using interface ppp0
Sep 20 12:11:36 mini6410 daemon.notice pppd[1230]: Connect: ppp0 <--> /dev/ttySAC1
Sep 20 12:11:36 mini6410 daemon.debug pppd[1230]: sent [LCP ConfReq id=0x1 <asyncmap 0x20a0000> <pcomp> <accomp>]
Sep 20 12:11:36 mini6410 daemon.debug pppd[1230]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe59256ec> <pcomp> <accomp>]
Sep 20 12:11:36 mini6410 daemon.debug pppd[1230]: sent [LCP ConfRej id=0x1 <magic 0xe59256ec>]
Sep 20 12:11:36 mini6410 daemon.debug pppd[1230]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x20a0000> <pcomp> <accomp>]
Sep 20 12:11:36 mini6410 daemon.debug pppd[1230]: rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <pcomp> <accomp>]
Sep 20 12:11:36 mini6410 daemon.debug pppd[1230]: sent [LCP ConfAck id=0x2 <asyncmap 0x0> <pcomp> <accomp>]
Sep 20 12:11:36 mini6410 daemon.debug pppd[1230]: sent [CCP ConfReq id=0x1 <mppe -H -M -S -L -D -C> <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Sep 20 12:11:36 mini6410 daemon.debug pppd[1230]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
Sep 20 12:11:36 mini6410 daemon.debug pppd[1230]: rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 15 12 06 00 00 00 00 1a 04 78 00 18 04 78 00 15]
Sep 20 12:11:37 mini6410 daemon.debug pppd[1230]: rcvd [IPCP ConfReq id=0x1 <addr 41.114.232.152>]
Sep 20 12:11:37 mini6410 daemon.debug pppd[1230]: sent [IPCP ConfAck id=0x1 <addr 41.114.232.152>]
Sep 20 12:11:37 mini6410 daemon.debug pppd[1230]: rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
Sep 20 12:11:37 mini6410 daemon.debug pppd[1230]: sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
Sep 20 12:11:37 mini6410 daemon.debug pppd[1230]: rcvd [IPCP ConfNak id=0x2 <addr 41.114.232.152>]
Sep 20 12:11:37 mini6410 daemon.debug pppd[1230]: sent [IPCP ConfReq id=0x3 <addr 41.114.232.152>]
Sep 20 12:11:37 mini6410 daemon.debug pppd[1230]: rcvd [IPCP ConfAck id=0x3 <addr 41.114.232.152>]
Sep 20 12:11:37 mini6410 daemon.notice pppd[1230]: local IP address 41.114.232.152
Sep 20 12:11:37 mini6410 daemon.notice pppd[1230]: remote IP address 41.114.232.152
 
Old 09-21-2011, 05:40 AM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
The modem is configured to share the public IP.
 
Old 09-22-2011, 05:10 AM   #3
sean_hurly
LQ Newbie
 
Registered: Jun 2010
Location: South Africa
Distribution: Ubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
thanks, i cannot see why the modem should do that, my manual setup:

stty 115200 cs8 -parenb crtscts -echo -F /dev/ttySAC1
echo 'ATZ' > /dev/ttySAC1
echo 'AT+CGDCONT=1, "IP", "internet" ' > /dev/ttySAC1
echo 'ATDT*99#' > /dev/ttySAC1
echo '/d/c' > /dev/ttySAC1
pppd debug lock modem crtscts /dev/ttySAC1 115200 \
nomagic noauth noipdefault defaultroute holdoff 10
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can get local and remote IP address from TCP connect? yhus Programming 2 09-07-2009 01:34 PM
relay all non-local mail to 1 local address and NOT real destinations manqox Linux - Server 6 09-04-2008 04:13 AM
Find real ip address using link local address, mdns/zeroconf dannemanare Linux - Networking 0 01-17-2008 04:31 AM
can't ping local IP address but can ping remote hosts rob_xx17 Linux - Networking 4 12-02-2006 08:39 AM
shell script to compare filese b/w local and remote and delete files from local serve dsids Linux - Networking 9 08-23-2006 07:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration