====== Cisco 1901 router - 3G and GPS card ======
This WIC card supports 3G radio and GPS location. It seems to be based round a laptop style GSM / GPS module.
{{249597.jpg|Diagrammatic view showing module}}
===== EHWIC-3G-HSPA-gps =====
{{:networking:ehwic-gsm.png?400|}}
==== GSM 3G ====
Using gsm/gps module as a fpga:- [[https://hackaday.io/project/168542-cisco-hwic-3g-cdma-as-a-cheap-fpga-board/log/171121-reverse-engineering-the-cisco-hwic-3g-cdma]]
backup cellular routing
[[http://wiki.ciscolinux.co.uk/index.php?title=Cisco_1941_with_EHWIC-3G-HSPA%2B7_card_configuration]]
[[https://bayupw.blogspot.com/2008/05/configuring-cisco-hwic-3g.html]]
[[https://smartvision.solutions/?q=node/25]]
=== Create APN profile ===
This is for UK Orange / EE:-
Router#$0/0 gsm profile create 3 everywhere chap eesecure secure ipv4
Profile 3 will be created with the following values:
PDP type = IPv4
APN = everywhere
Authentication = CHAP
Username = eesecure
Password = secure
Are you sure? [confirm]
Profile 3 written to modem
Router#
Router#show cellular 0/0/0 network
Current Service Status = Emergency Only, Service Error = None
Current Service = Invalid
Packet Service = None
Packet Session Status = Inactive
Current Roaming Status = Home
Network Selection Mode = Automatic
Country = GBR, Network = O2 - UK
Mobile Country Code (MCC) = 234
Mobile Network Code (MNC) = 10
Location Area Code (LAC) = 21565
Routing Area Code (RAC) = 146
Cell ID = 26948
Primary Scrambling Code = 0
PLMN Selection = Automatic
Router#
Need to fix
No physical hardware support for line 8
modem InOut
^
% Invalid input detected at '^' marker.
no exec
^
% Invalid input detected at '^' marker.
transport input all
^
% Invalid input detected at '^' marker.
transport output all
^
% Invalid input detected at '^' marker.
stopbits 1
^
% Invalid input detected at '^' marker.
speed 4800
^
% Invalid input detected at '^' marker.
==== GPS ====
Configure module to use NMEA sentences, The GPS antenna has to connect to the GSM diversity TNC connector, so you cannot use the GSM diversity at the same time as GPS.
On the EHWIC card, there is a green LED for status, it can be used for troubleshooting.
It will be off while searching and illuminate solid green once a GPS fix is obtained.
Config:-
1901-1(config)# controller cellular 0/0/0
1901-1(config-controller)# gsm gps mode standalone
1901-1(config-controller)# gsm gps nmea
1901-1(config-controller)# exit
Status and monitoring:-
1901-1#sh cellular 0/0/0 gps detail
GPS Info
-------------
GPS Status: GPS acquiring
GPS Mode Configured: standalone
Latitude: 0 Deg 0 Min 0 Sec North
Longitude: 0 Deg 0 Min 0 Sec East
Timestamp (GMT): Sun Jan 6 00:00:00 1980
Fix type index: 0
HEPE: 0 cm, GPS Mode Used: not configured/unknown, Positioning Source index invalid: 0
Uncertainty Info:
Angle: 0 deg, A: 50 cm, Position: 50 cm, Vertical: 50 cm
Satellite Info
----------------
1901-1#