Nokia 6310 + GPRS - can't connect :(

Nokia 6310 + GPRS - can't connect :(

Post by silverm.. » Fri, 13 Aug 2004 03:49:05



I'm trying to set up my Nokia 6310 using GPRS on Aurox 9.4. So far I
can dial and interact with the server fine, but after ppp0 is brought
up there is no traffic whatsoever. Below are the relevant logs:

Press CTRL-C to close the connection at any stage!

OK
ATZ
OK
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
AT+CGDCONT=1,"IP","www.idea.pl","",0,0
OK
waiting for connect...

ATD*99***1#
CONNECT
Connected.
If the following ppp negotiations fail,
try restarting the phone.

Serial connection established.
using channel 4
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb8e9393e>]
rcvd [LCP ConfRej id=0x1 <magic 0xb8e9393e>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>]
rcvd [LCP ConfReq id=0x0 <auth pap> <mru 1500> <asyncmap 0xa0000>]
sent [LCP ConfAck id=0x0 <auth pap> <mru 1500> <asyncmap 0xa0000>]
sent [PAP AuthReq id=0x1 user="idea" password=<hidden>]
sent [PAP AuthReq id=0x2 user="idea" password=<hidden>]
rcvd [PAP AuthAck id=0x2 ""]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
rcvd [IPCP ConfReq id=0x0 <addr 10.6.6.6>]
sent [IPCP ConfAck id=0x0 <addr 10.6.6.6>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
rcvd [IPCP ConfNak id=0x1 <addr 172.20.105.67> <ms-dns1 194.9.223.79>
<ms-dns3 217.17.34.10>]
sent [IPCP ConfReq id=0x2 <addr 172.20.105.67> <ms-dns1 194.9.223.79>
<ms-dns3 217.17.34.10>]
rcvd [IPCP ConfAck id=0x2 <addr 172.20.105.67> <ms-dns1 194.9.223.79>
<ms-dns3 217.17.34.10>]
local  IP address 172.20.105.67
remote IP address 10.6.6.6
primary   DNS address 194.9.223.79
secondary DNS address 217.17.34.10

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:700 (700.0 b)  TX bytes:700 (700.0 b)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:172.20.105.67  P-t-P:10.6.6.6
Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:15 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:270 (270.0 b)  TX bytes:292 (292.0 b)

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref
Use Iface
10.6.6.6        0.0.0.0         255.255.255.255 UH    0      0
0 ppp0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0
0 lo
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0
0 lo
0.0.0.0         10.6.6.6        0.0.0.0         UG    0      0
0 ppp0

Here is my /etc/ppp/options (possibly not the latest version):

115200
crtscts  
debug
lock
noauth
noipdefault
usepeerdns
ipcp-accept-local
updetach
novj
nobsdcomp
novjccomp
nopcomp
noaccomp
noccp
user idea
connect /etc/ppp/peers/gprs-connect-chat
disconnect /etc/ppp/peers/gprs-disconnect-chat

Any suggestions?

silvermane

 
 
 

Nokia 6310 + GPRS - can't connect :(

Post by Clifford Kit » Fri, 13 Aug 2004 04:53:17




> I'm trying to set up my Nokia 6310 using GPRS on Aurox 9.4. So far I
> can dial and interact with the server fine, but after ppp0 is brought
> up there is no traffic whatsoever. Below are the relevant logs:

The PPP negotiations completed without any problem, the local IP address
is routable, and the default route through the PPP interface is correct.
The link *should* have worked.

> Press CTRL-C to close the connection at any stage!
> defining PDP context...

> OK
> ATZ
> OK
> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> OK
> AT+CGDCONT=1,"IP","www.idea.pl","",0,0
> OK
> waiting for connect...
> ATD*99***1#
> CONNECT
> Connected.
> If the following ppp negotiations fail,
> try restarting the phone.
> Serial connection established.
> using channel 4
> Using interface ppp0
> Connect: ppp0 <--> /dev/ttyUSB0
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb8e9393e>]
> rcvd [LCP ConfRej id=0x1 <magic 0xb8e9393e>]
> sent [LCP ConfReq id=0x2 <asyncmap 0x0>]
> rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>]
> rcvd [LCP ConfReq id=0x0 <auth pap> <mru 1500> <asyncmap 0xa0000>]
> sent [LCP ConfAck id=0x0 <auth pap> <mru 1500> <asyncmap 0xa0000>]

This is the only thing I can see that might affect data link viability.

