LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   How can I connect GPRS network with Nokia d211 card (https://www.linuxquestions.org/questions/linux-wireless-networking-41/how-can-i-connect-gprs-network-with-nokia-d211-card-146640/)

prad 02-16-2004 03:49 AM

How can I connect GPRS network with Nokia d211 card
 
My d211 card works well in WirelessLan network, but it can't use it connect gprs network.
My "/etc/nokia_cs.opts" like this: "MODE=GSM"
My "/etc/wvdial.conf" like this:
[Dialer Defaults]
Modem = /dev/ttyNC0
Baud = 460800
Init1 = ATZ
Init2 = AT+ds=3,0,2048,20
Init3 = AT+cgdcont=1,"ip","internet";
Dial Command = ATD
Phone = *99***1#
Username = xxxxxxxxxxxx
Password = xxxx
Stupid Mode = 1

then I use the following commands to connect gprs network£º
nokia_ctl enable_gsm
nokia_ctl gsm enableGSMradio
wvdial

the error log infomation:
Feb 16 17:51:24 localhost kernel: CSLIP: code copyright 1989 Regents of the University of California
Feb 16 17:51:24 localhost kernel: PPP generic driver version 2.4.2
Feb 16 17:51:24 localhost pppd[1400]: pppd 2.4.1 started by root, uid 0
Feb 16 17:51:24 localhost pppd[1400]: Using interface ppp0
Feb 16 17:51:24 localhost pppd[1400]: Connect: ppp0 <--> /dev/ttyNC0
Feb 16 17:51:24 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Feb 16 17:51:27 localhost kernel: PPP BSD Compression module registered
Feb 16 17:51:27 localhost kernel: PPP Deflate Compression module registered
Feb 16 17:51:28 localhost pppd[1400]: LCP terminated by peer
Feb 16 17:51:31 localhost pppd[1400]: Connection terminated.
Feb 16 17:51:31 localhost pppd[1400]: Exit.

Could you tell me what's wrong with my operation.

fransemail 04-25-2004 06:34 PM

change internet to [YOUR APN ]
 
Substitute in

Init3 = AT+cgdcont=1,"ip","internet"

"internet" to your APN for example for vodafone is "web.vodafone.it" or check www.easyconnect.linuxuser.hu


All times are GMT -5. The time now is 11:58 PM.