1

Temat: Problemy z modemem E3372s na LEDE

Prawie skończyłem przenosić konfigurację z CC na LEDE (diff wszsytkich plików) i w sumie chyba większość rzeczy mi działa za wyjątkiem modemu LTE E3372s. Konfiguracja jest dokładnie taka sama co w przypadku CC ale router ma problem z:

Wed Sep 14 23:39:38 2016 daemon.notice netifd: lte (4965): sending -> ATZ
Wed Sep 14 23:39:39 2016 daemon.notice netifd: lte (4965): sending -> ATQ0
Wed Sep 14 23:39:40 2016 daemon.notice netifd: lte (4965): sending -> ATV1
Wed Sep 14 23:39:40 2016 daemon.notice netifd: lte (4965): sending -> ATE1
Wed Sep 14 23:39:41 2016 daemon.notice netifd: lte (4965): sending -> ATS0=0
Wed Sep 14 23:39:42 2016 daemon.notice netifd: lte (4965): sending -> AT+CGDCONT=1,"IPV4V6","internet"
Wed Sep 14 23:39:43 2016 daemon.notice netifd: lte (4965): sending -> AT^SYSCFGEX=\"03\",3fffffff,2,4,7fffffffffffffff,,
Wed Sep 14 23:39:44 2016 daemon.notice netifd: lte (4965): Error running AT-command
Wed Sep 14 23:39:44 2016 daemon.notice netifd: lte (4965): Failed to set operating mode
Wed Sep 14 23:39:44 2016 daemon.notice netifd: lte (4992): Stopping network
Wed Sep 14 23:39:46 2016 daemon.notice netifd: lte (4992): sending -> AT^NDISDUP=1,0
Wed Sep 14 23:39:46 2016 daemon.notice netifd: lte (4992): Command failed: Permission denied
Wed Sep 14 23:39:46 2016 daemon.notice netifd: Interface 'lte' is now down
Wed Sep 14 23:39:46 2016 daemon.notice netifd: Interface 'lte' is setting up now

Czyli ma problem z ustawieniem trybu modemu LTE. Trochę to dziwne, zwrotka w /etc/config/network wygląda tak:

config interface 'lte'
        option metric '100'
        option proto 'ncm'
        option mode 'lte'
        option apn 'internet'
        option device '/dev/ttyUSB0'
        option peerdns '0'
        option 'pincode'  ''
        option 'username' ''
        option 'username' ''

Nie ważne co ustawię w mode, nie chce zaskoczyć. Przy wykomentowaniu tej linijki, modem się łączy:

Wed Sep 14 23:53:14 2016 daemon.notice netifd: lte (5762): sending -> AT
Wed Sep 14 23:53:15 2016 daemon.notice netifd: lte (5762): sending -> ATZ
Wed Sep 14 23:53:15 2016 daemon.notice netifd: lte (5762): sending -> ATQ0
Wed Sep 14 23:53:16 2016 daemon.notice netifd: lte (5762): sending -> ATV1
Wed Sep 14 23:53:16 2016 daemon.notice netifd: lte (5762): sending -> ATE1
Wed Sep 14 23:53:17 2016 daemon.notice netifd: lte (5762): sending -> ATS0=0
Wed Sep 14 23:53:18 2016 daemon.notice netifd: lte (5762): sending -> AT+CGDCONT=1,"IPV4V6","internet"
Wed Sep 14 23:53:19 2016 daemon.notice netifd: lte (5762): sending -> AT^NDISDUP=1,1,"internet"
Wed Sep 14 23:53:19 2016 daemon.notice netifd: lte (5762): Connected, starting DHCP on wwan0
Wed Sep 14 23:53:19 2016 daemon.notice netifd: Interface 'lte' is now up
Wed Sep 14 23:53:19 2016 daemon.notice netifd: Network device 'wwan0' link is up
Wed Sep 14 23:53:19 2016 daemon.notice netifd: Network alias 'wwan0' link is up
Wed Sep 14 23:53:19 2016 daemon.notice netifd: Interface 'lte_4' is enabled
Wed Sep 14 23:53:19 2016 daemon.notice netifd: Interface 'lte_4' has link connectivity
Wed Sep 14 23:53:19 2016 daemon.notice netifd: Interface 'lte_4' is setting up now
Wed Sep 14 23:53:19 2016 daemon.notice netifd: lte (5762): Command failed: Unknown error
Wed Sep 14 23:53:20 2016 daemon.notice netifd: Interface 'lte_6' is enabled
Wed Sep 14 23:53:20 2016 daemon.notice netifd: Interface 'lte_6' has link connectivity
Wed Sep 14 23:53:20 2016 daemon.notice netifd: Interface 'lte_6' is setting up now
Wed Sep 14 23:53:20 2016 daemon.notice netifd: lte (5762): Command failed: Unknown error
Wed Sep 14 23:53:20 2016 daemon.notice netifd: lte_4 (5807): udhcpc (v1.24.2) started
Wed Sep 14 23:53:20 2016 user.notice firewall: Reloading firewall due to ifup of lte (wwan0)
Wed Sep 14 23:53:20 2016 daemon.notice netifd: lte_4 (5807): Sending discover...
Wed Sep 14 23:53:23 2016 daemon.notice netifd: lte_4 (5807): Sending discover...
Wed Sep 14 23:53:23 2016 daemon.notice netifd: lte_4 (5807): Sending select for 10.141.185.170...
Wed Sep 14 23:53:23 2016 daemon.notice netifd: lte_4 (5807): Lease of 10.141.185.170 obtained, lease time 518400
Wed Sep 14 23:53:23 2016 daemon.notice netifd: Interface 'lte_4' is now up

Popsuli, czy jak? big_smile

2

Odp: Problemy z modemem E3372s na LEDE

To =\" jest zbędne, po prostu ="03" powinno być. Ten sam problem w CC był.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Problemy z modemem E3372s na LEDE

Faktycznie, w CC mam bez tych \ . Ale jak się zajrzy do pliku /etc/gcom/ncm.json , to i tu i tu jest:

 "modes": {
                        "preferlte": "AT^SYSCFGEX=\\\"030201\\\",3fffffff,2,4,7fffffffffffffff,,
                        "preferumts": "AT^SYSCFGEX=\\\"0201\\\",3fffffff,2,4,7fffffffffffffff,,"
                        "lte": "AT^SYSCFGEX=\\\"03\\\",3fffffff,2,4,7fffffffffffffff,,",
                        "umts": "AT^SYSCFGEX=\\\"02\\\",3fffffff,2,4,7fffffffffffffff,,",
                        "gsm": "AT^SYSCFGEX=\\\"01\\\",3fffffff,2,4,7fffffffffffffff,,",
                        "auto": "AT^SYSCFGEX=\\\"00\\\",3fffffff,2,4,7fffffffffffffff,,"
                },

Póki co skasowałem przed i po numerze \\ i ruszyło. big_smile

4

Odp: Problemy z modemem E3372s na LEDE

Jeżeli używałeś moich obrazów CC (:)) to ja wywaliłem to w kodzie...

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Problemy z modemem E3372s na LEDE

No ja cały czas jadę na twoich. big_smile

6

Odp: Problemy z modemem E3372s na LEDE

morfik napisał/a:

No ja cały czas jadę na twoich. big_smile

Ale lede praktycznie nie ruszałem. sysinfo, parę dotknięć tu i ówdzie, ale cały system jest praktycznie taki jak fabryka dała.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.