1 (edytowany przez r_afaello 2014-10-05 09:40:50)

Temat: TL-3020 - zawiesza się

Witam.
Zrobiłem kiedyś stację meteo w naszej blokowej kotłowni DS18b20 na każdym obiegu podpięte do routera który czerpie net od pobliskiego wifi. Pracuje tam gargulec i extroot na pendraku.
Od długiego czasu nie zaglądałem do niego (tzn nie logowałem się) bo wszystko było ok - wyniki które przesyła do mojego serwera mysql codziennie co 10 minut przychodziły bez problemów.
Przed wczoraj zaczął się sezon grzewczy i zaczęły się problemy - zbiegły się z wizytą człowieka w kotłowni który odpalił sterownik pieca. Może coś szarpnął ruszył itp.
Odczyty przestały przychodzić.
Logowanie zdalne przez  putty nie udało się.
Poszedłem - lampki świeciły jak trzeba.
Podłączam się pod wifi - nie udało sie.
Nie miałem kabla więc odłączyłem zasilanie, połączyłem i poszedłem po kabel dając mu czas na restart.
Podłączam kablem - wszystko działa, wifi też. Odczyty temperatury robi i przesyła je dalej.
Działa jakby nigdy nic.
To była sobota rano.
Dzisiaj sprawdzam i o statni odczyt jak trafił do mnie to z wczoraj z 21:20 - czyli cos sie znowu zwiesiło.



Zalogowanie przez stronkę też nie daje efektu - ładuję sie tylko górny pasek (pewnie z pamięci przeglądarki) - dalej kręci się "klepsydra"  - nie idzie dalej.
Loguję się zdalnie (putty) - i dostałem taki screen

BusyBox v1.19.4 (2014-05-24 20:34:56 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

cat: read error: Input/output error
 | Machine: TP-Link TL-MR3020 v1                                |
 | Uptime: 0d, 23:16:47                                         |
 | Load: 4.44 4.30 4.20                                         |
 | Flash:                                                       |
 | Memory: total: 28.5MB, free: 6.4MB, used: 77%                |
 | WAN: 192.168.1.100, proto: dhcp                              |
 | LAN: 192.168.2.100                                           |

2

Odp: TL-3020 - zawiesza się

Extroot ci poleciał? Load duży pokazuje. Odłącz, sprawdź system plików, podłącz ponownie.

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

3

Odp: TL-3020 - zawiesza się

Właśnie jestem w kotlowni.
wifi nadaje sygnał, podłączyć sie nieda,
Po kablu - czeka na adres bez konca. Przypisałem dla laptopa recznie, odpaliłem putty i ekran jak wyzej z konsoli.
Wyłączyłem zasilanie, włączyłem i wszystko zagadało jak trzeba.
Po restarcie zrobiłem zrzut dmesg do pliku.
Miałem ustawione takze logowanie do pliku.
@ pliki logów + dmesg po restarcie w linku
https://onedrive.live.com/redir?resid=D … 00D1%21120

4

Odp: TL-3020 - zawiesza się

Coś brzydkiego się dzieje, zobacz że masz zakłócenia na usb i interfejs resetuje się.

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

5

Odp: TL-3020 - zawiesza się

To od czego zaczac poszukiwania?
Układ wygląda tak. Router > aktywny hub usb a z niego 1- usb to pendrak a 2- to wyjscie na konwerter 1-wire-usb)
Ps. gdzie w logach znalazleś tą informacje że to usb ma zakłucenia i sie resetuje?

6

Odp: TL-3020 - zawiesza się

[  173.730000] hub 1-1:1.0: port 3 disabled by hub (EMI?), re-enabling...
[  173.740000] usb 1-1.3: USB disconnect, device number 5

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

7 (edytowany przez r_afaello 2014-10-05 10:53:14)

Odp: TL-3020 - zawiesza się

Rozumiem. I tak wielokrotnie.
Na razie zmieniłem port dla konwertera 1-wire.
Odpaliłem odczyty temperatur i w logach "USB disconnect, device number .." puki co nie wystąpiło.

Ps. czy z tych logów mozna wywnioskować czy to sam port usb w routerze, hubie czy moze konwerter szwankuje?

8

Odp: TL-3020 - zawiesza się

Masz tam jakąś pompę?

9 (edytowany przez r_afaello 2014-10-05 14:36:57)

Odp: TL-3020 - zawiesza się

Nie wiem za bardzo co przypuszczasz, może jakieś zakłócenia ale powiem ci że w tej konfiguracji pracowało cały czas (jak już przebrnąłem przez początkowe trudy montażowe).
Wygląda to mniej więcej tak.
Sterownik na ścianie w skrzynce metalowej. Steruje on piecem (CO i CW). Na tej skrzynce lerzy mój router, hub i adapter 1-wire.
Sterownik steruje min. 4 pompami (3 obiegi CO i 1 CW).
Na rurach przy samych pompach (moze ze 20cm wyżej) są moje czujniki.

Sterownik działa cały czas  także poza sezonem grzewczym ze względu na ciepła wodę. Jedna pompa też.

