This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problem witth the PPP stack by Mark Retallack


Do you have a copy of the ppp log from the eCos system? It would be useful
to see it.

Have you tested the example application 'has is'? Without modification over
a null modem cable connect to a Linux box?

If a connect has been made to the GPRS provider, and the IP layer is not
working, it might be something wrong with the AT string. I use: 
	at+cgdcont=1,ip,mobile.o2.co.uk 
This tells the modem where to connect to on the GPRS service provider. The
best way to check this (if you have not do so already) is to use a PC to
connect to the GPRS network, and check that the modem settings are correct. 

The ppp stack will fail if the Ethernet interface has been started. This is
because the ppp stack does not delete the defaultroute that the Ethernet
interface sets up, before adding its own route.   



> -----Original Message-----
> From: Deak Ferenc [mailto:feco@stp.hu]
> Sent: Friday 06 February 2004 10:10 AM
> To: ECOS
> Subject: [ECOS] Problem witth the PPP stack by Mark Retallack
> 
> 
> 
> Dear Sirs,
> 
> I spent this week with the PPP stack provided by Mark 
> Retallack. Finally I have to ask for a help. 
> 
> I'm trying to connect to the inernet with a GPRS modem. I can 
> connect to my GSM provider, after connect I see the local IP 
> and the remote IP. 
> 
> At this point everything seems fine, but I can not ping any 
> host, and can not connect to any host. Something happens with 
> the ping, because I see the protocol 0x21 in the PPP logs but 
> no answer arrives to my ping.
> 
> My program is based on the example provided in the package, 
> with minimal changes.
> 
> Our system is stable and used for years with ethernet, so I 
> think it is not the problem with the whole system.
> 
> One more problem: If I additionally initialize an ethernet 
> interface (which works fine for years) with fix IP and with a 
> gateway (with init_net), then 'dodefaultroute' fails in the 
> PPP login process. If I set the gateway to "0.0.0.0", then 
> 'dodefaultroute' succeeds in PPP, but the system hangs when 
> I'm trying to connect to any host.
> 
> Can somebody help me, or show a working example?
> 
> Thanks in advance,
> Ferenc Deak
> 
> 
> 
> 
> -- 
> Before posting, please read the FAQ: 
http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Siemens Traffic Controls is a division of Siemens plc. Registered No.
727817, England. 
Registered office: Siemens House, Oldbury, Bracknell, Berkshire, RG12 8FZ. 

This communication contains information which is confidential and 
may also be privileged. It is for the exclusive use of the addressee. 
If you are not the addressee please note that any distribution, 
reproduction, copying, publication or use of this communication 
or the information in it is prohibited.  If you have received this 
communication in error, please contact us immediately and also 
delete the communication from your computer. 



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]