Temat: Problem z podłączaniem się drukarki HP P1102w do TL-WR1043nd po wifi

Witajcie,
Mam problem, bo kupiłem drukarkę HP LaserJet Professional P1102w, skonfigurowałem na kablu i generalnie jest sprawna, ale ma problem z podłączaniem się do routera po wifi.
W logach systemowych w kółko komunikat:
Oct 15 22:09:53 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6... IEEE 802.11: authenticated
Oct 15 22:09:53 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6... IEEE 802.11: associated (aid 3)
Oct 15 22:09:57 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6... IEEE 802.11: authenticated
Oct 15 22:09:57 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6... IEEE 802.11: associated (aid 3)

Na routerze mam ustawione filtrowanie adresów MAC i to wydaje mi się przyczyną problemu. Router ma wyłączone rozgłaszanie SSID, a szyfrowanie włączone WPA2.
Jak wyłączyłem filtrowanie, to drukarka się szybko podłączyła.
Myślałem, że to wina sterowników, bo pierwsze podłączenie robiłem jeszcze na Gargoyle 1.5.10.12, ale teraz jest już po aktualizacji do 1.6.2.2 i problem nadal występuje.

Jest jeszcze taki myk, że jak restartuje TL-WR1043nd, czyli jak wyłącza się w nim radio, to drukarka łapie sygnał z drugiego routera TL-WDR3600 (stoi troszkę dalej) i bezboleśnie się do niego podłącza. Tam ustawienia sieci bezprzewodowej są w zasadzie identyczne - różnice tylko w kanałach (WDR3600 ma ustawienia auto). Dla mnie jest obojętne, do którego routera się podłączy, byle to zrobiła.
Jakie rozwiązanie problemu proponujecie?

2

Odp: Problem z podłączaniem się drukarki HP P1102w do TL-WR1043nd po wifi

Dodaj mac drukarki do tych dopuszczonych?

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

3

Odp: Problem z podłączaniem się drukarki HP P1102w do TL-WR1043nd po wifi

MAC drukarki oczywiście dodany do puli dopuszczonych na obu routerach.

4

Odp: Problem z podłączaniem się drukarki HP P1102w do TL-WR1043nd po wifi

Skoro wyłączyłeś i działa, a jak właczysz to nie to sprawdź czy faktycznie go dobrze wpisałeś.

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

5

Odp: Problem z podłączaniem się drukarki HP P1102w do TL-WR1043nd po wifi

Sprawdziłem to już nie jeden raz wink Wpisany jest poprawnie.

6 (edytowany przez dragon79 2014-10-15 22:39:23)

Odp: Problem z podłączaniem się drukarki HP P1102w do TL-WR1043nd po wifi

Czy możliwe jest, że dodaję MAC adres do polityki filtrowania, ale nie jest on stosowany przez router? Zauważyłem już wcześniej taką przypadłość, że wykasowanie i dodanie po raz drugi tego samego MAC adresu poprawia sytuację... Zdarzyło się takie coś w sumie 2 lub 3 razy - właśnie przed chwilą ten 3 raz.

Teraz mam takiego loga:
Oct 15 22:21:45 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6:... IEEE 802.11: authenticated
Oct 15 22:21:45 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6:... IEEE 802.11: associated (aid 3)
Oct 15 22:21:48 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6:... IEEE 802.11: authenticated
Oct 15 22:21:48 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6:... IEEE 802.11: associated (aid 3)
Oct 15 22:21:52 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6:... IEEE 802.11: authenticated
Oct 15 22:21:52 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6:... IEEE 802.11: associated (aid 3)
Oct 15 22:21:55 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6:... IEEE 802.11: authenticated
Oct 15 22:21:55 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6:... IEEE 802.11: associated (aid 3)
Oct 15 22:22:50 TL-WR1043nd kern.info kernel: [ 3602.650000] ADDRCONF(NETDEV_UP): tmpsta: link is not ready
Oct 15 22:22:53 TL-WR1043nd kern.info kernel: [ 3605.350000] ADDRCONF(NETDEV_UP): tmpsta: link is not ready
Oct 15 22:22:56 TL-WR1043nd kern.info kernel: [ 3607.930000] ADDRCONF(NETDEV_UP): tmpsta: link is not ready
Oct 15 22:23:28 TL-WR1043nd kern.info kernel: [ 3639.990000] ADDRCONF(NETDEV_UP): tmpsta: link is not ready
Oct 15 22:29:30 TL-WR1043nd kern.info kernel: [ 4001.830000] ADDRCONF(NETDEV_UP): tmpsta: link is not ready
Oct 15 22:29:33 TL-WR1043nd kern.info kernel: [ 4005.010000] ADDRCONF(NETDEV_UP): tmpsta: link is not ready
Oct 15 22:30:46 TL-WR1043nd daemon.info hostapd: wlan0: STA 0c:d2:92:... WPA: group key handshake completed (RSN)
Oct 15 22:30:46 TL-WR1043nd daemon.info hostapd: wlan0: STA bc:ee:7b:... WPA: group key handshake completed (RSN)
Oct 15 22:40:46 TL-WR1043nd daemon.info hostapd: wlan0: STA 0c:d2:92:... WPA: group key handshake completed (RSN)
Oct 15 22:40:46 TL-WR1043nd daemon.info hostapd: wlan0: STA bc:ee:7b:... WPA: group key handshake completed (RSN)
Oct 15 22:50:46 TL-WR1043nd daemon.info hostapd: wlan0: STA 0c:d2:92:... WPA: group key handshake completed (RSN)
Oct 15 22:50:46 TL-WR1043nd daemon.info hostapd: wlan0: STA bc:ee:7b:... WPA: group key handshake completed (RSN)
Oct 15 23:00:46 TL-WR1043nd daemon.info hostapd: wlan0: STA 0c:d2:92:... WPA: group key handshake completed (RSN)
Oct 15 23:00:46 TL-WR1043nd daemon.info hostapd: wlan0: STA bc:ee:7b:... WPA: group key handshake completed (RSN)
Oct 15 23:07:39 TL-WR1043nd daemon.info dnsmasq[5010]: exiting on receipt of SIGTERM
Oct 15 23:07:39 TL-WR1043nd kern.info kernel: [ 6291.370000] device wlan0 left promiscuous mode
Oct 15 23:07:39 TL-WR1043nd kern.info kernel: [ 6291.380000] br-lan: port 2(wlan0) entered disabled state
Oct 15 23:07:42 TL-WR1043nd kern.info kernel: [ 6294.240000] br-lan: port 1(eth0.1) entered disabled state
Oct 15 23:07:42 TL-WR1043nd kern.info kernel: [ 6294.250000] device eth0.1 left promiscuous mode
Oct 15 23:07:42 TL-WR1043nd kern.info kernel: [ 6294.250000] device eth0 left promiscuous mode
Oct 15 23:07:42 TL-WR1043nd kern.info kernel: [ 6294.260000] br-lan: port 1(eth0.1) entered disabled state
Oct 15 23:07:42 TL-WR1043nd kern.info kernel: [ 6294.270000] eth0: link down
Oct 15 23:07:42 TL-WR1043nd kern.debug kernel: [ 6294.280000] ar71xx: pll_reg 0xb8050014: 0x1a000000
Oct 15 23:07:42 TL-WR1043nd kern.info kernel: [ 6294.280000] eth0: link up (1000Mbps/Full duplex)
Oct 15 23:07:42 TL-WR1043nd kern.info kernel: [ 6294.340000] device eth0.1 entered promiscuous mode
Oct 15 23:07:42 TL-WR1043nd kern.info kernel: [ 6294.350000] device eth0 entered promiscuous mode
Oct 15 23:07:42 TL-WR1043nd kern.info kernel: [ 6294.350000] br-lan: port 1(eth0.1) entered forwarding state
Oct 15 23:07:42 TL-WR1043nd kern.info kernel: [ 6294.360000] br-lan: port 1(eth0.1) entered forwarding state
Oct 15 23:07:42 TL-WR1043nd daemon.notice netifd: Interface 'lan' is now up
Oct 15 23:07:42 TL-WR1043nd daemon.notice netifd: Interface 'loopback' is now up
Oct 15 23:07:42 TL-WR1043nd user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Oct 15 23:07:44 TL-WR1043nd kern.info kernel: [ 6296.360000] br-lan: port 1(eth0.1) entered forwarding state
Oct 15 23:07:47 TL-WR1043nd kern.info kernel: [ 6299.690000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Oct 15 23:07:47 TL-WR1043nd kern.info kernel: [ 6299.690000] device wlan0 entered promiscuous mode
Oct 15 23:07:48 TL-WR1043nd kern.info kernel: [ 6300.040000] br-lan: port 2(wlan0) entered forwarding state
Oct 15 23:07:48 TL-WR1043nd kern.info kernel: [ 6300.050000] br-lan: port 2(wlan0) entered forwarding state
Oct 15 23:07:48 TL-WR1043nd kern.info kernel: [ 6300.050000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Oct 15 23:07:50 TL-WR1043nd kern.info kernel: [ 6302.050000] br-lan: port 2(wlan0) entered forwarding state
Oct 15 23:07:51 TL-WR1043nd daemon.info hostapd: wlan0: STA 0c:d2:92:... IEEE 802.11: authenticated
Oct 15 23:07:51 TL-WR1043nd daemon.info hostapd: wlan0: STA 0c:d2:92:... IEEE 802.11: associated (aid 1)
Oct 15 23:07:51 TL-WR1043nd daemon.info hostapd: wlan0: STA 0c:d2:92:... WPA: pairwise key handshake completed (RSN)
Oct 15 23:07:51 TL-WR1043nd user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Oct 15 23:07:51 TL-WR1043nd user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Oct 15 23:07:51 TL-WR1043nd user.notice dnsmasq: Allowing RFC1918 responses for domain free.aero2.net.pl
Oct 15 23:07:51 TL-WR1043nd daemon.info dnsmasq[11534]: started, version 2.66 cachesize 150
Oct 15 23:07:51 TL-WR1043nd daemon.info dnsmasq[11534]: 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 15 23:07:51 TL-WR1043nd daemon.info dnsmasq[11534]: using local addresses only for domain lan
Oct 15 23:07:51 TL-WR1043nd daemon.info dnsmasq[11534]: reading /tmp/resolv.conf.auto
Oct 15 23:07:51 TL-WR1043nd daemon.info dnsmasq[11534]: using nameserver 192.168.1.1#53
Oct 15 23:07:51 TL-WR1043nd daemon.info dnsmasq[11534]: using local addresses only for domain lan
Oct 15 23:07:51 TL-WR1043nd daemon.info dnsmasq[11534]: read /etc/hosts - 2 addresses
Oct 15 23:08:21 TL-WR1043nd daemon.info hostapd: wlan0: STA bc:ee:7b:... IEEE 802.11: authenticated
Oct 15 23:08:21 TL-WR1043nd daemon.info hostapd: wlan0: STA bc:ee:7b:... IEEE 802.11: associated (aid 2)
Oct 15 23:08:22 TL-WR1043nd daemon.info hostapd: wlan0: STA bc:ee:7b:... WPA: pairwise key handshake completed (RSN)
Oct 15 23:13:13 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6:... IEEE 802.11: authenticated
Oct 15 23:13:13 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6:... IEEE 802.11: associated (aid 3)
Oct 15 23:13:13 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6:... WPA: pairwise key handshake completed (RSN)
Oct 15 23:14:39 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6:... IEEE 802.11: authenticated
Oct 15 23:14:39 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6:... IEEE 802.11: associated (aid 3)
Oct 15 23:14:39 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6:... WPA: pairwise key handshake completed (RSN)
Oct 15 23:17:48 TL-WR1043nd daemon.info hostapd: wlan0: STA 0c:d2:92:... WPA: group key handshake completed (RSN)
Oct 15 23:17:48 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6:... WPA: group key handshake completed (RSN)
Oct 15 23:17:48 TL-WR1043nd daemon.info hostapd: wlan0: STA bc:ee:7b:... WPA: group key handshake completed (RSN)
Oct 15 23:24:15 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6:... IEEE 802.11: authenticated
Oct 15 23:24:15 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6:... IEEE 802.11: associated (aid 3)
Oct 15 23:24:15 TL-WR1043nd daemon.info hostapd: wlan0: STA 3c:77:e6:... WPA: pairwise key handshake completed (RSN)


Po kolei co zrobiłem:
1. Wyłączyłem wifi w WDR3600, żeby nie "przeszkadzał" (widać w logu, że kilka urządzeń się w tym momencie przenosi na WR1043nd).
2. Wykasowałem i wpisałem ponownie w regułach MAC adres drukarki i kliknąłem "Zapisz zmiany".
3. Drukarka się podłączyła.
3. Kilkakrotnie wyłączałem i włączałem drukarkę - za każdym razem po chwili grzecznie się podłączała do WR1043nd po wifi (widoczne w logu powyżej jako 3c:77:e6:...).

7

Odp: Problem z podłączaniem się drukarki HP P1102w do TL-WR1043nd po wifi

Skasuj jeszcze raz, dodaj mac, zrestartuj rouetr, jak nie nie połączy - pokaż także konfigi.

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

8

Odp: Problem z podłączaniem się drukarki HP P1102w do TL-WR1043nd po wifi

Wszystko wskazuje na to, że problem tkwi w samej drukarce. Jeśli oba routery mają wifi włączone, to drukarka po włączeniu nie wie, na który z nich się zdecydować smile Jeśli wyłączę wifi w jednym z routerów, to drukarka podłącza się do tego drugiego z włączonym wifi po kilku lub kilkunastu sekundach.
Nie wiem, dlaczego tak jest, ale tak jest. Dobrze, że WDR3600 ma fizyczny przełącznik (włącznik / wyłącznik) wifi. Dzięki temu w momencie, gdy drukarka po włączeniu nie może podłączyć się do wifi, wyłączam wifi w WDR3600, a po chwili, gdy drukarka już się połączy, włączam radio ponownie.
Być może w przyszłości jakaś aktualizacja oprogramowania drukarki naprawi ten problem.