PS . właśnie sprawdziłem ostatni odczyt mam z 13:00 czyli od godziny stoi :-(
Poszedłem do kotłowni.
Teraz nawet po kablu n ie udało mi się połączyć bo dostałem odmowę dostepu na moje hasło roota (sprawdziłem też hasło gargoyle gdyby sie zresetowało).
Zabrałem sprzęt do domu.
Będę wdzięczny za jakieś porady.
NA razie sprawdzę w ten sposób. Uruchamiam całosc w domu (oprócz czujek DS). Jak padnie:
- odłączę sam konwerter,
jak padnie:
- odłączę huba a pendrive wepnę bezposrednio

10

Odp: TL-3020 - zawiesza się

r_afaello napisał/a:

Zabrałem sprzęt do domu.
Będę wdzięczny za jakieś porady.

1. Wymień HUBa, możliwe że po prostu mu się padło.
2. Jeżeli w domu nie masz problemów z tym zestawem, to ja bym pomyślał nad wymianą zasilania dla HUBa i routera.
3. Zrezygnuj z extroota na rzecz większej kości FLASH.

11

Odp: TL-3020 - zawiesza się

Dzięki za podpowiedź.
Odnośnie testów domowych to trwają z tym ze nie jestem pewien czy taki test coś powie.
Chodzi mi o to, że system sobie pracuje - bez dostepu do netu, cron wykonuje polecenie co 10 minut tak jak orginalnie (nic nie zmieniałem) z tym ze żadnych odpowiedzi nie ma (no bo czujników nie wymontowywałem i pracuje na sucho) więc nie wiem na ile "katuje" to sam interfejs USB.
Oryginalnie to odczytuje i zapisuje do lokalnej bazy - czyli na pena z extroot (to wrazie wysypania netu żeby zapisy nie znikneły) oraz wysyła je przez net.

12

Odp: TL-3020 - zawiesza się

Ja bym zmienił koncepcję i całkowicie zrezygnował z extroota, który po prostu bywa problemowy.
Jeżeli masz tam zasilanie awaryjne, to możesz dane pchać do RAM w razie braku dostępu do sieci.

13

Odp: TL-3020 - zawiesza się

OK. Odnośnie eliminacji extroota sprawa jasna - po weekendzie wysyłam.
Ale między czasie testuję bo czuję że moze jeszcze być problem z samym konwerterem.

W domu sprzęt podlączony bez czujek:
router>hub aktywny>konwerter - chodził 2 dni - brak wpisów o rozłączaniu (cron wykonywał skrypt   planowo)
odłączyłem zasilanie od huba i chodził kolejny dzień - brak błędów

Dla sprawdzenia wpływu zasilania i wpływy włączających się pomp i pieca (chociaż w poprzedni sezonie grzewczym działało)
zniosłem zestaw zpowrotem do kotłowni.

Dalej bez podłączania czujek. Następnego dnia sprawdzam logi - brak wpisów o rozłączeniu USB
Przed chwilą podłączyłem tylko jeden DS18B20, wyczyściłem plik logów i wróciłem do domu
Sprawdzam i
w logach pojawiły się wpisy (logi przefiltrowane )

root@Gargoyle:~# cat /mnt/logi.log | grep discon
Oct 10 19:03:47 kernel: [ 9103.290000] usb 1-1.1: USB disconnect, device number 3
Oct 10 19:03:47 kernel: [ 9103.290000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:03:47 kernel: [ 9103.300000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:39:31 kernel: [11247.300000] usb 1-1.1: USB disconnect, device number 5
Oct 10 19:39:31 kernel: [11247.310000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:39:31 kernel: [11247.310000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:39:41 kernel: [11257.290000] usb 1-1.1: USB disconnect, device number 6
Oct 10 19:39:41 kernel: [11257.290000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:39:41 kernel: [11257.300000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:39:51 kernel: [11267.270000] usb 1-1.1: USB disconnect, device number 7
Oct 10 19:39:51 kernel: [11267.270000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:39:51 kernel: [11267.280000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:42:11 kernel: [11407.300000] usb 1-1.1: USB disconnect, device number 8
Oct 10 19:42:11 kernel: [11407.310000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:42:11 kernel: [11407.320000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:42:31 kernel: [11427.270000] usb 1-1.1: USB disconnect, device number 9
Oct 10 19:42:31 kernel: [11427.280000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:42:31 kernel: [11427.280000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:42:41 kernel: [11437.250000] usb 1-1.1: USB disconnect, device number 10
Oct 10 19:42:41 kernel: [11437.260000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:42:41 kernel: [11437.270000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:42:51 kernel: [11447.240000] usb 1-1.1: USB disconnect, device number 11
Oct 10 19:42:51 kernel: [11447.240000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:42:51 kernel: [11447.250000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:43:01 kernel: [11457.220000] usb 1-1.1: USB disconnect, device number 12
Oct 10 19:43:01 kernel: [11457.230000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:43:01 kernel: [11457.240000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:43:21 kernel: [11477.190000] usb 1-1.1: USB disconnect, device number 13
Oct 10 19:43:21 kernel: [11477.200000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:43:21 kernel: [11477.200000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:43:50 kernel: [11506.370000] usb 1-1.1: USB disconnect, device number 14
Oct 10 19:43:50 kernel: [11506.380000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:43:50 kernel: [11506.390000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:43:51 kernel: [11507.400000] usb 1-1.1: USB disconnect, device number 15
Oct 10 19:43:51 kernel: [11507.400000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:43:51 kernel: [11507.410000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:44:01 kernel: [11517.130000] usb 1-1.1: USB disconnect, device number 16
Oct 10 19:44:01 kernel: [11517.130000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:44:01 kernel: [11517.140000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:44:21 kernel: [11537.350000] usb 1-1.1: USB disconnect, device number 17
Oct 10 19:44:21 kernel: [11537.360000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:44:21 kernel: [11537.370000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:44:31 kernel: [11547.330000] usb 1-1.1: USB disconnect, device number 18
Oct 10 19:44:31 kernel: [11547.340000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:44:31 kernel: [11547.350000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:44:41 kernel: [11557.320000] usb 1-1.1: USB disconnect, device number 19
Oct 10 19:44:41 kernel: [11557.320000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:44:41 kernel: [11557.330000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:46:31 kernel: [11667.140000] usb 1-1.1: USB disconnect, device number 20
Oct 10 19:46:31 kernel: [11667.150000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:46:31 kernel: [11667.160000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:46:41 kernel: [11677.380000] usb 1-1.1: USB disconnect, device number 21
Oct 10 19:46:41 kernel: [11677.390000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:46:41 kernel: [11677.400000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:46:51 kernel: [11687.370000] usb 1-1.1: USB disconnect, device number 22
Oct 10 19:46:51 kernel: [11687.370000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:46:51 kernel: [11687.380000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:47:01 kernel: [11697.350000] usb 1-1.1: USB disconnect, device number 23
Oct 10 19:47:01 kernel: [11697.360000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:47:01 kernel: [11697.360000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:47:11 kernel: [11707.330000] usb 1-1.1: USB disconnect, device number 24
Oct 10 19:47:11 kernel: [11707.340000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:47:11 kernel: [11707.350000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:47:21 kernel: [11717.320000] usb 1-1.1: USB disconnect, device number 25
Oct 10 19:47:21 kernel: [11717.320000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:47:21 kernel: [11717.330000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:47:41 kernel: [11737.290000] usb 1-1.1: USB disconnect, device number 26
Oct 10 19:47:41 kernel: [11737.290000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:47:41 kernel: [11737.300000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:47:52 kernel: [11748.300000] usb 1-1.1: USB disconnect, device number 27
Oct 10 19:47:52 kernel: [11748.300000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:47:52 kernel: [11748.310000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:48:00 kernel: [11756.230000] usb 1-1.1: USB disconnect, device number 28
Oct 10 19:48:00 kernel: [11756.240000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:48:00 kernel: [11756.240000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:48:02 kernel: [11758.280000] usb 1-1.1: USB disconnect, device number 29
Oct 10 19:48:02 kernel: [11758.280000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:48:02 kernel: [11758.290000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:48:12 kernel: [11768.260000] usb 1-1.1: USB disconnect, device number 30
Oct 10 19:48:12 kernel: [11768.270000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:48:12 kernel: [11768.280000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:48:22 kernel: [11778.250000] usb 1-1.1: USB disconnect, device number 31
Oct 10 19:48:22 kernel: [11778.250000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:48:22 kernel: [11778.260000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:48:32 kernel: [11788.230000] usb 1-1.1: USB disconnect, device number 32
Oct 10 19:48:32 kernel: [11788.240000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:48:32 kernel: [11788.240000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:49:00 kernel: [11816.140000] usb 1-1.1: USB disconnect, device number 33
Oct 10 19:49:00 kernel: [11816.140000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:49:00 kernel: [11816.150000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:49:02 kernel: [11818.180000] usb 1-1.1: USB disconnect, device number 34
Oct 10 19:49:02 kernel: [11818.190000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:49:02 kernel: [11818.200000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:49:12 kernel: [11828.420000] usb 1-1.1: USB disconnect, device number 35
Oct 10 19:49:12 kernel: [11828.430000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:49:12 kernel: [11828.440000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:49:20 kernel: [11836.360000] usb 1-1.1: USB disconnect, device number 36
Oct 10 19:49:20 kernel: [11836.360000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:49:20 kernel: [11836.370000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:49:22 kernel: [11838.150000] usb 1-1.1: USB disconnect, device number 37
Oct 10 19:49:22 kernel: [11838.160000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:49:22 kernel: [11838.170000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:49:32 kernel: [11848.140000] usb 1-1.1: USB disconnect, device number 38
Oct 10 19:49:32 kernel: [11848.140000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:49:32 kernel: [11848.150000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:49:41 kernel: [11857.350000] usb 1-1.1: USB disconnect, device number 39
Oct 10 19:49:41 kernel: [11857.360000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:49:41 kernel: [11857.370000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:49:51 kernel: [11867.340000] usb 1-1.1: USB disconnect, device number 40
Oct 10 19:49:51 kernel: [11867.340000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:49:51 kernel: [11867.350000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:50:01 kernel: [11877.320000] usb 1-1.1: USB disconnect, device number 41
Oct 10 19:50:01 kernel: [11877.320000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:50:01 kernel: [11877.330000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 19:50:11 kernel: [11887.300000] usb 1-1.1: USB disconnect, device number 42
Oct 10 19:50:11 kernel: [11887.310000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 19:50:11 kernel: [11887.320000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 20:02:31 kernel: [12627.150000] usb 1-1.1: USB disconnect, device number 43
Oct 10 20:02:31 kernel: [12627.150000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 20:02:31 kernel: [12627.160000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 20:02:41 kernel: [12637.390000] usb 1-1.1: USB disconnect, device number 44
Oct 10 20:02:41 kernel: [12637.390000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 20:02:41 kernel: [12637.400000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 20:02:51 kernel: [12647.370000] usb 1-1.1: USB disconnect, device number 45
Oct 10 20:02:51 kernel: [12647.380000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 20:02:51 kernel: [12647.380000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 20:03:00 kernel: [12656.330000] usb 1-1.1: USB disconnect, device number 46
Oct 10 20:03:00 kernel: [12656.340000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 20:03:00 kernel: [12656.340000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 20:03:01 kernel: [12657.350000] usb 1-1.1: USB disconnect, device number 47
Oct 10 20:03:01 kernel: [12657.360000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 20:03:01 kernel: [12657.370000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 20:03:11 kernel: [12667.340000] usb 1-1.1: USB disconnect, device number 48
Oct 10 20:03:11 kernel: [12667.340000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 20:03:11 kernel: [12667.350000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 20:03:31 kernel: [12687.310000] usb 1-1.1: USB disconnect, device number 49
Oct 10 20:03:31 kernel: [12687.310000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 20:03:31 kernel: [12687.320000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 20:11:51 kernel: [13187.280000] usb 1-1.1: USB disconnect, device number 50
Oct 10 20:11:51 kernel: [13187.280000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 20:11:51 kernel: [13187.290000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 20:12:00 kernel: [13196.240000] usb 1-1.1: USB disconnect, device number 51
Oct 10 20:12:00 kernel: [13196.240000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 20:12:00 kernel: [13196.250000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 20:12:01 kernel: [13197.260000] usb 1-1.1: USB disconnect, device number 52
Oct 10 20:12:01 kernel: [13197.270000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 20:12:01 kernel: [13197.270000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 20:12:11 kernel: [13207.240000] usb 1-1.1: USB disconnect, device number 53
Oct 10 20:12:11 kernel: [13207.250000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 20:12:11 kernel: [13207.260000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 20:12:31 kernel: [13227.210000] usb 1-1.1: USB disconnect, device number 54
Oct 10 20:12:31 kernel: [13227.220000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 20:12:31 kernel: [13227.230000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 20:12:40 kernel: [13236.170000] usb 1-1.1: USB disconnect, device number 55
Oct 10 20:12:40 kernel: [13236.180000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 20:12:40 kernel: [13236.190000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 20:12:41 kernel: [13237.200000] usb 1-1.1: USB disconnect, device number 56
Oct 10 20:12:41 kernel: [13237.200000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 20:12:41 kernel: [13237.210000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 20:12:50 kernel: [13246.410000] usb 1-1.1: USB disconnect, device number 57
Oct 10 20:12:50 kernel: [13246.420000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 20:12:50 kernel: [13246.430000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 20:12:51 kernel: [13247.180000] usb 1-1.1: USB disconnect, device number 58
Oct 10 20:12:51 kernel: [13247.190000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 20:12:51 kernel: [13247.190000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 20:13:01 kernel: [13257.160000] usb 1-1.1: USB disconnect, device number 59
Oct 10 20:13:01 kernel: [13257.170000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 20:13:01 kernel: [13257.180000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 20:13:20 kernel: [13276.360000] usb 1-1.1: USB disconnect, device number 60
Oct 10 20:13:20 kernel: [13276.370000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 20:13:20 kernel: [13276.380000] ftdi_sio 1-1.1:1.0: device disconnected
Oct 10 20:13:21 kernel: [13277.390000] usb 1-1.1: USB disconnect, device number 61
Oct 10 20:13:21 kernel: [13277.390000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 10 20:13:21 kernel: [13277.400000] ftdi_sio 1-1.1:1.0: device disconnected
root@Gargoyle:~#

Liczyłem ze drogą eliminacji dojdę który czujnik jest wadliwy i powoduje takie cyrki (chociaż mało wierzę że uszkodzony czujnik, czy przewód tak może robić) i jśli nei trafiłe od razu na ten albo ze wszystkie takie są to wychodzi mia na to że sam konwerter sie sypie. Kupiłem go chyba w styczniu więc gwarancja jeszcze ważna powinna być ale zanim napisze do producenta/sprzedawcy wolałbym sprawdzić co sięda.

14

Odp: TL-3020 - zawiesza się

Jakie i jak długie masz przewody z czujnikami?

15 (edytowany przez r_afaello 2014-10-10 20:35:44)

Odp: TL-3020 - zawiesza się

Konwerter ma wejscie Rj45 i taką wtyczkę zastosowałem > skrętka UTP cat5-e (ok 2m)> gniazdo na goldpiny >od 30cm-1,5m przewody do czujek ( zrobione z wydłubanych z pozostałego mi kable  UTP żył).
Ten jeden czujnik kótry zostawiłem dla testów to ten najbliżej położony.
Przypominam że w tej konfiguracji śmigało wcześńiej.

16

Odp: TL-3020 - zawiesza się

Próbowałeś przetestować z innym HUBem? Czy w tym samym czasie, kiedy występują problemy z magistralą, ten MR3020 jest podłączony przez Wi-Fi czy został odłączony i próbuje połączyć się ponownie? W AR9331 to znany problem - kiedy układ radiowy skanuje eter, siada magistrala USB.

17

Odp: TL-3020 - zawiesza się

Nie testowałem z innych hubem. Fakt raz jak jak przeglądałem logi analizując kiedy to mi te usb rozłacza natknąlem się na czeste wpisy odnośnie wifi ale nei zwóuicłem na to uwagi i nei pamięam jakie to były. Testy w kolejne ni nie zawierały w logach niepokojących wpisów wifi, jedynie te od usb
W domu zestaw pracuje prawie w całosci zdemontowany czyli rouer, zasilacze, hub, extroot>konwerter> kabel skończony "gniazdem: w które wpinam czujki i jedna zdemonowana czujka.
Chodzi od 2 dni bez problemów.
Więc jeśli to nie kwestia skoków zasilania (wlacza sie piec, pompy etc) to już niewiem co.

PS .Wpadlem na pomysł podlaczyc to na UPS-ie. niestety ten kóry wygrzebałem z piwnicy mimo akumulatora naładowanego na 12V po tescie z odłaczeniem prądu (na sucho, bez obciążenia) piknie raz i sie wyłacza więc raczej chyba niesprawny.
Niemniej mam pytanie czy mimo takiej nie sprawnosci  nie pomógł by w tych teoretycznych chwilowych spadkach/zakłuceniach?

18 (edytowany przez r_afaello 2014-10-19 12:50:20)

Odp: TL-3020 - zawiesza się

Dzisiaj podlaczyłm w kotłowni po raz pierwszy po wymianie flash i ram na więskze  router i podpiąłem do jednej czujki żeby zobaczyc jak będzie chodził.

Po kilu godzinach wróciłem sprawdzić.
Przestał zapisywać temperatury. Ostatni zapis zrobił o 10:40
Ręcznie wywołałem skrypt - brak odpowiedzi.
w /dev/tty mój USB0 widać ale podczas odpalania skryptu diody na konwerterze nie migają (tak jak mają w zwyczaju to robić).
Odłaczam usb i podłączam ponownie.
Wywaliło mnie z WIFI.
Podłaczam się i loguję sie ponownie.
Odpalam ręcznie digitempa - czeka i czeka. Przerywam.
Zaglądam do logów

Oct 19 09:49:58 Gargoyle kern.info kernel: [  178.780000] wlan0-1: RX AssocResp from e8:94:f6:9a:90:2c (capab=0x431 status=0 aid=1)
Oct 19 09:49:58 Gargoyle kern.info kernel: [  178.780000] wlan0-1: associated
Oct 19 09:49:58 Gargoyle kern.info kernel: [  178.790000] br-wan: port 1(wlan0-1) entered forwarding state
Oct 19 09:49:58 Gargoyle kern.info kernel: [  178.790000] br-wan: port 1(wlan0-1) entered forwarding state
Oct 19 09:49:58 Gargoyle kern.info kernel: [  178.800000] ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
Oct 19 09:49:58 Gargoyle kern.info kernel: [  178.800000] ADDRCONF(NETDEV_CHANGE): br-wan: link becomes ready
Oct 19 09:49:59 Gargoyle user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Oct 19 09:49:59 Gargoyle user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Oct 19 09:49:59 Gargoyle user.notice dnsmasq: Allowing RFC1918 responses for domain free.aero2.net.pl
Oct 19 09:50:00 Gargoyle kern.info kernel: [  180.030000] br-lan: port 2(wlan0) entered forwarding state
Oct 19 09:50:00 Gargoyle kern.info kernel: [  180.030000] br-lan: port 2(wlan0) entered forwarding state
Oct 19 09:50:00 Gargoyle kern.info kernel: [  180.040000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Oct 19 09:50:00 Gargoyle kern.info kernel: [  180.040000] ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Oct 19 09:50:00 Gargoyle kern.info kernel: [  180.790000] br-wan: port 1(wlan0-1) entered forwarding state
Oct 19 09:50:02 Gargoyle kern.info kernel: [  182.030000] br-lan: port 2(wlan0) entered forwarding state
Oct 19 09:50:02 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f IEEE 802.11: authenticated
Oct 19 09:50:02 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f IEEE 802.11: associated (aid 1)
Oct 19 09:50:02 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f WPA: pairwise key handshake completed (WPA)
Oct 19 09:50:02 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f WPA: group key handshake completed (WPA)
Oct 19 09:50:02 Gargoyle daemon.info dnsmasq[3782]: started, version 2.66 cachesize 150
Oct 19 09:50:02 Gargoyle daemon.info dnsmasq[3782]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth
Oct 19 09:50:02 Gargoyle daemon.info dnsmasq-dhcp[3782]: DHCP, IP range 192.168.2.101 -- 192.168.2.249, lease time 12h
Oct 19 09:50:02 Gargoyle daemon.info dnsmasq[3782]: using local addresses only for domain lan
Oct 19 09:50:02 Gargoyle daemon.info dnsmasq[3782]: reading /tmp/resolv.conf.auto
Oct 19 09:50:02 Gargoyle daemon.info dnsmasq[3782]: using nameserver 8.8.4.4#53
Oct 19 09:50:02 Gargoyle daemon.info dnsmasq[3782]: using nameserver 8.8.8.8#53
Oct 19 09:50:02 Gargoyle daemon.info dnsmasq[3782]: using nameserver 8.8.4.4#53
Oct 19 09:50:02 Gargoyle daemon.info dnsmasq[3782]: using nameserver 8.8.8.8#53
Oct 19 09:50:02 Gargoyle daemon.info dnsmasq[3782]: using local addresses only for domain lan
Oct 19 09:50:02 Gargoyle daemon.info dnsmasq[3782]: read /etc/hosts - 2 addresses
Oct 19 09:50:02 Gargoyle daemon.info dnsmasq-dhcp[3782]: read /etc/ethers - 0 addresses
Oct 19 09:50:04 Gargoyle daemon.info dnsmasq-dhcp[3782]: DHCPREQUEST(br-lan) 192.168.2.147 00:1a:73:68:6e:9f 
Oct 19 09:50:04 Gargoyle daemon.info dnsmasq-dhcp[3782]: DHCPACK(br-lan) 192.168.2.147 00:1a:73:68:6e:9f laptop_hp
Oct 19 09:50:11 Gargoyle daemon.info dnsmasq-dhcp[3782]: DHCPRELEASE(br-lan) 192.168.2.147 00:1a:73:68:6e:9f 
Oct 19 09:50:12 Gargoyle daemon.info dnsmasq-dhcp[3782]: DHCPDISCOVER(br-lan) 192.168.2.147 00:1a:73:68:6e:9f 
Oct 19 09:50:12 Gargoyle daemon.info dnsmasq-dhcp[3782]: DHCPOFFER(br-lan) 192.168.2.147 00:1a:73:68:6e:9f 
Oct 19 09:50:12 Gargoyle daemon.info dnsmasq-dhcp[3782]: DHCPREQUEST(br-lan) 192.168.2.147 00:1a:73:68:6e:9f 
Oct 19 09:50:12 Gargoyle daemon.info dnsmasq-dhcp[3782]: DHCPACK(br-lan) 192.168.2.147 00:1a:73:68:6e:9f laptop_hp
Oct 19 09:50:20 Gargoyle user.notice firewall: Reloading firewall due to ifup of wan (br-wan)
Oct 19 09:50:37 Gargoyle authpriv.info dropbear[4055]: Child connection from 192.168.2.147:4635
Oct 19 09:50:46 Gargoyle authpriv.notice dropbear[4055]: Password auth succeeded for 'root' from 192.168.2.147:4635
Oct 19 09:52:33 Gargoyle authpriv.info dropbear[4055]: Exit (root): Exited normally
Oct 19 09:57:15 Gargoyle authpriv.info dropbear[4714]: Child connection from 192.168.2.147:4941
Oct 19 09:57:22 Gargoyle authpriv.notice dropbear[4714]: Password auth succeeded for 'root' from 192.168.2.147:4941
Oct 19 09:59:54 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f WPA: group key handshake completed (WPA)
Oct 19 10:00:53 Gargoyle authpriv.info dropbear[4714]: Exit (root): Exited normally
Oct 19 10:01:28 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f IEEE 802.11: disassociated
Oct 19 10:01:29 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Oct 19 09:46:53 Gargoyle kern.warn kernel: [ 1306.360000] ipt_bandwidth: backwards time shift detected, adjusting
Oct 19 10:50:07 Gargoyle kern.err kernel: [ 3787.560000] ftdi_sio ttyUSB0: ftdi_set_termios FAILED to set databits/stopbits/parity
Oct 19 10:50:08 Gargoyle kern.err kernel: [ 3788.570000] ftdi_sio ttyUSB0: ftdi_set_termios urb failed to set baudrate
Oct 19 10:50:18 Gargoyle kern.err kernel: [ 3798.590000] ftdi_sio ttyUSB0: urb failed to clear flow control
Oct 19 10:50:24 Gargoyle kern.err kernel: [ 3804.610000] ftdi_sio ttyUSB0: ftdi_set_termios urb failed to set baudrate
Oct 19 10:50:29 Gargoyle kern.err kernel: [ 3809.620000] ftdi_sio ttyUSB0: urb failed to clear flow control
Oct 19 10:50:34 Gargoyle kern.err kernel: [ 3814.630000] ftdi_sio ttyUSB0: urb failed to clear flow control
Oct 19 10:50:39 Gargoyle kern.err kernel: [ 3819.640000] ftdi_sio ttyUSB0: ftdi_break_ctl FAILED to enable/disable break state (state was -1)
Oct 19 10:50:45 Gargoyle kern.err kernel: [ 3824.910000] ftdi_sio ttyUSB0: ftdi_break_ctl FAILED to enable/disable break state (state was 0)
Oct 19 12:26:12 Gargoyle daemon.info hostapd: wlan0: STA d0:51:62:2c:3f:03 IEEE 802.11: authenticated
Oct 19 12:26:12 Gargoyle daemon.info hostapd: wlan0: STA d0:51:62:2c:3f:03 IEEE 802.11: associated (aid 1)
Oct 19 12:26:17 Gargoyle daemon.info hostapd: wlan0: STA d0:51:62:2c:3f:03 IEEE 802.11: authenticated
Oct 19 12:26:17 Gargoyle daemon.info hostapd: wlan0: STA d0:51:62:2c:3f:03 IEEE 802.11: associated (aid 1)
Oct 19 12:26:26 Gargoyle daemon.info hostapd: wlan0: STA d0:51:62:2c:3f:03 IEEE 802.11: deauthenticated due to local deauth request
Oct 19 12:26:49 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f IEEE 802.11: authenticated
Oct 19 12:26:49 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f IEEE 802.11: associated (aid 1)
Oct 19 12:26:49 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f WPA: pairwise key handshake completed (WPA)
Oct 19 12:26:49 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f WPA: group key handshake completed (WPA)
Oct 19 12:26:55 Gargoyle daemon.info dnsmasq-dhcp[3782]: DHCPREQUEST(br-lan) 192.168.1.3 00:1a:73:68:6e:9f 
Oct 19 12:26:55 Gargoyle daemon.info dnsmasq-dhcp[3782]: DHCPNAK(br-lan) 192.168.1.3 00:1a:73:68:6e:9f wrong address
Oct 19 12:26:56 Gargoyle daemon.info dnsmasq-dhcp[3782]: DHCPDISCOVER(br-lan) 00:1a:73:68:6e:9f 
Oct 19 12:26:56 Gargoyle daemon.info dnsmasq-dhcp[3782]: DHCPOFFER(br-lan) 192.168.2.147 00:1a:73:68:6e:9f 
Oct 19 12:26:56 Gargoyle daemon.info dnsmasq-dhcp[3782]: DHCPREQUEST(br-lan) 192.168.2.147 00:1a:73:68:6e:9f 
Oct 19 12:26:56 Gargoyle daemon.info dnsmasq-dhcp[3782]: DHCPACK(br-lan) 192.168.2.147 00:1a:73:68:6e:9f laptop_hp
Oct 19 12:27:09 Gargoyle authpriv.info dropbear[6855]: Child connection from 192.168.2.147:3035
Oct 19 12:27:15 Gargoyle authpriv.notice dropbear[6855]: Password auth succeeded for 'root' from 192.168.2.147:3035
Oct 19 12:29:46 Gargoyle kern.info kernel: [ 9766.010000] br-wan: port 1(wlan0-1) entered disabled state
Oct 19 12:29:47 Gargoyle kern.info kernel: [ 9766.900000] wlan0-1: authenticate with e8:94:f6:9a:90:2c
Oct 19 12:29:47 Gargoyle kern.info kernel: [ 9766.910000] wlan0-1: send auth to e8:94:f6:9a:90:2c (try 1/3)
Oct 19 12:29:47 Gargoyle kern.info kernel: [ 9766.920000] wlan0-1: authenticated
Oct 19 12:29:47 Gargoyle kern.info kernel: [ 9766.930000] wlan0-1: associate with e8:94:f6:9a:90:2c (try 1/3)
Oct 19 12:29:47 Gargoyle kern.info kernel: [ 9767.010000] br-lan: port 2(wlan0) entered disabled state
Oct 19 12:29:47 Gargoyle kern.info kernel: [ 9767.070000] wlan0-1: RX AssocResp from e8:94:f6:9a:90:2c (capab=0x431 status=0 aid=1)
Oct 19 12:29:47 Gargoyle kern.info kernel: [ 9767.080000] wlan0-1: associated
Oct 19 12:29:47 Gargoyle kern.info kernel: [ 9767.080000] br-wan: port 1(wlan0-1) entered forwarding state
Oct 19 12:29:47 Gargoyle kern.info kernel: [ 9767.080000] br-wan: port 1(wlan0-1) entered forwarding state
Oct 19 12:29:48 Gargoyle kern.info kernel: [ 9768.090000] br-lan: port 2(wlan0) entered forwarding state
Oct 19 12:29:48 Gargoyle kern.info kernel: [ 9768.090000] br-lan: port 2(wlan0) entered forwarding state
Oct 19 12:29:49 Gargoyle kern.info kernel: [ 9769.080000] br-wan: port 1(wlan0-1) entered forwarding state
Oct 19 12:29:50 Gargoyle kern.info kernel: [ 9770.090000] br-lan: port 2(wlan0) entered forwarding state
Oct 19 12:29:57 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f IEEE 802.11: authenticated
Oct 19 12:29:57 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f IEEE 802.11: associated (aid 1)
Oct 19 12:29:57 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f WPA: pairwise key handshake completed (WPA)
Oct 19 12:29:57 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f WPA: group key handshake completed (WPA)
Oct 19 12:29:58 Gargoyle daemon.info dnsmasq-dhcp[3782]: DHCPREQUEST(br-lan) 192.168.2.147 00:1a:73:68:6e:9f 
Oct 19 12:29:58 Gargoyle daemon.info dnsmasq-dhcp[3782]: DHCPACK(br-lan) 192.168.2.147 00:1a:73:68:6e:9f laptop_hp
Oct 19 12:33:11 Gargoyle kern.info kernel: [ 9971.150000] usb 1-1: USB disconnect, device number 2
Oct 19 12:33:11 Gargoyle kern.err kernel: [ 9971.150000] ftdi_sio ttyUSB0: urb failed to clear flow control
Oct 19 12:33:11 Gargoyle kern.err kernel: [ 9971.160000] ftdi_sio ttyUSB0: urb failed to clear flow control
Oct 19 12:33:11 Gargoyle kern.err kernel: [ 9971.160000] ftdi_sio ttyUSB0: urb failed to clear flow control
Oct 19 12:33:11 Gargoyle kern.err kernel: [ 9971.170000] ftdi_sio ttyUSB0: urb failed to clear flow control
Oct 19 12:33:11 Gargoyle kern.err kernel: [ 9971.180000] ftdi_sio ttyUSB0: urb failed to clear flow control
Oct 19 12:33:11 Gargoyle kern.err kernel: [ 9971.180000] ftdi_sio ttyUSB0: urb failed to clear flow control
Oct 19 12:33:11 Gargoyle kern.err kernel: [ 9971.190000] ftdi_sio ttyUSB0: urb failed to clear flow control
Oct 19 12:33:11 Gargoyle kern.err kernel: [ 9971.190000] ftdi_sio ttyUSB0: urb failed to clear flow control
Oct 19 12:33:11 Gargoyle kern.err kernel: [ 9971.200000] ftdi_sio ttyUSB0: urb failed to clear flow control
Oct 19 12:33:11 Gargoyle kern.err kernel: [ 9971.200000] ftdi_sio ttyUSB0: urb failed to clear flow control
Oct 19 12:33:12 Gargoyle kern.info kernel: [ 9972.010000] br-wan: port 1(wlan0-1) entered disabled state
Oct 19 12:33:13 Gargoyle kern.info kernel: [ 9973.010000] br-lan: port 2(wlan0) entered disabled state
Oct 19 12:33:13 Gargoyle kern.info kernel: [ 9973.470000] usb 1-1: new full-speed USB device number 3 using ehci-platform
Oct 19 12:33:16 Gargoyle kern.info kernel: [ 9976.660000] wlan0-1: authenticate with e8:94:f6:9a:90:2c
Oct 19 12:33:16 Gargoyle kern.info kernel: [ 9976.670000] wlan0-1: send auth to e8:94:f6:9a:90:2c (try 1/3)
Oct 19 12:33:16 Gargoyle kern.info kernel: [ 9976.680000] wlan0-1: authenticated
Oct 19 12:33:16 Gargoyle kern.info kernel: [ 9976.810000] wlan0-1: associate with e8:94:f6:9a:90:2c (try 1/3)
Oct 19 12:33:17 Gargoyle kern.info kernel: [ 9976.920000] wlan0-1: associate with e8:94:f6:9a:90:2c (try 2/3)
Oct 19 12:33:17 Gargoyle kern.info kernel: [ 9977.100000] wlan0-1: associate with e8:94:f6:9a:90:2c (try 3/3)
Oct 19 12:33:17 Gargoyle kern.info kernel: [ 9977.250000] wlan0-1: association with e8:94:f6:9a:90:2c timed out
Oct 19 12:33:18 Gargoyle kern.info kernel: [ 9978.540000] wlan0-1: authenticate with e8:94:f6:9a:90:2c
Oct 19 12:33:18 Gargoyle kern.info kernel: [ 9978.550000] wlan0-1: direct probe to e8:94:f6:9a:90:2c (try 1/3)
Oct 19 12:33:18 Gargoyle kern.info kernel: [ 9978.770000] wlan0-1: direct probe to e8:94:f6:9a:90:2c (try 2/3)
Oct 19 12:33:19 Gargoyle kern.info kernel: [ 9978.980000] wlan0-1: direct probe to e8:94:f6:9a:90:2c (try 3/3)
Oct 19 12:33:19 Gargoyle kern.info kernel: [ 9979.190000] wlan0-1: authentication with e8:94:f6:9a:90:2c timed out
Oct 19 12:33:22 Gargoyle kern.info kernel: [ 9982.820000] wlan0-1: authenticate with e8:94:f6:9a:90:2c
Oct 19 12:33:22 Gargoyle kern.info kernel: [ 9982.830000] wlan0-1: send auth to e8:94:f6:9a:90:2c (try 1/3)
Oct 19 12:33:22 Gargoyle kern.info kernel: [ 9982.840000] wlan0-1: authenticated
Oct 19 12:33:22 Gargoyle kern.info kernel: [ 9982.850000] wlan0-1: associate with e8:94:f6:9a:90:2c (try 1/3)
Oct 19 12:33:22 Gargoyle kern.info kernel: [ 9982.850000] wlan0-1: RX AssocResp from e8:94:f6:9a:90:2c (capab=0x431 status=0 aid=1)
Oct 19 12:33:22 Gargoyle kern.info kernel: [ 9982.860000] wlan0-1: associated
Oct 19 12:33:22 Gargoyle kern.info kernel: [ 9982.860000] br-wan: port 1(wlan0-1) entered forwarding state
Oct 19 12:33:22 Gargoyle kern.info kernel: [ 9982.870000] br-wan: port 1(wlan0-1) entered forwarding state
Oct 19 12:33:23 Gargoyle kern.info kernel: [ 9983.880000] br-lan: port 2(wlan0) entered forwarding state
Oct 19 12:33:23 Gargoyle kern.info kernel: [ 9983.880000] br-lan: port 2(wlan0) entered forwarding state
Oct 19 12:33:24 Gargoyle kern.info kernel: [ 9984.870000] br-wan: port 1(wlan0-1) entered forwarding state
Oct 19 12:33:25 Gargoyle kern.info kernel: [ 9985.880000] br-lan: port 2(wlan0) entered forwarding state
Oct 19 12:33:28 Gargoyle kern.err kernel: [ 9988.620000] usb 1-1: device descriptor read/64, error -145
Oct 19 12:33:43 Gargoyle kern.err kernel: [10003.880000] usb 1-1: device descriptor read/64, error -145
Oct 19 12:33:44 Gargoyle kern.info kernel: [10004.110000] usb 1-1: new full-speed USB device number 4 using ehci-platform
Oct 19 12:33:57 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f IEEE 802.11: authenticated
Oct 19 12:33:57 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f IEEE 802.11: associated (aid 1)
Oct 19 12:33:57 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f WPA: pairwise key handshake completed (WPA)
Oct 19 12:33:57 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f WPA: group key handshake completed (WPA)
Oct 19 12:33:57 Gargoyle daemon.info dnsmasq-dhcp[3782]: DHCPREQUEST(br-lan) 192.168.2.147 00:1a:73:68:6e:9f 
Oct 19 12:33:57 Gargoyle daemon.info dnsmasq-dhcp[3782]: DHCPACK(br-lan) 192.168.2.147 00:1a:73:68:6e:9f laptop_hp
Oct 19 12:33:59 Gargoyle kern.err kernel: [10019.260000] usb 1-1: device descriptor read/64, error -145
Oct 19 12:34:14 Gargoyle kern.err kernel: [10034.520000] usb 1-1: device descriptor read/64, error -145
Oct 19 12:34:14 Gargoyle kern.info kernel: [10034.750000] usb 1-1: new full-speed USB device number 5 using ehci-platform
Oct 19 12:34:25 Gargoyle kern.err kernel: [10045.190000] usb 1-1: device not accepting address 5, error -145
Oct 19 12:34:25 Gargoyle kern.info kernel: [10045.310000] usb 1-1: new full-speed USB device number 6 using ehci-platform
Oct 19 12:34:35 Gargoyle kern.err kernel: [10055.750000] usb 1-1: device not accepting address 6, error -145
Oct 19 12:34:35 Gargoyle kern.err kernel: [10055.750000] hub 1-0:1.0: unable to enumerate USB device on port 1
Oct 19 12:37:13 Gargoyle authpriv.info dropbear[8631]: Child connection from 192.168.2.147:3354
Oct 19 12:37:20 Gargoyle authpriv.notice dropbear[8631]: Password auth succeeded for 'root' from 192.168.2.147:3354
Oct 19 12:39:54 Gargoyle daemon.info hostapd: wlan0: STA 00:1a:73:68:6e:9f WPA: group key handshake completed (WPA)
Success

Zrestartowałem router i odczyt zaczęły działać.

19

Odp: TL-3020 - zawiesza się

To teraz zrób taki test: całkowicie wyłącz Wi-Fi i zobacz czy problemy z USB ustąpiły.

20 (edytowany przez r_afaello 2014-10-19 13:10:46)

Odp: TL-3020 - zawiesza się

Jakieś polecenie podrzucisz? Tak zebym nie stracił konfiguracji bo niecce mi sie ciągle tam biegac a jak odetnę to router straci łaczność ze światem więc potem będę musiałsie pofatygować i wolałbym wtedy od  nowa nie ustawiać wifi.
wystarczy ?
uci set wireless.@wifi-iface[0].disabled=1

a potem juzlokalnie po kablu
uci set wireless.@wifi-iface[0].disabled=0 czy jakos inaczej?

21

Odp: TL-3020 - zawiesza się

Myślę, że wystarczy "wifi down".
Po restarcie będziesz miał tak, jak masz ustawione.

Rzecz w tym, że AR9331 ma (najprawdopodobniej) sprzętowego buga związanego z PLL od USB i Wi-Fi. Jak układ radiowy szpera po eterze, skacząc po kanałach, to siada magistrala USB (dotyczy tylko urządzeń Full-Speed, czyli dotyczy też Ciebie)... wiele mądrych głów próbowało sobie z tym poradzić (z tego co wiem, to jedna nadal nad tym się głowi) i na dzień dzisiejszy jedynym w miarę pewnym rozwiązaniem problemu jest zastosowanie HUBa USB na konkretnym układzie. Przykładowo, WE-IO (Carambola 2) ma na pokładzie HUB na układzie Microchip USB2640 i ten problem nie występuje.

Więcej w tym wątku (lektura na kilka wieczorów): https://forum.openwrt.org/viewtopic.php?id=39956

22

Odp: TL-3020 - zawiesza się

No dobra zaraz poczytam tylko zastanawia mnie jedna żecz.
Ten router pracował tak kilka miesięcy jak wyeliminowałem modem usb z zestawu i podpiąłem pod pobliskie wifi.
Pracował tak aż do października (kilka miesiy) , ładnie przesyłając mi wyniki co 10 minut.
Czyli mimo że ten bug sprzętowy występował to wszystko działało.

Powiedz mi czy ma wpływ na to zasięg (odległość od nadajnika)? Przy skanowaniu z gui wykazuje 49% sygnału.

23

Odp: TL-3020 - zawiesza się

r_afaello napisał/a:

Powiedz mi czy ma wpływ na to zasięg (odległość od nadajnika)? Przy skanowaniu z gui wykazuje 49% sygnału.

Tak, dokładnie w tym jest problem. Jak uda Ci się go tak ustawić, żeby trzymał stabilne połączenie przez Wi-Fi i nie rozłączał się w trakcie pracy (czyli router, do którego się podpina też musi trzymać połączenie), to problemy powinny ustąpić lub przynajmniej pojawiać się znacznie rzadziej.

24

Odp: TL-3020 - zawiesza się

No niestety bliżej ustawić sienie da.
Takie obejście (niestety nie rozwiązanie problemu).
A może w skrypcie (jeszcze nie wiem jak ) który odpala cron co 10 minut odczytujący temperatury i wysyłający je w świat najpierw
wifi up
sprawdzic czy jest ping
skrypt właściwy
wifi down

Tylko w razie gdybm chciał się zdalnie podłączyć coś sprawdzić to będzie problem.

Wariant 2
Ustawić co godzinny restart wifi.
Co myślisz?
A tak wogle to 49 procent to mało?

25

Odp: TL-3020 - zawiesza się

r_afaello napisał/a:

No niestety bliżej ustawić sienie da.
Takie obejście (niestety nie rozwiązanie problemu).
A może w skrypcie (jeszcze nie wiem jak ) który odpala cron co 10 minut odczytujący temperatury i wysyłający je w świat najpierw
wifi up
sprawdzic czy jest ping
skrypt właściwy
wifi down

Tylko w razie gdybm chciał się zdalnie podłączyć coś sprawdzić to będzie problem.

Wariant 2
Ustawić co godzinny restart wifi.
Co myślisz?

Raczej coś na zasadzie:
1. Wi-Fi domyślnie włączone.
2. Zasilanie na USB domyślnie wyłączone.
3. Dopóki świat istnieje wykonuj w kółko:
- wyłącz Wi-Fi
- włącz zasilanie na USB, pobierz pomiary
- wyłącz zasilanie na USB
- włącz Wi-Fi
- wyślij wyniki
- czekaj...

Może zadziała. Chodzi o to, żeby nie używać niczego na USB jak pracuje Wi-Fi.

r_afaello napisał/a:

A tak wogle to 49 procent to mało?

Nie wiem ile to jest 100 % wink W dBm ile masz?