Suppose if I am using Staright cable with beolw connection
DTE DCE
1 CD<-------------------------------------->CD
2 rx<----------------------------------> RX
3 TX<----------------------------------> TX
5 gnd<-----------------------------------> GND
4 dtr<-----------------------------------> DTR
6 dsr<--------------------------------------> DSR
7 rts<-------------------------------------> RTS
8 cts<--------------------------------------> CTS
9 ri <--------------------------------------->RI
will it work in case of Port ttyT8S0,ttyT8S1 etc.
Is it specific I have to used only 3 wire connection
2 rx<----------------------------------> RX
3 TX<----------------------------------> TX
5 gnd<-----------------------------------> GND
--- In "ts7300" <> wrote:
>
> Is it same for other com ttyT8S0,ttyT8S1,ttyT8S2,ttyT8S3 uses 3-wire
> connection.
> --- In "odonovan_dan" <danodonovan@> wrote:
> >
> > Re: COM Port Problem in PPPD Not quite. I just connected the modem
> > back to itself for some of the
> > pins. Please note that I needed to do this only because my specific
> > modem required this. Your modem may be different. On another modem
> > I've used, I just had to send an AT command to it to tell it to ignore
> > the state of the DTR line.
> >
> > Just to clarify, ttyAM1 uses a 3-wire connection. So you can only
> > connect Rx, Tx and ground.
> >
> >
> > DTE DCE
> > 1 CD (not connected) CD
> > 2 rx<-----------------\/-----------------> RX
> > 3 TX<-----------------/\-----------------> TX
> > 5 gnd<-----------------------------------> GND
> > 4 dtr /---------> DTR
> > 6 dsr \---------> DSR
> > 7 rts /---------> RTS
> > 8 cts \---------> CTS
> > 9 ri (not connected) RI
> >
> >
> >
> >
> > --- In "ts7300" <ts7300@> wrote:
> > >
> > > Hi,
> > > What I got from this you have connected
> > > DTR DCE
> > > 1 CD <-------------------------------> CD
> > > 2 rx<-----------------\ /-------------> RX
> > > 3 TX< ---------------- / \-------------> TX
> > > 4 dtr<--------------- ------------ ----> DTR
> > > 5 gnd ---------------\-/-----------------> GND
> > > 6 dsr --------------- / \ ---------------->DSR
> > > 7 rts <-----------------\ /---------------->RTS
> > > 8 cts <---------------- / \---------------->CTS
> > > 9 ri <--------------------------------------->RI
> > >
> > > Its Means used Cross cable at DCE Device.Correct me if I am
> > wrong.
> > >
> > > --- In "odonovan_dan" danodonovan@ wrote:
> > > >
> > > > Just today, I decided to connect my external serial modem to
ttyAM1
> > on
> > > > my TS7260 (which has no control lines, only TX and RX). Up to
now,
> > > > I'd been using ttyAM0 (which has nearly all control lines).
> > > > I hit a few problems when I did this. Here's what I learned,
> > because
> > > > it may be helpful in the problems you've been having:
> > > >
> > > > Firstly, I had to assert certain control lines to keep my modem
> > happy.
> > > > Note that this may be just a modem-specific issue. Anyway, I
> > > > basically connected RTS and CTS together, and DTR and DSR, on the
> > > > modem's (DCE) connection.
> > > >
> > > > Next, I had to change the AT init string that I was sending to the
> > > > modem to instruct it to use xon/xoff software flow control. Check
> > > > your modem's manual for the correct init string. Mine was
AT&F2 (US
> > > > Robotics 56k modem). Make sure that all of your chat scripts are
> > > > updated for this. For me, I use one chat script for dial-out
> > > > connections from the TS7260, and then I also need to change
mgetty's
> > > > chat script (using the init-chat keyword in mgetty.config) for
> > dial-in
> > > > connections.
> > > >
> > > > For dial-out connections from the TS7260, I needed to use the
> > > > following pppd options:
> > > > local (NOT modem)
> > > > default-asyncmap (NOT 'asyncmap 0' or 'asyncmap'. 'asyncmap
a0000'
> > > > also worked though)
> > > > xonxoff
> > > > nocrtsdts (not crtscts, cdtrcts, or anything else like that)
> > > >
> > > >
> > > > For dial-in connections, I also had to recompile mgetty to use
> > > > software flow control instead of hardware flow control (which it
> > uses
> > > > by default). Change policy.h to #define DATA_FLOW as FLOW_SOFT.
> > > >
> > > > Make sure BOTH sides of the ppp link are using an asyncmap which
> > > > escapes control characters, since xon/xoff will introduce control
> > > > characters into the data stream. (use 'default-asyncmap' or
> > 'asyncmap
> > > > a0000' on both sides of the link).
> > > >
> > > > I think that's everything I changed. It certainly wasn't as
trivial
> > > > as I thought it would be, but it all works now.
> > > > I hope this helps.
> > > >
> > > > Regards,
> > > > -Dan
> > > >
> > > >
> > > >
> > > >
> > > > --- In "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 "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 <ts-7000%40yahoogroups.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
<ts-7000%40yahoogroups.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-disconnect'
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > #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-disconnect
> > > > > > > > >
> > > > > > > > > "" +++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
> > <ts-7000%40yahoogroups.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
> > > > > <ts-7000%40yahoogroups.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.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|