Odp: E3372 w ncm
Tworzę nowy wpis, gdyż temat jest inny i bardziej zbliżony do głównych postulatów tego wątku/tematu i mam nadzieję, że w związku z tym zostanie dostrzeżony przez autora sterownika pod openwrt.
Otóż kwestia startu jest dla mnie nie do końca rozpoznana i nie wiem jak to naprawić/ogarnąć, i.t.d. Są jakieś błędy z czymś związane:
(...)
Thu Jun 25 18:22:50 2015 daemon.notice netifd: Interface 'wan2' is setting up now
Thu Jun 25 18:22:53 2015 daemon.notice netifd: wan2 (12596): sending -> AT
Thu Jun 25 18:22:53 2015 daemon.notice netifd: wan2 (12596): sending -> ATZ
Thu Jun 25 18:22:54 2015 daemon.notice netifd: wan2 (12596): sending -> ATQ0
Thu Jun 25 18:22:54 2015 daemon.notice netifd: wan2 (12596): sending -> ATV1
Thu Jun 25 18:22:55 2015 daemon.notice netifd: wan2 (12596): sending -> ATE1
Thu Jun 25 18:22:56 2015 daemon.notice netifd: wan2 (12596): sending -> ATS0=0
Thu Jun 25 18:22:57 2015 daemon.notice netifd: wan2 (12596): SIM ready
Thu Jun 25 18:22:57 2015 daemon.notice netifd: wan2 (12596): PIN set successfully
Thu Jun 25 18:22:58 2015 daemon.notice netifd: wan2 (12596): sending -> AT^NDISDUP=1,1,"vpn","vpn"
Thu Jun 25 18:22:58 2015 daemon.notice netifd: wan2 (12596): Connected, starting DHCP
Thu Jun 25 18:22:58 2015 daemon.notice netifd: Interface 'wan2' is now up
Thu Jun 25 18:22:58 2015 daemon.notice netifd: Interface 'wan2_4' is enabled
Thu Jun 25 18:22:58 2015 daemon.notice netifd: wan2 (12596): Command failed: Unknown error
Thu Jun 25 18:22:58 2015 daemon.notice netifd: Interface 'wan2_6' is enabled
Thu Jun 25 18:22:58 2015 daemon.notice netifd: wan2 (12596): Command failed: Unknown error
Thu Jun 25 18:22:58 2015 user.notice firewall: Reloading firewall due to ifup of wan2 (eth1)
Thu Jun 25 18:22:59 2015 daemon.notice netifd: Network device 'eth1' link is up
Thu Jun 25 18:22:59 2015 daemon.notice netifd: Network alias 'eth1' link is up
Thu Jun 25 18:22:59 2015 daemon.notice netifd: Interface 'wan2_4' has link connectivity
Thu Jun 25 18:22:59 2015 daemon.notice netifd: Interface 'wan2_4' is setting up now
Thu Jun 25 18:22:59 2015 daemon.notice netifd: Interface 'wan2_6' has link connectivity
Thu Jun 25 18:22:59 2015 daemon.notice netifd: Interface 'wan2_6' is setting up now
Thu Jun 25 18:22:59 2015 daemon.notice netifd: wan2_4 (12679): udhcpc (v1.23.2) started
Thu Jun 25 18:22:59 2015 daemon.notice netifd: wan2_4 (12679): Sending discover...
Thu Jun 25 18:22:59 2015 daemon.notice netifd: wan2_4 (12679): Sending select for 37.228.29.177...
Thu Jun 25 18:22:59 2015 daemon.notice netifd: wan2_4 (12679): Lease of 37.228.29.177 obtained, lease time 518400
Thu Jun 25 18:23:00 2015 daemon.notice netifd: Interface 'wan2_4' is now up
Thu Jun 25 18:23:01 2015 user.notice root: starting ntpclient
Druga sprawa czy taki konfig jest prawidłowy, gdyż dzięki małej modyfikacji stał się też widoczny w LuCi po IP, a nie jak do tej pory tylko jako nieznane urządzenie ? :
config interface 'wan2'
option ifname 'eth1'
option proto 'ncm'
option device '/dev/ttyUSB0'
option pincode '1234'
option apn 'vpn'
option login 'vpn'
option password 'vpn'
option metric '1'
Interesuje mnie w szczególności kwestia 2-óch opcji: "login" i "password" - może to z powodu ich niepoprawnego zapisu/formy występują owe błędy na starcie ?