Dzięki - wszystko działa. Bardzo dobra firma! smile
Dzięki też za uaktualnienie poradnika.
Pozdrawiam

Nikt nie pomoże? W jaki sposób zmienić standardową obsługę WiFi off/on na WPS?

Witam,
Próbowałem włączyć obsługę WPS za pomocą poradnika:
http://eko.one.pl/?p=openwrt-wps
mam jednak problem z konfiguracją przycisków zgodnie z Uwagami (w pliku /etc/config/system). Nie wiem co należy usunąć/zmodyfikować...

Wszystko zainstalowane bez błędów, jednak przy próbie połączenia się z siecią WiFi za pomocą WPS po naciśnięciu przycisku nic się nie dzieje.

Czy mógłbym prosić kolegów o pomoc?
Dzięki
Maciej

4

(3 odpowiedzi, napisanych Oprogramowanie / Software)

No właśnie nie...

Witam wszystkich,
Od kilku dni testuję oprogramowanie OpenWrt na swoim TL-MR3020 razem z modemem E3131 i działa świetnie!
Mam jednak jedno pytanie, czy można w jakiś sposób zapisywać statystyki zużycia pasma, podziału?
Mam podmontowaną kartę SD (extroot według: http://eko.one.pl/forum/viewtopic.php?pid=21214#p21214) i zastanawiam się czy można skonfigurować system tak, aby po restarcie zapamiętywał historyczne dane.

Będę wdzięczny za pomoc.

6

(24 odpowiedzi, napisanych Oprogramowanie / Software)

ok. czy w jakiś sposób mogę zmusić w takim razie ten modem do pokazywania informacji ???

7

(24 odpowiedzi, napisanych Oprogramowanie / Software)

ok, ale nie mam żadnego innego do wyboru...

8

(24 odpowiedzi, napisanych Oprogramowanie / Software)

Hej, "nic" to znaczy, cze po wykonaniu 3ginfo dostaję:
comgt 14:25:38 -> -- Error Report --
comgt 14:25:38 -> ---->                   ^
comgt 14:25:38 -> Error @152, line 10, Could not write to COM device. (1)

Błąd kodu PIN

a po wykonaniu 3ginfo-test:

comgt 14:26:20 -> -- Error Report --
comgt 14:26:20 -> ---->                     ^
comgt 14:26:20 -> Error @103, line 7, Could not write to COM device. (1)


---------------------------------------------------------------
/dev/tty      /dev/ttyS1    /dev/ttyS12   /dev/ttyS15   /dev/ttyS4    /dev/ttyS7    /dev/ttyUSB0
/dev/ttyATH0  /dev/ttyS10   /dev/ttyS13   /dev/ttyS2    /dev/ttyS5    /dev/ttyS8
/dev/ttyS0    /dev/ttyS11   /dev/ttyS14   /dev/ttyS3    /dev/ttyS6    /dev/ttyS9
---------------------------------------------------------------

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  1/800 us ( 0%), #Int=  1, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.03
S:  Manufacturer=Linux 3.3.8 ehci_hcd
S:  Product=Generic Platform EHCI Controller
S:  SerialNumber=ehci-platform
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  9 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=12d1 ProdID=151d Rev= 1.02
S:  Manufacturer=HUAWEI
S:  Product=HUAWEI Mobile
C:* #Ifs= 5 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=01 Driver=option
E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:  If#= 1 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=02 Prot=16 Driver=cdc_ncm
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
I:* If#= 1 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=16 Driver=cdc_ncm
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=03 Driver=(none)
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=02 Driver=(none)
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
---------------------------------------------------------------
3ginfo.@3ginfo[0]=3ginfo
3ginfo.@3ginfo[0].http_port=81
3ginfo.@3ginfo[0].qos=0
3ginfo.@3ginfo[0].language=pl
3ginfo.@3ginfo[0].device=/dev/ttyUSB0
3ginfo.@3ginfo[0].script=ofnk


Modem wyjąłem z usb aby mieć "świeże" logi.

Pozdrawiam

9

(24 odpowiedzi, napisanych Oprogramowanie / Software)

Hej,
ja mam ustawione na auto (4g/3g/2g zależy od modemu) i nic...
poniżej logi:

Mar 16 14:08:29 Gargoyle kern.info kernel: [93041.000000] usb 1-1: USB disconnect, device number 7
Mar 16 14:08:29 Gargoyle daemon.notice pppd[13072]: Modem hangup
Mar 16 14:08:29 Gargoyle daemon.info pppd[13072]: Connect time 309.0 minutes.
Mar 16 14:08:29 Gargoyle daemon.info pppd[13072]: Sent 51218215 bytes, received 305455877 bytes.
Mar 16 14:08:29 Gargoyle daemon.notice pppd[13072]: Connection terminated.
Mar 16 14:08:29 Gargoyle kern.err kernel: [93041.000000] option: option_instat_callback: error -143
Mar 16 14:08:29 Gargoyle kern.info kernel: [93041.000000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Mar 16 14:08:29 Gargoyle kern.info kernel: [93041.010000] option 1-1:1.0: device disconnected
Mar 16 14:08:29 Gargoyle kern.info kernel: [93041.020000] cdc_ncm 1-1:1.1: wwan0: unregister 'cdc_ncm' usb-ehci-platform-1, Mobile Broadband Network Device
Mar 16 14:08:30 Gargoyle daemon.info pppd[13072]: Terminating on signal 15
Mar 16 14:08:30 Gargoyle daemon.info pppd[13072]: Exit.
Mar 16 14:08:30 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Mar 16 14:09:10 Gargoyle daemon.info dnsmasq[9259]: reading /tmp/resolv.conf.auto
Mar 16 14:09:10 Gargoyle daemon.warn dnsmasq[9259]: ignoring nameserver 192.168.1.1 - local interface
Mar 16 14:09:10 Gargoyle daemon.info dnsmasq[9259]: using local addresses only for domain lan
Mar 16 14:13:45 Gargoyle kern.info kernel: [93356.850000] usb 1-1: new high-speed USB device number 8 using ehci-platform
Mar 16 14:13:45 Gargoyle kern.info kernel: [93357.000000] scsi9 : usb-storage 1-1:1.0
Mar 16 14:13:45 Gargoyle kern.info kernel: [93357.000000] scsi10 : usb-storage 1-1:1.1
Mar 16 14:13:45 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Mar 16 14:13:45 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Selecting /etc/usb_modeswitch.d/12d1:14fe for mode switching
Mar 16 14:13:45 Gargoyle syslog.notice usb_modeswitch: switching device 12d1:14fe on 001/008
Mar 16 14:13:45 Gargoyle kern.info kernel: [93357.210000] usb 1-1: USB disconnect, device number 8
Mar 16 14:13:50 Gargoyle kern.info kernel: [93362.560000] usb 1-1: new high-speed USB device number 9 using ehci-platform
Mar 16 14:13:51 Gargoyle kern.info kernel: [93362.710000] option 1-1:1.0: GSM modem (1-port) converter detected
Mar 16 14:13:51 Gargoyle kern.info kernel: [93362.710000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Mar 16 14:13:51 Gargoyle kern.info kernel: [93362.720000] usb 1-1: MAC-Address: 0x58:0x2c:0x80:0x13:0x92:0x63
Mar 16 14:13:51 Gargoyle kern.info kernel: [93362.730000] cdc_ncm 1-1:1.1: wwan0: register 'cdc_ncm' at usb-ehci-platform-1, Mobile Broadband Network Device, 58:2c:80:13:92:63
Mar 16 14:13:51 Gargoyle kern.info kernel: [93362.740000] scsi11 : usb-storage 1-1:1.4
Mar 16 14:13:52 Gargoyle kern.notice kernel: [93363.740000] scsi 11:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
Mar 16 14:13:52 Gargoyle kern.notice kernel: [93363.750000] sd 11:0:0:0: [sda] Attached SCSI removable disk
Mar 16 14:14:18 Gargoyle user.notice usb-modeswitch: 1-1:1.1: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Mar 16 14:14:19 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Mar 16 14:14:19 Gargoyle user.notice usb-modeswitch: 1-1:1.1: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Mar 16 14:14:19 Gargoyle user.notice usb-modeswitch: 1-1:1.2: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Mar 16 14:14:19 Gargoyle user.notice usb-modeswitch: 1-1:1.3: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Mar 16 14:14:20 Gargoyle user.notice usb-modeswitch: 1-1:1.4: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Mar 16 14:14:20 Gargoyle kern.notice kernel: [93391.670000] sd 11:0:0:0: [sda] 3854336 512-byte logical blocks: (1.97 GB/1.83 GiB)
Mar 16 14:14:20 Gargoyle kern.notice kernel: [93391.680000] sd 11:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Mar 16 14:14:20 Gargoyle kern.info kernel: [93391.690000]  sda: sda1
Mar 16 14:14:21 Gargoyle user.notice fstab: mount: mounting /dev/sda1 on /mnt/sda1 failed: Invalid argument
Mar 16 14:14:23 Gargoyle daemon.notice netifd: wan (31456): Trying to set PIN
Mar 16 14:14:24 Gargoyle daemon.notice netifd: wan (31456): PIN set successfully
Mar 16 14:14:26 Gargoyle daemon.notice pppd[31617]: pppd 2.4.5 started by root, uid 0
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: abort on (BUSY)
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: abort on (NO CARRIER)
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: abort on (ERROR)
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: report (CONNECT)
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: timeout set to 10 seconds
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: send (AT&F^M)
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: expect (OK)
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: AT&F^M^M
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: OK
Mar 16 14:14:27 Gargoyle local2.info chat[31621]:  -- got it
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: send (ATE1^M)
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: expect (OK)
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: ^M
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: ATE1^M^M
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: OK
Mar 16 14:14:27 Gargoyle local2.info chat[31621]:  -- got it
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: send (AT+CGDCONT=1,"IP","internet"^M)
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: timeout set to 30 seconds
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: expect (OK)
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: ^M
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: AT+CGDCONT=1,"IP","internet"^M^M
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: OK
Mar 16 14:14:27 Gargoyle local2.info chat[31621]:  -- got it
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: send (ATD*99***1#^M)
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: expect (CONNECT)
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: ^M
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: ATD*99***1#^M^M
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: CONNECT
Mar 16 14:14:27 Gargoyle local2.info chat[31621]:  -- got it
Mar 16 14:14:27 Gargoyle local2.info chat[31621]: send ( ^M)
Mar 16 14:14:27 Gargoyle daemon.info pppd[31617]: Serial connection established.
Mar 16 14:14:27 Gargoyle daemon.info pppd[31617]: Using interface 3g-wan
Mar 16 14:14:27 Gargoyle daemon.notice pppd[31617]: Connect: 3g-wan <--> /dev/ttyUSB0
Mar 16 14:14:28 Gargoyle daemon.info pppd[31617]: CHAP authentication succeeded: Welcome!!
Mar 16 14:14:28 Gargoyle daemon.notice pppd[31617]: CHAP authentication succeeded
Mar 16 14:14:31 Gargoyle daemon.warn pppd[31617]: Could not determine remote IP address: defaulting to 10.64.64.64
Mar 16 14:14:31 Gargoyle daemon.notice pppd[31617]: local  IP address 31.60.102.117
Mar 16 14:14:31 Gargoyle daemon.notice pppd[31617]: remote IP address 10.64.64.64
Mar 16 14:14:31 Gargoyle daemon.notice pppd[31617]: primary   DNS address 217.116.104.104
Mar 16 14:14:31 Gargoyle daemon.notice pppd[31617]: secondary DNS address 217.116.100.100
Mar 16 14:14:31 Gargoyle daemon.notice netifd: Interface 'wan' is now up
Mar 16 14:14:32 Gargoyle user.notice firewall: Reloading firewall due to ifup of wan (3g-wan)
Mar 16 14:14:33 Gargoyle daemon.info dnsmasq[9259]: reading /tmp/resolv.conf.auto
Mar 16 14:14:33 Gargoyle daemon.info dnsmasq[9259]: using nameserver 217.116.100.100#53
Mar 16 14:14:33 Gargoyle daemon.info dnsmasq[9259]: using nameserver 217.116.104.104#53
Mar 16 14:14:33 Gargoyle daemon.warn dnsmasq[9259]: ignoring nameserver 192.168.1.1 - local interface
Mar 16 14:14:33 Gargoyle daemon.info dnsmasq[9259]: using local addresses only for domain lan
Mar 16 14:14:37 Gargoyle daemon.info dnsmasq-dhcp[9259]: DHCPINFORM(br-lan) 192.168.1.188 18:03:73:7b:b7:54


p.s. podeślij link do softu jaki wgrałeś do modemu i jak to zrobić jeśli możesz.

Pozdrawiam

10

(24 odpowiedzi, napisanych Oprogramowanie / Software)

Cześć,
Mam dokładnie taki sam modem jak Ty ratman_rush... Jak udało Ci się zmusić go do pokazywania 3ginfo? Mi wywala takie same komunikaty jak Tobie i też mam tylko jeden port:
root@Gargoyle:~# ls -al /dev/ttyUSB*
crw-rw-rw-    1 root     root      188,   0 Mar 15 13:02 /dev/ttyUSB0

Bedę wdzięczny za odpowiedź.

Pozdrawiam