Networking Forums

Networking Forums > Computer Networking > Linux Networking > Cingular EDGE on Linux

Reply
Thread Tools Display Modes

Cingular EDGE on Linux

 
 
Johny
Guest
Posts: n/a

 
      09-20-2004, 04:33 AM
Hi,
I need help in connecting to Cingular EDGE network using PPP connection
on a Sony Ericcson GC82 PCCard. This may actually be a PPP connection
problem, not EDGE.

As you can see from the log file, the connection has been established
but first it can't seem to locate ppp-compress-21 module then "LCP
terminated by peer"

I saw on the net that the ppp-compress-21 problem is just a warning so
the real problem could be in "LCP terminated by peer".

I am connecting through a chat file that I get from a AT&T wireless
forum and is as follow:
# turn on the GC82 card - must be the first thing we do always.
'' AT+cfun=1
# the following four test/expect lines are a giant hack
# to allow the network time for the sim to register
# with the APN before we try to connect to PPP
OK AT+cgreg=1
OK AT
TIMEOUT 40
REG:\s1 AT+cgdcont=2,"IP","isp.cingular"
# dial up gprs context #2 (proxy)
OK ATD*99***2#
CONNECT ''

do i need to specify the login/password on the chat script? If so how
and what's the syntax? Has anybody able to successfully connect to EDGE
network on Linux?

Thanks in advance.

-Johny

Log file from /var/log/messages:
Sep 20 00:25:18 BlingBling pppd[3431]: Serial connection established.
Sep 20 00:25:18 BlingBling pppd[3431]: Using interface ppp0
Sep 20 00:25:18 BlingBling pppd[3431]: Connect: ppp0 <--> /dev/ttyS3
Sep 20 00:25:18 BlingBling /etc/hotplug/net.agent: assuming ppp0 is
already up
Sep 20 00:25:23 BlingBling modprobe: modprobe: Can't locate module
ppp-compress-21
Sep 20 00:25:23 BlingBling kernel: PPP Deflate Compression module registered
Sep 20 00:25:23 BlingBling modprobe: modprobe: Can't locate module
ppp-compress-21
Sep 20 00:25:27 BlingBling pppd[3431]: LCP terminated by peer
Sep 20 00:25:27 BlingBling pppd[3431]: Hangup (SIGHUP)
Sep 20 00:25:27 BlingBling pppd[3431]: Modem hangup
Sep 20 00:25:27 BlingBling pppd[3431]: Connection terminated.
Sep 20 00:25:27 BlingBling /etc/hotplug/net.agent: NET unregister event
not supported
Sep 20 00:25:28 BlingBling pppd[3431]: Exit.
 
Reply With Quote
 
 
 
 
Mikko Rapeli
Guest
Posts: n/a

 
      09-20-2004, 06:39 AM
This log is not very useful, so please give 'debug' option to pppd and
show the resulting output. 'nodetach' might be useful too.

-Mikko
 
Reply With Quote
 
P Gentry
Guest
Posts: n/a

 
      09-20-2004, 02:23 PM
Johny <(E-Mail Removed)> wrote in message news:<cilmhr$m4k$(E-Mail Removed)>...
> Hi,
> I need help in connecting to Cingular EDGE network using PPP connection
> on a Sony Ericcson GC82 PCCard. This may actually be a PPP connection
> problem, not EDGE.


Almost certainly is ... but did you confirm that your account is
correct/activated?

> As you can see from the log file, the connection has been established
> but first it can't seem to locate ppp-compress-21 module then "LCP
> terminated by peer"
>
> I saw on the net that the ppp-compress-21 problem is just a warning so
> the real problem could be in "LCP terminated by peer".


I don't have time to hunt down your net links -- supply them so we can
evaluate their relevance. Cannot imagine how you would get tolerable
bit rates without some compression, but this module may not be needed
in this context. LCP -- Link Control Protocol -- is one layer of PPP
and the error says that the peer (far end) cannot/will not establish a
connection for _you_. This is where the authentication, connection
setup/maintainence, etc. takes place.

