Sziasztok!
egy T-s MF195 stick-el szívok - de a neve ellenére ez mégis más stick, mint az itt emlegetett MF195: http://hup.hu/node/112112 - ennek nem 19d2:1514 az alap dev ID-je, hanem 19d2:1210 . win alá telepítve 1211-re vált át, és mint 3 sorosport települ. ebből 2 az eszközkezelőben mint port, 1 pedig mint modem települ, de a modem fülein látszik hogy ez is egy harmadik virtuális sorosporton ül. ubuntu alatt "természetesen" ehhez sincsen modeswitch command, de én is random próbálgattam egy csomó hasonló ZTE modemét, és az összessel átvált, de 19d2:1212-re! és feltelepül mint ttyACM0/1 + egy usb0 cdc-ether eszköz, majd a grafikus felületen lehet tárcsázni és működik is stabilan.
viszont itt jön a csavar: nekem OpenWrt-vel kellene, hogy működjön! fel is tettem a szükséges modulokat, modeswitch után meg is jelenik a 2+1 eszköz (+a microSD olvasó). első körben az /etc/config/network -ban módosítottam a wan bejegyzést:
config interface 'wan'
option ifname ppp0
option proto 3g
option device /dev/ttyACM0
option apn internet
így be is tárcsáz, megkapja az IP címét, majd pár mp után újraindul az USB eszköz (mintha kihúznám és újra bedugnám) és kezdődik az egész újból:
...
Dec 9 13:49:25 OpenWrt user.notice usb-modeswitch: 1-1.1:1.9: Manufacturer=ZTE Product=MF195 Serial=4E6BB99B6ED65D20664F6E0A5C41F9C405C62793
Dec 9 13:49:26 OpenWrt daemon.notice pppd[1914]: pppd 2.4.5 started by root, uid 0
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: abort on (BUSY)
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: abort on (NO CARRIER)
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: abort on (ERROR)
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: report (CONNECT)
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: timeout set to 10 seconds
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: send (AT&F^M)
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: expect (OK)
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: AT&F^M^M
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: OK
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: -- got it
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: send (ATE1^M)
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: expect (OK)
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: ^M
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: ATE1^M^M
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: OK
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: -- got it
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: send (AT+CGDCONT=1,"IP","internet"^M)
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: timeout set to 30 seconds
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: expect (OK)
Dec 9 13:49:27 OpenWrt local2.info chat[1918]: ^M
Dec 9 13:49:28 OpenWrt local2.info chat[1918]: AT+CGDCONT=1,"IP","internet"^M^M
Dec 9 13:49:28 OpenWrt local2.info chat[1918]: OK
Dec 9 13:49:28 OpenWrt local2.info chat[1918]: -- got it
Dec 9 13:49:28 OpenWrt local2.info chat[1918]: send (ATD*99***1#^M)
Dec 9 13:49:28 OpenWrt local2.info chat[1918]: expect (CONNECT)
Dec 9 13:49:28 OpenWrt local2.info chat[1918]: ^M
Dec 9 13:49:28 OpenWrt local2.info chat[1918]: ATD*99***1#^M^M
Dec 9 13:49:28 OpenWrt local2.info chat[1918]: CONNECT
Dec 9 13:49:28 OpenWrt local2.info chat[1918]: -- got it
Dec 9 13:49:28 OpenWrt local2.info chat[1918]: send ( ^M)
Dec 9 13:49:28 OpenWrt daemon.info pppd[1914]: Serial connection established.
Dec 9 13:49:28 OpenWrt daemon.info pppd[1914]: Using interface 3g-wan
Dec 9 13:49:28 OpenWrt daemon.notice pppd[1914]: Connect: 3g-wan <--> /dev/ttyACM0
Dec 9 13:49:35 OpenWrt daemon.notice pppd[1914]: local IP address 188.156.147.65
Dec 9 13:49:35 OpenWrt daemon.notice pppd[1914]: remote IP address 10.0.0.1
Dec 9 13:49:35 OpenWrt daemon.notice pppd[1914]: primary DNS address 84.2.44.1
Dec 9 13:49:35 OpenWrt daemon.notice pppd[1914]: secondary DNS address 84.2.46.1
Dec 9 13:49:35 OpenWrt daemon.notice netifd: Interface 'wan' is now up
Dec 9 13:49:35 OpenWrt user.notice ifup: Enabling Router Solicitations on wan (3g-wan)
Dec 9 13:49:36 OpenWrt user.info firewall: adding wan (3g-wan) to zone wan
Dec 9 13:49:39 OpenWrt daemon.info dnsmasq[1528]: reading /tmp/resolv.conf.auto
Dec 9 13:49:39 OpenWrt daemon.info dnsmasq[1528]: using nameserver 84.2.44.1#53
Dec 9 13:49:39 OpenWrt daemon.info dnsmasq[1528]: using nameserver 84.2.46.1#53
Dec 9 13:49:39 OpenWrt daemon.info dnsmasq[1528]: using local addresses only for domain lan
Dec 9 13:49:41 OpenWrt kern.info kernel: [ 76.730000] usb 1-1.1: USB disconnect, device number 5
Dec 9 13:49:41 OpenWrt daemon.notice pppd[1914]: Modem hangup
Dec 9 13:49:41 OpenWrt kern.info kernel: [ 76.740000] cdc_ether 1-1.1:1.5: usb0: unregister 'cdc_ether' usb-ehci-platform-1.1, CDC Ethernet Device
...
próbáltam a ttyACM0 és 1-el is, próbáltam a luci 3g-s plugin-t feltelepítve onnan is, mindig ugyanide jutok... felcsatlakozik, majd újraindul a modem. nem hinném hogy táp gondja lenne, mert más modemekkel teljesen stabilan ment a rúter a múltban, plussz az USB HUB-ba is raktam egy méretesebb elkót, mert régebben volt hogy a pendrive-ot elvesztette ha mellé dugtam valamit - azóta stabil
a cdc-ether eszköz miatt ezzel máshogy kellene tárcsázni? gugliztam, pl az okostelefonok is hasonló cdc eszköznek látszanak, de mindenki csak úgy emlegeti hogy a telefonon lép netre, a cdc-ether eszközre pedig dhcp-vel csatlakozik - itt ugye erre nincsen lehetőség...
/ már azzal is próbálkoztam, hogy készítettem egy USB HID PIC-es programot, amivel mint 19d2:1210 települ és az egyik UART-ra kiküld mindent ami az USB felől érkezik - reméltem hogy így el tudom kapni a windwos driver által küldött modeswitch parancsot amitől 1211-nek látszik, de nem jött semmi /