This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Configuring 4g (Cellular Module) with XG125w firewall - Having issues

Dear Community,

This is my first interaction and product purchased from Sophos, an XG125w firewall with the 4G module expansion. I thought the hard part would be the configuring of the firewall which in the end turned out to be extremely intuitive, however when I came to plug in the 4G adapter for use with an 'EE' data sim, I feel I'm missing a key step preventing me from configuring the device and would be grateful for any advice or pointers.

I've logged a call with the support team, alas have not heard anything back in the last 2 days - this is the gist of the issue:

XG125w c/w 4G Cellular module 
SFOS 18.0.4 MR-4
Problem occurred when I first installed the 4G Cellular module, I’m trying to get a WWAN connection as primary connection with DSL as backup due to network performance. The XG125 works OK, I have the DSL connection.
The EE SIM card I’m using works perfectly in a Draytek 2860 router, the WWAN is setup in DHCP mode.
I place the SIM into the expansion module as instructed, slide it home as per instructions.
Go to NETWORK > CELLULAR WAN on the firewall and select state ON.
PastedGraphic-1.png
Refresh the screen to get 
PastedGraphic-2.png
(Note - have tried to enable the WWAN interface from the command line as per one of the Sophos articles, however this made no difference - the behaviour was the same as the GUI)
Interfaces I now see WWAN1 created:
PastedGraphic-3.png
Initially I wanted to configure the modem in DHCP mode, however when I try this I just get: Can’t find any references to DHCP Connect and Disconnect strings in the Sophos documentation - Not sure if this is the problem?
So I  then load the recommended values for PPP, even though there are several serial USB devices created in the kernel, serial 2 is the only one I’m allowed to configure, the rest give errors is say I select serial 1 etc.
I then add my providers details for PPP such as the number, username and password. I have tried different APN strings etc but they give errors in the logs.
PastedGraphic-4.png
Note ‘Other settings’ remain the defaults i.e. MTU and MSS.
The logs suggest there’s a problem with WWAN1:
INFO    ; Dec 28 15:09:28  ; ADMIN  ; ND_MAIN        ; ioctl: interface 'WWAN1';
ERROR   ; Dec 28 15:09:28  ; ADMIN  ; ND_MAIN        ; ioctl SIOCGIFINDEX failed
: No such device                                                                
;                                                                               
ERROR   ; Dec 28 15:09:28  ; ADMIN  ; LINK_USBMODEM  ; Interface 'WWAN1' does no
t exist.;                                                                       
INFO    ; Dec 28 15:09:28  ; ADMIN  ; ND_MAIN        ; time taken for do_nd_acti
on is 0.000000.;                                                                
INFO    ; Dec 28 15:09:28  ; ADMIN  ; ND_MAIN        ; sending reply: 0;        
ATQ0 V1 E1                                                                      
OK                                                                              
ATZ                                                                             
OK   
I go to the ‘Cellular WAN’ tab to ‘Connect’ the interface but it stays in a state of ‘Connecting’ or ‘Reconnecting’.
--> Modem initialized.                                                          
--> Sending: ATDT*99***1#                                                       
--> Waiting for carrier.                                                        
ATDT*99***1#                                                                    
CONNECT 150000000                                                               
--> Carrier detected.  Starting PPP immediately.                                
--> Starting pppd at Thu Jan  1 06:57:33 1970                                   
--> PPP daemon has died! (exit code = 16)                                       
--> Disconnecting at Mon Dec 28 15:19:07 2020                                   
--> Auto Reconnect will be attempted in 10 seconds                              
--> pppd error!  Look at files in /var/log for an explanation.                  
--> Initializing modem.                                                         
--> Sending: ATZ                                                                
OK                                                                              
--> Modem initialized.                                                          
--> Initializing modem.                                                         
--> Sending: ATZ                                                                
ATZ                                                                             
OK                                                                              
--> Modem initialized.                                                          
--> Sending: ATDT*99***1#                                                       
--> Waiting for carrier.                                                        
ATDT*99***1#                                                                    
CONNECT 150000000                                                               
--> Carrier detected.  Starting PPP immediately.                                
--> Starting pppd at Thu Jan  1 06:57:49 1970                                   
--> PPP daemon has died! (exit code = 16)                                       
--> Disconnecting at Mon Dec 28 15:19:23 2020                                   
--> Auto Reconnect will be attempted in 20 seconds                              
--> pppd error!  Look at files in /var/log for an explanation.                  
--> Initializing modem.                                                         
--> Sending: ATZ                                                                
OK                                                                              
--> Modem initialized.  
I believe there’s a step missing somewhere, but I’ve checked loads of Sophos documentation and I hoped this one would work out of the box as did my Draytek setup which didn’t require any DHCP startup commands etc.

Any thoughts greatly received.

Cheers.



This thread was automatically locked due to age.
Parents
  • Just an update - able now to get the modem connected:

    Tue Jan  5 13:26:19 GMT 2021 Trying to Connect

    Tue Jan  5 13:26:19 GMT 2021 Waiting to Connect

    Tue Jan  5 13:26:49 GMT 2021 Modem is Connected! Nothing to more do.

    Tue Jan  5 13:26:49 GMT 2021 scan end

    Connection to 172.16.16.16 closed by remote host.

    Connection to 172.16.16.16 closed.

    however the connection is perpetually dropping and reconnecting with a different IP:

    Gateway IP 10.64.64.64. 

    networkd reports:

    Jan  5 16:34:03 (none) authpriv.info ipsec_starter[7196]: expanding file pattern '/_conf/ipsec/connections/*.conf' failed: No such file or directory

    Jan  5 16:34:03 (none) daemon.err up_tunnels_on_id(): Making connections on interfaceid 2 up or add (as per their auto= configuration)

    Jan  5 16:34:04 (none) authpriv.info ipsec_starter[7196]: expanding file pattern '/_conf/ipsec/connections/*.conf' failed: No such file or directory

    Jan  5 16:36:46 (none) daemon.warn pppd[14744]: : ip_choose_hook is NULL

    Jan  5 16:36:46 (none) daemon.notice pppd[14744]: /dev/ttyUSB2: pppd 2.4.7 started by root, uid 0

    Jan  5 16:36:46 (none) user.info kernel: [24811.790864] WWAN1: renamed from ppp0

    Jan  5 16:36:46 (none) daemon.info pppd[14744]: /dev/ttyUSB2: Using interface WWAN1

    Jan  5 16:36:46 (none) daemon.notice pppd[14744]: /dev/ttyUSB2: Connect: WWAN1 <--> /dev/ttyUSB2

    Jan  5 16:36:46 (none) daemon.info pppd[14744]: /dev/ttyUSB2: CHAP authentication succeeded

    Jan  5 16:36:46 (none) daemon.notice pppd[14744]: /dev/ttyUSB2: CHAP authentication succeeded

    Jan  5 16:36:46 (none) daemon.warn pppd[14744]: /dev/ttyUSB2: Could not determine remote IP address: defaulting to 10.64.64.64

    Jan  5 16:36:46 (none) daemon.notice pppd[14744]: /dev/ttyUSB2: local  IP address 10.118.200.83

    Jan  5 16:36:46 (none) daemon.notice pppd[14744]: /dev/ttyUSB2: remote IP address 10.64.64.64

    Jan  5 16:36:51 (none) daemon.err down_tunnels_on_iface(): down all connection using interface '2' and op ''

    Jan  5 16:36:51 (none) daemon.info pppd[14744]: /dev/ttyUSB2: Hangup (SIGHUP)

    Jan  5 16:36:51 (none) daemon.notice pppd[14744]: /dev/ttyUSB2: Modem hangup

    Jan  5 16:36:51 (none) daemon.info pppd[14744]: /dev/ttyUSB2: Connect time 0.1 minutes.

    Jan  5 16:36:51 (none) daemon.info pppd[14744]: /dev/ttyUSB2: Sent 0 bytes, received 0 bytes.

    Jan  5 16:36:51 (none) daemon.notice pppd[14744]: /dev/ttyUSB2: Connection terminated.

     

  • Apologies in the last log was of course from the syslog.log.

    Networkd.log has:

    ATZ

    OK

    --> Sending: AT+CGDCONT=1,"IP","everywhere"

    AT+CGDCONT=1,"IP","everywhere"

    OK

    --> Modem initialized.

    --> Initializing modem.

    --> Sending: ATZ

    ATZ

    OK

    --> Sending: AT+CGDCONT=1,"IP","everywhere"

    AT+CGDCONT=1,"IP","everywhere"

    OK

    --> Modem initialized.

    --> Sending: ATDT*99***1#

    --> Waiting for carrier.

    ATDT*99***1#

    CONNECT 150000000

    --> Carrier detected.  Starting PPP immediately.

    --> Starting pppd at Thu Jan  1 07:50:34 1970

    WARNING ; Jan 05 16:33:54  ; SYSTEM ; JSON_PARSOR    ; Unable to find handler for key: if_config;

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; LINK           ; ;

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; LINK           ; interface = WWAN1;

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; LINK           ;               zonetype = 2;

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; LINK           ;               zoneid = 2;

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; LINK           ;               gatewayid = 2;

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; LINK           ;               gatewayid6 = 0;

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; LINK           ;               enabled = Yes;

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; LINK           ;               linktype = USB;

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; LINK           ;               mtu = 1500;

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; LINK           ;               mss = 0;

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; LINK           ;               interface_speed = none;

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; LINK           ;               mac-address = (null);

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; LINK           ;               parent_ifname = ;

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; LINK           ;               system interface = WWAN1;

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; LINK           ;               master = ;

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; ND_MAIN        ; ioctl: interface 'WWAN1';

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; LINK_COMMON    ; ioctl: interface 'WWAN1' group '2';

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; LINK_COMMON    ; ioctl: interface 'WWAN1' nettype '2';

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; LINK_COMMON    ; ioctl: interface 'WWAN1' gateway '32770';

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; LINK_COMMON    ; ioctl: interface 'WWAN1' gateway '0';

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; ND_MAIN        ; time taken for do_nd_action is 0.000000.;

    INFO    ; Jan 05 16:33:54  ; SYSTEM ; ND_MAIN        ; sending reply: 0;

    --> PPP daemon has died! (exit code = 16)

    --> Disconnecting at Tue Jan  5 16:34:00 2021

    --> Auto Reconnect will be attempted in 160 seconds

    --> pppd error!  Look at files in /var/log for an explanation.

    --> Initializing modem.

    --> Sending: ATZ

  • Hello Dave,

    Thank you for contacting the Sophos Community! 

    I have followed internally in the Case ID, you provided to me via PM.

    Will update this thread once a resolution is found.

    Regards,

Reply Children
No Data