cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
814
Views
10
Helpful
7
Replies

ISR1941 with 3G EHWIC HSPA-U on Telstra not working with ppp

njkroeze
Level 1
Level 1

Hi All

I cant get the dialler interface di0 to come up and get an IP address with the carrier. I'm using bits of a working config from an IR809. The only difference is that that router is working with encapsulation slip but the 1941 doesnt support slip on the cellular interface and I've had to use ppp.

I have a chat script, I call the chat script at line0/0/0 (not sure why), also call the same chat script form the di0 interface.

There is a dialler profile in the modem but it shows "Inactive"

 

Profile 1 = INACTIVE* **
--------
PDP Type = IPv4
Access Point Name (APN) = telstra.corp
Authentication = CHAP
Username: something@something
Password: correctpassword

* - Default profile

Data Connection Information
===========================
Data Transmitted = 0 bytes, Received = 0 bytes
Profile 1, Packet Session Status = INACTIVE
Inactivity Reason = Normal inactivate state

 

Not sure where the problem is, any help would be greatly appreciated.

 

 

router#sh ip int br
Interface IP-Address OK? Method Status Protocol
Embedded-Service-Engine0/0 unassigned YES NVRAM administratively down down
GigabitEthernet0/0 10.65.72.53 YES DHCP up up
GigabitEthernet0/1 unassigned YES NVRAM administratively down down
ATM0/1/0 unassigned YES NVRAM administratively down down
Ethernet0/1/0 unassigned YES NVRAM administratively down down
Cellular0/0/0 unassigned YES unset down down
Cellular0/0/1 unassigned YES unset down down
Dialer0 unassigned YES NVRAM up up  (When its working I get an IP address here from Telstra)

 

router>en
router#sh cel 0/0/0 radio
Radio power mode = ON
Current Band = WCDMA 850, Channel Number = 4412
Current RSSI(RSCP) = -68 dBm
Current ECIO = -0 dBm
Primary Scrambling Code = 0x11A
Number of nearby cells = 1
Idx PSC (Primary Scrambling Code)
-------------------------------------
1 282
Band Selected = Auto
Number of nearby cells = 1
Cell 1
Primary Scrambling Code = 0x11A
RSCP = -64 dBm, ECIO = -4 dBm

 

 

router#sh run
Building configuration...

Current configuration : 1908 bytes
!
! Last configuration change at 05:26:00 UTC Tue Apr 16 2019
!
version 15.6
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname router
!
boot-start-marker
boot system flash:c1900-universalk9-mz.SPA.156-3.M6.bin
boot-end-marker
!
no aaa new-model
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
chat-script gsm "" "AT!CALL1" TIMEOUT 30 "OK"
!
license udi pid CISCO1941/K9 sn FGL181121BE
!
redundancy
!
controller Cellular 0/0
!
controller VDSL 0/1/0
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address dhcp
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface ATM0/1/0
no ip address
shutdown
no atm ilmi-keepalive
!
interface Ethernet0/1/0
no ip address
shutdown
!
interface Cellular0/0/0
no ip address
ip access-group 1 out
ip virtual-reassembly in
encapsulation ppp
dialer in-band
dialer pool-member 1
async mode interactive
!
interface Cellular0/0/1
no ip address
encapsulation ppp
!
interface Dialer0
ip address negotiated
ip virtual-reassembly in
encapsulation ppp
dialer pool 1
dialer idle-timeout 0
dialer string gsm
dialer persistent
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 Dialer0
!
control-plane
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line 0/0/0
exec-timeout 0 0
script dialer gsm
login
modem InOut
no exec
transport preferred none
transport input all
rxspeed 7200000
txspeed 5760000
line 0/0/1
no exec
rxspeed 7200000
txspeed 5760000
line vty 0 4
login
transport input all
!
scheduler allocate 20000 1000
!
end

1 Accepted Solution

Accepted Solutions

Hello,

 

try and add the lines in bold:

 

interface Dialer0
ip address negotiated
ip virtual-reassembly in
encapsulation ppp
dialer pool 1
dialer-group 1
dialer idle-timeout 0
dialer string gsm
dialer persistent
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 Dialer0
!
dialer-list 1 protocol ip permit

 

Also, try the chat script below:

 

chat-script gsm "" "ATDT*98*1#" TIMEOUT 30 "CONNECT"

View solution in original post

7 Replies 7

Hello,

 

try and add the lines in bold:

 

interface Dialer0
ip address negotiated
ip virtual-reassembly in
encapsulation ppp
dialer pool 1
dialer-group 1
dialer idle-timeout 0
dialer string gsm
dialer persistent
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 Dialer0
!
dialer-list 1 protocol ip permit

 

Also, try the chat script below:

 

chat-script gsm "" "ATDT*98*1#" TIMEOUT 30 "CONNECT"

If the cellular interface and the dialer interface are using ppp should there not be some authentication commands (probably chap)? If you run debug for ppp what output do you get?

 

