Nie udało sie z autossh ponieważ nie posiada opcji -o .
Użyłem tunelu ssh w/g poradnika Cezarego ale w sieci play myślę, że innych 3g również trzeba dodać -K ja ustawiłem na -K30
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Posty przez bhb
Nie udało sie z autossh ponieważ nie posiada opcji -o .
Użyłem tunelu ssh w/g poradnika Cezarego ale w sieci play myślę, że innych 3g również trzeba dodać -K ja ustawiłem na -K30
odpowiedni sysupgrade wgraj
http://eko.one.pl/forum/viewtopic.php?pid=2843#p2843
bo informatyk ze mnie słaby lepiej kilikam myszką.
dlatego wgraj Gargoyle
Myslę że przy obecnych cenach to lepiej rejestrator i kamera po kabelku.
Dziś dostałem się do kamery i jest sprawna. Wgrałem nowe oprogramowanie do routera i na razie kilka godzin działa.
Problem z utrzymaniem i nawiązywaniem połączenia. Sieć klienta to PLAY (sygnał 74%) sieć ze stałym ip to sieć wifi. Załączam logi. Nie wiem czy to wina play czy dostawcy internetu przez wifi.
May 25 15:45:52 bhb1 user.err autossh[3487]: error polling to accept read connection: Interrupted system call
May 25 15:45:52 bhb1 user.info autossh[3487]: port down, restarting ssh
May 25 15:45:52 bhb1 user.info autossh[3487]: starting ssh (count 8)
May 25 15:45:52 bhb1 user.info autossh[3487]: ssh child pid is 5226
May 25 15:46:02 bhb1 user.info autossh[5243]: starting ssh (count 1)
May 25 15:46:02 bhb1 user.info autossh[5243]: ssh child pid is 5244
May 25 15:46:17 bhb1 authpriv.info dropbear[5176]: Exit (root): Exited normally
May 25 15:56:17 bhb1 user.info autossh[5243]: timeout polling to accept read connection
May 25 15:56:17 bhb1 user.info autossh[5243]: port down, restarting ssh
May 25 15:56:17 bhb1 user.info autossh[5243]: starting ssh (count 2)
May 25 15:56:17 bhb1 user.info autossh[5243]: ssh child pid is 5265
May 25 16:06:32 bhb1 user.info autossh[5243]: timeout polling to accept read connection
May 25 16:06:32 bhb1 user.info autossh[5243]: port down, restarting ssh
May 25 16:06:32 bhb1 user.info autossh[5243]: starting ssh (count 3)
May 25 16:06:32 bhb1 user.info autossh[5243]: ssh child pid is 5318
May 25 16:16:32 bhb1 user.info autossh[5243]: 127.0.0.1:20000: Connection refused
May 25 16:16:32 bhb1 user.info autossh[5243]: port down, restarting ssh
May 25 16:16:32 bhb1 user.info autossh[5243]: starting ssh (count 4)
May 25 16:16:32 bhb1 user.info autossh[5243]: ssh child pid is 5339
May 25 16:26:47 bhb1 user.info autossh[5243]: timeout polling to accept read connection
May 25 16:26:47 bhb1 user.info autossh[5243]: port down, restarting ssh
May 25 16:26:47 bhb1 user.info autossh[5243]: starting ssh (count 5)
May 25 16:26:47 bhb1 user.info autossh[5243]: ssh child pid is 5360
May 25 16:37:02 bhb1 user.info autossh[5243]: timeout polling to accept read connection
May 25 16:37:02 bhb1 user.info autossh[5243]: port down, restarting ssh
May 25 16:37:02 bhb1 user.info autossh[5243]: starting ssh (count 6)
May 25 16:37:02 bhb1 user.info autossh[5243]: ssh child pid is 5387
May 25 16:47:17 bhb1 user.info autossh[5243]: timeout polling to accept read connection
May 25 16:47:17 bhb1 user.info autossh[5243]: port down, restarting ssh
May 25 16:47:17 bhb1 user.info autossh[5243]: starting ssh (count 7)
May 25 16:47:17 bhb1 user.info autossh[5243]: ssh child pid is 5408
May 25 16:57:32 bhb1 user.info autossh[5243]: timeout polling to accept read connection
May 25 16:57:32 bhb1 user.info autossh[5243]: port down, restarting ssh
May 25 16:57:32 bhb1 user.info autossh[5243]: starting ssh (count 8)
May 25 16:57:32 bhb1 user.info autossh[5243]: ssh child pid is 5435
May 25 17:17:49 bhb1 user.info autossh[5243]: timeout polling to accept read connection
May 25 17:17:49 bhb1 user.info autossh[5243]: port down, restarting ssh
May 25 17:17:49 bhb1 user.info autossh[5243]: starting ssh (count 9)
May 25 17:17:49 bhb1 user.info autossh[5243]: ssh child pid is 5478
May 25 17:28:04 bhb1 user.info autossh[5243]: timeout polling to accept read connection
May 25 17:28:04 bhb1 user.info autossh[5243]: port down, restarting ssh
May 25 17:28:04 bhb1 user.info autossh[5243]: starting ssh (count 10)
May 25 17:28:04 bhb1 user.info autossh[5243]: ssh child pid is 5505
May 25 17:38:19 bhb1 user.info autossh[5243]: timeout polling to accept read connection
May 25 17:38:19 bhb1 user.info autossh[5243]: port down, restarting ssh
May 25 17:38:19 bhb1 user.info autossh[5243]: starting ssh (count 11)
May 25 17:38:19 bhb1 user.info autossh[5243]: ssh child pid is 5526
May 25 17:42:17 bhb1 authpriv.info dropbear[5541]: Child connection from 192.168.22.11:57050
May 25 17:42:22 bhb1 authpriv.notice dropbear[5541]: Password auth succeeded for 'root' from 192.168.22.11:57050
May 25 17:42:52 bhb1 user.info autossh[5243]: received signal to exit (15)
May 25 17:42:57 bhb1 user.info autossh[5595]: starting ssh (count 1)
May 25 17:42:57 bhb1 user.info autossh[5595]: ssh child pid is 5596
May 25 17:43:00 bhb1 authpriv.info dropbear[5541]: Exit (root): Exited normally
May 25 17:46:34 bhb1 authpriv.info dropbear[5603]: Child connection from 192.168.22.11:57051
May 25 17:46:40 bhb1 authpriv.notice dropbear[5603]: Password auth succeeded for 'root' from 192.168.22.11:57051
May 25 17:46:45 bhb1 user.info autossh[5595]: received signal to exit (15)
May 25 17:46:47 bhb1 user.info autossh[5657]: starting ssh (count 1)
May 25 17:46:47 bhb1 user.info autossh[5657]: ssh child pid is 5658
May 25 17:47:01 bhb1 authpriv.info dropbear[5603]: Exit (root): Exited normally
May 25 17:48:03 bhb1 authpriv.info dropbear[5666]: Child connection from 127.0.0.1:57478
May 25 17:48:09 bhb1 authpriv.notice dropbear[5666]: Password auth succeeded for 'root' from 127.0.0.1:57478
May 25 18:07:04 bhb1 user.info autossh[5657]: timeout polling to accept read connection
May 25 18:07:04 bhb1 user.info autossh[5657]: port down, restarting ssh
May 25 18:07:04 bhb1 authpriv.info dropbear[5666]: Exit (root): Exited normally
May 25 18:07:04 bhb1 user.info autossh[5657]: starting ssh (count 2)
May 25 18:07:04 bhb1 user.info autossh[5657]: ssh child pid is 5759
May 25 18:13:16 bhb1 authpriv.info dropbear[5774]: Child connection from 192.168.22.11:57052
May 25 18:13:21 bhb1 authpriv.notice dropbear[5774]: Password auth succeeded for 'root' from 192.168.22.11:57052
May 25 18:13:32 bhb1 user.info autossh[5657]: received signal to exit (15)
May 25 18:13:37 bhb1 user.info autossh[5828]: starting ssh (count 1)
May 25 18:13:37 bhb1 user.info autossh[5828]: ssh child pid is 5829
May 25 18:13:48 bhb1 authpriv.info dropbear[5774]: Exit (root): Exited normally
May 25 18:15:22 bhb1 authpriv.info dropbear[5836]: Child connection from 192.168.22.11:57053
May 25 18:15:27 bhb1 authpriv.notice dropbear[5836]: Password auth succeeded for 'root' from 192.168.22.11:57053
May 25 18:16:40 bhb1 authpriv.info dropbear[5836]: Exit (root): Exited normally
May 25 18:23:52 bhb1 user.info autossh[5828]: timeout polling to accept read connection
May 25 18:23:52 bhb1 user.info autossh[5828]: port down, restarting ssh
May 25 18:23:52 bhb1 user.info autossh[5828]: starting ssh (count 2)
May 25 18:23:52 bhb1 user.info autossh[5828]: ssh child pid is 5899
May 25 18:34:07 bhb1 user.info autossh[5828]: timeout polling to accept read connection
May 25 18:34:07 bhb1 user.info autossh[5828]: port down, restarting ssh
May 25 18:34:07 bhb1 user.info autossh[5828]: starting ssh (count 3)
May 25 18:34:07 bhb1 user.info autossh[5828]: ssh child pid is 5926
May 25 18:41:39 bhb1 authpriv.info dropbear[5941]: Child connection from 127.0.0.1:57489
May 25 18:41:46 bhb1 authpriv.notice dropbear[5941]: Password auth succeeded for 'root' from 127.0.0.1:57489Może ktoś ma autossh w play i czy są podobne objawy?
Ups w katalogu root miałem plik autossh. ![]()
Wykonuję poprawnie opkg update ; opkg install autossh. Dodam, że na wr-1043 i na wr-842 instalacja działa poprawnie.
Sciągnę i zobacze czy lokalnnie instaluje sie poprawnie.
Po pobraniu do temp instaluje się poprawnie.
Jak w temacie nie instaluje się na wr-710 gg-1.6.1.1
ERROR: autossh is not a valid package file, cannot installNie mam pojęcia jak to zdiagnozować. Po niedzieli zamienię kamery miejscami.
A jak zrobić skrypt aby czytał z logread a potem zrobił restart usb i restart motion i kasował zawartość logread ?
Nie wiem jak resetować logread . Tymczasowo to by rozwiązało sprawę.
Problemów ciąg dalszy. Mam dwa identyczne zestawy wr-842 v 2 + c270. Jeden działa poprnie roter jest trybie AP drugi w trybie klienta ale to chyba nie ma znaczenia. Na roterze w trybie klienta co jakiś czs rozłącza się na chwilkę usb potem motion nie wczytuje właściwej konfiguracji. Jak jest przyczyna padania usb nie wiem ale jak zrestartować automatycznie motion po chwilowyn zaniku video0 ?
May 23 18:03:10 kamera-2 kern.info kernel: [ 4206.350000] usb 1-1: USB disconnect, device number 2
May 23 18:03:10 kamera-2 user.err syslog: [1] [ERR] [VID] v4l2_next: VIDIOC_QBUF: No such device
May 23 18:03:10 kamera-2 user.err syslog: [1] [ERR] [ALL] motion_loop: Video device fatal error - Closing video device
May 23 18:03:10 kamera-2 user.notice syslog: [1] [NTC] [VID] vid_close: Closing video device /dev/video0
May 23 18:03:10 kamera-2 kern.info kernel: [ 4206.730000] usb 1-1: new high-speed USB device number 3 using ehci-platform
May 23 18:03:10 kamera-2 kern.info kernel: [ 4207.100000] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0825)
May 23 18:03:10 kamera-2 kern.info kernel: [ 4207.120000] input: UVC Camera (046d:0825) as /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/input/input1
May 23 18:03:20 kamera-2 user.warn syslog: [1] [WRN] [ALL] motion_loop: Retrying until successful connection with camera
May 23 18:03:20 kamera-2 user.notice syslog: [1] [NTC] [VID] vid_v4lx_start: Using videodevice /dev/video0 and input -1
May 23 18:03:20 kamera-2 user.notice syslog: [1] [NTC] [VID] v4l2_get_capability: ------------------------ cap.driver: "uvcvideo" cap.card: "UVC Camera (046d:0825)" cap.bus_info: "usb-ehci-platform-1" cap.capabilities=0x04000001 ------------------------
May 23 18:03:20 kamera-2 user.notice syslog: [1] [NTC] [VID] v4l2_get_capability: - VIDEO_CAPTURE
May 23 18:03:20 kamera-2 user.notice syslog: [1] [NTC] [VID] v4l2_get_capability: - STREAMING
May 23 18:03:20 kamera-2 user.notice syslog: [1] [NTC] [VID] v4l2_select_input: name = "Camera 1", type 0x00000002, status 00000000
May 23 18:03:20 kamera-2 user.notice syslog: [1] [NTC] [VID] v4l2_select_input: - CAMERA
May 23 18:03:20 kamera-2 user.warn syslog: [1] [WRN] [VID] v4l2_select_input: Device doesn't support VIDIOC_G_STD
May 23 18:03:20 kamera-2 user.notice syslog: [1] [NTC] [VID] v4l2_do_set_pix_format: Testing palette YUYV (432x240)
May 23 18:03:20 kamera-2 user.notice syslog: [1] [NTC] [VID] v4l2_do_set_pix_format: Using palette YUYV (432x240) bytesperlines 864 sizeimage 207360 colorspace 00000008
May 23 18:03:20 kamera-2 user.notice syslog: [1] [NTC] [VID] v4l2_scan_controls: found control 0x00980900, "Brightness", range 0,255
May 23 18:03:20 kamera-2 user.notice syslog: [1] [NTC] [VID] v4l2_scan_controls: "Brightness", default 128, current 128
May 23 18:03:20 kamera-2 user.notice syslog: [1] [NTC] [VID] v4l2_scan_controls: found control 0x00980901, "Contrast", range 0,255
May 23 18:03:20 kamera-2 user.notice syslog: [1] [NTC] [VID] v4l2_scan_controls: "Contrast", default 32, current 32
May 23 18:03:20 kamera-2 user.notice syslog: [1] [NTC] [VID] v4l2_scan_controls: found control 0x00980902, "Saturation", range 0,255
May 23 18:03:20 kamera-2 user.notice syslog: [1] [NTC] [VID] v4l2_scan_controls: "Saturation", default 32, current 32
May 23 18:03:20 kamera-2 user.notice syslog: [1] [NTC] [VID] v4l2_scan_controls: found control 0x00980913, "Gain", range 0,255
May 23 18:03:20 kamera-2 user.notice syslog: [1] [NTC] [VID] v4l2_scan_controls: "Gain", default 64, current 131
May 23 18:03:20 kamera-2 user.notice syslog: [1] [NTC] [VID] vid_v4lx_start: Using V4L2vi /etc/usb_modeswitch.d/12d1:15ca
zanim zapytasz http://eko.one.pl/?p=vi
3,5 cala ? Chyba będzie trwalszy.
@pepe2k Zgadzam się z Tobą.
Ja zrobił bym ext4 i podłączył zasilanie do dysku.
Zarządzanie energią wifi ? Odpal sobie jakiegoś linuxa live cd i potestuj.
Zrób wszystkie dyski na uuid.
No tak ale czy na kablu z wyłączonym radiem ? Bo może zakłócenia wifi ubijają roter. Miałem taki przypadek wprawdzie na 5GHz, że inne radio tak zakłócało i nie mogłem się dostać nawet po lan bez restartu.
No właśnie Cezary tracisz cenny czas na pisanie poradników a mógłbyś leżeć na Bahama.
Zrób test po wifi tylko żeby laptopy miały widoczność optyczną z roterem i nie utorrent tylko ftp. Moim zdaniem słaby zasięg inne sieci wifi i duża ilość połączeń zbija roterek.
Chyba chodzi o /etc/init.d/bwmon_gargoyle stop a potem disable
Partycje dane podziel na dwie extroot (powiedzmy 500MB) reszta własnie na dane. Czyli swap extrot dane.
http://eko.one.pl/?p=openwrt-externalro … waniedysku
Jak podzieliłeś dysk ?
@remolmar:
Musisz wydzielic oddzielna partycje w tym celu-
http://eko.one.pl/?p=openwrt-externalro … waniedysku
podziel jak Ci się podoba.
Sprawdź ustawienie CDMA/3G/LTE
eko.one.pl → Posty przez bhb
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc