User Tools

Site Tools


wiki:network_mana:backhaul

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:network_mana:backhaul [2023/02/13 16:14]
ehe
wiki:network_mana:backhaul [2024/03/07 13:49] (current)
ehe
Line 222: Line 222:
   * Multiple PIN code for multiple SIM card can be stored (using SIM card ICCID).   * Multiple PIN code for multiple SIM card can be stored (using SIM card ICCID).
   * Usually SIM cards only need ''​SIM PIN''​ code to be unlocked but sometimes other types of PIN code can be used, as described in the example below.   * Usually SIM cards only need ''​SIM PIN''​ code to be unlocked but sometimes other types of PIN code can be used, as described in the example below.
 +
 +A file named ''/​etc/​network/​ofono/​default_provisioning''​ contains several operators configuration (MCC, MNC, APN) for several countries. \\
 +
 +If the SIM used is already configured in this file, there is no need of configuring the APN the ''/​etc/​network/​ofono/​provisioning''​. ​
 +
 +<note important>​The PIN code, if set, still needs to be configured in ''/​etc/​network/​ofono/​provisioning''​.</​note>​
 +
 +<note warning> On Wirnet iZeptoCell-Cellular,​ the APN that must be used is ''​bicsapn''​. It is pre-configured on this gateway and this configuration should not be changed
 +</​note>​
 +
  
 <file ini provisioning>​ <file ini provisioning>​
Line 261: Line 271:
 #​service=<​pin> ​                              # PH-SP pin #​service=<​pin> ​                              # PH-SP pin
 #​corp=<​pin> ​                                 # PH-CORP pin #​corp=<​pin> ​                                 # PH-CORP pin
- 
-# Default global APN for zcel platform 
-[operator] 
-internet.AccessPointName=bicsapn 
 </​file>​ </​file>​
  
Line 299: Line 305:
 Call of script: ''#​ gsmdiag.py''​ Call of script: ''#​ gsmdiag.py''​
  
-Diagnosis output ​(wrong pin code case)+Diagnosis output ​examples
- +++++ Modem ready to connect|
-<code bash> +
-# gsmdiag.py +
-Number of modems: 1 +
-[Modem:/​sierra_1] +
-  Powered:1 +
-  Online:0 +
-  Manufacturer:​Sierra Wireless, Incorporated +
-  Model:​MC7304 +
-  Revision:​SWI9X15C_05.05.39.02 r22713 carmd-fwbuild1 2014/06/19 16:48:58 +
-  [SimProps] +
-    Present:1 +
-    CardIdentifier:​89330120403002181830 +
-    SubscriberIdentity:​ property does not exist +
-    LockedPins:​dbus.Array([dbus.String(u'​pin'​)],​ signature=dbus.Signature('​s'​),​ variant_level=1) +
-    PinRequired:​pin +
-  Error: SIM code required (PIN, PUK, ...) +
-Diagnostic written in /​tmp/​gsmdiag.txt +
-</​code>​ +
- +
-Diagnosis output (modem ​ready to connect): +
 <code bash> <code bash>
 # gsmdiag.py # gsmdiag.py
