51

Odp: NDIS/QMI w Gargoyle (GUI)

Do AA mało prawdopodobne. Do trunka pewnie docelowo tak, jak zdecydują się w końcu na włącznie uqmi do projektu.

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

52

Odp: NDIS/QMI w Gargoyle (GUI)

Czy testował już ktoś na wndr3700 z E398 na LTE od Cyfrowego Polsatu?

53

Odp: NDIS/QMI w Gargoyle (GUI)

Cezary napisał/a:

Do AA mało prawdopodobne. Do trunka pewnie docelowo tak, jak zdecydują się w końcu na włącznie uqmi do projektu.


Ale Ty w swoich obrazach z Luci tez sam wdrożyć nie planujesz ?

54 (edytowany przez krowka 2013-11-09 00:59:46)

Odp: NDIS/QMI w Gargoyle (GUI)

Aktualnie zrobiłem testy na TL WR1043ND z modemami Huawei E1750 i E398. Dla E1750 trzeba ustawić MAC 00:01:02:03:04:05. Jeśli chodzi o E398, to trzeba ręcznie w urządzeniu wpisać /dev/cdc-wdm0. Skanowanie nie widzi, a po E1750 pozostały /dev/ttyUSB0 do 3. Oba działają. Na WDR4300 jeszcze nie sprawdzałem - router roboczy, który teraz musi działać. Ciekawi mnie tylko, czy wystąpi na nim to samo co w "Gargoyle'u bez NDIS", czyli od razu ifdown wan.

Przetestowałem start od "0" z E398. Modem połączył się dopiero po 10 minutach (...->usb_modeswitch->monitor połączenia po 3 minutach - pierwsze podniesienie wan (uqmi podaje pin, połączenie nie dochodzi do skutku bo nie czeka na zalogowanie do sieci)->po następnych 3 minutach kolejne wywołanie monitora i podniesienie wan). Wiadomo, że po podaniu PIN trzeba chwilę zaczekać na zalogowanie do sieci. uqmi działa na tyle głupio, że nie czeka na zalogowanie do sieci, tylko wykonuje swoje kroki do końca, czyli połączenie nie dochodzi do skutku. Po zalogowaniu do sieci trzeba jeszcze raz je wywołać - dla mnie co najmniej nielogiczne.

55

Odp: NDIS/QMI w Gargoyle (GUI)

krowka napisał/a:

Przetestowałem start od "0" z E398. Modem połączył się dopiero po 10 minutach

Konfiguracja bardzo fajna, niestety Cezary na tą chwilę nie łączy w ogóle z siecią (nawet zostawiony na kilka godzin z włączonym monitorem połączenia), nawet nie pobiera adresów od operatora (co się działo wcześniej ale transmisji nie było). Oto logi z routera:

 Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.570000] pci 0000:00:00.0: using irq 40 for pin 1
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.570000] Switching to clocksource MIPS
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.580000] NET: Registered protocol family 2
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.580000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.590000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.600000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.600000] TCP: Hash tables configured (established 1024 bind 1024)
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.610000] TCP reno registered
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.610000] UDP hash table entries: 256 (order: 0, 4096 bytes)
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.620000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.630000] NET: Registered protocol family 1
Jan  1 01:00:44 Gargoyle kern.debug kernel: [    0.630000] PCI: CLS 0 bytes, default 32
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.650000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.650000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.670000] msgmni has been set to 56
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.670000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.680000] io scheduler noop registered
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.680000] io scheduler deadline registered (default)
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.690000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.720000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.730000] console [ttyS0] enabled, bootconsole disabled
Jan  1 01:00:44 Gargoyle kern.warn kernel: [    0.740000] m25p80 spi0.0: found s25fl064k, expected m25p80
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.750000] m25p80 spi0.0: s25fl064k (8192 Kbytes)
Jan  1 01:00:44 Gargoyle kern.notice kernel: [    0.750000] 7 cmdlinepart partitions found on MTD device spi0.0
Jan  1 01:00:44 Gargoyle kern.notice kernel: [    0.760000] Creating 7 MTD partitions on "spi0.0":
Jan  1 01:00:44 Gargoyle kern.notice kernel: [    0.760000] 0x000000000000-0x000000040000 : "u-boot"
Jan  1 01:00:44 Gargoyle kern.notice kernel: [    0.770000] 0x000000040000-0x000000050000 : "u-boot-env"
Jan  1 01:00:44 Gargoyle kern.notice kernel: [    0.780000] 0x000000050000-0x000000150000 : "kernel"
Jan  1 01:00:44 Gargoyle kern.notice kernel: [    0.780000] 0x000000150000-0x0000007b0000 : "rootfs"
Jan  1 01:00:44 Gargoyle kern.notice kernel: [    0.790000] mtd: partition "rootfs" set to be root filesystem
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.800000] mtd: partition "rootfs_data" created automatically, ofs=6A0000, len=110000 
Jan  1 01:00:44 Gargoyle kern.notice kernel: [    0.800000] 0x0000006a0000-0x0000007b0000 : "rootfs_data"
Jan  1 01:00:44 Gargoyle kern.notice kernel: [    0.810000] 0x0000007b0000-0x0000007f0000 : "cfg"
Jan  1 01:00:44 Gargoyle kern.notice kernel: [    0.820000] 0x0000007f0000-0x000000800000 : "EEPROM"
Jan  1 01:00:44 Gargoyle kern.info kernel: [   35.560000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan  1 01:00:44 Gargoyle kern.info kernel: [   35.560000] cfg80211:   (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm)
Jan  1 01:00:44 Gargoyle kern.info kernel: [   35.570000] cfg80211:   (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm)
Jan  1 01:00:44 Gargoyle kern.info kernel: [   35.960000] RPC: Registered named UNIX socket transport module.
Jan  1 01:00:44 Gargoyle kern.info kernel: [   35.970000] RPC: Registered udp transport module.
Jan  1 01:00:44 Gargoyle kern.info kernel: [   35.970000] RPC: Registered tcp transport module.
Jan  1 01:00:44 Gargoyle kern.info kernel: [   35.980000] RPC: Registered tcp NFSv4.1 backchannel transport module.
Jan  1 01:00:44 Gargoyle kern.info kernel: [   36.630000] PPP generic driver version 2.4.2
Jan  1 01:00:44 Gargoyle kern.info kernel: [   36.860000] tun: Universal TUN/TAP device driver, 1.6
Jan  1 01:00:44 Gargoyle kern.info kernel: [   36.870000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Jan  1 01:00:44 Gargoyle kern.info kernel: [   36.990000] GRE over IPv4 demultiplexor driver
Jan  1 01:00:44 Gargoyle kern.warn kernel: [   37.020000] ip_gre: Unknown symbol icmpv6_send (err 0)
Jan  1 01:00:44 Gargoyle kern.info kernel: [   37.400000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Jan  1 01:00:44 Gargoyle kern.info kernel: [   37.530000] ip_tables: (C) 2000-2006 Netfilter Core Team
Jan  1 01:00:44 Gargoyle kern.info kernel: [   37.990000] NET: Registered protocol family 24
Jan  1 01:00:44 Gargoyle kern.info kernel: [   38.170000] nf_conntrack version 0.5.0 (455 buckets, 1820 max)
Jan  1 01:00:44 Gargoyle kern.info kernel: [   38.780000] PPTP driver version 0.8.5
Jan  1 01:00:44 Gargoyle kern.info kernel: [   39.650000] xt_time: kernel timezone is -0000
Jan  1 01:00:44 Gargoyle kern.info kernel: [   40.610000]     Hooked IMQ after mangle on PREROUTING
Jan  1 01:00:44 Gargoyle kern.info kernel: [   40.610000]     Hooked IMQ after nat on POSTROUTING
Jan  1 01:00:44 Gargoyle kern.info kernel: [   40.620000] IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
Jan  1 01:00:44 Gargoyle kern.info kernel: [   40.830000] Netfilter messages via NETLINK v0.30.
Jan  1 01:00:44 Gargoyle kern.notice kernel: [   41.110000] ip_set: protocol 6
Jan  1 01:00:44 Gargoyle kern.info kernel: [   41.930000] usbcore: registered new interface driver cdc_acm
Jan  1 01:00:44 Gargoyle kern.info kernel: [   41.940000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.110000] usbcore: registered new interface driver usblp
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.140000] usbcore: registered new interface driver usbserial
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.150000] USB Serial support registered for generic
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.150000] usbcore: registered new interface driver usbserial_generic
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.160000] usbserial: USB Serial Driver core
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.270000] USB Serial support registered for Sierra USB modem
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.280000] usbcore: registered new interface driver sierra
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.280000] sierra: v.1.7.40:USB Driver for Sierra Wireless USB modems
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.310000] usbcore: registered new interface driver sierra_net
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.480000] usbcore: registered new interface driver ums-alauda
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.510000] usbcore: registered new interface driver ums-cypress
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.540000] usbcore: registered new interface driver ums-datafab
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.620000] usbcore: registered new interface driver ums-freecom
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.650000] usbcore: registered new interface driver ums-isd200
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.680000] usbcore: registered new interface driver ums-jumpshot
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.710000] usbcore: registered new interface driver ums-karma
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.740000] usbcore: registered new interface driver ums-sddr09
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.770000] usbcore: registered new interface driver ums-sddr55
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.800000] usbcore: registered new interface driver ums-usbat
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.900000] usbcore: registered new interface driver cdc_wdm
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.930000] usbcore: registered new interface driver cdc_ether
Jan  1 01:00:44 Gargoyle kern.info kernel: [   42.990000] usbcore: registered new interface driver cdc_ncm
Jan  1 01:00:44 Gargoyle kern.info kernel: [   43.090000] usbcore: registered new interface driver qmi_wwan
Jan  1 01:00:52 Gargoyle kern.info kernel: [   52.730000] device eth0 entered promiscuous mode
Jan  1 01:00:52 Gargoyle daemon.notice netifd: Interface 'lan' is now up
Jan  1 01:00:52 Gargoyle daemon.notice netifd: Interface 'loopback' is now up
Jan  1 01:00:53 Gargoyle user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.8_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
Jan  1 01:00:53 Gargoyle user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Jan  1 01:00:53 Gargoyle kern.info kernel: [   53.360000] eth0: link up (1000Mbps/Full duplex)
Jan  1 01:00:53 Gargoyle kern.info kernel: [   53.360000] br-lan: port 1(eth0) entered forwarding state
Jan  1 01:00:53 Gargoyle kern.info kernel: [   53.370000] br-lan: port 1(eth0) entered forwarding state
Jan  1 01:00:55 Gargoyle kern.info kernel: [   55.370000] br-lan: port 1(eth0) entered forwarding state
Jan  1 01:00:58 Gargoyle kern.info kernel: [   58.550000] device wlan0 entered promiscuous mode
Jan  1 01:00:58 Gargoyle kern.info kernel: [   58.910000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:58 Gargoyle kern.info kernel: [   58.910000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:01:00 Gargoyle kern.info kernel: [   60.910000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 04:00:02 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 04:00:02 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Selecting /etc/usb_modeswitch.d/12d1:1505 for mode switching
Jan  1 04:00:02 Gargoyle syslog.notice usb_modeswitch: switching device 12d1:1505 on 001/002
Jan  1 04:00:02 Gargoyle kern.info kernel: [   63.360000] usb 1-1: USB disconnect, device number 2
Jan  1 04:00:03 Gargoyle authpriv.info dropbear[1344]: Running in background
Jan  1 04:00:03 Gargoyle daemon.warn httpd_gargoyle[1371]: started as root without requesting chroot(), warning only
Jan  1 04:00:03 Gargoyle daemon.notice httpd_gargoyle[1371]: httpd_gargoyle/1.0 14mar2008 starting on Gargoyle, port 80
Jan  1 04:00:04 Gargoyle user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Jan  1 04:00:04 Gargoyle user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Jan  1 04:00:08 Gargoyle daemon.info dnsmasq[1425]: started, version 2.66 cachesize 150
Jan  1 04:00:08 Gargoyle daemon.info dnsmasq[1425]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth
Jan  1 04:00:08 Gargoyle daemon.info dnsmasq-dhcp[1425]: DHCP, IP range 192.168.3.100 -- 192.168.3.249, lease time 12h
Jan  1 04:00:08 Gargoyle daemon.info dnsmasq[1425]: using local addresses only for domain lan
Jan  1 04:00:08 Gargoyle daemon.info dnsmasq[1425]: reading /tmp/resolv.conf.auto
Jan  1 04:00:08 Gargoyle daemon.warn dnsmasq[1425]: ignoring nameserver 192.168.3.1 - local interface
Jan  1 04:00:08 Gargoyle daemon.info dnsmasq[1425]: using local addresses only for domain lan
Jan  1 04:00:08 Gargoyle daemon.info dnsmasq[1425]: read /etc/hosts - 2 addresses
Jan  1 04:00:08 Gargoyle daemon.info dnsmasq-dhcp[1425]: read /etc/ethers - 0 addresses
Jan  1 04:00:08 Gargoyle user.err syslog: error starting threads: errno 89 (Function not implemented)
Jan  1 04:00:08 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
Jan  1 04:00:08 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/etab for writing
Jan  1 04:00:08 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nfs/.xtab.lock for locking: errno 2 (No such file or directory)
Jan  1 04:00:08 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/xtab for writing
Jan  1 04:00:10 Gargoyle user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Jan  1 04:00:10 Gargoyle user.info sysinit: (Did you specify correct configuration file path?)
Jan  1 04:00:12 Gargoyle kern.info kernel: [   72.790000] usb 1-1: new high-speed USB device number 3 using ehci-platform
Jan  1 04:00:12 Gargoyle kern.info kernel: [   72.940000] option 1-1:1.0: GSM modem (1-port) converter detected
Jan  1 04:00:12 Gargoyle kern.info kernel: [   72.950000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Jan  1 04:00:12 Gargoyle kern.info kernel: [   72.960000] option 1-1:1.1: GSM modem (1-port) converter detected
Jan  1 04:00:12 Gargoyle kern.info kernel: [   72.960000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Jan  1 04:00:12 Gargoyle kern.info kernel: [   72.970000] option 1-1:1.2: GSM modem (1-port) converter detected
Jan  1 04:00:12 Gargoyle kern.info kernel: [   72.980000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
Jan  1 04:00:12 Gargoyle kern.info kernel: [   72.990000] cdc_wdm 1-1:1.3: cdc-wdm0: USB WDM device
Jan  1 04:00:12 Gargoyle kern.info kernel: [   72.990000] qmi_wwan 1-1:1.4: Use "cdc_wdm" for QMI interface 1-1:1.3
Jan  1 04:00:12 Gargoyle kern.info kernel: [   73.000000] qmi_wwan 1-1:1.4: wwan0: register 'qmi_wwan' at usb-ehci-platform-1, QMI speaking wwan device, 00:a0:c6:00:00:00
Jan  1 04:00:12 Gargoyle kern.info kernel: [   73.010000] scsi1 : usb-storage 1-1:1.5
Jan  1 04:00:12 Gargoyle kern.info kernel: [   73.020000] scsi2 : usb-storage 1-1:1.6
Jan  1 04:00:13 Gargoyle kern.notice kernel: [   74.020000] scsi 1:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 0
Jan  1 04:00:13 Gargoyle kern.notice kernel: [   74.030000] scsi 2:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
Jan  1 04:00:13 Gargoyle kern.notice kernel: [   74.040000] sd 2:0:0:0: [sda] Attached SCSI removable disk
Jan  1 04:00:16 Gargoyle daemon.info dnsmasq-dhcp[1425]: DHCPDISCOVER(br-lan) 00:0b:82:05:5a:b3 
Jan  1 04:00:16 Gargoyle daemon.info dnsmasq-dhcp[1425]: DHCPOFFER(br-lan) 192.168.3.231 00:0b:82:05:5a:b3 
Jan  1 04:00:16 Gargoyle daemon.info dnsmasq-dhcp[1425]: DHCPREQUEST(br-lan) 192.168.3.231 00:0b:82:05:5a:b3 
Jan  1 04:00:16 Gargoyle daemon.info dnsmasq-dhcp[1425]: DHCPACK(br-lan) 192.168.3.231 00:0b:82:05:5a:b3 
Jan  1 04:00:35 Gargoyle user.notice root: vsftpd init: mounted = 0
Jan  1 04:00:35 Gargoyle user.info sysinit: ERROR: No drives attached, no directories to share!
Jan  1 04:00:50 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 04:00:53 Gargoyle user.notice usb-modeswitch: 1-1:1.1: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 04:00:53 Gargoyle user.notice usb-modeswitch: 1-1:1.2: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 04:00:53 Gargoyle user.notice usb-modeswitch: 1-1:1.3: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 04:00:54 Gargoyle user.notice usb-modeswitch: 1-1:1.4: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 04:00:54 Gargoyle user.notice usb-modeswitch: 1-1:1.5: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 04:00:54 Gargoyle user.notice usb-modeswitch: 1-1:1.6: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 04:03:01 Gargoyle user.notice /usr/lib/gargoyle/ping_watchdog.sh: Run custom script
Jan  1 04:06:01 Gargoyle user.notice /usr/lib/gargoyle/ping_watchdog.sh: Run custom script
Success

56

Odp: NDIS/QMI w Gargoyle (GUI)

A co masz wpisane w custom script?

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

57

Odp: NDIS/QMI w Gargoyle (GUI)

krowka napisał/a:

uqmi działa na tyle głupio, że nie czeka na zalogowanie do sieci, tylko wykonuje swoje kroki do końca, czyli połączenie nie dochodzi do skutku. Po zalogowaniu do sieci trzeba jeszcze raz je wywołać - dla mnie co najmniej nielogiczne.

To się powinno dać obejść - mogę przez uqmi wysłać najpierw żądanie rejestracji do sieci. Zobaczymy czy tak będzie działać.

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

58

Odp: NDIS/QMI w Gargoyle (GUI)

Zaktualizowałem obrazy, dodałem sprawdzenie rejestracji dla qmi.  Menadżer połączenia z ustawionym restartem wanu nadal jest potrzebny.

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

59

Odp: NDIS/QMI w Gargoyle (GUI)

Cezary napisał/a:

A co masz wpisane w custom script?

Skrypt to

 uqmi.sh 

, z aktualizowałem obraz z dzisiejszymi poprawkami ale nadal w ogóle nie łączy z siecią : 

 Jan  1 01:00:44 Gargoyle kern.debug kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Jan  1 01:00:44 Gargoyle kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0 
Jan  1 01:00:44 Gargoyle kern.warn kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Jan  1 01:00:44 Gargoyle kern.notice kernel: [    0.000000] Kernel command line:  board=UBNT-AR console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1024k(kernel),6528k(rootfs),256k(cfg)ro,64k(EEPROM)ro,7552k@0x50000(firmware) rootfstype=squashfs,jffs2 noi
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Jan  1 01:00:44 Gargoyle kern.warn kernel: [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Jan  1 01:00:44 Gargoyle kern.warn kernel: [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.000000] Writing ErrCtl register=00000000
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.000000] Readback ErrCtl register=00000000
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.000000] Memory: 28940k/32768k available (2255k kernel code, 3828k reserved, 425k data, 216k init, 0k highmem)
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.000000] NR_IRQS:51
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.000000] Calibrating delay loop... 259.27 BogoMIPS (lpj=1296384)
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.070000] pid_max: default: 32768 minimum: 301
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.070000] Mount-cache hash table entries: 512
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.080000] NET: Registered protocol family 16
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.080000] gpiochip_add: registered GPIOs 0 to 17 on device: ath79
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.090000] MIPS: machine is Ubiquiti AirRouter
Jan  1 01:00:44 Gargoyle kern.warn kernel: [    0.520000] registering PCI controller with io_map_base unset
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.540000] bio: create slab <bio-0> at 0
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.540000] PCI host bridge to bus 0000:00
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.550000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.550000] pci_bus 0000:00: root bus resource [io  0x0000]
Jan  1 01:00:44 Gargoyle kern.debug kernel: [    0.560000] pci 0000:00:00.0: [168c:002b] type 0 class 0x000280
Jan  1 01:00:44 Gargoyle kern.info kernel: [    0.560000] pci 0000:00:00.0: fixup device configuration
Jan  1 01:00:44 Gargoyle kern.debug kernel: [    0.560000] pci 0000:00:00.0: reg 10: [mem 0x10000000-0x1000ffff 64bit]
Jan  1 01:00:44 Gargoyle kern.debug kernel: [    0.560000] pci 0000:00:00.0: supports D1
Jan  1 01:00:44 Gargoyle kern.debug kernel: [    0.560000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
Jan  1 01:00:44 Gargoyle kern.info kernel: [   11.750000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Jan  1 01:00:44 Gargoyle kern.info kernel: [   11.750000] ehci-platform ehci-platform: Generic Platform EHCI Controller
Jan  1 01:00:44 Gargoyle kern.info kernel: [   11.760000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
Jan  1 01:00:44 Gargoyle kern.info kernel: [   11.800000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
Jan  1 01:00:44 Gargoyle kern.info kernel: [   11.820000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
Jan  1 01:00:44 Gargoyle kern.info kernel: [   11.820000] hub 1-0:1.0: USB hub found
Jan  1 01:00:44 Gargoyle kern.info kernel: [   11.830000] hub 1-0:1.0: 1 port detected
Jan  1 01:00:44 Gargoyle kern.info kernel: [   11.920000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Jan  1 01:00:44 Gargoyle kern.info kernel: [   12.000000] Initializing USB Mass Storage driver...
Jan  1 01:00:44 Gargoyle kern.info kernel: [   12.000000] usbcore: registered new interface driver usb-storage
Jan  1 01:00:44 Gargoyle kern.info kernel: [   12.010000] USB Mass Storage support registered.
Jan  1 01:00:44 Gargoyle kern.info kernel: [   12.330000] usb 1-1: new high-speed USB device number 2 using ehci-platform
Jan  1 01:00:44 Gargoyle kern.info kernel: [   12.480000] hub 1-1:1.0: USB hub found
Jan  1 01:00:44 Gargoyle kern.info kernel: [   12.480000] hub 1-1:1.0: 4 ports detected
Jan  1 01:00:44 Gargoyle kern.info kernel: [   12.780000] usb 1-1.4: new high-speed USB device number 3 using ehci-platform
Jan  1 01:00:44 Gargoyle kern.info kernel: [   12.910000] scsi0 : usb-storage 1-1.4:1.0
Jan  1 01:00:44 Gargoyle kern.notice kernel: [   13.920000] scsi 0:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 0
Jan  1 01:00:44 Gargoyle kern.info kernel: [   33.080000] eth0: link down
Jan  1 01:00:44 Gargoyle kern.info kernel: [   33.790000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5
Jan  1 01:00:44 Gargoyle kern.info kernel: [   33.800000] Backport generated by backports.git backports-20130617-4-ge3220f5
Jan  1 01:00:44 Gargoyle kern.info kernel: [   33.990000] cfg80211: Calling CRDA to update world regulatory domain
Jan  1 01:00:44 Gargoyle kern.info kernel: [   34.000000] cfg80211: World regulatory domain updated:
Jan  1 01:00:44 Gargoyle kern.info kernel: [   34.000000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan  1 01:00:44 Gargoyle kern.info kernel: [   34.010000] cfg80211:   (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm)
Jan  1 01:00:44 Gargoyle kern.info kernel: [   34.020000] cfg80211:   (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm)
Jan  1 01:00:44 Gargoyle kern.warn kernel: [   35.520000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
Jan  1 01:00:44 Gargoyle kern.debug kernel: [   35.530000] ath: EEPROM regdomain: 0x0
Jan  1 01:00:44 Gargoyle kern.debug kernel: [   35.530000] ath: EEPROM indicates default country code should be used
Jan  1 01:00:44 Gargoyle kern.debug kernel: [   35.530000] ath: doing EEPROM country->regdmn map search
Jan  1 01:00:44 Gargoyle kern.debug kernel: [   35.530000] ath: country maps to regdmn code: 0x3a
Jan  1 01:00:44 Gargoyle kern.debug kernel: [   35.530000] ath: Country alpha2 being used: US
Jan  1 01:00:44 Gargoyle kern.debug kernel: [   35.530000] ath: Regpair used: 0x3a
Jan  1 01:00:44 Gargoyle kern.debug kernel: [   35.540000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Jan  1 01:00:44 Gargoyle kern.debug kernel: [   35.540000] Registered led device: ath9k-phy0
Jan  1 01:00:44 Gargoyle kern.info kernel: [   35.540000] ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xb0000000, irq=40
Jan  1 01:00:44 Gargoyle kern.info kernel: [   35.550000] cfg80211: Calling CRDA for country: US
Jan  1 01:00:44 Gargoyle kern.info kernel: [   35.550000] cfg80211: Regulatory domain changed to country: US
Jan  1 01:00:44 Gargoyle kern.info kernel: [   35.560000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan  1 01:00:44 Gargoyle kern.info kernel: [   35.570000] cfg80211:   (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm)
Jan  1 01:00:44 Gargoyle kern.info kernel: [   35.570000] cfg80211:   (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm)
Jan  1 01:00:44 Gargoyle kern.info kernel: [   35.970000] RPC: Registered named UNIX socket transport module.
Jan  1 01:00:44 Gargoyle kern.info kernel: [   35.970000] RPC: Registered udp transport module.
Jan  1 01:00:44 Gargoyle kern.info kernel: [   35.980000] RPC: Registered tcp transport module.
Jan  1 01:00:44 Gargoyle kern.info kernel: [   35.980000] RPC: Registered tcp NFSv4.1 backchannel transport module.
Jan  1 01:00:44 Gargoyle kern.info kernel: [   36.630000] PPP generic driver version 2.4.2
Jan  1 01:00:44 Gargoyle kern.info kernel: [   36.870000] tun: Universal TUN/TAP device driver, 1.6
Jan  1 01:00:44 Gargoyle kern.info kernel: [   36.870000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Jan  1 01:00:44 Gargoyle kern.info kernel: [   37.000000] GRE over IPv4 demultiplexor driver
Jan  1 01:00:44 Gargoyle kern.warn kernel: [   37.020000] ip_gre: Unknown symbol icmpv6_send (err 0)
Jan  1 01:00:44 Gargoyle kern.info kernel: [   37.400000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Jan  1 01:00:44 Gargoyle kern.info kernel: [   37.530000] ip_tables: (C) 2000-2006 Netfilter Core Team
Jan  1 01:00:44 Gargoyle kern.info kernel: [   37.990000] NET: Registered protocol family 24
Jan  1 01:00:44 Gargoyle kern.info kernel: [   38.170000] nf_conntrack version 0.5.0 (455 buckets, 1820 max)
Jan  1 01:00:52 Gargoyle kern.info kernel: [   52.700000] device eth0 entered promiscuous mode
Jan  1 01:00:52 Gargoyle daemon.notice netifd: Interface 'lan' is now up
Jan  1 01:00:52 Gargoyle daemon.notice netifd: Interface 'loopback' is now up
Jan  1 01:00:52 Gargoyle user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.8_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
Jan  1 01:00:53 Gargoyle user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Jan  1 01:00:53 Gargoyle kern.info kernel: [   53.360000] eth0: link up (1000Mbps/Full duplex)
Jan  1 01:00:53 Gargoyle kern.info kernel: [   53.360000] br-lan: port 1(eth0) entered forwarding state
Jan  1 01:00:53 Gargoyle kern.info kernel: [   53.370000] br-lan: port 1(eth0) entered forwarding state
Jan  1 01:00:55 Gargoyle kern.info kernel: [   55.370000] br-lan: port 1(eth0) entered forwarding state
Jan  1 01:00:58 Gargoyle kern.info kernel: [   58.370000] device wlan0 entered promiscuous mode
Jan  1 01:00:58 Gargoyle kern.info kernel: [   58.720000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:58 Gargoyle kern.info kernel: [   58.720000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:01:00 Gargoyle kern.info kernel: [   60.720000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:13:20 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=? Product=? Serial=?
Jan  1 01:13:20 Gargoyle authpriv.info dropbear[1370]: Running in background
Jan  1 01:13:21 Gargoyle user.notice usb-modeswitch: 1-1.4:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:13:21 Gargoyle user.notice usb-modeswitch: 1-1.4:1.0: Selecting /etc/usb_modeswitch.d/12d1:1505 for mode switching
Jan  1 01:13:21 Gargoyle syslog.notice usb_modeswitch: switching device 12d1:1505 on 001/003
Jan  1 01:13:21 Gargoyle kern.info kernel: [   64.380000] usb 1-1.4: USB disconnect, device number 3
Jan  1 01:13:22 Gargoyle daemon.warn httpd_gargoyle[1412]: started as root without requesting chroot(), warning only
Jan  1 01:13:22 Gargoyle daemon.notice httpd_gargoyle[1412]: httpd_gargoyle/1.0 14mar2008 starting on Gargoyle, port 80
Jan  1 01:13:23 Gargoyle user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Jan  1 01:13:23 Gargoyle user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Jan  1 01:13:26 Gargoyle daemon.info dnsmasq[1462]: started, version 2.66 cachesize 150
Jan  1 01:13:26 Gargoyle daemon.info dnsmasq[1462]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth
Jan  1 01:13:26 Gargoyle daemon.info dnsmasq-dhcp[1462]: DHCP, IP range 192.168.3.100 -- 192.168.3.249, lease time 12h
Jan  1 01:13:26 Gargoyle daemon.info dnsmasq[1462]: using local addresses only for domain lan
Jan  1 01:13:26 Gargoyle daemon.info dnsmasq[1462]: reading /tmp/resolv.conf.auto
Jan  1 01:13:26 Gargoyle daemon.warn dnsmasq[1462]: ignoring nameserver 192.168.3.1 - local interface
Jan  1 01:13:26 Gargoyle daemon.info dnsmasq[1462]: using local addresses only for domain lan
Jan  1 01:13:26 Gargoyle daemon.info dnsmasq[1462]: read /etc/hosts - 2 addresses
Jan  1 01:13:26 Gargoyle daemon.info dnsmasq-dhcp[1462]: read /etc/ethers - 0 addresses
Jan  1 01:13:27 Gargoyle user.err syslog: error starting threads: errno 89 (Function not implemented)
Jan  1 01:13:27 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
Jan  1 01:13:27 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/etab for writing
Jan  1 01:13:27 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nfs/.xtab.lock for locking: errno 2 (No such file or directory)
Jan  1 01:13:27 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/xtab for writing
Jan  1 01:13:28 Gargoyle user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Jan  1 01:13:28 Gargoyle user.info sysinit: (Did you specify correct configuration file path?)
Jan  1 01:13:31 Gargoyle kern.info kernel: [   73.740000] usb 1-1.4: new high-speed USB device number 4 using ehci-platform
Jan  1 01:13:31 Gargoyle kern.info kernel: [   73.870000] option 1-1.4:1.0: GSM modem (1-port) converter detected
Jan  1 01:13:31 Gargoyle kern.info kernel: [   73.880000] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB0
Jan  1 01:13:31 Gargoyle kern.info kernel: [   73.890000] option 1-1.4:1.1: GSM modem (1-port) converter detected
Jan  1 01:13:31 Gargoyle kern.info kernel: [   73.890000] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB1
Jan  1 01:13:31 Gargoyle kern.info kernel: [   73.900000] option 1-1.4:1.2: GSM modem (1-port) converter detected
Jan  1 01:13:31 Gargoyle kern.info kernel: [   73.910000] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB2
Jan  1 01:13:31 Gargoyle kern.info kernel: [   73.920000] cdc_wdm 1-1.4:1.3: cdc-wdm0: USB WDM device
Jan  1 01:13:31 Gargoyle kern.info kernel: [   73.920000] qmi_wwan 1-1.4:1.4: Use "cdc_wdm" for QMI interface 1-1.4:1.3
Jan  1 01:13:31 Gargoyle kern.info kernel: [   73.930000] qmi_wwan 1-1.4:1.4: wwan0: register 'qmi_wwan' at usb-ehci-platform-1.4, QMI speaking wwan device, 00:a0:c6:00:00:00
Jan  1 01:13:31 Gargoyle kern.info kernel: [   73.950000] scsi1 : usb-storage 1-1.4:1.5
Jan  1 01:13:31 Gargoyle kern.info kernel: [   73.960000] scsi2 : usb-storage 1-1.4:1.6
Jan  1 01:13:32 Gargoyle kern.notice kernel: [   74.960000] scsi 1:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 0
Jan  1 01:13:32 Gargoyle kern.notice kernel: [   74.970000] scsi 2:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
Jan  1 01:13:32 Gargoyle kern.notice kernel: [   74.980000] sd 2:0:0:0: [sda] Attached SCSI removable disk
Jan  1 01:13:54 Gargoyle user.notice root: vsftpd init: mounted = 0
Jan  1 01:13:54 Gargoyle user.info sysinit: ERROR: No drives attached, no directories to share!
Jan  1 01:14:09 Gargoyle user.notice usb-modeswitch: 1-1.4:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:14:09 Gargoyle user.notice usb-modeswitch: 1-1.4:1.1: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:14:09 Gargoyle user.notice usb-modeswitch: 1-1.4:1.2: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:14:10 Gargoyle user.notice usb-modeswitch: 1-1.4:1.3: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:14:10 Gargoyle user.notice usb-modeswitch: 1-1.4:1.4: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:14:11 Gargoyle user.notice usb-modeswitch: 1-1.4:1.5: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:14:11 Gargoyle user.notice usb-modeswitch: 1-1.4:1.6: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:18:01 Gargoyle user.notice /usr/lib/gargoyle/ping_watchdog.sh: Run custom script
Jan  1 01:21:01 Gargoyle user.notice /usr/lib/gargoyle/ping_watchdog.sh: Run custom script
Success 

. Cezary może adoptuj do Gargoyle rozwiązanie zawarte w firmware od Huntsman?(modem łączy z siecią szybko-w ciągu kilkudziesięciu sekund następuje transmisja danych, świetnie daje sobie radę ze wznowieniem połączenia) 

  Status
System
Hostname    ROOter
Model    TP-LINK TL-WR703N v1
Firmware Version     Huntsman 2013-09-15 / LuCI Trunk (svn-r9811)
Kernel Version    3.8.9
Local Time    Sat Nov 9 14:49:27 2013
Uptime    32d 21h 34m 19s
Load Average    

60

Odp: NDIS/QMI w Gargoyle (GUI)

Więc nie uqmi.sh tylko restart wan tam daj. Przy takich ustawieniach uqmi.sh nie będzie działać, bo nie jest w konfigu włączony.  Nie mieszaj jednego z drugim i bo ustawienia będą się gryzły.

Skryptu lua są od Huntsman włąśnie.

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

61

Odp: NDIS/QMI w Gargoyle (GUI)

Sprawdzę we wtorek, do września w Gargoyle z użyciem QMI właśnie w ten sposób miałem wznawiane połączenie i działało (QMI z lua)

 qmi.sh 

62

Odp: NDIS/QMI w Gargoyle (GUI)

Ale miałeś to w skryptach właśnie. Teraz wszystko z gui leci.

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

63

Odp: NDIS/QMI w Gargoyle (GUI)

Cezary napisał/a:

Więc nie uqmi.sh tylko restart wan tam daj.

Ustawiłem restart WAN-niestety nie chce nawiązać połączenia sad

 Jan  1 01:00:45 Gargoyle kern.info kernel: [   42.940000] usbcore: registered new interface driver cdc_ether
Jan  1 01:00:45 Gargoyle kern.info kernel: [   42.990000] usbcore: registered new interface driver cdc_ncm
Jan  1 01:00:45 Gargoyle kern.info kernel: [   43.090000] usbcore: registered new interface driver qmi_wwan
Jan  1 01:00:45 Gargoyle kern.info kernel: [   43.120000] usbcore: registered new interface driver rndis_host
Jan  1 01:00:45 Gargoyle kern.info kernel: [   43.240000] USB Serial support registered for GSM modem (1-port)
Jan  1 01:00:45 Gargoyle kern.info kernel: [   43.240000] usbcore: registered new interface driver option
Jan  1 01:00:45 Gargoyle kern.info kernel: [   43.250000] option: v0.7.2:USB Driver for GSM modems
Jan  1 01:00:45 Gargoyle kern.info kernel: [   43.280000] USB Serial support registered for Qualcomm USB modem
Jan  1 01:00:45 Gargoyle kern.info kernel: [   43.280000] usbcore: registered new interface driver qcserial
Jan  1 01:00:45 Gargoyle kern.info kernel: [   43.450000] fuse init (API version 7.18)
Jan  1 01:00:52 Gargoyle daemon.notice netifd: Interface 'lan' is now up
Jan  1 01:00:52 Gargoyle kern.info kernel: [   52.780000] device eth0 entered promiscuous mode
Jan  1 01:00:52 Gargoyle daemon.notice netifd: Interface 'loopback' is now up
Jan  1 01:00:53 Gargoyle user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Jan  1 01:00:53 Gargoyle user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.8_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
Jan  1 01:00:53 Gargoyle kern.info kernel: [   53.410000] eth0: link up (1000Mbps/Full duplex)
Jan  1 01:00:53 Gargoyle kern.info kernel: [   53.410000] br-lan: port 1(eth0) entered forwarding state
Jan  1 01:00:53 Gargoyle kern.info kernel: [   53.420000] br-lan: port 1(eth0) entered forwarding state
Jan  1 01:00:55 Gargoyle kern.info kernel: [   55.420000] br-lan: port 1(eth0) entered forwarding state
Jan  1 01:00:58 Gargoyle kern.info kernel: [   58.480000] device wlan0 entered promiscuous mode
Jan  1 01:00:59 Gargoyle kern.info kernel: [   59.000000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:59 Gargoyle kern.info kernel: [   59.010000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:01:01 Gargoyle kern.info kernel: [   61.010000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:13:21 Gargoyle authpriv.info dropbear[1504]: Running in background
Jan  1 01:13:22 Gargoyle daemon.warn httpd_gargoyle[1554]: started as root without requesting chroot(), warning only
Jan  1 01:13:22 Gargoyle daemon.notice httpd_gargoyle[1554]: httpd_gargoyle/1.0 14mar2008 starting on Gargoyle, port 80
Jan  1 01:13:23 Gargoyle user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Jan  1 01:13:23 Gargoyle user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Jan  1 01:13:27 Gargoyle daemon.info dnsmasq[1771]: started, version 2.66 cachesize 150
Jan  1 01:13:27 Gargoyle daemon.info dnsmasq[1771]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth
Jan  1 01:13:27 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCP, IP range 192.168.3.100 -- 192.168.3.249, lease time 12h
Jan  1 01:13:27 Gargoyle daemon.info dnsmasq[1771]: using local addresses only for domain lan
Jan  1 01:13:27 Gargoyle daemon.info dnsmasq[1771]: reading /tmp/resolv.conf.auto
Jan  1 01:13:27 Gargoyle daemon.warn dnsmasq[1771]: ignoring nameserver 192.168.3.1 - local interface
Jan  1 01:13:27 Gargoyle daemon.info dnsmasq[1771]: using local addresses only for domain lan
Jan  1 01:13:27 Gargoyle daemon.info dnsmasq[1771]: read /etc/hosts - 2 addresses
Jan  1 01:13:27 Gargoyle daemon.info dnsmasq-dhcp[1771]: read /etc/ethers - 0 addresses
Jan  1 01:13:27 Gargoyle user.err syslog: error starting threads: errno 89 (Function not implemented)
Jan  1 01:13:28 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
Jan  1 01:13:28 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/etab for writing
Jan  1 01:13:28 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nfs/.xtab.lock for locking: errno 2 (No such file or directory)
Jan  1 01:13:28 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/xtab for writing
Jan  1 01:13:30 Gargoyle user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Jan  1 01:13:30 Gargoyle user.info sysinit: (Did you specify correct configuration file path?)
Jan  1 01:13:33 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPDISCOVER(br-lan) 00:0b:82:05:5a:b3 
Jan  1 01:13:33 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPOFFER(br-lan) 192.168.3.231 00:0b:82:05:5a:b3 
Jan  1 01:13:33 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPREQUEST(br-lan) 192.168.3.231 00:0b:82:05:5a:b3 
Jan  1 01:13:33 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPACK(br-lan) 192.168.3.231 00:0b:82:05:5a:b3 
Jan  1 01:13:55 Gargoyle user.notice root: vsftpd init: mounted = 0
Jan  1 01:13:55 Gargoyle user.info sysinit: ERROR: No drives attached, no directories to share!
Jan  1 01:15:22 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPDISCOVER(br-lan) 192.168.11.147 00:13:77:d1:c4:ef 
Jan  1 01:15:22 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPOFFER(br-lan) 192.168.3.145 00:13:77:d1:c4:ef 
Jan  1 01:15:22 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPREQUEST(br-lan) 192.168.3.145 00:13:77:d1:c4:ef 
Jan  1 01:15:22 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPACK(br-lan) 192.168.3.145 00:13:77:d1:c4:ef MARTIN
Jan  1 01:17:30 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPINFORM(br-lan) 192.168.3.145 00:13:77:d1:c4:ef 
Jan  1 01:17:30 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPACK(br-lan) 192.168.3.145 00:13:77:d1:c4:ef MARTIN
Jan  1 01:18:01 Gargoyle user.notice /usr/lib/gargoyle/ping_watchdog.sh: Run custom script
Jan  1 01:18:34 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPINFORM(br-lan) 192.168.3.145 00:13:77:d1:c4:ef 
Jan  1 01:18:34 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPACK(br-lan) 192.168.3.145 00:13:77:d1:c4:ef MARTIN
Jan  1 01:19:39 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPINFORM(br-lan) 192.168.3.145 00:13:77:d1:c4:ef 
Jan  1 01:19:39 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPACK(br-lan) 192.168.3.145 00:13:77:d1:c4:ef MARTIN
Jan  1 01:20:43 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPINFORM(br-lan) 192.168.3.145 00:13:77:d1:c4:ef 
Jan  1 01:20:43 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPACK(br-lan) 192.168.3.145 00:13:77:d1:c4:ef MARTIN
Jan  1 01:21:01 Gargoyle user.notice /usr/lib/gargoyle/ping_watchdog.sh: Run custom script
Jan  1 01:21:48 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPINFORM(br-lan) 192.168.3.145 00:13:77:d1:c4:ef 
Jan  1 01:21:48 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPACK(br-lan) 192.168.3.145 00:13:77:d1:c4:ef MARTIN
Jan  1 01:22:53 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPINFORM(br-lan) 192.168.3.145 00:13:77:d1:c4:ef 
Jan  1 01:22:53 Gargoyle daemon.info dnsmasq-dhcp[1771]: DHCPACK(br-lan) 192.168.3.145 00:13:77:d1:c4:ef MARTIN
Jan  1 01:24:01 Gargoyle user.notice /usr/lib/gargoyle/ping_watchdog.sh: Run custom script
Jan  1 01:26:19 Gargoyle kern.info kernel: [  843.220000] usb 1-1: new high-speed USB device number 2 using ehci-platform
Jan  1 01:26:19 Gargoyle kern.info kernel: [  843.370000] scsi0 : usb-storage 1-1:1.0
Jan  1 01:26:20 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:26:20 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Selecting /etc/usb_modeswitch.d/12d1:1505 for mode switching
Jan  1 01:26:20 Gargoyle syslog.notice usb_modeswitch: switching device 12d1:1505 on 001/002
Jan  1 01:26:20 Gargoyle kern.info kernel: [  844.030000] usb 1-1: USB disconnect, device number 2
Jan  1 01:26:31 Gargoyle kern.info kernel: [  855.540000] usb 1-1: new high-speed USB device number 3 using ehci-platform
Jan  1 01:26:32 Gargoyle kern.info kernel: [  855.690000] option 1-1:1.0: GSM modem (1-port) converter detected
Jan  1 01:26:32 Gargoyle kern.info kernel: [  855.700000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Jan  1 01:26:32 Gargoyle kern.info kernel: [  855.710000] option 1-1:1.1: GSM modem (1-port) converter detected
Jan  1 01:26:32 Gargoyle kern.info kernel: [  855.710000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Jan  1 01:26:32 Gargoyle kern.info kernel: [  855.720000] option 1-1:1.2: GSM modem (1-port) converter detected
Jan  1 01:26:32 Gargoyle kern.info kernel: [  855.730000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
Jan  1 01:26:32 Gargoyle kern.info kernel: [  855.740000] cdc_wdm 1-1:1.3: cdc-wdm0: USB WDM device
Jan  1 01:26:32 Gargoyle kern.info kernel: [  855.750000] qmi_wwan 1-1:1.4: Use "cdc_wdm" for QMI interface 1-1:1.3
Jan  1 01:26:32 Gargoyle kern.info kernel: [  855.750000] qmi_wwan 1-1:1.4: wwan0: register 'qmi_wwan' at usb-ehci-platform-1, QMI speaking wwan device, 00:a0:c6:00:00:00
Jan  1 01:26:32 Gargoyle kern.info kernel: [  855.770000] scsi1 : usb-storage 1-1:1.5
Jan  1 01:26:32 Gargoyle kern.info kernel: [  855.770000] scsi2 : usb-storage 1-1:1.6
Jan  1 01:26:33 Gargoyle kern.notice kernel: [  856.770000] scsi 1:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 0
Jan  1 01:26:33 Gargoyle kern.notice kernel: [  856.780000] scsi 2:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
Jan  1 01:26:33 Gargoyle kern.notice kernel: [  856.800000] sd 2:0:0:0: [sda] Attached SCSI removable disk
Jan  1 01:26:51 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:26:51 Gargoyle user.notice usb-modeswitch: 1-1:1.1: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:26:52 Gargoyle user.notice usb-modeswitch: 1-1:1.2: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:26:52 Gargoyle user.notice usb-modeswitch: 1-1:1.3: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:26:52 Gargoyle user.notice usb-modeswitch: 1-1:1.4: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:26:53 Gargoyle user.notice usb-modeswitch: 1-1:1.5: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:26:53 Gargoyle user.notice usb-modeswitch: 1-1:1.6: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:27:01 Gargoyle user.notice /usr/lib/gargoyle/ping_watchdog.sh: WAN Restart
Jan  1 01:27:01 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jan  1 01:30:01 Gargoyle user.notice /usr/lib/gargoyle/ping_watchdog.sh: WAN Restart
Jan  1 01:30:01 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jan  1 01:33:01 Gargoyle user.notice /usr/lib/gargoyle/ping_watchdog.sh: WAN Restart
Jan  1 01:33:01 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jan  1 01:36:01 Gargoyle user.notice /usr/lib/gargoyle/ping_watchdog.sh: WAN Restart
Jan  1 01:36:01 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jan  1 01:36:31 Gargoyle kern.info kernel: [ 1455.180000] usb 1-1: USB disconnect, device number 3
Jan  1 01:36:31 Gargoyle kern.err kernel: [ 1455.180000] option: option_instat_callback: error -143
Jan  1 01:36:31 Gargoyle kern.info kernel: [ 1455.190000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Jan  1 01:36:31 Gargoyle kern.info kernel: [ 1455.200000] option 1-1:1.0: device disconnected
Jan  1 01:36:31 Gargoyle kern.info kernel: [ 1455.200000] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Jan  1 01:36:31 Gargoyle kern.info kernel: [ 1455.210000] option 1-1:1.1: device disconnected
Jan  1 01:36:31 Gargoyle kern.info kernel: [ 1455.210000] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Jan  1 01:36:31 Gargoyle kern.info kernel: [ 1455.220000] option 1-1:1.2: device disconnected
Jan  1 01:36:31 Gargoyle kern.info kernel: [ 1455.230000] qmi_wwan 1-1:1.4: wwan0: unregister 'qmi_wwan' usb-ehci-platform-1, QMI speaking wwan device
Jan  1 01:36:31 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jan  1 01:36:54 Gargoyle kern.info kernel: [ 1478.510000] usb 1-1: new high-speed USB device number 4 using ehci-platform
Jan  1 01:36:55 Gargoyle kern.info kernel: [ 1478.660000] hub 1-1:1.0: USB hub found
Jan  1 01:36:55 Gargoyle kern.info kernel: [ 1478.660000] hub 1-1:1.0: 4 ports detected
Jan  1 01:36:55 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=? Product=? Serial=?
Jan  1 01:36:55 Gargoyle kern.info kernel: [ 1478.960000] usb 1-1.4: new high-speed USB device number 5 using ehci-platform
Jan  1 01:36:55 Gargoyle kern.info kernel: [ 1479.090000] scsi3 : usb-storage 1-1.4:1.0
Jan  1 01:36:55 Gargoyle user.notice usb-modeswitch: 1-1.4:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:36:55 Gargoyle user.notice usb-modeswitch: 1-1.4:1.0: Selecting /etc/usb_modeswitch.d/12d1:1505 for mode switching
Jan  1 01:36:55 Gargoyle syslog.notice usb_modeswitch: switching device 12d1:1505 on 001/005
Jan  1 01:36:56 Gargoyle kern.info kernel: [ 1479.730000] usb 1-1.4: USB disconnect, device number 5
Jan  1 01:37:05 Gargoyle kern.info kernel: [ 1488.930000] usb 1-1.4: new high-speed USB device number 6 using ehci-platform
Jan  1 01:37:05 Gargoyle kern.info kernel: [ 1489.060000] option 1-1.4:1.0: GSM modem (1-port) converter detected
Jan  1 01:37:05 Gargoyle kern.info kernel: [ 1489.070000] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB1
Jan  1 01:37:05 Gargoyle kern.info kernel: [ 1489.080000] option 1-1.4:1.1: GSM modem (1-port) converter detected
Jan  1 01:37:05 Gargoyle kern.info kernel: [ 1489.080000] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB2
Jan  1 01:37:05 Gargoyle kern.info kernel: [ 1489.090000] option 1-1.4:1.2: GSM modem (1-port) converter detected
Jan  1 01:37:05 Gargoyle kern.info kernel: [ 1489.100000] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB3
Jan  1 01:37:05 Gargoyle kern.info kernel: [ 1489.110000] cdc_wdm 1-1.4:1.3: cdc-wdm0: USB WDM device
Jan  1 01:37:05 Gargoyle kern.info kernel: [ 1489.120000] qmi_wwan 1-1.4:1.4: Use "cdc_wdm" for QMI interface 1-1.4:1.3
Jan  1 01:37:05 Gargoyle kern.info kernel: [ 1489.120000] qmi_wwan 1-1.4:1.4: wwan0: register 'qmi_wwan' at usb-ehci-platform-1.4, QMI speaking wwan device, 00:a0:c6:00:00:00
Jan  1 01:37:05 Gargoyle kern.info kernel: [ 1489.140000] scsi4 : usb-storage 1-1.4:1.5
Jan  1 01:37:05 Gargoyle kern.info kernel: [ 1489.140000] scsi5 : usb-storage 1-1.4:1.6
Jan  1 01:37:06 Gargoyle kern.notice kernel: [ 1490.140000] scsi 4:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 0
Jan  1 01:37:06 Gargoyle kern.notice kernel: [ 1490.160000] scsi 5:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
Jan  1 01:37:06 Gargoyle kern.notice kernel: [ 1490.180000] sd 5:0:0:0: [sda] Attached SCSI removable disk
Jan  1 01:37:26 Gargoyle user.notice usb-modeswitch: 1-1.4:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:37:27 Gargoyle user.notice usb-modeswitch: 1-1.4:1.1: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:37:27 Gargoyle user.notice usb-modeswitch: 1-1.4:1.2: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:37:28 Gargoyle user.notice usb-modeswitch: 1-1.4:1.3: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:37:28 Gargoyle user.notice usb-modeswitch: 1-1.4:1.4: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:37:28 Gargoyle user.notice usb-modeswitch: 1-1.4:1.5: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:37:29 Gargoyle user.notice usb-modeswitch: 1-1.4:1.6: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jan  1 01:39:01 Gargoyle user.notice /usr/lib/gargoyle/ping_watchdog.sh: WAN Restart
Jan  1 01:39:01 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Success 

64

Odp: NDIS/QMI w Gargoyle (GUI)

uci show network
ls /dev/cdc*

pokaż.

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

65

Odp: NDIS/QMI w Gargoyle (GUI)

Tak to  wygląda:   

 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.lan=interface
network.lan.ifname=eth0
network.lan.type=bridge
network.lan.proto=static
network.lan.netmask=255.255.255.0
network.lan.ipaddr=192.168.3.1
network.lan.dns=192.168.3.1
network.wan=interface
network.wan.ifname=wwan0
network.wan.proto=ndis
network.wan.device=/dev/ttyUSB0
network.wan.apn=internet
network.wan.service=qmi
network.wan.mobile_isp=Polska - Plus LTE
network.@switch[0]=switch
network.@switch[0].name=eth0
network.@switch[0].reset=1
network.@switch[0].enable_vlan=1
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device=eth0
network.@switch_vlan[0].vlan=1
network.@switch_vlan[0].ports=0 1 2 3 4 

  oraz

 /dev/cdc-wdm0

66

Odp: NDIS/QMI w Gargoyle (GUI)

Device masz złe. Ma być właśnie /dev/cdc-wdm0 a nie /dev/ttyUSB0

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

67

Odp: NDIS/QMI w Gargoyle (GUI)

Zmieniłem ale nadal nie łączy

 Jan  1 01:13:27 Gargoyle daemon.info dnsmasq-dhcp[1822]: DHCP, IP range 192.168.3.100 -- 192.168.3.249, lease time 12h
Jan  1 01:13:27 Gargoyle daemon.info dnsmasq[1822]: using local addresses only for domain lan
Jan  1 01:13:27 Gargoyle daemon.info dnsmasq[1822]: reading /tmp/resolv.conf.auto
Jan  1 01:13:27 Gargoyle daemon.warn dnsmasq[1822]: ignoring nameserver 192.168.3.1 - local interface
Jan  1 01:13:27 Gargoyle daemon.info dnsmasq[1822]: using local addresses only for domain lan
Jan  1 01:13:27 Gargoyle daemon.info dnsmasq[1822]: read /etc/hosts - 2 addresses
Jan  1 01:13:27 Gargoyle daemon.info dnsmasq-dhcp[1822]: read /etc/ethers - 0 addresses
Jan  1 01:13:28 Gargoyle user.err syslog: error starting threads: errno 89 (Function not implemented)
Jan  1 01:13:28 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
Jan  1 01:13:28 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/etab for writing
Jan  1 01:13:28 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nfs/.xtab.lock for locking: errno 2 (No such file or directory)
Jan  1 01:13:28 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/xtab for writing
Jan  1 01:13:31 Gargoyle user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Jan  1 01:13:31 Gargoyle user.info sysinit: (Did you specify correct configuration file path?)
Jan  1 01:13:56 Gargoyle user.notice root: vsftpd init: mounted = 0
Jan  1 01:13:56 Gargoyle user.info sysinit: ERROR: No drives attached, no directories to share!
Jan  1 01:18:01 Gargoyle user.notice /usr/lib/gargoyle/ping_watchdog.sh: WAN Restart
Jan  1 01:18:02 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581): uqmi: option `--start-network' requires an argument
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581): Usage: uqmi <options|actions>
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581): Options:
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --single, -s:                     Print output as a single line (for scripts)
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --device=NAME, -d NAME:           Set device name to NAME (required)
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --keep-client-id <name>:          Keep Client ID for service <name>
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):                                     (implies --keep-client-id)
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --release-client-id <name>:       Release Client ID after exiting
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581): 
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581): Services:                           dms, nas, pds, wds, wms
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581): 
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581): Actions:
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --get-versions:                   Get service versions
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --set-client-id <name>,<id>:      Set Client ID for service <name> to <id>
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --get-client-id <name>:           Connect and get Client ID for service <name>
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):                                     (implies --keep-client-id)
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --start-network <apn>:            Start network connection (use with options below)
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):     --auth-type pap|chap|both|none: Use network authentication type
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):     --username <name>:              Use network username
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):     --password <password>:          Use network password
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):     --autconnect:                   Enable automatic connect/reconnect
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --get-data-status:                Get current data access status
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --get-pin-status:                 Get PIN verification status
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --verify-pin1 <pin>:              Verify PIN1
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --verify-pin2 <pin>:              Verify PIN2
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --get-imsi:                       Get International Mobile Subscriber ID
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --reset-dms:                      Reset the DMS service
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --set-device-operating-mode <m>   Set the device operating mode
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):                                     (modes: online, low_power, factory_test, offline
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):                                      reset, shutting_down, persistent_low_power,
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):                                      mode_only_low_power)
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --set-network-modes <modes>:      Set usable network modes (Syntax: <mode1>[,<mode2>,...])
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):                                     Available modes: all, lte, umts, gsm, cdma, td-scdma
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --set-network-preference <mode>:  Set preferred network mode to <mode>
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):                                     Available modes: auto, gsm, wcdma
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --set-network-roaming <mode>:     Set roaming preference:
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):                                     Available modes: any, off, only
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --network-scan:                   Initiate network scan
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --network-register:               Initiate network register
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --get-signal-info:                Get signal strength info
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --get-serving-system:             Get serving system info
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --list-messages:                  List SMS messages
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --get-message <id>:               Get SMS message at index <id>
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --get-raw-message <id>:           Get SMS raw message contents at index <id>
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):   --send-message <data>:            Send SMS message (use options below)
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):     --send-message-smsc <nr>:       SMSC number (required)
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):     --send-message-target <nr>:     Destination number (required)
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581):     --send-message-flash:           Send as Flash SMS
Jan  1 01:18:07 Gargoyle daemon.notice netifd: wan (2581): 
Jan  1 01:21:01 Gargoyle user.notice /usr/lib/gargoyle/ping_watchdog.sh: WAN Restart
Jan  1 01:21:01 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620): uqmi: option `--start-network' requires an argument
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620): Usage: uqmi <options|actions>
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620): Options:
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):   --single, -s:                     Print output as a single line (for scripts)
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):   --device=NAME, -d NAME:           Set device name to NAME (required)
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):   --keep-client-id <name>:          Keep Client ID for service <name>
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):                                     (implies --keep-client-id)
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):   --release-client-id <name>:       Release Client ID after exiting
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620): 
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620): Services:                           dms, nas, pds, wds, wms
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620): 
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620): Actions:
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):   --set-network-preference <mode>:  Set preferred network mode to <mode>
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):                                     Available modes: auto, gsm, wcdma
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):   --set-network-roaming <mode>:     Set roaming preference:
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):                                     Available modes: any, off, only
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):   --network-scan:                   Initiate network scan
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):   --network-register:               Initiate network register
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):   --get-signal-info:                Get signal strength info
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):   --get-serving-system:             Get serving system info
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):   --list-messages:                  List SMS messages
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):   --get-message <id>:               Get SMS message at index <id>
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):   --get-raw-message <id>:           Get SMS raw message contents at index <id>
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):   --send-message <data>:            Send SMS message (use options below)
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):     --send-message-smsc <nr>:       SMSC number (required)
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):     --send-message-target <nr>:     Destination number (required)
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620):     --send-message-flash:           Send as Flash SMS
Jan  1 01:21:06 Gargoyle daemon.notice netifd: wan (2620): 
Jan  1 01:24:01 Gargoyle user.notice /usr/lib/gargoyle/ping_watchdog.sh: WAN Restart
Jan  1 01:24:01 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jan  1 01:24:06 Gargoyle daemon.notice netifd: wan (2659): uqmi: option `--start-network' requires an argument
Jan  1 01:24:06 Gargoyle daemon.notice netifd: wan (2659): Usage: uqmi <options|actions>
Jan  1 01:24:06 Gargoyle daemon.notice netifd: wan (2659): Options:
Jan  1 01:24:06 Gargoyle daemon.notice netifd: wan (2659):   --single, -s:                     Print output as a single line (for scripts)
Jan  1 01:24:06 Gargoyle daemon.notice netifd: wan (2659):   --device=NAME, -d NAME:           Set device name to NAME (required)
Jan  1 01:24:06 Gargoyle daemon.notice netifd: wan (2659):   --keep-client-id <name>:          Keep Client ID for service <name>
Jan  1 01:24:06 Gargoyle daemon.notice netifd: wan (2659):                                     (implies --keep-client-id)
Jan  1 01:24:06 Gargoyle daemon.notice netifd: wan (2659):   --release-client-id <name>:       Release Client ID after exiting
Jan  1 01:24:06 Gargoyle daemon.notice netifd: wan (2659): 
Jan  1 01:24:06 Gargoyle daemon.notice netifd: wan (2659): Services:                           dms, nas, pds, wds, wms
Jan  1 01:24:06 Gargoyle daemon.notice netifd: wan (2659): 
Jan  1 01:24:06 Gargoyle daemon.notice netifd: wan (2659): Actions:
Jan  1 01:24:06 Gargoyle daemon.notice netifd: wan (2659):     --send-message-flash:           Send as Flash SMS
Jan  1 01:24:06 Gargoyle daemon.notice netifd: wan (2659): 
Jan  1 01:27:01 Gargoyle user.notice /usr/lib/gargoyle/ping_watchdog.sh: WAN Restart
Jan  1 01:27:01 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696): uqmi: option `--start-network' requires an argument
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696): Usage: uqmi <options|actions>
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696): Options:
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696):   --single, -s:                     Print output as a single line (for scripts)
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696):   --device=NAME, -d NAME:           Set device name to NAME (required)
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696):   --keep-client-id <name>:          Keep Client ID for service <name>
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696):                                     (implies --keep-client-id)
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696):   --release-client-id <name>:       Release Client ID after exiting
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696): 
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696): Services:                           dms, nas, pds, wds, wms
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696): 
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696): Actions:
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696):   --set-network-roaming <mode>:     Set roaming preference:
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696):                                     Available modes: any, off, only
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696):   --network-scan:                   Initiate network scan
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696):   --network-register:               Initiate network register
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696):   --get-signal-info:                Get signal strength info
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696):   --get-serving-system:             Get serving system info
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696):   --list-messages:                  List SMS messages
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696):   --get-message <id>:               Get SMS message at index <id>
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696):   --get-raw-message <id>:           Get SMS raw message contents at index <id>
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696):   --send-message <data>:            Send SMS message (use options below)
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696):     --send-message-smsc <nr>:       SMSC number (required)
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696):     --send-message-target <nr>:     Destination number (required)
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696):     --send-message-flash:           Send as Flash SMS
Jan  1 01:27:06 Gargoyle daemon.notice netifd: wan (2696): 
Jan  1 01:27:55 Gargoyle daemon.info hostapd: wlan0: STA 00:21:63:99:ff:04 IEEE 802.11: authenticated
Jan  1 01:27:55 Gargoyle daemon.info hostapd: wlan0: STA 00:21:63:99:ff:04 IEEE 802.11: associated (aid 1)
Jan  1 01:27:55 Gargoyle daemon.info hostapd: wlan0: STA 00:21:63:99:ff:04 WPA: pairwise key handshake completed (WPA)
Jan  1 01:27:55 Gargoyle daemon.info hostapd: wlan0: STA 00:21:63:99:ff:04 WPA: group key handshake completed (WPA)
Jan  1 01:27:55 Gargoyle daemon.info dnsmasq-dhcp[1822]: DHCPREQUEST(br-lan) 192.168.3.208 00:21:63:99:ff:04 
Jan  1 01:27:55 Gargoyle daemon.info dnsmasq-dhcp[1822]: DHCPACK(br-lan) 192.168.3.208 00:21:63:99:ff:04 jareq-NC10
Success 

68

Odp: NDIS/QMI w Gargoyle (GUI)

Apnu w konfigu teraz nie masz?

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

69

Odp: NDIS/QMI w Gargoyle (GUI)

Nie ma zakładki wyboru ANP, jest tylko wybór pin i operatora sieci

 Internet / WAN
Połączenie:
Interfejs WAN:
Protokół:
Urządzenie:
Kod PIN: (opcja)
Operator:
Nazwa użytkownika: (opcja)
Hasło: (opcja)
Użyj innego adresu MAC:    

70

Odp: NDIS/QMI w Gargoyle (GUI)

Pokaż mi screenshot. Oraz zawartość /rom/etc/banner i jeszcze raz uci show network

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

71

Odp: NDIS/QMI w Gargoyle (GUI)

Screen to nie robiłem nigdy na tym roboczym netbook ani pod Ubuntu, pod Windows również.

 root@Gargoyle:~# /rom/etc/banner
-ash: /rom/etc/banner: Permission denied
root@Gargoyle:~# rom/etc/banner
-ash: rom/etc/banner: not found
root@Gargoyle:~# /rom/etc/banner
-ash: /rom/etc/banner: Permission denied
root@Gargoyle:~# 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.lan=interface
network.lan.ifname=eth0
network.lan.type=bridge
network.lan.proto=static
network.lan.netmask=255.255.255.0
network.lan.ipaddr=192.168.3.1
network.lan.dns=192.168.3.1
network.wan=interface
network.wan.ifname=wwan0
network.wan.proto=ndis
network.wan.service=qmi
network.wan.mobile_isp=Polska - Plus LTE
network.wan.device=/dev/cdc-wdm0
network.@switch[0]=switch
network.@switch[0].name=eth0
network.@switch[0].reset=1
network.@switch[0].enable_vlan=1
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device=eth0
network.@switch_vlan[0].vlan=1
network.@switch_vlan[0].ports=0 1 2 3 4

72

Odp: NDIS/QMI w Gargoyle (GUI)

cat /rom/etc/banner

Apnu Ci brakuje.

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

73

Odp: NDIS/QMI w Gargoyle (GUI)

Zmień wan na dhcp, zapisz, Teraz zmień znów na 3g/ndis, pojawił się operator, apn, username i password?

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

74

Odp: NDIS/QMI w Gargoyle (GUI)

Działa! Jak się spisuje sprawdzę wieczorem. smile

75

Odp: NDIS/QMI w Gargoyle (GUI)

A teraz więc mi powiedź co przekilikałeś że apnu nie było widać.

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