> I am connecting through a chat file that I get from a AT&T wireless
> forum and is as follow:
> # turn on the GC82 card - must be the first thing we do always.
> '' AT+cfun=1
> # the following four test/expect lines are a giant hack


This is about as ugly a hack as can be found. Where did it come from
(link)? What OS platform is it meant for?

> # to allow the network time for the sim to register
> # with the APN before we try to connect to PPP
> OK AT+cgreg=1
> OK AT
> TIMEOUT 40
> REG:\s1 AT+cgdcont=2,"IP","isp.cingular"
> # dial up gprs context #2 (proxy)
> OK ATD*99***2#
> CONNECT ''
>
> do i need to specify the login/password on the chat script? If so how
> and what's the syntax? Has anybody able to successfully connect to EDGE
> network on Linux?
>
> Thanks in advance.
>
> -Johny
>
> Log file from /var/log/messages:
> Sep 20 00:25:18 BlingBling pppd[3431]: Serial connection established.
> Sep 20 00:25:18 BlingBling pppd[3431]: Using interface ppp0
> Sep 20 00:25:18 BlingBling pppd[3431]: Connect: ppp0 <--> /dev/ttyS3
> Sep 20 00:25:18 BlingBling /etc/hotplug/net.agent: assuming ppp0 is
> already up
> Sep 20 00:25:23 BlingBling modprobe: modprobe: Can't locate module
> ppp-compress-21
> Sep 20 00:25:23 BlingBling kernel: PPP Deflate Compression module registered
> Sep 20 00:25:23 BlingBling modprobe: modprobe: Can't locate module
> ppp-compress-21
> Sep 20 00:25:27 BlingBling pppd[3431]: LCP terminated by peer


In less than 10 seconds we've gone from a serial line connection to
being dropped at the far end -- seems too short for a timeout.

> Sep 20 00:25:27 BlingBling pppd[3431]: Hangup (SIGHUP)
> Sep 20 00:25:27 BlingBling pppd[3431]: Modem hangup
> Sep 20 00:25:27 BlingBling pppd[3431]: Connection terminated.
> Sep 20 00:25:27 BlingBling /etc/hotplug/net.agent: NET unregister event
> not supported
> Sep 20 00:25:28 BlingBling pppd[3431]: Exit.


From what I could readily find using Linux with this could be much
less than fun:
http://www.jiwire.com/sonyericsson-g...leshooting.htm

Several other posts went so far as to hack kernel source code -- oh
boy!

These were from early in the year so hopefully there are better
solutions by now.

Seems that LCP at far end is not even trying(?) to establish a PPP
connection. At any rate, you're not "getting in" at this initial
stage and the far end is dropping the connection. Not sure why.
Maybe someone else can help and/or you could provide some links.

Pressed for time this AM

good luck,
prg
eamil above disabled
 
Reply With Quote
 
Johny Franslay
Guest
Posts: n/a

 
      10-03-2004, 07:55 AM
hi Gentry,
thanks for your help.

I am able to "connect" to Cingular's EDGE network, the problem was with
PAP authentication.

However, although it says that I'm connected (I am even assigned an IP
address by the server), I can't seem to get to anywhere. I can't ping
any site and even the nameserver.
I am new to PPP so maybe there's something that need to be done with the
ppp setup. Do you have any idea or suggestion on how to proceed?

Thanks.
Johny


P Gentry wrote:

> Johny <(E-Mail Removed)> wrote in message news:<cilmhr$m4k$(E-Mail Removed)>...
>
>>Hi,
>>I need help in connecting to Cingular EDGE network using PPP connection
>>on a Sony Ericcson GC82 PCCard. This may actually be a PPP connection
>>problem, not EDGE.

>
>
> Almost certainly is ... but did you confirm that your account is
> correct/activated?
>
>
>>As you can see from the log file, the connection has been established
>>but first it can't seem to locate ppp-compress-21 module then "LCP
>>terminated by peer"
>>
>>I saw on the net that the ppp-compress-21 problem is just a warning so
>>the real problem could be in "LCP terminated by peer".

>
>
> I don't have time to hunt down your net links -- supply them so we can
> evaluate their relevance. Cannot imagine how you would get tolerable
> bit rates without some compression, but this module may not be needed
> in this context. LCP -- Link Control Protocol -- is one layer of PPP
> and the error says that the peer (far end) cannot/will not establish a
> connection for _you_. This is where the authentication, connection
> setup/maintainence, etc. takes place.
>
>
>>I am connecting through a chat file that I get from a AT&T wireless
>>forum and is as follow:
>># turn on the GC82 card - must be the first thing we do always.
>>'' AT+cfun=1
>># the following four test/expect lines are a giant hack

>
>
> This is about as ugly a hack as can be found. Where did it come from
> (link)? What OS platform is it meant for?
>
>
>># to allow the network time for the sim to register
>># with the APN before we try to connect to PPP
>>OK AT+cgreg=1
>>OK AT
>>TIMEOUT 40
>>REG:\s1 AT+cgdcont=2,"IP","isp.cingular"
>># dial up gprs context #2 (proxy)
>>OK ATD*99***2#
>>CONNECT ''
>>
>>do i need to specify the login/password on the chat script? If so how
>>and what's the syntax? Has anybody able to successfully connect to EDGE
>>network on Linux?
>>
>>Thanks in advance.
>>
>>-Johny
>>
>>Log file from /var/log/messages:
>>Sep 20 00:25:18 BlingBling pppd[3431]: Serial connection established.
>>Sep 20 00:25:18 BlingBling pppd[3431]: Using interface ppp0
>>Sep 20 00:25:18 BlingBling pppd[3431]: Connect: ppp0 <--> /dev/ttyS3
>>Sep 20 00:25:18 BlingBling /etc/hotplug/net.agent: assuming ppp0 is
>>already up
>>Sep 20 00:25:23 BlingBling modprobe: modprobe: Can't locate module
>>ppp-compress-21
>>Sep 20 00:25:23 BlingBling kernel: PPP Deflate Compression module registered
>>Sep 20 00:25:23 BlingBling modprobe: modprobe: Can't locate module
>>ppp-compress-21
>>Sep 20 00:25:27 BlingBling pppd[3431]: LCP terminated by peer

>
>
> In less than 10 seconds we've gone from a serial line connection to
> being dropped at the far end -- seems too short for a timeout.
>
>
>>Sep 20 00:25:27 BlingBling pppd[3431]: Hangup (SIGHUP)
>>Sep 20 00:25:27 BlingBling pppd[3431]: Modem hangup
>>Sep 20 00:25:27 BlingBling pppd[3431]: Connection terminated.
>>Sep 20 00:25:27 BlingBling /etc/hotplug/net.agent: NET unregister event
>>not supported
>>Sep 20 00:25:28 BlingBling pppd[3431]: Exit.

>
>
> From what I could readily find using Linux with this could be much
> less than fun:
> http://www.jiwire.com/sonyericsson-g...leshooting.htm
>
> Several other posts went so far as to hack kernel source code -- oh
> boy!
>
> These were from early in the year so hopefully there are better
> solutions by now.
>
> Seems that LCP at far end is not even trying(?) to establish a PPP
> connection. At any rate, you're not "getting in" at this initial
> stage and the far end is dropping the connection. Not sure why.
> Maybe someone else can help and/or you could provide some links.
>
> Pressed for time this AM
>
> good luck,
> prg
> eamil above disabled

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
200+ Kbps download for Cingular EGPRS(EDGE) (San Francisco Bay Area) John Navas Wireless Internet 0 03-06-2007 05:34 PM
Linux driver for GPRS/EDGE (GSM) modem module (Siemens MC75)? Raqueeb Hassan Linux Networking 8 10-07-2006 12:06 AM
Cingular or Verizon wirless service with Linux Jim Cochrane Linux Networking 1 12-03-2005 08:01 AM
Linux Drivers for Sony Ericsson GC82 Wireless Edge card Thomas B. Linux Networking 0 01-05-2004 10:05 PM
On the edge. Ian Stirling Broadband 1 11-14-2003 10:14 PM



1 2 3 4 5 6 7 8 9 10 11