HTH

 

Rick

HTH

Rick

Hi Richard

It is using chap authentication but the commands are not in the dialer interface, although I did try them there, they are currently in the dialer profile in the modem. I can see them with a sh cel 0/0/0 all.

Cheers

Nathan

 

I've checked and the username and password in the dialler profile are correct.

Also tried putting the ppp username and ppp password commands directly on di0 but this didnt help.

This is what i'm getting at the console:

 

*Apr 16 23:05:06.723: %LINK-5-CHANGED: Interface Cellular0/0/0, changed state to reset
*Apr 16 23:05:06.723: %DIALER-6-UNBIND: Interface Ce0/0/0 unbound from profile Di0
*Apr 16 23:05:11.723: %LINK-3-UPDOWN: Interface Cellular0/0/0, changed state to down
*Apr 16 23:05:23.775: %LINK-3-UPDOWN: Interface Cellular0/0/0, changed state to up
*Apr 16 23:05:23.775: %DIALER-6-BIND: Interface Ce0/0/0 bound to profile Di0
*Apr 16 23:05:23.775: Ce0/0/0 PPP: Using dialer call direction
*Apr 16 23:05:23.775: Ce0/0/0 PPP: Treating connection as a callout
*Apr 16 23:05:23.775: Ce0/0/0 PPP: Session handle[E400006E] Session id[110]
*Apr 16 23:05:25.847: %LINK-5-CHANGED: Interface Cellular0/0/0, changed state to reset
*Apr 16 23:05:25.847: %DIALER-6-UNBIND: Interface Ce0/0/0 unbound from profile Di0
*Apr 16 23:05:30.847: %LINK-3-UPDOWN: Interface Cellular0/0/0, changed state to down
*Apr 16 23:05:42.895: %LINK-3-UPDOWN: Interface Cellular0/0/0, changed state to up
*Apr 16 23:05:42.895: %DIALER-6-BIND: Interface Ce0/0/0 bound to profile Di0
*Apr 16 23:05:42.895: Ce0/0/0 PPP: Using dialer call direction
*Apr 16 23:05:42.895: Ce0/0/0 PPP: Treating connection as a callout
*Apr 16 23:05:42.895: Ce0/0/0 PPP: Session handle[F000006F] Session id[111]
*Apr 16 23:05:44.959: %LINK-5-CHANGED: Interface Cellular0/0/0, changed state to reset

Also changed to different sim and am getting the same result, so it appears the carrier is rejecting my connection attempts.

It is not clear from the log messages that you post whether the problem is still with authentication or whether the problem has shifted to something else. If you run the debug again what output are you getting?

 

HTH

 

Rick

HTH

Rick

Hi Georg

I inserted the first two suggestions but nothing happened until I changed the chat script.

Now the cel0/0/0 and di0 interfaces are flip flopping states, which is a marked improvement to what I had before.

I turned ppp authentication debugs on also (Thanks Richard) and I can see that chap auth is failing.

I'll tripple check my username and password are correct and report back.

Thanks for the help!

 

*Apr 16 22:31:37.347: %DIALER-6-UNBIND: Interface Ce0/0/0 unbound from profile Di0
*Apr 16 22:31:42.347: %LINK-3-UPDOWN: Interface Cellular0/0/0, changed state to down
*Apr 16 22:31:54.395: %LINK-3-UPDOWN: Interface Cellular0/0/0, changed state to up
*Apr 16 22:31:54.395: %DIALER-6-BIND: Interface Ce0/0/0 bound to profile Di0
*Apr 16 22:31:56.415: %LINK-5-CHANGED: Interface Cellular0/0/0, changed state to reset
*Apr 16 22:31:56.415: %DIALER-6-UNBIND: Interface Ce0/0/0 unbound from profile Di0
*Apr 16 22:32:01.415: %LINK-3-UPDOWN: Interface Cellular0/0/0, changed state to down

*Apr 16 22:36:02.395: Ce0/0/0 PPP: Using dialer call direction
*Apr 16 22:36:02.395: Ce0/0/0 PPP: Treating connection as a callout
*Apr 16 22:36:02.395: Ce0/0/0 PPP: Session handle[19000024] Session id[36]
*Apr 16 22:36:02.407: Ce0/0/0 PPP: No authorization without authentication
*Apr 16 22:36:02.407: Ce0/0/0 CHAP: I CHALLENGE id 1 len 35 from "UMTS_CHAP_SRVR"
*Apr 16 22:36:02.407: Ce0/0/0 PPP: Sent CHAP SENDAUTH Request
*Apr 16 22:36:02.407: Ce0/0/0 PPP: Received SENDAUTH Response FAIL
*Apr 16 22:36:02.407: Ce0/0/0 CHAP: Unable to authenticate for peer
*Apr 16 22:36:02.407: Ce0/0/0 PPP: Sending AAA radius abort

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card