LTE connection problem on M265



  • Hello,

    I am trying to configure my 4G interface on my unipi M265.
    The connection is not made and I have the following logs:

    2019-02-14 11:31:35,910 - DEBUG - Waiting for IP assign...
    2019-02-14 11:31:39,933 - DEBUG - b'3: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000\n    link/ether 02:00:03:19:00:0b brd ff:ff:ff:ff:ff:ff\n'
    2019-02-14 11:31:39,934 - DEBUG - Waiting for IP assign...
    2019-02-14 11:31:43,954 - DEBUG - b'3: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000\n    link/ether 02:00:03:19:00:0b brd ff:ff:ff:ff:ff:ff\n'
    2019-02-14 11:31:43,955 - DEBUG - Waiting for IP assign...
    2019-02-14 11:31:47,978 - DEBUG - b'3: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000\n    link/ether 02:00:03:19:00:0b brd ff:ff:ff:ff:ff:ff\n'
    2019-02-14 11:31:47,979 - DEBUG - Waiting for IP assign...
    2019-02-14 11:31:51,984 - ERROR - Cannot obtain IP address from LTEs DHCP server...
    2019-02-14 11:31:51,986 - INFO - Modem init complete
    2019-02-14 11:31:52,589 - INFO - Registered to: Orange F Network type: 7 RSSI: 19 Sigqual: 6
    2019-02-14 11:31:58,599 - DEBUG - WAN IP 10.34.177.115, Private IP 10.21.8.1; NON-CONFLICT 
    2019-02-14 11:31:58,600 - INFO - WAN IP ADDRESS: 10.34.177.115 INTERFACE IP ADDRESS: 10.21.8.1
    2019-02-14 11:31:58,602 - DEBUG - RSSI: 19 sigqual: 6 net-type: 7
    2019-02-14 11:32:00,023 - INFO - unipi-lte version 0.18 from 2019-02-14 11:11:00.068002 - Logging started..
    2019-02-14 11:32:00,024 - DEBUG - Config file /etc/unipi/lte.conf parsed
    2019-02-14 11:32:00,025 - DEBUG - CURRENT SETTINGS: {'_was_changed': False, 'apn': '"orange"', 'auth_method': 1, 'auth_user': '"orange"', 'auth_pass': '"orange"', 'pin': '0000', 'usbmode': '2', 'report_period': 86400, 'oneshot': False, 'regtimeout': 120, 'suspend_timeout': 43200, 'lte_autokeep_on': True, 'lte_iface': None, 'ping': {'active': False}} 
    2019-02-14 11:32:00,029 - DEBUG - Entering the main loop...
    2019-02-14 11:32:00,036 - INFO - Created wwan0 iface file
    2019-02-14 11:32:00,659 - INFO - Pin resolved
    2019-02-14 11:32:00,963 - DEBUG - USB profile remains the same
    2019-02-14 11:32:01,265 - DEBUG - APN remains the same : "orange",0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,1,"orange","orange"
    2019-02-14 11:32:01,285 - DEBUG - b'3: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000\n    link/ether 02:00:03:19:00:0b brd ff:ff:ff:ff:ff:ff\n'
    2019-02-14 11:32:01,303 - DEBUG - Ifup !!!
    2019-02-14 11:32:01,327 - DEBUG - Ifup OK!!!
    2019-02-14 11:32:01,344 - DEBUG - b'3: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000\n    link/ether 02:00:03:19:00:0b brd ff:ff:ff:ff:ff:ff\n'
    2019-02-14 11:32:01,346 - DEBUG - Waiting for IP assign...
    2019-02-14 11:32:05,368 - DEBUG - b'3: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000\n    link/ether 02:00:03:19:00:0b brd ff:ff:ff:ff:ff:ff\n'
    2019-02-14 11:32:05,369 - DEBUG - Waiting for IP assign...
    2019-02-14 11:32:09,394 - DEBUG - b'3: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000\n    link/ether 02:00:03:19:00:0b brd ff:ff:ff:ff:ff:ff\n'
    2019-02-14 11:32:09,396 - DEBUG - Waiting for IP assign...
    
    

    And here is the configuration file:

    ; !!!! DO NOT USE # FOR COMMENTS !!!!
    ; Keep at least one trailing <space> following each value (e.g. 3600 ; a comment can be here)
    
    [MAIN]
    pin: 0000 ; Uncomment and set it if SIM pin is active (ignored if SIM is not pin-protected).
    apn: "orange" ; APN (depends on your provider)
    auth_method: 1 ; PPP Authentication: 0 - no auth.(default), 1 - PAP, 2 - CHAP
    auth_user: "orange" ; Username for PAP/CHAP auth methods
    auth_pass: "orange" ; Password for PAP/CHAP auth methods
    usbmode: 2 ; 2(default) for CDC_ECM + 3x CDC_ACM, 3 for RNDIS + 1x CDC_ACM (see AT Command manual of the LTE module)
    oneshot: false ; LTE modem initialization only. Close ttyACM and exit the dameon. No LED handling! Default: FALSE.
    reg_timeout: 120 ; In seconds
    suspend_timeout: 43200 ; In seconds (e.g. 86400 = 24 hours),-1 = suspend forever (goes to HALT mode)
    report_period: 86400 ; In seconds (e.g. 86400 = 24 hours)
    auto_keepon: true ; Automatically up the LTE network interface if it goes down accidentally.
    
    [LOG]
    path: /var/log/unipilte.log ; If not defined (commented), syslog is used instead of an user file
    severity: debug ; Severity threshold - debug, info, warning, error, cititical
    logfile_size: 131072 ; Meaningless if syslog is used
    
    [PING]
    active: False ; True 
    primary_iface: eth0 ; Primary WAN interface. The LTE connection is always a backup one. 
    fail_threshold: 3 ; Default: 3
    ip_eth: 8.8.8.8 ; Adress that the daemon pings to via eth0
    ip_lte: 8.8.8.8 ; Adress that the daemon pings to via lte_interface
    period: 4 ; Ping period given in 10 sec timesteps; 0 - every 10 sec
    timeout: 2 ; Wait for pong in seconds
    packetsize: 2 ; Payload size in ping packet
    autoswitch: true ; MAIN/BACKUP iface switching - set false if LTE is the primary and the ONLY active interface
    
    ; Config file signature - do not modify it nor add any lines or whitespaces!
    ; ad66eb178c6b02b7371462faa98d207a
    

    Is there any documentation for using this service?

    Regards,


  • administrators

    Hello @daminou53 ,

    what OS image are you using? Have you done any changes in network configuration (e.g. /etc/network/interfaces files)?
    On the following lines, the connection is successfully initialized (probably with very poor signal quality) but immediately, the LTE service is restarted.

    2019-02-14 11:31:58,599 - DEBUG - WAN IP 10.34.177.115, Private IP 10.21.8.1; NON-CONFLICT 
    2019-02-14 11:31:58,600 - INFO - WAN IP ADDRESS: 10.34.177.115 INTERFACE IP ADDRESS: 10.21.8.1
    2019-02-14 11:31:58,602 - DEBUG - RSSI: 19 sigqual: 6 net-type: 7
    2019-02-14 11:32:00,023 - INFO - unipi-lte version 0.18 from 2019-02-14 11:11:00.068002 - Logging started..
    

    Are you able to provide remote access to the unit?

    In the meantime, you can try to install the new beta version:

    sudo apt install unipi-lte=0.19*
    

Log in to reply