09-10-2012 04:59 AM - edited 07-03-2021 10:38 PM
Hi,
I've been given a Cisco 881 with the 3G wireless module to see if I can get it to access the Internet, but just can't. Below is my config, but I think I might have to get some TAC support on it to sort this out:
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service internal
!
hostname 3GRouter
!
boot-start-marker
boot-end-marker
!
no aaa new-model
!
memory-size iomem 10
crypto pki token default removal timeout 0
!
ip dhcp pool pool1
import all
network 10.10.10.0 255.255.255.0
dns-server 8.8.8.8
default-router 10.10.10.1
!
!
ip domain name 12345
ip name-server 8.8.8.8
ip inspect WAAS flush-timeout 10
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
chat-script INTERNET "" "ATDT*98*4#" TIMEOUT 30 CONNECT
license udi pid CISCO881G-K9 sn FCZ1628946L
!
controller Cellular 0
!
ip ssh version 2
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface FastEthernet4
no ip address
shutdown
duplex auto
speed auto
!
interface Cellular0
no ip address
ip virtual-reassembly in
encapsulation ppp
load-interval 60
dialer in-band
dialer pool-member 1
async mode interactive
ppp chap hostname web
ppp chap password 0 web
!
interface Vlan1
ip address 10.10.10.1 255.255.255.0
!
interface Dialer1
ip address negotiated
ip virtual-reassembly in
encapsulation ppp
dialer pool 1
dialer idle-timeout 0
dialer string INTERNET
dialer persistent
dialer-group 1
no cdp enable
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 Dialer1
!
dialer-list 1 protocol ip permit
!
control-plane
!
line con 0
line aux 0
line 3
exec-timeout 0 0
script dialer INTERNET
modem InOut
no exec
transport input all
rxspeed 7200000
txspeed 5760000
line vty 0 4
login
transport input all
!
end
3GRouter#sh cellular 0 profile 1
Profile 1 = INACTIVE*
--------
PDP Type = IPv4
Access Point Name (APN) = mobile.o2.co.uk
Authentication = CHAP
Username: web, Password: web
thanks in advance
Solved! Go to Solution.
09-10-2012 05:20 AM
Hi Andy,
your script is referencing profile #4, but you configured profile #1.
Can you change the script from:
chat-script INTERNET "" "ATDT*98*4#" TIMEOUT 30 CONNECT
to:
chat-script INTERNET "" "ATDT*98*1#" TIMEOUT 30 "CONNECT"
If it doesn't help, can you post the full 'show cell 0 all', plus collect the debugs for:
-deb dialer
-deb chat
-deb ppp nego
Thanks
Marco
09-10-2012 05:20 AM
Hi Andy,
your script is referencing profile #4, but you configured profile #1.
Can you change the script from:
chat-script INTERNET "" "ATDT*98*4#" TIMEOUT 30 CONNECT
to:
chat-script INTERNET "" "ATDT*98*1#" TIMEOUT 30 "CONNECT"
If it doesn't help, can you post the full 'show cell 0 all', plus collect the debugs for:
-deb dialer
-deb chat
-deb ppp nego
Thanks
Marco
09-10-2012 05:56 AM
Hi,
Think that worked!
3GRouter#ping www.google.com
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 74.125.230.210, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 472/640/1060 ms
3GRouter#
Can you recommend and useful show commands aimed towards the cellualar internface? such as signal quality, speed etc?
The next task will be to test EasyVPN.
Thanks
09-10-2012 06:06 AM
Glad to hear that
'Show cellular 0 all' should have all the information you need. For the signal, you can check the 'Radio' part (or just type "show cellular 0 radio')
You can also use show cellular 0 radio history, to monitor the signal quality on the last several hours.
For the VPN part, I suggest you to open a separate thread under /security/vpn, you will get more chances of a reply.
Cheers
Marco