LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-10-2007, 04:51 PM   #1
onorua
LQ Newbie
 
Registered: May 2006
Location: Ukraine, Kiev
Distribution: Debian, Gentoo
Posts: 7

Rep: Reputation: 0
Trying to connect to Internet via GPRS always fails, why?


Hi All!
I've faced with this issue when tried to configure internet connection on my laptop via Bluetooth+GPRS.
Bluetooth part is perfect, it's pretty simple to configure so I'll not post this configuration, (let me know if it is necessary BTW). But in my opinion main issue with pppd session negotiation.

What I actually have:
My pppd peer's file.
Code:
=====================
15:43 lc ~ # cat /etc/ppp/peers/life
/dev/rfcomm0 115200
connect '/usr/sbin/chat -v -f /etc/ppp/life-gprs'
crtscts
modem -detach
noccp
defaultroute
usepeerdns
noauth
ipcp-accept-remote
ipcp-accept-local
noipdefault
Here is I have "chat" script to connect to my provider by phone's modem
Code:
15:44 lc ~ # cat /etc/ppp/life-gprs
'' ATZ OK
AT+CGDCONT=1,"IP","internet"
# Here is string with number to call
OK "ATD*99***1#"
CONNECT ''
I've been tried to start my connection with debug option:
Code:
00:39 lc ~ # pppd call life
Serial connection established.
using channel 6
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm0
rcvd [LCP ConfReq id=0x1 <auth pap> <accomp> <pcomp> <asyncmap 0x0> <magic 0x870                                                        
0216>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x52cc2b0> <pcomp> <accomp>]
No auth is possible
sent [LCP ConfRej id=0x1 <auth pap>]
rcvd [LCP ConfReq id=0x2 <auth pap> <accomp> <pcomp> <asyncmap 0x0> <magic 0x870                                                        
0216>]
No auth is possible
sent [LCP ConfRej id=0x2 <auth pap>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x52cc2b0> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x52cc2b0> <pcomp> <accomp>]
Modem hangup
Connection terminated.
During procedure above, I see status on my cell phone something like (Connecting to Internet). But after
Code:
 Modem hangup
string, I always see something like "Problem with connecting to provider".

Maybe somebody can help me with it?

P.S. I can make connections with Windows if it help..
 
Old 01-10-2007, 08:35 PM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by onorua
No auth is possible
NOTE: I am basing my interpretation of the above message on this post.

It sounds like you are supposed authenticate yourself (think password) with the remote server. From the chat script it looks like this is expected to be done with PAP or CHAP. This means that either (or both) /etc/ppp/pap-secrets or /etc/ppp/chap-secrets should contain your username and password. Check the pppd man page for info on the format for these files.
 
  


Reply



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
Howto connect GPRS on linux philipvarghese Linux - Networking 10 04-13-2009 07:51 AM
Gprs Csc Connect kenlitting Linux - Networking 1 11-30-2006 02:31 AM
wvdial fails to respond with AIRTEL (GPRS) anindyanuri Linux - Networking 0 10-16-2005 11:36 AM
using a gprs cell phone to connect to the internet cwahoyes Linux - Newbie 3 10-03-2004 07:07 AM
GPRS doesn't connect fransemail Linux - Networking 2 04-22-2004 04:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:55 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration