LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 05-19-2009, 01:19 PM   #1
swake
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
gprs/umts connection with pppd


Hi all.

I'm using a embedded ARM9 device and the UMTS/GPRS USB Modem MD300 from Sony Ericsson. Unfortunately I'm still facing some problems with the connection which does fail... The pppd-log does say the following:

####################

Starting GPRS connect script
Setting APN
Dialing...
Serial connection established.
using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/ttyACM0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x4d37b8ad> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x2 <accomp> <pcomp> <asyncmap 0x0> <magic 0xb4dcd12b>]
sent [LCP ConfAck id=0x2 <accomp> <pcomp> <asyncmap 0x0> <magic 0xb4dcd12b>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x4d37b8ad> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x4d37b8ad]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Hangup (SIGHUP)
sent [CCP ConfReq id=0x1 <bsd v1 15>]
rcvd [LCP EchoRep id=0x0 magic=0xb4dcd12b]
ioctl(PPPIOCSASYNCMAP): Inappropriate ioctl for device(25)
tcflush failed: Input/output error

#################### the peer-file does look like this:

# File: /etc/ppp/peers/chtgprs
#
/dev/ttyACM0
115200
defaultroute
noipdefault
usepeerdns
noauth
modem
debug
logfile /var/log/ppp
lcp-echo-failure 4
lcp-echo-interval 65535
connect "/bin/chat -v -f /etc/chatscripts/chtgprs-connect"

#################### and here the used chatscript:

# File: /etc/chatscripts/chtgprs-connect
#
TIMEOUT 10
ABORT 'BUSY'
ABORT 'NO ANSWER'
ABORT 'ERROR'
SAY 'Starting GPRS connect script\n'

# Get the modem's attention and reset it.
"" 'ATZ'

# E0=No echo, V1=English result codes
OK 'ATE0V1'

# Set Access Point Name (APN)
SAY 'Setting APN\n'
OK 'AT+CGDCONT=1,"IP","gprs.swisscom.ch"'

# Dial the number
ABORT 'NO CARRIER'
SAY 'Dialing...\n'
OK 'ATD*99***1#'

CONNECT ''

####################

Beside the APN no username or password are necessary for a connection with this provider (I tested this with other devices).

Can anyone see the problem looking at the log-messages?

Thanks,
swake
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
i have pppd connection problem with nokia 3220 i use airtel gprs to connect internet muralichandran Linux - Newbie 1 05-29-2008 01:03 AM
i have pppd connection problem with nokia 3220 i use airtel gprs to connect internet muralichandran Linux - Newbie 1 05-28-2008 09:54 AM
Vodafone 3g problem (Fusion UMTS Quad-GPRS) matux Linux - Hardware 1 04-29-2006 12:10 PM
umts/gprs wireless internet moises Ubuntu 1 02-27-2006 03:01 PM


All times are GMT -5. The time now is 01:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration