Mobile interface
U
SER
G
UIDE
88
set gprs direct-ip
so that the network interface name that match the main APN would be wwan0, while wwan1 will be
for the second one.
D
ISPLAYING
GPRS
CONFIGURATION
,
STATUS AND STATISTICS
It is possible to display information about configuration, statistics and status of the GPRS interface.
The
CLI
command is:
show interface gprs config|statistics|status
For example, the command
show interface gprs config
produces the following output:
show interface gprs config status
root@Imola>
show interface gprs config
Start GPRS:
yes
APN:
ibox.tim.it
PPP Login:
mylogin
PPP Passwd:
mypasswd
MTU:
576
Idle Timeout:
3600
Masquerade:
yes
Deflt-Route:
yes
The command
show interface gprs status
shows the status of the session. The video output
produced may change according to the access technology:
root@Imola>
show interface gprs status
Signal Quality: +CSQ: 17,99
Network: HSDPA/UMTS
IMSI: 222017302670415 IMEI: 355841030174450
There is an active GPRS Connection:
31: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1500 qdisc pfifo_fast qlen 3
link/ppp
RX: bytes packets errors dropped overrun mcast
40 4 0 0 0 0
TX: bytes packets errors dropped carrier collsns
77 6 0 0 0 0
inet 217.201.91.46 peer 192.168.254.254/32 scope global ppp0
root@Imola>
show interface gprs status
Signal Power: CSQ = 23 => -67 dBm
Network: HSDPA/UMTS vodafone IT
HSDPA Category: 24 HSUPA Category: 6
Current Time:
75749 Temperature: 38
Bootup Time:
1
Mode:
ONLINE