Bartlomiej Zdanowski wrote:
I lost my hope... Thank you for response.

Henry Law pisze:
My neo can use GPRS. But need to stop gsmd first.

I put all the AT command in to chatscript and try pon gprs. ppp0 appear
after a while. I am using PEOPLES in HongKong and the SIM card does not
have a PIN.
Could you send me your scripts?
Did you see any AT command log in /tmp/gsmd.log or /var/log/message?
I didn't search there. What should I search for?

You should see some AT command in both file. May be try add the
"debug" option for pppd and search for "AT" in /var/log/message


Best regards,


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

_______________________________________________
OpenMoko community mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/community

Henry
TIMEOUT      22
ABORT        ERROR
ABORT        BUSY
ABORT        "NO CARRIER"
ABORT        VOICE
ABORT        "NO DIALTONE"
# reset
""           ATZ
# disable echo
OK           ATE0
# enable modem function
OK           AT+CFUN=1
# register with GSM network
OK           AT+COPS
# gprs init
OK           AT+CGDCONT=1,"IP","peoples.net","0.0.0.0",0,0
OK           AT+CGDATA="PPP",1
# File:
# gprs
#
# Description:
# This file holds the pppd options for GPRS

# To give some debug info (could be provided on command line too)
debug

# To keep pppd output on the terminal (could be provided on command line too)
#nodetach

# Serial device to which the GPRS modem is connected
/dev/ttySAC0 # Raw serial on Neo1973

# Serial port line speed
115200

# use hardware flow control
crtscts # serial cables etc.
#nocrtscts # IrDA

# time between retries
holdoff 3

# Connect script
#connect /etc/ppp/peers/gprs-connect-chat
connect "/usr/sbin/chat -v -f /etc/chatscripts/gprs"

# Disconnect script
#disconnect /etc/ppp/peers/gprs-disconnect-chat
disconnect "/usr/sbin/chat -v -f /etc/chatscripts/gprs-disconnect"

# IP addresses:
# - accept peers idea of our local address and set address peer as 10.0.0.1
# (any address would do, since IPCP gives 0.0.0.0 to it)
# - if you use the 10. network at home or something and pppd rejects it,
# change the address to something else
#:10.0.0.1

# pppd must not propose any IP address to the peer!
noipdefault

# Accept peers idea of our local address
ipcp-accept-local

# No ppp compression
novj
novjccomp

# Add default route
defaultroute

# Replace any other default route for the time of the connection:
replacedefaultroute

# very long timeouts (unwise?)
lcp-echo-interval 30
lcp-echo-failure 300

local
usepeerdns
connect-delay 5000
noproxyarp

# don't require the other end to authenticate to us
noauth
persist

# username to use for authentication, should match "client" in 
/etc/ppp/{chap,pap}-secrets
user "PTC"
_______________________________________________
OpenMoko community mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to