ts-7000
[Top] [All Lists]

[ts-7000] TS-7400 + pppd on stock 2.4.26-ts11 kernel

To:
Subject: [ts-7000] TS-7400 + pppd on stock 2.4.26-ts11 kernel
From: "bored_dev" <>
Date: Mon, 18 Oct 2010 02:02:41 -0000
Hi all --

I've recently been having trouble getting pppd running on my new TS-7400 board 
with an external GPRS modem from Multitech.  I've successfully used this modem 
/ configuration with an ubuntu 9.04 distro (on on my os x box), and I thought I 
was getting there with the 7400, but I'm now stuck.

I can get the connection to be established on the network (at least it seems to 
me to be the case -- see the output log below), the moment I try to send 
traffic over the interface, the entire system hangs, forcing me to reboot the 
system.

If I try to kill the pppd connection without sending traffic by issuing a kill 
-HUP to the pppd process, it never unloads and the zombie pppd process just 
hangs around.  Subsequent attempts to restart pppd fail until a restart occurs.

I know that I can communicate to the modem just fine using microcom, the ppp 
options are the same ones I'm using on my test ubuntu system (options included 
below).  I've also made sure to touch up inittab to keep the getty off of the 
port I'm using.  The kernel modules I need are inserted during startup as well 
(slhc, ppp_generic, ppp_async, pppox, pppoe).

Here are the specifics:

Board: ts-7400
kernel: Linux (none) 2.4.26-ts11 #3 Tue May 15 11:21:07 MST 2007 armv4l unknown
filesystem: running the stock ts-linux on the onboard flash
serial port: /dev/ttyTS0 or /dev/ttyAM0   
pppd version: 2.4.2

My question is: has anyone ever gotten a TS-7400 or other 7XXX board to 
successfully use pppd given the stock ts11 kernel and ts linux distro?  I've 
read all that I can find on the TS-7200 list about PPP, but I can't seem to 
find an answer.

Thanks in advance for any advice that's out there.

-sb
            
<begin trace from "successful" connection>

Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/ttyTS0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x62112d07> <accomp>]
rcvd [LCP ConfRej id=0x1 <magic 0x62112d07>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <accomp>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <pcomp> <accomp> <auth pap>]
sent [LCP ConfRej id=0x1 <pcomp>]
rcvd [LCP ConfReq id=0x2 <mru 1500> <asyncmap 0x0> <accomp> <auth pap>]
sent [LCP ConfAck id=0x2 <mru 1500> <asyncmap 0x0> <accomp> <auth pap>]
sent [PAP AuthReq id=0x1 user="" password=<hidden>]
sent [PAP AuthReq id=0x2 user="" password=<hidden>]
rcvd [PAP AuthAck id=0x1 "Welcome!"]
Remote message: Welcome!
PAP authentication succeeded
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> 
<ms-dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 192.168.111.111>]

sent [IPCP ConfAck id=0x1 <addr 192.168.111.111>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfNak id=0x2 <addr 166.129.105.164> <ms-dns1 209.183.54.151> 
<ms-dns3 209.183.54.151>]
sent [IPCP ConfReq id=0x3 <addr 166.129.105.164> <ms-dns1 209.183.54.151> 
<ms-dns3 209.183.54.151>]
rcvd [IPCP ConfAck id=0x3 <addr 166.129.105.164> <ms-dns1 209.183.54.151> 
<ms-dns3 209.183.54.151>]
local  IP address 166.129.105.164
remote IP address 192.168.111.111
primary   DNS address 209.183.54.151
secondary DNS address 209.183.54.151   

my /etc/ppp/peers/att file:

hide-password 
noauth
connect "/usr/sbin/chat -v -s -f /etc/ppp/chatscripts/att"
disconnect "/usr/sbin/chat -v -s -f /etc/ppp/chatscripts/att-disconnect"
crtscts
#cdtrcts
#nocdtrcts
debug
/dev/ttyAM0
115200
defaultroute
asyncmap 0
noipdefault 
user ""
remotename att
ipparam att
nolock
usepeerdns
nopcomp
nobsdcomp
nodeflate

my chat script:

ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL 
TONE' ABORT 'NO ANSWER' ABORT DELAYED
# modeminit
'' "ATZ" 'OK' 'AT+CGDCONT=1,"IP","ISP.CINGULAR"'
# ispnumber
OK-AT-OK "ATDT*99***1#"
# ispconnect
CONNECT \d\c
# prelogin

# ispname
# isppassword
# postlogin   

The output of lsmod:

pppoe                   7680   0 (unused)
pppox                   1164   1 [pppoe]
ppp_async               6732   0 (unused)
ppp_generic            17140   0 [pppoe pppox ppp_async]
slhc                    4848   0 [ppp_generic]
tsuart0                 8880   0
vfat                   10140   0 (unused)
fat                    29608   0 [vfat]
ts7xxx_nand             1896   0 (unused)




------------------------------------

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/

<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