Temat: Nexx WT3020 - konfiguracja od podstaw

Cześć,

Męczę się i męczę i rady dać nie mogę sam.
Co chcę - wifi + obsługa Huawei e3272 w trybie modemu (nie hilink) - LTE

Czy ktoś z Was mógł by mi napisać krok po kroku co mam zrobić? Jak już uda uruchomić mi się modem to nie mam lte


Pozdrawiam

2

Odp: Nexx WT3020 - konfiguracja od podstaw

To modem wybiera technologię. Nie przestawiłeś modemu? ndisa ustaw.

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

3

Odp: Nexx WT3020 - konfiguracja od podstaw

Jak podłącze do komputera - jest OK.
Tego drugiego nie rozumiem.

4

Odp: Nexx WT3020 - konfiguracja od podstaw

http://eko.one.pl/?p=openwrt-3g#obsugamodemwwtrybiencm

Z tym że na moim e3272 jest to /dev/ttyUSB1.

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

5

Odp: Nexx WT3020 - konfiguracja od podstaw

Czyli musze mieć modem w hilink ustawiony?

6

Odp: Nexx WT3020 - konfiguracja od podstaw

Nie. Podałem ci konfigurację dla ncm, czemu hilinka do tego mieszasz?

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

7

Odp: Nexx WT3020 - konfiguracja od podstaw

"Nieobsługiwany typ protokołu.
Instaluj rozszerzenia protokołów..."

Wkleiłem te komendy - i nic. Nie łączy z siecią.

8

Odp: Nexx WT3020 - konfiguracja od podstaw

LuCi nie obsługuje ncma (i paru innych). Z konsoli masz ustawić i uruchomić.

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

9

Odp: Nexx WT3020 - konfiguracja od podstaw

# opkg install chat comgt-ncm kmod-usb-net-cdc-ncm kmod-usb-serial kmod-usb-serial-option  kmod-usb-net-huawei-cdc-ncm
    # uci del network.wan
    # uci set network.wan=interface
    # uci set network.wan.proto=ncm
    # uci set network.wan.device=/dev/ttyUSB0
    # uci set network.wan.pincode=1234
    # uci set network.wan.apn=internet
    # uci commit network
    # reboot

Przekleiłem - ale dioda nadal miga zamiast palić na stałe.

10

Odp: Nexx WT3020 - konfiguracja od podstaw

A zrobiłeś to z tym # czy bez? Przeczytaj proszę faq na górze strony.

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

11 (edytowany przez build000 2015-07-19 20:42:48)

Odp: Nexx WT3020 - konfiguracja od podstaw

config interface 'wan' #jak główne łącze i jedyne, ustawiasz 'wan' - wtedy już nie bawisz się w ogóle w 'metric', który domyślnie jest 0 - jak nie jedyne wstawiasz jakiś nr. i odpowiednio konfigurujesz również zaporę lub dodajesz nowe sekcje dla niej na okoliczność nowych interfejsów, nowych stref, i.t.d.
    #option ifname 'wwan0' #zaznaczasz jak chcesz widzieć w luci IP w zakładka "Sieć" - ale nic tam nie konfigurujesz
    option proto 'ncm'
    option device '/dev/cdc-wdm0' #tak jest w nowych obrazach od Cezarego lub po zastosowaniu https://patchwork.ozlabs.org/patch/495925/, jak kompilujesz sam, 0 oczywiście jak masz tylko jeden modem - jak jest ich więcej, nr. może być inny
    option pincode '1234' #zaznaczasz jak masz ustawiony
    option apn 'internet' #u wszystkich operatorów uniwersalny jest właśnie o takiej nazwie
    #option apn 'vpn' - to akurat jest u mnie bo z takiego apn korzystam, co wymusza dwie dalsze opcje
    #option username 'vpn'
    #option password 'vpn'
    #option metric '1' #to jak zaimplementujesz sobie w /lib/netifd/proto/ncm.sh i ma sens jak masz więcej interfejsów z internetem, niż 1; główny (czyli metric 0) u mnie to eth0.2 - ale nr. jest różny w zależności od maszyny

I tak ma wyglądać to w /etc/config/network

12

Odp: Nexx WT3020 - konfiguracja od podstaw

Nie no bez hasza - wiem że to oznaczenie roota. Z Linuksem nie mam problemu - nie potrafię się jednak odnaleźć w openwrt

13

Odp: Nexx WT3020 - konfiguracja od podstaw

Więc pokaż wyniki poleceń:

ifup wan
uci show network
logread

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

14 (edytowany przez build000 2015-07-19 20:24:56)

Odp: Nexx WT3020 - konfiguracja od podstaw

# - To również znak oznaczający w kodzie coś, co się nie uruchomi, a chcemy np. daną opcję wyłączyć, lub wstawić tam opis...

15

Odp: Nexx WT3020 - konfiguracja od podstaw

|                                                              |
| OpenWrt Chaos Calmer (r46365)                                |
| Build time: 2015-07-17 06:56 CEST                            |
|                                                              |
| Cezary Jackiewicz (obsy), http://eko.one.pl                  |
|                                                              |
----------------------------------------------------------------
| Machine: Nexx WT3020                                         |
| Uptime: 0d, 00:02:06                                         |
| Load: 0.55 0.36 0.14                                         |
| Flash: total: 1.5MB, free: 1.3MB, used: 15%                  |
| Memory: total: 59.9MB, free: 46.2MB, used: 22%               |
| WAN:                                                         |
| LAN: 192.168.1.1                                             |
----------------------------------------------------------------
root@OpenWrt:~# ifup wan
root@OpenWrt:~# uci show network
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fd63:b641:be4f::/48'
network.lan=interface
network.lan.ifname='eth0.1'
network.lan.force_link='1'
network.lan.macaddr='20:28:18:a0:f9:2e'
network.lan.type='bridge'
network.lan.proto='static'
network.lan.ipaddr='192.168.1.1'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.wan6=interface
network.wan6.ifname='eth0.2'
network.wan6.proto='dhcpv6'
network.@switch[0]=switch
network.@switch[0].name='switch0'
network.@switch[0].reset='1'
network.@switch[0].enable_vlan='1'
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device='switch0'
network.@switch_vlan[0].vlan='1'
network.@switch_vlan[0].ports='1 2 3 4 6t'
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device='switch0'
network.@switch_vlan[1].vlan='2'
network.@switch_vlan[1].ports='0 6t'
network.wan=interface
network.wan.proto='ncm'
network.wan.device='/dev/ttyUSB0'
network.wan.apn='internet'
root@OpenWrt:~# logread
Sun Jul 19 21:05:42 2015 kern.debug kernel: [   19.110000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Sun Jul 19 21:05:44 2015 user.emerg syslog: 'radio0' is disabled
Sun Jul 19 21:05:44 2015 user.emerg syslog: 'radio0' is disabled
Sun Jul 19 21:05:45 2015 user.emerg syslog: this file has been obseleted. please call "/sbin/block mount" directly
Sun Jul 19 21:05:46 2015 kern.info kernel: [   24.780000] usb 1-1: USB disconnect, device number 2
Sun Jul 19 21:05:46 2015 kern.info kernel: [   25.490000] usb 1-1: new high-speed USB device number 3 using ehci-platform
Sun Jul 19 21:05:47 2015 kern.debug kernel: [   25.670000] usb 1-1: no of_node; not parsing pinctrl DT
Sun Jul 19 21:05:47 2015 kern.debug kernel: [   25.670000] option 1-1:1.0: no of_node; not parsing pinctrl DT
Sun Jul 19 21:05:47 2015 kern.info kernel: [   25.670000] option 1-1:1.0: GSM modem (1-port) converter detected
Sun Jul 19 21:05:47 2015 kern.debug kernel: [   25.680000] option1 ttyUSB0: no of_node; not parsing pinctrl DT
Sun Jul 19 21:05:47 2015 kern.info kernel: [   25.680000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Sun Jul 19 21:05:47 2015 kern.debug kernel: [   25.700000] option 1-1:1.1: no of_node; not parsing pinctrl DT
Sun Jul 19 21:05:47 2015 kern.info kernel: [   25.700000] option 1-1:1.1: GSM modem (1-port) converter detected
Sun Jul 19 21:05:47 2015 kern.debug kernel: [   25.710000] option1 ttyUSB1: no of_node; not parsing pinctrl DT
Sun Jul 19 21:05:47 2015 kern.info kernel: [   25.710000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Sun Jul 19 21:05:47 2015 kern.debug kernel: [   25.720000] huawei_cdc_ncm 1-1:1.2: no of_node; not parsing pinctrl DT
Sun Jul 19 21:05:47 2015 kern.info kernel: [   25.760000] huawei_cdc_ncm 1-1:1.2: MAC-Address: 0c:5b:8f:27:9a:64
Sun Jul 19 21:05:47 2015 kern.info kernel: [   25.770000] huawei_cdc_ncm 1-1:1.2: setting rx_max = 16384
Sun Jul 19 21:05:47 2015 kern.info kernel: [   25.840000] huawei_cdc_ncm 1-1:1.2: setting tx_max = 16384
Sun Jul 19 21:05:47 2015 kern.info kernel: [   25.880000] huawei_cdc_ncm 1-1:1.2: NDP will be placed at end of frame for this device.
Sun Jul 19 21:05:47 2015 kern.info kernel: [   25.890000] huawei_cdc_ncm 1-1:1.2: cdc-wdm0: USB WDM device
Sun Jul 19 21:05:47 2015 kern.info kernel: [   25.910000] huawei_cdc_ncm 1-1:1.2 wwan0: register 'huawei_cdc_ncm' at usb-101c0000.ehci-1, Huawei CDC NCM device, 0c:5b:8f:27:9a:64
Sun Jul 19 21:05:47 2015 kern.debug kernel: [   25.930000] usb-storage 1-1:1.3: no of_node; not parsing pinctrl DT
Sun Jul 19 21:05:47 2015 kern.info kernel: [   25.930000] usb-storage 1-1:1.3: USB Mass Storage device detected
Sun Jul 19 21:05:47 2015 kern.info kernel: [   25.970000] scsi host1: usb-storage 1-1:1.3
Sun Jul 19 21:05:47 2015 kern.debug kernel: [   25.980000] usb-storage 1-1:1.4: no of_node; not parsing pinctrl DT
Sun Jul 19 21:05:47 2015 kern.info kernel: [   25.980000] usb-storage 1-1:1.4: USB Mass Storage device detected
Sun Jul 19 21:05:47 2015 kern.info kernel: [   25.990000] scsi host2: usb-storage 1-1:1.4
Sun Jul 19 21:05:48 2015 kern.notice kernel: [   26.970000] scsi 1:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Sun Jul 19 21:05:48 2015 kern.debug kernel: [   26.980000] sd 1:0:0:0: no of_node; not parsing pinctrl DT
Sun Jul 19 21:05:48 2015 kern.notice kernel: [   27.000000] scsi 2:0:0:0: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
Sun Jul 19 21:05:48 2015 kern.debug kernel: [   27.010000] sd 2:0:0:0: no of_node; not parsing pinctrl DT
Sun Jul 19 21:05:48 2015 kern.notice kernel: [   27.040000] sd 2:0:0:0: [sda] Attached SCSI removable disk
Sun Jul 19 21:05:48 2015 daemon.err block: /dev/mtdblock6 is already mounted
Sun Jul 19 21:05:49 2015 authpriv.info dropbear[1394]: Not backgrounding
Sun Jul 19 21:05:49 2015 user.emerg syslog: SQM: Trying to start/stop SQM on all interfaces.
Sun Jul 19 21:05:49 2015 user.notice SQM: Trying to start/stop SQM on all interfaces.
Sun Jul 19 21:05:49 2015 user.emerg syslog: SQM: /usr/lib/sqm/run.sh SQM for interface eth1 is not enabled, skipping over...
Sun Jul 19 21:05:49 2015 user.notice SQM: /usr/lib/sqm/run.sh SQM for interface eth1 is not enabled, skipping over...
Sun Jul 19 21:05:50 2015 kern.info kernel: [   29.270000] 8021q: adding VLAN 0 to HW filter on device eth0
Sun Jul 19 21:05:50 2015 kern.info kernel: [   29.290000] device eth0.1 entered promiscuous mode
Sun Jul 19 21:05:50 2015 kern.info kernel: [   29.300000] device eth0 entered promiscuous mode
Sun Jul 19 21:05:50 2015 kern.info kernel: [   29.320000] br-lan: port 1(eth0.1) entered forwarding state
Sun Jul 19 21:05:50 2015 kern.info kernel: [   29.330000] br-lan: port 1(eth0.1) entered forwarding state
Sun Jul 19 21:05:50 2015 daemon.notice netifd: Interface 'lan' is enabled
Sun Jul 19 21:05:50 2015 daemon.notice netifd: Interface 'lan' is setting up now
Sun Jul 19 21:05:50 2015 daemon.notice netifd: Interface 'lan' is now up
Sun Jul 19 21:05:50 2015 daemon.notice netifd: Interface 'loopback' is enabled
Sun Jul 19 21:05:50 2015 daemon.notice netifd: Interface 'loopback' is setting up now
Sun Jul 19 21:05:50 2015 daemon.notice netifd: Interface 'loopback' is now up
Sun Jul 19 21:05:50 2015 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 19 21:05:50 2015 daemon.notice netifd: Interface 'wan6' is enabled
Sun Jul 19 21:05:50 2015 daemon.notice netifd: Bridge 'br-lan' link is up
Sun Jul 19 21:05:50 2015 daemon.notice netifd: Interface 'lan' has link connectivity
Sun Jul 19 21:05:50 2015 daemon.notice netifd: Network device 'eth0' link is up
Sun Jul 19 21:05:50 2015 daemon.notice netifd: VLAN 'eth0.2' link is up
Sun Jul 19 21:05:50 2015 daemon.notice netifd: Interface 'wan6' has link connectivity
Sun Jul 19 21:05:50 2015 daemon.notice netifd: Interface 'wan6' is setting up now
Sun Jul 19 21:05:50 2015 daemon.notice netifd: VLAN 'eth0.1' link is up
Sun Jul 19 21:05:50 2015 daemon.notice netifd: Network device 'lo' link is up
Sun Jul 19 21:05:50 2015 daemon.notice netifd: Interface 'loopback' has link connectivity
Sun Jul 19 21:05:51 2015 user.notice SQM: Trying to start/stop SQM on interface br-lan
Sun Jul 19 21:05:51 2015 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Sun Jul 19 21:05:52 2015 kern.info kernel: [   31.330000] br-lan: port 1(eth0.1) entered forwarding state
Sun Jul 19 21:05:53 2015 daemon.err block: Unkown action change
Sun Jul 19 21:05:53 2015 daemon.err block: Unkown action change
Sun Jul 19 21:05:54 2015 daemon.notice netifd: wan (1455): sending -> AT
Sun Jul 19 21:05:54 2015 daemon.notice netifd: wan (1455): sending -> ATZ
Sun Jul 19 21:05:55 2015 daemon.notice netifd: wan (1455): sending -> ATQ0
Sun Jul 19 21:05:56 2015 daemon.notice netifd: wan (1455): sending -> ATV1
Sun Jul 19 21:05:56 2015 user.emerg syslog: setting up led power
Sun Jul 19 21:05:56 2015 daemon.notice netifd: wan (1455): sending -> ATE1
Sun Jul 19 21:05:57 2015 daemon.info dnsmasq[1720]: started, version 2.73 cachesize 150
Sun Jul 19 21:05:57 2015 daemon.info dnsmasq[1720]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC loop-detect inotify
Sun Jul 19 21:05:57 2015 daemon.info dnsmasq[1720]: DNS service limited to local subnets
Sun Jul 19 21:05:57 2015 daemon.info dnsmasq-dhcp[1720]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Sun Jul 19 21:05:57 2015 daemon.info dnsmasq[1720]: using local addresses only for domain lan
Sun Jul 19 21:05:57 2015 daemon.warn dnsmasq[1720]: no servers found in /tmp/resolv.conf.auto, will retry
Sun Jul 19 21:05:57 2015 daemon.info dnsmasq[1720]: read /etc/hosts - 1 addresses
Sun Jul 19 21:05:57 2015 daemon.info dnsmasq[1720]: read /tmp/hosts/dhcp - 1 addresses
Sun Jul 19 21:05:57 2015 daemon.info dnsmasq-dhcp[1720]: read /etc/ethers - 0 addresses
Sun Jul 19 21:05:57 2015 daemon.info procd: - init complete -
Sun Jul 19 21:05:57 2015 daemon.notice netifd: wan (1455): sending -> ATS0=0
Sun Jul 19 21:05:57 2015 user.notice SQM: Trying to start/stop SQM on interface lo
Sun Jul 19 21:05:58 2015 daemon.notice netifd: wan (1455): sending -> AT^NDISDUP=1,1,"internet"
Sun Jul 19 21:05:58 2015 daemon.notice netifd: wan (1455): Connected, starting DHCP
Sun Jul 19 21:05:58 2015 daemon.notice netifd: Interface 'wan' is now up
Sun Jul 19 21:05:58 2015 kern.err kernel: [   37.530000] huawei_cdc_ncm 1-1:1.2 wwan0: kevent 12 may have been dropped
Sun Jul 19 21:05:58 2015 daemon.notice netifd: Network device 'wwan0' link is up
Sun Jul 19 21:05:58 2015 daemon.notice netifd: Network alias 'wwan0' link is up
Sun Jul 19 21:05:58 2015 daemon.notice netifd: Interface 'wan_4' is enabled
Sun Jul 19 21:05:58 2015 daemon.notice netifd: Interface 'wan_4' has link connectivity
Sun Jul 19 21:05:58 2015 daemon.notice netifd: Interface 'wan_4' is setting up now
Sun Jul 19 21:05:58 2015 daemon.notice netifd: wan (1455): Command failed: Unknown error
Sun Jul 19 21:05:58 2015 daemon.notice netifd: Interface 'wan_6' is enabled
Sun Jul 19 21:05:58 2015 daemon.notice netifd: Interface 'wan_6' has link connectivity
Sun Jul 19 21:05:58 2015 daemon.notice netifd: Interface 'wan_6' is setting up now
Sun Jul 19 21:05:58 2015 daemon.notice netifd: wan (1455): Command failed: Unknown error
Sun Jul 19 21:05:59 2015 daemon.notice netifd: wan_4 (1912): udhcpc (v1.23.2) started
Sun Jul 19 21:05:59 2015 user.notice SQM: Trying to start/stop SQM on interface wwan0
Sun Jul 19 21:05:59 2015 daemon.notice netifd: wan_4 (1912): Sending discover...
Sun Jul 19 21:05:59 2015 user.notice firewall: Reloading firewall due to ifup of wan (wwan0)
Sun Jul 19 21:06:00 2015 daemon.warn odhcpd[1210]: DHCPV6 SOLICIT IA_NA from 000100011b59c79c00265588c4ed on br-lan: ok fd63:b641:be4f::e66/128
Sun Jul 19 21:06:00 2015 daemon.info dnsmasq[1720]: read /etc/hosts - 1 addresses
Sun Jul 19 21:06:00 2015 daemon.info dnsmasq[1720]: read /tmp/hosts/odhcpd - 0 addresses
Sun Jul 19 21:06:00 2015 daemon.info dnsmasq[1720]: read /tmp/hosts/dhcp - 1 addresses
Sun Jul 19 21:06:00 2015 daemon.info dnsmasq-dhcp[1720]: read /etc/ethers - 0 addresses
Sun Jul 19 21:06:00 2015 user.notice ddns-scripts[2009]: myddns_ipv4: PID '2009' started at 2015-07-19 21:06
Sun Jul 19 21:06:00 2015 user.warn ddns-scripts[2009]: myddns_ipv4: Service section disabled! - TERMINATE
Sun Jul 19 21:06:00 2015 user.warn ddns-scripts[2009]: myddns_ipv4: PID '2009' exit WITH ERROR '1' at 2015-07-19 21:06
Sun Jul 19 21:06:02 2015 authpriv.info dropbear[2058]: Child connection from 192.168.1.2:2122
Sun Jul 19 21:06:02 2015 daemon.notice netifd: wan_4 (1912): Sending discover...
Sun Jul 19 21:06:04 2015 authpriv.notice dropbear[2058]: Password auth succeeded for 'root' from 192.168.1.2:2122
Sun Jul 19 21:06:05 2015 daemon.notice netifd: wan_4 (1912): Sending discover...
Sun Jul 19 21:06:10 2015 daemon.notice netifd: wan (2123): Stopping network
Sun Jul 19 21:06:10 2015 daemon.notice netifd: Interface 'wan_6' is now down
Sun Jul 19 21:06:10 2015 daemon.notice netifd: Interface 'wan_6' has link connectivity loss
Sun Jul 19 21:06:10 2015 daemon.notice netifd: wan_4 (1912): Received SIGTERM
Sun Jul 19 21:06:10 2015 daemon.notice netifd: Interface 'wan_4' is now down
Sun Jul 19 21:06:10 2015 daemon.notice netifd: Interface 'wan_4' is disabled
Sun Jul 19 21:06:10 2015 daemon.notice netifd: Interface 'wan_4' has link connectivity loss
Sun Jul 19 21:06:12 2015 daemon.notice netifd: wan (2123): sending -> AT^NDISDUP=1,0
Sun Jul 19 21:06:13 2015 daemon.notice netifd: wan (2123): Command failed: Permission denied
Sun Jul 19 21:06:13 2015 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 19 21:06:13 2015 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 19 21:06:15 2015 daemon.notice netifd: wan (2183): sending -> AT
Sun Jul 19 21:06:15 2015 daemon.notice netifd: wan (2183): sending -> ATZ
Sun Jul 19 21:06:16 2015 daemon.notice netifd: wan (2183): sending -> ATQ0
Sun Jul 19 21:06:17 2015 daemon.notice netifd: wan (2183): sending -> ATV1
Sun Jul 19 21:06:17 2015 kern.notice kernel: [   56.380000] random: nonblocking pool is initialized
Sun Jul 19 21:06:17 2015 daemon.notice netifd: wan (2183): sending -> ATE1
Sun Jul 19 21:06:18 2015 daemon.notice netifd: wan (2183): sending -> ATS0=0
Sun Jul 19 21:06:19 2015 daemon.notice netifd: wan (2183): sending -> AT^NDISDUP=1,1,"internet"
Sun Jul 19 21:06:19 2015 daemon.notice netifd: wan (2183): Connected, starting DHCP
Sun Jul 19 21:06:19 2015 kern.err kernel: [   58.380000] huawei_cdc_ncm 1-1:1.2 wwan0: kevent 12 may have been dropped
Sun Jul 19 21:06:19 2015 kern.err kernel: [   58.400000] huawei_cdc_ncm 1-1:1.2 wwan0: kevent 12 may have been dropped
Sun Jul 19 21:06:19 2015 kern.err kernel: [   58.410000] huawei_cdc_ncm 1-1:1.2 wwan0: kevent 12 may have been dropped
Sun Jul 19 21:06:19 2015 daemon.notice netifd: Interface 'wan' is now up
Sun Jul 19 21:06:19 2015 daemon.notice netifd: Network device 'wwan0' link is up
Sun Jul 19 21:06:19 2015 daemon.notice netifd: Network alias 'wwan0' link is up
Sun Jul 19 21:06:19 2015 daemon.notice netifd: Interface 'wan_4' is enabled
Sun Jul 19 21:06:19 2015 daemon.notice netifd: Interface 'wan_4' has link connectivity
Sun Jul 19 21:06:19 2015 daemon.notice netifd: Interface 'wan_4' is setting up now
Sun Jul 19 21:06:19 2015 daemon.notice netifd: wan (2183): Command failed: Unknown error
Sun Jul 19 21:06:19 2015 daemon.notice netifd: Interface 'wan_6' is enabled
Sun Jul 19 21:06:19 2015 daemon.notice netifd: Interface 'wan_6' has link connectivity
Sun Jul 19 21:06:19 2015 daemon.notice netifd: Interface 'wan_6' is setting up now
Sun Jul 19 21:06:19 2015 daemon.notice netifd: wan (2183): Command failed: Unknown error
Sun Jul 19 21:06:19 2015 user.notice SQM: Trying to start/stop SQM on interface wwan0
Sun Jul 19 21:06:19 2015 daemon.notice netifd: wan_4 (2233): udhcpc (v1.23.2) started
Sun Jul 19 21:06:20 2015 daemon.warn odhcpd[1210]: DHCPV6 REQUEST IA_NA from 000100011b59c79c00265588c4ed on br-lan: ok fd63:b641:be4f::e66/128
Sun Jul 19 21:06:20 2015 daemon.notice netifd: wan_4 (2233): Sending discover...
Sun Jul 19 21:06:20 2015 daemon.info dnsmasq[1720]: read /etc/hosts - 1 addresses
Sun Jul 19 21:06:20 2015 daemon.info dnsmasq[1720]: read /tmp/hosts/odhcpd - 1 addresses
Sun Jul 19 21:06:20 2015 daemon.info dnsmasq[1720]: read /tmp/hosts/dhcp - 1 addresses
Sun Jul 19 21:06:20 2015 daemon.info dnsmasq-dhcp[1720]: read /etc/ethers - 0 addresses
Sun Jul 19 21:06:20 2015 user.notice firewall: Reloading firewall due to ifup of wan (wwan0)
Sun Jul 19 21:06:21 2015 daemon.warn odhcpd[1210]: DHCPV6 REQUEST IA_NA from 000100011b59c79c00265588c4ed on br-lan: ok fd63:b641:be4f::e66/128
Sun Jul 19 21:06:21 2015 user.notice ddns-scripts[2331]: myddns_ipv4: PID '2331' started at 2015-07-19 21:06
Sun Jul 19 21:06:21 2015 user.warn ddns-scripts[2331]: myddns_ipv4: Service section disabled! - TERMINATE
Sun Jul 19 21:06:21 2015 user.warn ddns-scripts[2331]: myddns_ipv4: PID '2331' exit WITH ERROR '1' at 2015-07-19 21:06
Sun Jul 19 21:06:23 2015 daemon.warn odhcpd[1210]: DHCPV6 REQUEST IA_NA from 000100011b59c79c00265588c4ed on br-lan: ok fd63:b641:be4f::e66/128
Sun Jul 19 21:06:23 2015 daemon.notice netifd: wan_4 (2233): Sending discover...
Sun Jul 19 21:06:26 2015 daemon.notice netifd: wan_4 (2233): Sending discover...
Sun Jul 19 21:06:27 2015 daemon.warn odhcpd[1210]: DHCPV6 REQUEST IA_NA from 000100011b59c79c00265588c4ed on br-lan: ok fd63:b641:be4f::e66/128
Sun Jul 19 21:06:35 2015 daemon.warn odhcpd[1210]: DHCPV6 REQUEST IA_NA from 000100011b59c79c00265588c4ed on br-lan: ok fd63:b641:be4f::e66/128
Sun Jul 19 21:07:25 2015 authpriv.info dropbear[2058]: Exit (root): Disconnect received
Sun Jul 19 21:07:25 2015 authpriv.info dropbear[2384]: Child connection from 192.168.1.2:2145
Sun Jul 19 21:07:28 2015 authpriv.notice dropbear[2384]: Password auth succeeded for 'root' from 192.168.1.2:2145
Sun Jul 19 21:07:40 2015 daemon.notice netifd: wan_4 (2233): Received SIGTERM
Sun Jul 19 21:07:40 2015 daemon.notice netifd: Interface 'wan_4' is now down
Sun Jul 19 21:07:40 2015 daemon.notice netifd: Interface 'wan_4' has link connectivity loss
Sun Jul 19 21:07:40 2015 daemon.notice netifd: Interface 'wan_6' is now down
Sun Jul 19 21:07:40 2015 daemon.notice netifd: Interface 'wan_6' is disabled
Sun Jul 19 21:07:40 2015 daemon.notice netifd: Interface 'wan_6' has link connectivity loss
Sun Jul 19 21:07:40 2015 daemon.notice netifd: wan (2449): Stopping network
Sun Jul 19 21:07:43 2015 daemon.notice netifd: wan (2449): sending -> AT^NDISDUP=1,0
Sun Jul 19 21:07:43 2015 daemon.notice netifd: wan (2449): Command failed: Permission denied
Sun Jul 19 21:07:43 2015 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 19 21:07:43 2015 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 19 21:07:45 2015 daemon.notice netifd: wan (2509): sending -> AT
Sun Jul 19 21:07:46 2015 daemon.notice netifd: wan (2509): sending -> ATZ
Sun Jul 19 21:07:46 2015 daemon.notice netifd: wan (2509): sending -> ATQ0
Sun Jul 19 21:07:47 2015 daemon.notice netifd: wan (2509): sending -> ATV1
Sun Jul 19 21:07:48 2015 daemon.notice netifd: wan (2509): sending -> ATE1
Sun Jul 19 21:07:48 2015 daemon.notice netifd: wan (2509): sending -> ATS0=0
Sun Jul 19 21:07:49 2015 daemon.notice netifd: wan (2509): sending -> AT^NDISDUP=1,1,"internet"
Sun Jul 19 21:07:49 2015 daemon.notice netifd: wan (2509): Connected, starting DHCP
Sun Jul 19 21:07:49 2015 kern.err kernel: [  148.570000] huawei_cdc_ncm 1-1:1.2 wwan0: kevent 12 may have been dropped
Sun Jul 19 21:07:49 2015 kern.err kernel: [  148.590000] huawei_cdc_ncm 1-1:1.2 wwan0: kevent 12 may have been dropped
Sun Jul 19 21:07:49 2015 kern.err kernel: [  148.600000] huawei_cdc_ncm 1-1:1.2 wwan0: kevent 12 may have been dropped
Sun Jul 19 21:07:49 2015 daemon.notice netifd: Interface 'wan' is now up
Sun Jul 19 21:07:49 2015 daemon.notice netifd: Network device 'wwan0' link is up
Sun Jul 19 21:07:49 2015 daemon.notice netifd: Network alias 'wwan0' link is up
Sun Jul 19 21:07:49 2015 daemon.notice netifd: Interface 'wan_4' is enabled
Sun Jul 19 21:07:49 2015 daemon.notice netifd: Interface 'wan_4' has link connectivity
Sun Jul 19 21:07:49 2015 daemon.notice netifd: Interface 'wan_4' is setting up now
Sun Jul 19 21:07:49 2015 daemon.notice netifd: wan (2509): Command failed: Unknown error
Sun Jul 19 21:07:50 2015 daemon.notice netifd: Interface 'wan_6' is enabled
Sun Jul 19 21:07:50 2015 daemon.notice netifd: Interface 'wan_6' has link connectivity
Sun Jul 19 21:07:50 2015 daemon.notice netifd: Interface 'wan_6' is setting up now
Sun Jul 19 21:07:50 2015 daemon.notice netifd: wan (2509): Command failed: Unknown error
Sun Jul 19 21:07:50 2015 daemon.notice netifd: wan_4 (2555): udhcpc (v1.23.2) started
Sun Jul 19 21:07:50 2015 user.notice SQM: Trying to start/stop SQM on interface wwan0
Sun Jul 19 21:07:50 2015 daemon.notice netifd: wan_4 (2555): Sending discover...
root@OpenWrt:~#

16

Odp: Nexx WT3020 - konfiguracja od podstaw

/dev/ttyUSB1 ustaw.

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

17 (edytowany przez build000 2015-07-19 20:47:28)

Odp: Nexx WT3020 - konfiguracja od podstaw

W ogóle Cię nie łączy - jakiego obrazu używasz...zresztą to bez znaczenia...tak czy inaczej Cię nie łączy wcale ?

18

Odp: Nexx WT3020 - konfiguracja od podstaw

Jak to teraz edytować? Sekcję WAN.

http://dl.eko.one.pl/luci/chaos_calmer/ … pgrade.bin tego

19 (edytowany przez build000 2015-07-19 20:50:07)

Odp: Nexx WT3020 - konfiguracja od podstaw

vi /etc/config/network - jak nie masz zainstalowanego innego edytora, niż domyślny (np. nano).
vi jest toporny - polecam doinstalować nano jak masz jeszcze miejsce we flaszce...lub pomęczyć się jednak z łamańcami klawiaturowymi w vi, jak takowego miejsca już brak.

20

Odp: Nexx WT3020 - konfiguracja od podstaw

uci set network.wan.device=/dev/ttyUSB1
   uci commit network
   reboot

Albo edytorem, vi.

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

21

Odp: Nexx WT3020 - konfiguracja od podstaw

OK - połączył się - ale po prędkości wygląda jak hspa...
Jak sprawdzić czy na pewno jest LTE? Bo ping 43ms nie jest przekonujący.

22 (edytowany przez build000 2015-07-19 20:57:23)

Odp: Nexx WT3020 - konfiguracja od podstaw

Cezary napisał/a:

uci set network.wan.device=/dev/ttyUSB1
   uci commit network
   reboot

Albo edytorem, vi.

No tak, wiadomo - jest jeszcze domyślna komenda w openwrt, którą można większość w systemie ustawić - szczególnie w /etc/config.
Ping jest normalny jak na modemy - po tym nie wnioskuj czy to LTE, tylko komendami AT to sprawdź (użyć trzeba wtedy picocom lub minicom do tego), lub zainstaluj od Cezarego 3ginfo-text (jak chcesz tylko w konsoli to sprawdzić) lub pełną wersję 3ginfo, jak chcesz to w przeglądarce widzieć.

23

Odp: Nexx WT3020 - konfiguracja od podstaw

http://imgur.com/7w6B8jX

Chociaż chybajest dobrze

24

Odp: Nexx WT3020 - konfiguracja od podstaw

No właśnie - jak wół jest napisane LTE - takie panie ch... połączenie jest po prostu... wink

25

Odp: Nexx WT3020 - konfiguracja od podstaw

Podpięty do nexxa http://imgur.com/ZSvsVAu
Bezpośrednio do komputera http://imgur.com/ilJf20X

No chyba jednak coś nie tak.