cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
925
Views
0
Helpful
3
Replies

3g connection not working in tunesia

daniel f.
Level 1
Level 1

hello,

i have a C881G+7-K9 router in tunesia with 3g card. i have tested the sim in my mobile phone and internet access is working but i dont get it running in the router.

when i do a ping 8.8.8.8 the ce0 interface should be getting an ip adress but thats not happening so there is no internet access.

here are some parts of my config:

chat-script gsm "" "AT!SCACT=1,1" TIMEOUT 60 "OK"

controller Cellular 0
 gsm sim profile 3 slot 1

interface Cellular0
 ip address negotiated
 encapsulation slip
 dialer in-band
 dialer idle-timeout 180
 dialer string gsm
 dialer-group 1
 async mode interactive

dialer-list 1 protocol ip list 1
access-list 1 permit any

line 3
 exec-timeout 0 0
 script dialer direct-ip
 modem InOut
 no exec

here is an output of the router:

sh cellular 0 all
Hardware Information
====================
Modem Firmware Version = T1_0_3_2AP R361 CNSZ
Modem Firmware built = 04/15/11
Hardware Version = 1.0
International Mobile Subscriber Identity (IMSI) = 605020704649353
International Mobile Equipment Identity (IMEI) = 357115042034244
Integrated Circuit Card ID (ICCID) = 8921602070046493536
Mobile Subscriber Integrated Services
Digital Network-Number (MSISDN) =
Factory Serial Number (FSN) = CC3320402331011
Modem Status = Online
Current Modem Temperature = 25 deg C, State = Normal
PRI SKU ID = 9900198, SKU Rev. = 1.2

Profile Information
====================
Profile password Encryption level: 7


Profile 1 = INACTIVE **
--------
PDP Type = IPv4
Access Point Name (APN) = internet.tn
Authentication = CHAP
Username: gprs
Password: 0003031417

Profile 3 = INACTIVE*
--------
PDP Type = IPv4
Access Point Name (APN) = internet.tn
Authentication = CHAP
Username: gprs
Password: 0708315E5D

  * - Default profile

Configured default profile for active SIM 1 is profile 3.


Data Connection Information
===========================
Data Transmitted = 0 bytes, Received = 0 bytes
Profile 1, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 2, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 3, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 4, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 5, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 6, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 7, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 8, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 9, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 10, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 11, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 12, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 13, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 14, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 15, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state
Profile 16, Packet Session Status = INACTIVE
        Inactivity Reason = Normal inactivate state

Network Information
===================
Current Service Status = Normal, Service Error = None
Current Service = Combined
Packet Service = HSPA (Attached)
Packet Session Status = Inactive
Current Roaming Status = Home
Network Selection Mode = Automatic
Country = TUN, Network = TUNTEL
Mobile Country Code (MCC) = 605
Mobile Network Code (MNC) = 2
Location Area Code (LAC) = 170
Routing Area Code (RAC) = 170
Cell ID = 25148
Primary Scrambling Code = 85
PLMN Selection = Automatic
Registered PLMN = TUNISIE TELECOM , Abbreviated = TUNTEL
Service Provider =

Radio Information
=================
Radio power mode = ON
Current Band = WCDMA 900, Channel Number = 3024
Current RSSI = -51 dBm
Band Selected = Auto
Number of nearby cells = 1
Cell 1
        Primary Scrambling Code = 0x55
        RSCP = -48 dBm, ECIO = -4 dBm


Modem Security Information
==========================
Active SIM = 1
SIM switchover attempts = 0
Card Holder Verification (CHV1) = Disabled
SIM Status = OK
SIM User Operation Required = None
Number of CHV1 Retries remaining = 3

GPS Information
==========================

GPS Info
-------------
GPS State: GPS disabled

SMS Information
===============
Incoming Message Information
----------------------------
SMS stored in modem = 2
SMS archived since booting up = 0
Total SMS deleted since booting up = 0
Storage records allocated = 50
Storage records used = 2
Number of callbacks triggered by SMS = 0
Number of successful archive since booting up = 0
Number of failed archive since booting up = 0

Outgoing Message Information
----------------------------
Total SMS sent successfully = 0
Total SMS send failure = 1
Number of outgoing SMS pending = 0
Number of successful archive since booting up = 1
Number of failed archive since booting up = 0
Last Outgoing SMS Status = RECEIVED SEND NOTIFICATION
Copy-to-SIM Status =     0x0
Send-to-Network Status = 0xC
Report-Outgoing-Message-Number:
  Reference Number =     0
  Result Code =          0xFF
  Diag Code =            0x0 0x0 0x0 0x0 0x0

SMS Archive URL =

Error Information
=================


at!err

QDSP6                             ARM9 (not saved)
00   36 uim              08480    00   01 hsu_conf_sel_nv  00572
01   CD gsnvif           00245    01   01 hsu_conf_sel_nv  00616
02   FF cmtask           01162    02   01 timer            03552
03   3D mmglbl           00392
04   3D gsnvif           00478
05   3D rr_init          01597
06   3D rr_init          01601
07   3D rrcdata          08026
08   01 gmmutil          01099
09   01 gmmutil          01118
          
10   01 gmmutil          01141
11   01 gmmutil          01156
12   01 gmmutil          01174
13   01 gmmutil          01198
14   06 rrcllcp          16550
15   06 rrccspf          02198
16   37 rrccsp           20686
17   17 gsdi             09787
18   01 gsdi_co          01538
19   3D cnlbs            03307

OK


at!gcdump

No crash data available

OK


Modem Crashdump Information
===========================
Modem crashdump logging: off

1 Accepted Solution

Accepted Solutions

Philip D'Ath
VIP Alumni
VIP Alumni

Change:

line 3
 script dialer direct-ip

to:

line 3
 script dialer gsm

This is also unusual:

controller Cellular 0
 gsm sim profile 3 slot 1

You normally use  gsm profile 1 .  Have you definitely configured profile 3?  If not, delete this line.  Configure the APN with (where xxx is your local APN for your telco).

cellular 0 gsm profile create 1 xxx

View solution in original post

3 Replies 3

Philip D'Ath
VIP Alumni
VIP Alumni

Change:

line 3
 script dialer direct-ip

to:

line 3
 script dialer gsm

This is also unusual:

controller Cellular 0
 gsm sim profile 3 slot 1

You normally use  gsm profile 1 .  Have you definitely configured profile 3?  If not, delete this line.  Configure the APN with (where xxx is your local APN for your telco).

cellular 0 gsm profile create 1 xxx

ok whats your interface cell0 config and dialer is it something like:-

interface Cellular0
ip address negotiated
encapsulation slip
load-interval 60
dialer in-band
dialer pool-member 2
async mode interactive
!

interface Dialer0
bandwidth 1000
ip address negotiated
ip nat outside
encapsulation slip
dialer pool 2
dialer idle-timeout 30
dialer string gsm
dialer-group 1

i

daniel f.
Level 1
Level 1

the wrong script name in line3 was the mistake, its working now, thank you very much!