05-05-2016 07:38 AM - edited 03-05-2019 03:57 AM
Hi All,
Please can I get some assistance with problems configuring a 3G router. APN, Username, Password and Authentication have been provided. I can't get an active profile to work still.
Profile 1 = INACTIVE
--------
PDP Type = IPv4
Access Point Name (APN) = wap.vodafone.co.uk
Authentication = PAP
Username: wap, Password: wap
Running config is below:
Current configuration : 1972 bytes
!
! Last configuration change at 14:31:31 UTC Thu May 5 2016
!
version 15.1
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
logging buffered 12000
!
no aaa new-model
!
memory-size iomem 10
service-module wlan-ap 0 bootimage autonomous
ip source-route
!
!
!
!
ip cef
no ipv6 cef
!
!
multilink bundle-name authenticated
chat-script gsm "" "atdt*98*1#" TIMEOUT 30 "CONNECT"
license udi pid CISCO881GW-GN-E-K9 sn FCZ1425C0JV
!
!
!
!
!
!
controller Cellular 0
interface FastEthernet0
switchport access vlan 10
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface FastEthernet4
no ip address
shutdown
duplex auto
speed auto
!
interface wlan-ap0
description Service module interface to manage the embedded AP
no ip address
arp timeout 0
!
interface Wlan-GigabitEthernet0
description Internal switch interface connecting to the embedded AP
!
interface Cellular0
ip address negotiated
ip nat outside
no ip virtual-reassembly
encapsulation ppp
dialer in-band
dialer idle-timeout 0
dialer string gsm
dialer-group 1
async mode interactive
ppp chap hostname wap
ppp chap password 0 wap
!
interface Vlan1
no ip address
!
interface Vlan10
ip address 192.168.60.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip dns server
ip nat inside source list INTERNET-ACCESS interface Cellular0 overload
ip route 0.0.0.0 0.0.0.0 Cellular0
!
ip access-list extended INTERNET-ACCESS
permit ip any any
control-plane
!
!
line con 0
no modem enable
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
line 3
script dialer gsm
modem InOut
no exec
transport input all
rxspeed 7200000
txspeed 5760000
line vty 0 4
login
transport input all
!
05-05-2016 09:03 PM
hi,
could you try these commands?
no chat-script gsm "" "atdt*98*1#" TIMEOUT 30 "CONNECT"
chat-script gsm "" "AT!CALL" TIMEOUT 20 "OK"
interface Cellular0
encapsulation slip
no ppp chap hostname wap
no ppp chap password 0 wap
no async mode interactive
interface Vlan10
ip nat inside
access-list 1 permit 192.168.60.0 0.0.0.255
no ip nat inside source list INTERNET-ACCESS interface Cellular0 overload
ip nat inside source list 1 interface Cellular0 overload
dialer-list 1 protocol ip permit
05-11-2016 07:40 AM
Hi John,
Thanks for your response. I finally cracked it using the Dialer0 interface. To be honest, I still can't tell when to use or not to use the Dialer0 over the Cellular0 interface.
See configs below...for anyone who may need this at some point.
interface Cellular0
no ip address
ip nat outside
ip virtual-reassembly
encapsulation ppp
no ip route-cache cef
dialer in-band
dialer pool-member 1
dialer-group 1
async mode interactive
ppp chap hostname wap
ppp chap password 0 wap
!
interface Vlan1
no ip address
!
interface Vlan10
ip address 192.168.60.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Dialer0
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
no ip route-cache cef
no ip route-cache
dialer pool 1
dialer idle-timeout 0
dialer string gsm
dialer persistent
dialer-group 1
no cdp enable
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip dns server
ip nat inside source list INTERNET-ACCESS interface Dialer0 overload
ip route 0.0.0.0 0.0.0.0 Dialer0
!
ip access-list extended INTERNET-ACCESS
permit ip any any
!
access-list 1 permit any
dialer-list 1 protocol ip list 1
!
!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide