Re: GPRS and PPPD

Anton Nikiforov <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Hello Kirill

Kirill Bezzubets ц░ц┴ц⌡ц┘ц■:

>On Tue, Mar 23, 2004 at 04:02:14PM +0300, Anton Nikiforov wrote:
>
>  
>
>>Dear All!
>>Does someone manage to setup a GPRS connection using pppd?
>>The matter of the question is that i already tryed almost all available 
>>options, but always get the same return from the pppd:
>>
>>pppd[1985]: Serial connection established.
>>pppd[1985]: Using interface ppp0
>>pppd[1985]: Connect: ppp0 <--> /dev/ucom0
>>pppd[1985]: sent [LCP ConfReq id=0x1 <auth pap> <magic 0xd1287498>]
>>last message repeated 4 times
>>pppd[1985]: LCP: timeout sending Config-Requests
>>pppd[1985]: Connection terminated, connected for 1 minutes
>>
>>All chat scripts are working (as a result of chat script i can see 
>>ppp-specific characters to appear)
>>But whatever options i pass to pppd - the result is the same.
>>    
>>
>
>Actually, it may depend on your cell phone operator.
>As far as I see, you're in Russia.
>
>  
>
The operator is MTS or Beeline it does not matter the result is the same

>Did you try to use ppp instead of pppd?
>  
>
No i did not, i did actualy, but i like pppd and planing to have a 
script that will "understand" the operator and connect using the 
particular operator's dependend options

>Besides, it's a good idea not to sent ident in ppp dialog:
>e.g. MTS in SPb doesn't like this for some reason.
>
>  
>
What do you mean talking about "ident"? What exactly ident you are 
talking about?

>And could you show your "options" file?
>  
>
For sure, but i tryed almost all combinations and the result is the 
same, so i think the needed option is not here :)

#defaultroute
# Comment this line out to let pppd background itself.
nodetach
# Turn this on to see all the PPP negotiations
debug
# Limit the MTU (workaround for an oddity in the VPN)
#mtu 1400
# Use hardware flow conrtrol
#crtscts
# Let the phone figure out all the IP addresses
#noipdefault
#ipcp-accept-local
#ipcp-accept-remote
# No ppp compression
#novj
#novjccomp
#bsdcomp 0,0
#deflate 0,0
noaccomp
#nobsdcomp
#nodeflate
nopcomp
#nopredictor1
user beeline
#remotename beeline
# For sanity, keep a lock on the serial line
lock
kdebug 4
lcp-echo-failure 20
lcp-restart 10
modem
login
auth -chap
# Send LCP once and if not succseeded wait forever. Not working
#passive
# Do not send LCP at all. But wait for other side to send LCP. Not working.
#silent
pap-timeout 20
pap-max-authreq 10
require-pap
refuse-chap

>>-- 
>>Best regads,
>>Anton Nikiforov
>>
>>    
>>
>
>  
>


-- 
Best regads,
Anton Nikiforov
smime.p7s (application/x-pkcs7-signature, 3.1 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.