Line 355: Line 340:
 Diagnostic written in /​tmp/​gsmdiag.txt Diagnostic written in /​tmp/​gsmdiag.txt
 </​code>​ </​code>​
 +++++
 +
 +++++ SIM not detected|
 +<code bash>
 +# gsmdiag.py
 +Number of modems: 1
 +[Modem:/​quectelqmi_2]
 +  Syspath:/​sys/​devices/​soc0/​soc/​2100000.aips-bus/​2184200.usb/​ci_hdrc.1/​usb2/​2-1/​2-1.1
 +  HardwarePosition:​internal
 +  Powered:1
 +  Online:1
 +  Manufacturer:​QUALCOMM INCORPORATED
 +  Model:​QUECTEL Mobile Broadband Module
 +  Revision:​EG25GGBR07A08M2G
 +  [SimProps]
 +    Present:0
 +  Error: no SIM in modem (double checked with AT commands)
 +Diagnostic written in /​tmp/​gsmdiag.txt
 +</​code>​
 +++++
 +
 +++++ SIM detected but not operational|
 +<code bash>
 +# gsmdiag.py
 +Number of modems: 1
 +[Modem:/​quectelqmi_1]
 +  Syspath:/​sys/​devices/​soc0/​soc/​2100000.aips-bus/​2184200.usb/​ci_hdrc.1/​usb1/​1-1/​1-1.1
 +  HardwarePosition:​internal
 +  Powered:1
 +  Online:1
 +  Manufacturer:​QUALCOMM INCORPORATED
 +  Model:​QUECTEL Mobile Broadband Module
 +  Revision:​EG25GGBR07A07M2G
 +  [SimProps]
 +    Present:0
 +  Error: SIM detected (ICCID: 8959102062181454741F) but not usable by Ofono
 +Diagnostic written in /​tmp/​gsmdiag.txt
 +</​code>​
 +++++
 +
 +++++ Wrong pin code case|
 +
 +<code bash>
 +# gsmdiag.py
 +Number of modems: 1
 +[Modem:/​sierra_1]
 +  Powered:1
 +  Online:0
 +  Manufacturer:​Sierra Wireless, Incorporated
 +  Model:​MC7304
 +  Revision:​SWI9X15C_05.05.39.02 r22713 carmd-fwbuild1 2014/06/19 16:48:58
 +  [SimProps]
 +    Present:1
 +    CardIdentifier:​89330120403002181830
 +    SubscriberIdentity:​ property does not exist
 +    LockedPins:​dbus.Array([dbus.String(u'​pin'​)],​ signature=dbus.Signature('​s'​),​ variant_level=1)
 +    PinRequired:​pin
 +  Error: SIM code required (PIN, PUK, ...)
 +Diagnostic written in /​tmp/​gsmdiag.txt
 +</​code>​
 +++++
 +
 +
  
 == getmodeminfo.py tool == == getmodeminfo.py tool ==
Line 530: Line 578:
 ifup eth0 ifup eth0
 </​code>​ </​code>​
 +
 +===== Router Mode =====
 +==== Purpose ====
 +The aim of the router mode is to bring data connection to a sub-network thanks to a connection from a single gateway. ​
 +
 +Here is an example of how it could be used :\\
 +{{:​images:​router_mode.jpg?​850|}}
 +
 +==== Router configuring ====
 +To activate the router mode on a gateway, some commands need to be made in the gateway console.
 +
 +Here are the commands :
 +<code bash>
 +# Activate router mode
 +echo "​ROUTER=yes"​ > /​etc/​default/​localnet.conf
 +
 +# Edition of /​etc/​network/​connman/​main.conf to disable handling of eth0:
 +NetworkInterfaceBlacklist = vmnet,​vboxnet,​virbr,​ifb,​eth1,​wlan-adm,​usb,​eth0
 +
 +# Add eth0 to localnet handling by adding this line in /​etc/​udev/​rules.d/​localnet.rules
 +SUBSYSTEM=="​net",​ KERNEL=="​eth0",​ RUN+="/​etc/​udev/​scripts/​localnet.sh"​
 +
 +# Make sure this config is saved in case of firmware upgrade
 +echo "/​etc/​udev/​rules.d/​localnet.rules"​ > /​etc/​sysupgrade.d/​localnet.conf
 +</​code>​
 +
 +These commands need to be made on the gateway which will host the connection only. Nothing has to be done on other gateway(s).\\
 +A reboot of the gateway is needed to apply this configuration. You can do so with the command ''​reboot''​
 +
 +The host gateway can now provide data connection locally to another gateway or to multiple gateways thanks to an ethernet switch. \\
 +Local connections to the switch can be:
 +  * Ethernet and/or
 +  * WLAN 
wiki/network_mana/backhaul.1676301272.txt.gz · Last modified: 2023/02/13 16:14 by ehe