ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: COM Port Problem in PPPD

To:
Subject: Re: [ts-7000] Re: COM Port Problem in PPPD
From: amit singh <>
Date: Thu, 13 Nov 2008 04:36:27 -0800 (PST)
Please suggest some possible solution of this why every time we needed to initialize the modem for receiving the data on Minicom Terminal.

--- On Wed, 11/12/08, dinesh_lohan <> wrote:
From: dinesh_lohan <>
Subject: [ts-7000] Re: COM Port Problem in PPPD
To:
Date: Wednesday, November 12, 2008, 11:56 AM

Instead of PPP connection now I started with dial up connection
through using ttyT8S0 once dial up connection is establish between
board and Linux disro .From Linux Distro side when I am sending
charcter its not coming on board minicom terminal its coming only when
I am initializing the modem at board side.But Now doing Reverse of it
sending character from board to Distro.Now Its coming on the terminal
of Linux distro.Same thing is happening for other port
ttyT8S1,ttyT8S2, ttyT8S3.
But its working fine on port ttyAM0 no need of initializing the modem
at board side.What I notice from this might be problem when I
establish PPP connection using ttyT8S0,ttyT8S1 etc. only .
Connect :ppp0 <--> /dev/ttyT8S1
sent [LCP Config id=0X4 <mru 552> <asyncamp 0x0> <accomp>]
sent [LCP Config id=0X4 <mru 552> <asyncamp 0x0> <accomp>]
sent [LCP Config id=0X4 <mru 552> <asyncamp 0x0> <accomp>]
sent [LCP Config id=0X4 <mru 552> <asyncamp 0x0> <accomp>]
sent [LCP Config id=0X4 <mru 552> <asyncamp 0x0> <accomp>]
sent [LCP Config id=0X4 <mru 552> <asyncamp 0x0> <accomp>]
sent [LCP Config id=0X4 <mru 552> <asyncamp 0x0> <accomp>]
sent [LCP Config id=0X4 <mru 552> <asyncamp 0x0>

In the LCP nego. pacaket only its sendig LCP packet but no received
LCP pacaket is their.
First off all help me out how to solve minicom problem why we
initialize every time at board side.

--- In .com, "dinesh_lohan" <dinesh_lohan@ ...> wrote:
>
> one more think I noticed is that when I am giving PPPd command on
> prompt and then checked in the Running process I found that the pppd
> is running on port ttAM0.In ppp options file Ihave given ttyT8S0 port
> and also comment getty on ttyAM0 port inittab.Then from where its
> taking port ttyAM0 when I am running PPPD on board side.
> --- In .com, "dinesh_lohan" <dinesh_lohan@ > wrote:
> >
> > I had tried everything frrom my side added the options
> > xonoff,cdtrcts, nolock but nothing is working.Still strugling.
> > --- In .com, "Eric Robishaw" <eric@> wrote:
> > >
> > > Try adding nolock to the options file.
> > >
> > > Eric
> > >
> > > On Mon, Nov 10, 2008 at 11:04 PM, dinesh_lohan <dinesh_lohan@ >wrote:
> > >
> > > > Please show me the way how to tackle this problem.
> > > > URGENT.
> > > >
> > > > --- In .com <ts-7000%40yahoogro ups.com>,
"ts7300"
> > > > <ts7300@> wrote:
> > > > >
> > > > > In my case PPP connection is working on Com Port ttyAM0 But
> fails on
> > > > > rest all Com port of the board.What I think some thing I
> missing in
> > > > > options.
> > > > > Below are options file.
> > > > > CONNECT "/usr/sbin/chat -S -s -v -f /etc/chatscript/ pap2 -T 20"
> > > > > dev/ttyT8S0
> > > > > 115200
> > > > > -detach
> > > > > xonxoff
> > > > > mru 552
> > > > > mtu 552
> > > > > debug
> > > > > asyncmap
> > > > > persist
> > > > > cdtrcts
> > > > > nomagic
> > > > > passive
> > > > > dump
> > > > > 10.10.20.1:10. 10.20.2
> > > > >
> > > > > Connect SCRIPT:
> > > > > ABORT BUSY
> > > > > ABORT VOICE
> > > > > ABORT "NO CARRIER:
> > > > > ABORT "NO DIAL TONE"
> > > > > ABORT "NO DIALTONE"
> > > > > "" AT
> > > > > OK ATDT20
> > > > > "" ATE0
> > > > > CONNECT ""
> > > > > --- In .com <ts-7000%40yahoogro ups.com>,
"Eric
> > > > Robishaw" <eric@> wrote:
> > > > > >
> > > > > > Below is everything I did to get PPP working on the 7800.
> > > > > > Some specifics will not apply to you, as they are specific to
> > using
> > > > > a GPRS
> > > > > > modem over Tmobile, but you should be able to figure it out.
> > > > > >
> > > > > > NOTE especially the options file and the nolock option.
> > > > > > hope this helps.
> > > > > >
> > > > > >
> > > > > >
> > > > > > Add the following lines to /etc/modules
> > > > > >
> > > > > > ppp_generic
> > > > > >
> > > > > > ppp_async
> > > > > >
> > > > > > pppoe
> > > > > >
> > > > > > pppox
> > > > > >
> > > > > >
> > > > > >
> > > > > > Create file /etc/modutils/ ppp:
> > > > > >
> > > > > > Type:
> > > > > >
> > > > > > pico /etc/modutils/ ppp
> > > > > >
> > > > > > Paste the following and save:
> > > > > >
> > > > > > alias /dev/ppp ppp_generic
> > > > > >
> > > > > > alias char-major-108 ppp_generic
> > > > > >
> > > > > > alias ttt-ldisc-3 ppp_async
> > > > > >
> > > > > > alias tty-ldisc-14 ppp_synctty
> > > > > >
> > > > > > alias ppp-compress- 21 bsd_comp
> > > > > >
> > > > > > alias ppp-compress- 24 ppp_deflate
> > > > > >
> > > > > > alias ppp-compress- 26 ppp_deflate
> > > > > >
> > > > > >
> > > > > >
> > > > > > Create file: /etc/ppp/peers/ tmobile
> > > > > >
> > > > > > nolock
> > > > > >
> > > > > > user E
> > > > > >
> > > > > > password P
> > > > > >
> > > > > > connect '/usr/sbin/chat -v -s -f
> /etc/chatscripts/ tmobile-connect'
> > > > > >
> > > > > > disconnect '/usr/sbin/chat -v -s -f
> > > > /etc/chatscripts/ tmobile-disconne ct'
> > > > > >
> > > > > >
> > > > > >
> > > > > > #the following must appear HERE instead of OPTIONS b/c of
> > priv. status
> > > > > >
> > > > > > noauth
> > > > > >
> > > > > >
> > > > > >
> > > > > > Create file: /etc/chatscripts/ tmobile-connect
> > > > > >
> > > > > > TIMEOUT 15
> > > > > >
> > > > > > ECHO OFF
> > > > > >
> > > > > > ABORT "NO ANSWER"
> > > > > >
> > > > > > ABORT "NO CARRIER"
> > > > > >
> > > > > > ABORT "Connection terminated."
> > > > > >
> > > > > > SAY "Starting GPRS Connection\n\ n"
> > > > > >
> > > > > > ABORT "ERROR"
> > > > > >
> > > > > > "" ATZ
> > > > > >
> > > > > > OK ATE0
> > > > > >
> > > > > >
> > > > > >
> > > > > > #TURN OFF MODEM ECHO OK ATE1 #OK "ATE0V1" #"" 'ATE1'
> > > > > >
> > > > > > OK AT+CPIN?
> > > > > >
> > > > > > READY AT+CGDCONT=1, "IP","m2m. t-mobile. com"
> > > > > >
> > > > > > ECHO ON
> > > > > >
> > > > > > OK AT+CSQ
> > > > > >
> > > > > > SAY "*********** ******* SIGNAL STRENGTH
> > > > ************ ********* ****:\n"
> > > > > >
> > > > > > ECHO OFF
> > > > > >
> > > > > > OK ATD*99***1#
> > > > > >
> > > > > > CONNECT 'c'
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Create file: /etc/chatscripts/ tmobile-disconne ct
> > > > > >
> > > > > > "" +++ATH0
> > > > > >
> > > > > > SAY "GPRS DISCONNECTED"
> > > > > >
> > > > > >
> > > > > >
> > > > > > Create (or modify) file: /etc/ppp/ip- up.local
> > > > > >
> > > > > > (this is executed upon a good ppp connection)
> > > > > >
> > > > > > exec /usr/local/bin/ pppconnection
> > > > > >
> > > > > >
> > > > > >
> > > > > > Create file: /etc/ppp/ip- down.local
> > > > > >
> > > > > > exec /usr/local/bin/ pppconnection 1
> > > > > >
> > > > > >
> > > > > >
> > > > > > Make the above 2 files executible:
> > > > > >
> > > > > > chmod 700 /etc/ppp/ip- up.local
> > > > > >
> > > > > > chmod 700 /etc/ppp/ip- down.local
> > > > > >
> > > > > >
> > > > > >
> > > > > > Copy file /etc/ppp/options to the following:
> > > > > >
> > > > > > cp /etc/ppp/options /etc/ppp/options. bak
> > > > > >
> > > > > >
> > > > > >
> > > > > > Modify file /etc/ppp/options to the following:
> > > > > >
> > > > > > debug
> > > > > >
> > > > > > #nodetach stay running
> > > > > >
> > > > > > #updetach #to detach once connected. For debugging
> > > > > purposes
> > > > > > only.
> > > > > >
> > > > > >
> > > > > >
> > > > > > asyncmap 0
> > > > > >
> > > > > > usepeerdns
> > > > > >
> > > > > >
> > > > > >
> > > > > > #hardware flow control
> > > > > >
> > > > > > #crtscts
> > > > > >
> > > > > > cdtrcts #if no hardware flow control is available
> > > > > >
> > > > > > persist #re-connect upon a failed connect
> > > > > >
> > > > > >
> > > > > >
> > > > > > #nomagic
> > > > > >
> > > > > >
> > > > > >
> > > > > > nopcomp
> > > > > >
> > > > > > nobsdcomp
> > > > > >
> > > > > > nodeflate
> > > > > >
> > > > > > noauth
> > > > > >
> > > > > >
> > > > > >
> > > > > > defaultroute #use this if
> > > > you want
> > > > > > this device to be the main internet connection.
> > > > > >
> > > > > > #You
> > > > > would not
> > > > > > use this if you were for somereason using ppp AND wired
> internet.
> > > > > >
> > > > > > replacedefaultroute #replaces the wired route.
> > > > > > Replaces back when done.
> > > > > >
> > > > > > #add a new default route in which the peer is the gaetway
> > > > > >
> > > > > >
> > > > > >
> > > > > > Set the Serial Port to the desire bit rate (recommended:
38400):
> > > > > >
> > > > > > setserial /dev/ttts4 baud_base 38400
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > REBOOT the system
> > > > > >
> > > > > > reboot
> > > > > >
> > > > > >
> > > > > >
> > > > > > COMMANDS:
> > > > > >
> > > > > > TO Connect
> > > > > >
> > > > > > pon tmobile ttts4 38400
> > > > > >
> > > > > > TO Disconnect
> > > > > >
> > > > > > poff tmobile ttts4
> > > > > >
> > > > > > To connect w/ debugging
> > > > > >
> > > > > > Pon tmobile ttts4 38400 updetach
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Once a good connection is made:
> > > > > >
> > > > > > "Ifconfig ppp0" should return values.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Wed, Nov 5, 2008 at 11:16 PM, ts7300 <ts7300@> wrote:
> > > > > >
> > > > > > > First of all Thanx for Reply.
> > > > > > > Below are the ppp options:
> > > > > > > -detach
> > > > > > > xonxoff
> > > > > > > mru 552
> > > > > > > mtu 552
> > > > > > > debug
> > > > > > > asyncmap
> > > > > > > persist
> > > > > > > cdtrcts
> > > > > > > nomagic
> > > > > > > passive
> > > > > > > dump
> > > > > > > 10.10.20.1:10. 10.20.2
> > > > > > >
> > > > > > > I have tried with XONXOFF otions in PPP options file but
> > still same
> > > > > > > problem come.
> > > > > > > --- In .com <ts-7000%40yahoogro ups.com>
> > <ts-7000%
> > > > 40yahoogroups. com>,
> > > > > "odonovan_dan"
> > > > > > > <danodonovan@ > wrote:
> > > > > > > >
> > > > > > > > Could it be an issue with flow control settings?
> > > > > > > > ttyAM0 has all of the hardware flow control lines
hooked up,
> > > > whereas
> > > > > > > > ttyAM1 doesn't so I think you would need to be using
either
> > > > software
> > > > > > > > (XON/XOFF) or no flow control with that port (and
> > configure the
> > > > > device
> > > > > > > > on the other end of the connection to use the same).
> > RTS/CTS flow
> > > > > > > > control would only work on ttyAM0 I think.
> > > > > > > >
> > > > > > > >
> > > > > > > > --- In .com
> > <ts-7000%40yahoogro ups.com>< ts-7000%
> > > > 40yahoogroups. com>,
> > > > "ts7300"
> > > > > > > <ts7300@> wrote:
> > > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > > I am using TS-7300 Board for PPPD dial up connection and
> > PPPD
> > > > > > > > > connection is sucessful working when I am using ttyAM0
> port
> > > > > but once I
> > > > > > > > > switched to other com port i.e. ttyAM1,ttyT8S0, ttyT8S1
> > etc I am
> > > > > > > > > getting Problem in LCP Nego. packets.
> > > > > > > > > ------------ --------- --------- --------- -
> > > > > > > > > Using Interface ppp0
> > > > > > > > > Connect :ppp0 <--> /dev/ttyT8S1
> > > > > > > > > sent [LCP Config id=0X4 <mru 552> <asyncamp 0x0>
<accomp>]
> > > > > > > > > sent [LCP Config id=0X4 <mru 552> <asyncamp 0x0>
<accomp>]
> > > > > > > > > sent [LCP Config id=0X4 <mru 552> <asyncamp 0x0>
<accomp>]
> > > > > > > > > sent [LCP Config id=0X4 <mru 552> <asyncamp 0x0>
<accomp>]
> > > > > > > > > sent [LCP Config id=0X4 <mru 552> <asyncamp 0x0>
<accomp>]
> > > > > > > > > sent [LCP Config id=0X4 <mru 552> <asyncamp 0x0>
<accomp>]
> > > > > > > > > sent [LCP Config id=0X4 <mru 552> <asyncamp 0x0>
<accomp>]
> > > > > > > > > sent [LCP Config id=0X4 <mru 552> <asyncamp 0x0>
<accomp>]
> > > > > > > > > LCP:timeout sending config-requests
> > > > > > > > > connection terminated
> > > > > > > > >
------------ --------- --------- --------- --------- --------- -
> > > > > > > > > I am really stuck up at this problem why its not working
> > other
> > > > > than
> > > > > > > > > tyyAM0 ports.Can somebody suggets me something is their
> > any more
> > > > > > > > > setting is require on com ttyAM1,ttyT8S0 etc.
> > > > > > > > > Please help me out from this.
> > > > > > > > >
> > > > > > > > > Thanx.
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> >
>


__._,_.___

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