Re: GPRS / pppd

This is a discussion on Re: GPRS / pppd within the Linux Networking forums, part of the Linux Forums category; "132.a.dabei" <123.a.dabei@gmx.at> wrote: > Hi dan, > > thank you ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-19-2005
news@absamail.co.za
 
Posts: n/a
Default Re: GPRS / pppd

"132.a.dabei" <123.a.dabei@gmx.at> wrote:

> Hi dan,
>
> thank you for your suggestions.
> It wasn't the sim-card. I had to rename the file "chap-secrets" into
> "pap-secrets". That's kinda strange, because I really used the same sim
> !?!?!
>
> However: Using quotation marks around the pin code makes no change: the
> script fails.
>
> C++: I also started to write a program in c++: Sending AT commands to
> /dev/ttyS0 is something easy. The point where I got stuck was: I had no
> idea how to start the ppp connection after I initialized the modem. How
> did you do that? If I knew how to implement ppp into my project, it
> would be the best solution.
>
> Thank you
>
> Herwig


I'm cross-posting this to Newsgroup: comp.protocols.ppp
where you can get advice from 'world specailist[s]' on ppp.
I got just such advice.

== Chris Glur.


Reply With Quote
  #2 (permalink)  
Old 07-29-2005
James Carlson
 
Posts: n/a
Default Re: GPRS / pppd

news@absamail.co.za writes:
> > C++: I also started to write a program in c++:


ick.

> > Sending AT commands to
> > /dev/ttyS0 is something easy. The point where I got stuck was: I had no
> > idea how to start the ppp connection after I initialized the modem. How
> > did you do that? If I knew how to implement ppp into my project, it
> > would be the best solution.

>
> I'm cross-posting this to Newsgroup: comp.protocols.ppp
> where you can get advice from 'world specailist[s]' on ppp.
> I got just such advice.


Fork and exec /usr/bin/pppd with the file descriptor for that serial
device dup2'd into 0 and 1.

--
James Carlson, KISS Network <james.d.carlson@sun.com>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
Reply With Quote
  #3 (permalink)  
Old 07-29-2005
David Goodenough
 
Posts: n/a
Default Re: GPRS / pppd

James Carlson wrote:

> news@absamail.co.za writes:
>> > C++: I also started to write a program in c++:

>
> ick.
>
>> > Sending AT commands to
>> > /dev/ttyS0 is something easy. The point where I got stuck was: I had no
>> > idea how to start the ppp connection after I initialized the modem. How
>> > did you do that? If I knew how to implement ppp into my project, it
>> > would be the best solution.

>>
>> I'm cross-posting this to Newsgroup: comp.protocols.ppp
>> where you can get advice from 'world specailist[s]' on ppp.
>> I got just such advice.

>
> Fork and exec /usr/bin/pppd with the file descriptor for that serial
> device dup2'd into 0 and 1.
>

Try the easyconnect program, otherwise knows as gprsec. It wrapps up all
this stuff for you.

David
_________________________________________
Usenet Zone Free Binaries Usenet Server
More than 120,000 groups
Unlimited download
http://www.usenetzone.com to open account
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:47 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0