The peer requested asyncmap 0xa0000 and you requested asyncmap 0x0.
Both requests were ACKed, but there are an amazing number of ISP PPP
implementations that will request asyncmap 0xa0000, and accept asyncmap
0x0 from the client, but then the link doesn't work.  That is, the PPP
implementation at the ISP is broken with respect to asyncmap negotiation.
The pppd default asyncmap is 0 so try imitating the peer by adding the
pppd option "asyncmap 0xa0000".

If that doesn't work then something is almost certainly wrong at the
physical layer.  I can't help there - no experience with GPRS or USB
serial.

--

PPP-Q&A links, downloads:                      http://ckite.no-ip.net/

 
 
 

Nokia 6310 + GPRS - can't connect :(

Post by Mikko Rapel » Fri, 13 Aug 2004 16:04:20




> I'm trying to set up my Nokia 6310 using GPRS on Aurox 9.4. So far I

The link seems to be ok. I don't know what this Aurox is but on some
RedHat based systems the default firewall Lokkit doesn't always handle
dialup links properly. What does 'iptables -L' show when the link is up?

You might want to restart the firewall ('/etc/init.d/iptables restart'
or '/etc/init.d/lokkit restart' or something similar) after the link is
up.

Also, ping might be blocked by the GPRS provider or the host your trying
to ping so you might want to try fetching some web page with a browser.

-Mikko

 
 
 

Nokia 6310 + GPRS - can't connect :(

Post by silverma » Mon, 16 Aug 2004 02:33:33


Sorry about delaying the reply, my power supply burned down due to the
heat wave...

Quote:> The link seems to be ok. I don't know what this Aurox is but on some
> RedHat based systems the default firewall Lokkit doesn't always handle
> dialup links properly. What does 'iptables -L' show when the link is up?

Chain INPUT (policy ACCEPT)
target     prot opt source               destination        
RH-Firewall-1-INPUT  all  --  anywhere             anywhere

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination        
RH-Firewall-1-INPUT  all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination        

Chain RH-Firewall-1-INPUT (2 references)
target     prot opt source               destination        
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     icmp --  anywhere             anywhere            icmp any
ACCEPT     ipv6-crypt--  anywhere             anywhere            
ACCEPT     ipv6-auth--  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere            state
RELATED,ESTABLISHED
REJECT     all  --  anywhere             anywhere          
reject-with icmp-host-prohibited

Quote:> You might want to restart the firewall ('/etc/init.d/iptables restart'
> or '/etc/init.d/lokkit restart' or something similar) after the link is
> up.

That doesn't help me any.

Quote:> Also, ping might be blocked by the GPRS provider or the host your trying
> to ping so you might want to try fetching some web page with a browser.

That's not the problem. I would ping Windows into oblivion if I could.

silvermane

 
 
 

1. internet with nokia 6310 with irda on linux

Hello,

was anbody succesful using the 6310 for connecting to the internet ?

The Irda-interface works on my notebook. I can use apps like gnokii
but it fails while connecting  to the internet. All I hear are some
beeps from the phone. Dialing the number manually works. I can hear a
modem on the other side of the connection.

This is the log KInternet

pppd: --> WvDial: Internet dialer version 1.42
pppd: --> Initializing modem.
pppd: --> Sending: ATZ
pppd: ATZ
pppd: OK
pppd: --> Sending: AT&FV1E0&D2&S0&C1S0=0+CBST=81,0,1;+CHSN=0,0,0,0;+IPR=115200
pppd: AT&FV1E0&D2&S0&C1S0=0+CBST=81,0,1;+CHSN=0,0,0,0;+IPR=115200
pppd: OK
pppd: --> Sending: ATM1
pppd: OK
pppd: --> Sending: ATX3
pppd: OK
pppd: --> Modem initialized.
pppd: --> Sending: ATDT123100
pppd: --> Waiting for carrier.

Thanks in advance for help
Ruediger

2. convert non-trusted to trusted system w/OUT using SAM?

3. Talk refused to talk:(:(:(:(

4. itimer problem? (with suggested fix)

5. It's not bad canned meat...

6. Debian and start-stop-daemon...

7. Fun with Kernel 2.2.0 pre5?

8. USR 56K external won't connect under Linux :(

9. Can't connect to Napster :(

10. Two squids don't want to connect :((

11. my trashed hard drive. :( :( :(

12. concept to connect laptop(GPRS) to office desktop (VPN,ssh tunel)