ts-7000
[Top] [All Lists]

[ts-7000] Re: How to start pppd on TS-GSM1

To:
Subject: [ts-7000] Re: How to start pppd on TS-GSM1
From: "odonovan_dan" <>
Date: Wed, 11 Feb 2009 12:43:30 -0000
Hi Pierre

Do you want to invoke pppd to make outbound connections, dialling out from your TS7300, or do you want to set up PPP on inbound connections, or both?

For inbound connections, you'd most likely need to run mgetty and have it listen on the serial port where your GSM module is connected.  Then you can enable the AutoPPP option in /etc/mgetty/login.config so that mgetty will launch pppd when it sees an incoming PPP connection.

For outgoing connections, you can launch /usr/sbin/pppd directly from the command line.  You'll also need a chat script to help set up the connection.  And you'll need to set up username/password pairs in /etc/ppp/pap-secrets or /etc/ppp/chap-secrets.

You can set default options for pppd in /etc/pppd/options.  Take a look at the pppd man page and research the options carefully, so that you can select the right ones for your particular use case.

Here's a sample pppd command line that I have use d to connect from the TS device to an external PPP server:

/usr/sbin/pppd /dev/ttyS0 115200 modem crtscts -detach noipdefault user <insert_username> connect '/usr/sbin/chat -v -s -f /etc/chatscripts/pap -T <insert_phonenum>'

Here's the chatscript I used:
ABORT        BUSY
ABORT        VOICE
ABORT        "NO CARRIER"
ABORT        "NO DIALTONE"
ABORT        "NO DIAL TONE"
""        ATZ
OK        ATDT\T
CONNECT        ""

I hope that helps to get you started.

Regards,
-Dan



--- In pierre lafrance <> wrote:
>
>
> Any idea on what I co u ld to to start pppd on TS-GSM1 module with TS-7300 ?
> Thanks!
>
> Pierre
>
> Computers in the future may weigh no more than 1.5 tons
> (Popular Mechanics, 1949)
>
>
>
> To:
> From:
> Date: Mon, 9 Feb 2009 23:32:37 -0500
> Subject: [ts-7000] How to start pppd on TS-GSM1
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>    
>            
>
>
> Hi groups,
>
> I have a simple linux question.
>
> I succeeded to connect the GPRS MODEM to network with the help of minicom and AT commands.
>
> What do I do to get PPPD running ? 
> GPRS Modem is on ttyS0 serial port. < br>>
>
>
> Thanks,
>
>
> Pierre
>
> Computers in the future may weigh no more than 1.5 tons
> (Popular Mechanics, 1949)
>
>
> How fun is this? IMing with Windows Live Messenger just got better.
>

>
>      
>
>    
>
>           
>  
>    
>    
>    
>    
>    
>
>
>    
>
>
>    
>    
> _________________________________________________________________
> Windows Live Messenger. Multitasking at its finest.
> http://www.microsoft.com/windows/windowslive/products/messenger.aspx
>



__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU