Witam. Czy taki tuner DVB-T (LINK) będzie współpracował z OpenWRT na routerze TP-Linka MR3220 w taki sposób aby za pośrednictwem przeglądarki internetowej oglądać na kilku urządzeniach różne kanały telewizyjne?
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Posty przez Zoltar
Witam. Czy taki tuner DVB-T (LINK) będzie współpracował z OpenWRT na routerze TP-Linka MR3220 w taki sposób aby za pośrednictwem przeglądarki internetowej oglądać na kilku urządzeniach różne kanały telewizyjne?
W takim razie jeżeli mam "stare" OpenWRT, to trzeba wgrać "nowe" żeby znowu nie wychodziły takie nieprzyjemności jak teraz z tą kartą sieciową.
Jeszcze raz dziękuje Cezary za pomoc ![]()
OK. Teraz zadziałało
Dziękuje za pomoc Cezary!
A jeszcze takie pytanie na szybkości.. Pisałeś że mam starą wersje, to wersja z kernelem 3.18.19 jest z 1.08.2015?
Czyli do 3.18.18 to będzie "kmod-ath9k-htc_3.18.18+2015-03-09-3_ar71xx.ipk" w "http://dl.eko.one.pl/chaos_calmer/ar71xx/packages/".
Jeżeli tak to nadal mam błąd:
root@Matt-Router:~# opkg install http://dl.eko.one.pl/chaos_calmer/ar71xx/packag
es/kmod-ath9k-htc_3.18.18%2b2015-03-09-3_ar71xx.ipk
Downloading http://dl.eko.one.pl/chaos_calmer/ar71x … ar71xx.ipk.
Installing kmod-ath9k-htc (3.18.19+2015-03-09-3) to root...
Downloading http://dl.eko.one.pl/chaos_calmer/ar71x … ar71xx.ipk.
Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using latest.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ath9k-htc:
* kernel (= 3.18.19-1-d58e1a55298dee9b8512e308c5b900ff) *
* opkg_install_cmd: Cannot install package kmod-ath9k-htc.
Podłączyłem kartę sieciową, wpisałem "opkg update" potem "opkg install kmod-ath9k-htc" i chce mi instalować moduły do nowszego kernela? To mam złe repo czy jest nowsza wersja tego CC od Ciebie i repo się różni czy jak ??
System tutaj z forum (dl.eko.one.pl)
root@Matt-Router:~# opkg list_installed | grep kernel
kernel - 3.18.18-1-d58e1a55298dee9b8512e308c5b900ff
Witam. Chciałbym wykorzystać kartę sieciową "TP-Link WN772N" jako AP w routerze WDR3600 z zainstalowanym "OpenWRT Chaos Calmer 15.05". Karta sieciowa jest podłączona przez przedłużkę USB ponieważ router stoi obecnie w niedogodnym miejscu do bycia AP, więc postanowiłem mieć AP na przedłużce w dogodnym miejscu. Tutaj na forum zalazłem że aby karta została wykryta należy zainstalować "kmod-ath9k-htc" ale podczas instalacji zwraca mi komunikat:
root@Router:~# opkg install kmod-ath9k-htc
Installing kmod-ath9k-htc (3.18.19+2015-03-09-3) to root...
Downloading http://dl.eko.one.pl/chaos_calmer/ar71x … ar71xx.ipk.
Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using latest.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ath9k-htc:
* kernel (= 3.18.19-1-d58e1a55298dee9b8512e308c5b900ff) *
* opkg_install_cmd: Cannot install package kmod-ath9k-htc.
Co to oznacza? Da się jakoś ten problem rozwiązać?
No na moją logikę to tam powinna być dioda, no ale jak widać TP-Link sobie te diode darował.
@Zoltar zwracam honor.
Nie ma problemu pepe, cieszę się że dzięki mnie ktoś się dowiedział czegoś nowego ![]()
Drukarka ma to samo IP co router do którego jest podłączona przez USB i dostępna jest pod portem 9100. Do komunikacji z drukarką musisz wykorzystać protokół "RAW".
Tak, tak, zasilanie USB działa bez żadnych problemów, podłączenie np. karty dźwiękowej czy drukarki bez Hub'a nie sprawia żadnych kłopotów.. Tylko Hub jest ponieważ wiadomo jak jest z modemami mobilnego internetu pod TP-LINK'ami, no i poza tym... czasami przydaje się więcej portów USB w routerze.
Nie ma fizycznej możliwości, żeby to tak działało.
Ponieważ nie chce żeby ktoś tutaj pomyślał że kłamie, specjalnie dla Ciebie pepe nagrałem "szybkie wideo" obrazujące jak to u mnie wygląda z tym routerem oraz hub'em. Moja wiedza o elektronice może nie jest ogromna, ale jednak w tym przypadku to się da łatwo zauważyć. Czyżby mój router łamał prawa fizyki ?? ![]()
Tutaj link --> https://www.youtube.com/watch?v=jDqBl5hocSY
Odnośnie 5V to właśnie moj WDR lubi sobie czasami chwile pracować na prądzie który dostaje przez port USB z Huba USB, podczas gdy fabryczny zasilacz 12V jest dołączony. Ale przy takiej konfiguracji działa tylko chwilę i tylko gdy nie jest obciążony, gdyby jednak chcieć korzystac z internetu to router juz sie wyłącza... Mówię to w sumie bardziej jako ciekawostkę, moze ta wiedza sie komuś kiedyś przyda.
A teraz chce podziękować za zainteresowanie tematem i odpowiedzi na moje pytania.
Pozdrawiam ![]()
O routerze w samochodzie nawet nie pomyślałem, bardziej chodziło mi o takie "awaryjne zasilanie" gdy jest jakaś dłuższa przerwa w dostawie prądu. Ogólnie odpowiedź na swoje pytanie dostałem, więc bardzo dziekuje
. A odnośnie pracy routera w pojeździe, przy uruchomionym silniku napięcie jest wyższe, zależnie od pojadu no ale sa to wartości nawet przekraczające 14V. Czy przetwornica w TP-LINK'ach ma jakiś swój zakres napięcia na którym może pracować?
Witam. Pytanie bardziej skierowane do elektronikow na forum. Ze względu na to że na temat elektroniki znam tylko podstawowe podstawy to postanowiłem zapytać. Router to TP-LINK WDR3600, jest on zasilany zasilaczem który na wyjściu ma 12V 1.5A. Czy można by taki router zasilić np. akumulatorem samochodowym/motocyklowym 12V, oczywiście w taki sposób aby router w żaden sposób na tym nie ucierpiał?
Po zainstalowaniu wykrywa kolejny interfejs radiowy więc wygląda na to że działa.
Dziękuje Cezary za pomoc ![]()
Witam. Chciałbym do routera z zainstalowanym OpenWRT CC podłączyć adapter WiFi na USB. Jest to adapter "Edimax EW-7711USn". Z informacji jakie znalazłem w internecie ma on chipset "Ralink RT3070". Czy taki adapter zadziałała pod OpenWRT, jeżeli tak to co muszę doinstalować aby zaczął działać?
Z góry dziękuje ![]()
Teraz chcąc właśnie ustawić na WAN modem, przez ciekawość wydałem polecenie "ifconfig eth1" a poniżej wynik:
root@Matt-Router:/etc/config# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 0C:5B:8E:26:9A:64
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Jednak interfejs rzeczywiście jest... nie dostaje jednak adresu IP od modemu.
--Edit--
Ustawiłem statycznie IP dla interfejsu eth1 takie jakie zawsze przydzielał z automatu (192.168.8.100) i zaczęło działać ![]()
Dziękuje Cezary za pomoc. ![]()
No wg. logów eth1, ale jak już pokazywałem na wyniku polecenia "ifconfig -a", nie widać interfejsu eth1.
root@Matt-Router:~# logread
Sun Jul 12 15:49:33 2015 kern.notice kernel: [ 8.470000] jffs2: notice: (435) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Sun Jul 12 15:49:33 2015 user.info kernel: [ 8.480000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 9.270000] EXT4-fs (sda1): recovery complete
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 9.290000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts:
Sun Jul 12 15:49:33 2015 user.notice kernel: [ 9.310000] mount_root: switched to extroot
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 9.340000] eth0: link down
Sun Jul 12 15:49:33 2015 user.info kernel: [ 9.350000] procd: - early -
Sun Jul 12 15:49:33 2015 user.info kernel: [ 9.360000] procd: - watchdog -
Sun Jul 12 15:49:33 2015 user.info kernel: [ 10.140000] procd: - ubus -
Sun Jul 12 15:49:33 2015 user.info kernel: [ 11.170000] procd: - init -
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 11.940000] NET: Registered protocol family 10
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 11.960000] ip6_tables: (C) 2000-2006 Netfilter Core Team
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 11.980000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 11.990000] Backport generated by backports.git backports-20150129-0-gdd4a670
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.000000] ip_tables: (C) 2000-2006 Netfilter Core Team
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.020000] nf_conntrack version 0.5.0 (1968 buckets, 7872 max)
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.070000] xt_time: kernel timezone is -0000
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.070000] usbcore: registered new interface driver cdc_ether
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.110000] cfg80211: Calling CRDA to update world regulatory domain
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.110000] cfg80211: World regulatory domain updated:
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.120000] cfg80211: DFS Master region: unset
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.120000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.130000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.140000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.150000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.160000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.160000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.170000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.180000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.190000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.270000] PPP generic driver version 2.4.2
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.280000] NET: Registered protocol family 24
Sun Jul 12 15:49:33 2015 kern.debug kernel: [ 12.330000] ath: EEPROM regdomain: 0x0
Sun Jul 12 15:49:33 2015 kern.debug kernel: [ 12.330000] ath: EEPROM indicates default country code should be used
Sun Jul 12 15:49:33 2015 kern.debug kernel: [ 12.330000] ath: doing EEPROM country->regdmn map search
Sun Jul 12 15:49:33 2015 kern.debug kernel: [ 12.330000] ath: country maps to regdmn code: 0x3a
Sun Jul 12 15:49:33 2015 kern.debug kernel: [ 12.330000] ath: Country alpha2 being used: US
Sun Jul 12 15:49:33 2015 kern.debug kernel: [ 12.330000] ath: Regpair used: 0x3a
Sun Jul 12 15:49:33 2015 kern.debug kernel: [ 12.350000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.350000] ieee80211 phy0: Atheros AR9340 Rev:2 mem=0xb8100000, irq=47
Sun Jul 12 15:49:33 2015 kern.warn kernel: [ 12.360000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
Sun Jul 12 15:49:33 2015 kern.debug kernel: [ 12.370000] ath: EEPROM regdomain: 0x0
Sun Jul 12 15:49:33 2015 kern.debug kernel: [ 12.370000] ath: EEPROM indicates default country code should be used
Sun Jul 12 15:49:33 2015 kern.debug kernel: [ 12.370000] ath: doing EEPROM country->regdmn map search
Sun Jul 12 15:49:33 2015 kern.debug kernel: [ 12.370000] ath: country maps to regdmn code: 0x3a
Sun Jul 12 15:49:33 2015 kern.debug kernel: [ 12.370000] ath: Country alpha2 being used: US
Sun Jul 12 15:49:33 2015 kern.debug kernel: [ 12.370000] ath: Regpair used: 0x3a
Sun Jul 12 15:49:33 2015 kern.debug kernel: [ 12.380000] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.380000] ieee80211 phy1: Atheros AR9300 Rev:4 mem=0xb0000000, irq=40
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.430000] cfg80211: Calling CRDA for country: US
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.450000] cfg80211: Regulatory domain changed to country: US
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.450000] cfg80211: DFS Master region: FCC
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.460000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.470000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.470000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.480000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.490000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
Sun Jul 12 15:49:33 2015 kern.info kernel: [ 12.500000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
Sun Jul 12 15:49:35 2015 kern.notice kernel: [ 16.130000] random: nonblocking pool is initialized
Sun Jul 12 15:49:35 2015 user.emerg syslog: 'radio1' is disabled
Sun Jul 12 15:49:35 2015 user.emerg syslog: 'radio1' is disabled
Sun Jul 12 15:49:36 2015 user.emerg syslog: this file has been obseleted. please call "/sbin/block mount" directly
Sun Jul 12 15:49:36 2015 daemon.err block: /dev/sda1 is already mounted
Sun Jul 12 15:49:36 2015 cron.info crond[1014]: crond (busybox 1.23.2) started, log level 5
Sun Jul 12 15:49:37 2015 authpriv.info dropbear[1029]: Not backgrounding
Sun Jul 12 15:49:38 2015 user.emerg syslog: setting up led WLAN2G
Sun Jul 12 15:49:38 2015 daemon.info procd: - init complete -
Sun Jul 12 15:49:39 2015 kern.info kernel: [ 20.020000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Sun Jul 12 15:49:39 2015 kern.info kernel: [ 20.040000] device eth0.1 entered promiscuous mode
Sun Jul 12 15:49:39 2015 kern.info kernel: [ 20.040000] device eth0 entered promiscuous mode
Sun Jul 12 15:49:39 2015 daemon.notice netifd: Interface 'lan' is enabled
Sun Jul 12 15:49:39 2015 daemon.notice netifd: Interface 'lan' is setting up now
Sun Jul 12 15:49:39 2015 kern.info kernel: [ 20.060000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Sun Jul 12 15:49:39 2015 daemon.notice netifd: Interface 'lan' is now up
Sun Jul 12 15:49:39 2015 daemon.notice netifd: Interface 'loopback' is enabled
Sun Jul 12 15:49:39 2015 daemon.notice netifd: Interface 'loopback' is setting up now
Sun Jul 12 15:49:39 2015 daemon.notice netifd: Interface 'loopback' is now up
Sun Jul 12 15:49:39 2015 kern.info kernel: [ 20.080000] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
Sun Jul 12 15:49:39 2015 daemon.notice netifd: Interface 'wan' is enabled
Sun Jul 12 15:49:39 2015 daemon.notice netifd: Interface 'wan6' is enabled
Sun Jul 12 15:49:39 2015 daemon.notice netifd: Network device 'lo' link is up
Sun Jul 12 15:49:39 2015 daemon.notice netifd: Interface 'loopback' has link connectivity
Sun Jul 12 15:49:39 2015 kern.info kernel: [ 20.430000] eth0: link up (1000Mbps/Full duplex)
Sun Jul 12 15:49:39 2015 kern.info kernel: [ 20.430000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sun Jul 12 15:49:39 2015 daemon.notice netifd: Network device 'eth0' link is up
Sun Jul 12 15:49:39 2015 daemon.notice netifd: VLAN 'eth0.2' link is up
Sun Jul 12 15:49:39 2015 daemon.notice netifd: Interface 'wan' has link connectivity
Sun Jul 12 15:49:39 2015 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 15:49:39 2015 daemon.notice netifd: Interface 'wan6' has link connectivity
Sun Jul 12 15:49:39 2015 daemon.notice netifd: Interface 'wan6' is setting up now
Sun Jul 12 15:49:39 2015 daemon.notice netifd: VLAN 'eth0.1' link is up
Sun Jul 12 15:49:39 2015 kern.info kernel: [ 20.480000] br-lan: port 1(eth0.1) entered forwarding state
Sun Jul 12 15:49:39 2015 kern.info kernel: [ 20.480000] br-lan: port 1(eth0.1) entered forwarding state
Sun Jul 12 15:49:39 2015 kern.info kernel: [ 20.490000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
Sun Jul 12 15:49:39 2015 kern.info kernel: [ 20.490000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Sun Jul 12 15:49:39 2015 daemon.notice netifd: Bridge 'br-lan' link is up
Sun Jul 12 15:49:39 2015 daemon.notice netifd: Interface 'lan' has link connectivity
Sun Jul 12 15:49:39 2015 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Sun Jul 12 15:49:40 2015 kern.info kernel: [ 20.830000] cfg80211: Calling CRDA for country: PL
Sun Jul 12 15:49:40 2015 kern.info kernel: [ 20.890000] cfg80211: Regulatory domain changed to country: PL
Sun Jul 12 15:49:40 2015 kern.info kernel: [ 20.890000] cfg80211: DFS Master region: ETSI
Sun Jul 12 15:49:40 2015 kern.info kernel: [ 20.900000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Sun Jul 12 15:49:40 2015 kern.info kernel: [ 20.910000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Sun Jul 12 15:49:40 2015 kern.info kernel: [ 20.910000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
Sun Jul 12 15:49:40 2015 kern.info kernel: [ 20.920000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Sun Jul 12 15:49:40 2015 kern.info kernel: [ 20.930000] cfg80211: (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
Sun Jul 12 15:49:40 2015 kern.info kernel: [ 20.940000] cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
Sun Jul 12 15:49:40 2015 daemon.notice netifd: wan (1204): udhcpc (v1.23.2) started
Sun Jul 12 15:49:40 2015 daemon.notice netifd: wan (1204): Sending discover...
Sun Jul 12 15:49:40 2015 daemon.notice netifd: wan (1204): Sending select for 172.16.1.6...
Sun Jul 12 15:49:40 2015 daemon.notice netifd: wan (1204): Lease of 172.16.1.6 obtained, lease time 16
Sun Jul 12 15:49:40 2015 daemon.notice netifd: Interface 'wan' is now up
Sun Jul 12 15:49:41 2015 kern.info kernel: [ 22.480000] br-lan: port 1(eth0.1) entered forwarding state
Sun Jul 12 15:49:41 2015 daemon.notice netifd: radio0 (1109): Configuration file: /var/run/hostapd-phy0.conf
Sun Jul 12 15:49:41 2015 kern.info kernel: [ 22.670000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sun Jul 12 15:49:41 2015 kern.info kernel: [ 22.680000] device wlan0 entered promiscuous mode
Sun Jul 12 15:49:41 2015 daemon.notice netifd: radio0 (1109): wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sun Jul 12 15:49:41 2015 daemon.notice netifd: radio0 (1109): wlan0: interface state COUNTRY_UPDATE->HT_SCAN
Sun Jul 12 15:49:43 2015 daemon.notice netifd: radio0 (1109): Using interface wlan0 with hwaddr e8:94:f6:33:67:15 and ssid "Matt-Network(2,4GHz)"
Sun Jul 12 15:49:43 2015 kern.info kernel: [ 23.940000] br-lan: port 2(wlan0) entered forwarding state
Sun Jul 12 15:49:43 2015 kern.info kernel: [ 23.950000] br-lan: port 2(wlan0) entered forwarding state
Sun Jul 12 15:49:43 2015 kern.info kernel: [ 23.950000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sun Jul 12 15:49:43 2015 daemon.notice netifd: radio0 (1109): wlan0: interface state HT_SCAN->ENABLED
Sun Jul 12 15:49:43 2015 daemon.notice netifd: radio0 (1109): wlan0: AP-ENABLED
Sun Jul 12 15:49:43 2015 daemon.notice netifd: Network device 'wlan0' link is up
Sun Jul 12 15:49:44 2015 daemon.info dnsmasq[1312]: started, version 2.73 cachesize 150
Sun Jul 12 15:49:44 2015 daemon.info dnsmasq[1312]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC loop-detect inotify
Sun Jul 12 15:49:44 2015 daemon.info dnsmasq[1312]: DNS service limited to local subnets
Sun Jul 12 15:49:44 2015 daemon.info dnsmasq-dhcp[1312]: DHCP, IP range 192.168.2.1 -- 192.168.2.150, lease time 12h
Sun Jul 12 15:49:44 2015 daemon.info dnsmasq[1312]: using local addresses only for domain lan
Sun Jul 12 15:49:44 2015 daemon.info dnsmasq[1312]: reading /tmp/resolv.conf.auto
Sun Jul 12 15:49:44 2015 daemon.info dnsmasq[1312]: using local addresses only for domain lan
Sun Jul 12 15:49:44 2015 daemon.info dnsmasq[1312]: using nameserver 8.8.8.8#53
Sun Jul 12 15:49:44 2015 daemon.info dnsmasq[1312]: using nameserver 8.8.4.4#53
Sun Jul 12 15:49:44 2015 daemon.info dnsmasq[1312]: read /etc/hosts - 1 addresses
Sun Jul 12 15:49:44 2015 daemon.info dnsmasq[1312]: read /tmp/hosts/dhcp - 1 addresses
Sun Jul 12 15:49:44 2015 daemon.info dnsmasq-dhcp[1312]: read /etc/ethers - 0 addresses
Sun Jul 12 15:49:45 2015 kern.info kernel: [ 25.950000] br-lan: port 2(wlan0) entered forwarding state
Sun Jul 12 15:49:45 2015 user.notice firewall: Reloading firewall due to ifup of wan (eth0.2)
Sun Jul 12 15:49:48 2015 daemon.notice netifd: wan (1204): Sending renew...
Sun Jul 12 15:49:48 2015 daemon.notice netifd: wan (1204): Lease of 172.16.1.6 obtained, lease time 16
Sun Jul 12 15:49:56 2015 daemon.notice netifd: wan (1204): Sending renew...
Sun Jul 12 15:49:56 2015 daemon.notice netifd: wan (1204): Lease of 172.16.1.6 obtained, lease time 16
Sun Jul 12 15:50:04 2015 daemon.notice netifd: wan (1204): Sending renew...
Sun Jul 12 15:50:04 2015 daemon.notice netifd: wan (1204): Lease of 172.16.1.6 obtained, lease time 16
Sun Jul 12 15:50:08 2015 kern.info kernel: [ 49.180000] usb 1-1.2: new high-speed USB device number 4 using ehci-platform
Sun Jul 12 15:50:08 2015 kern.info kernel: [ 49.290000] hub 1-1.2:1.0: USB hub found
Sun Jul 12 15:50:08 2015 kern.info kernel: [ 49.290000] hub 1-1.2:1.0: 4 ports detected
Sun Jul 12 15:50:12 2015 daemon.notice netifd: wan (1204): Sending renew...
Sun Jul 12 15:50:12 2015 daemon.notice netifd: wan (1204): Lease of 172.16.1.6 obtained, lease time 16
Sun Jul 12 15:50:20 2015 daemon.notice netifd: wan (1204): Sending renew...
Sun Jul 12 15:50:20 2015 daemon.notice netifd: wan (1204): Lease of 172.16.1.6 obtained, lease time 16
Sun Jul 12 15:50:24 2015 kern.info kernel: [ 65.580000] usb 1-1.2: USB disconnect, device number 4
Sun Jul 12 15:50:28 2015 daemon.notice netifd: wan (1204): Sending renew...
Sun Jul 12 15:50:28 2015 daemon.notice netifd: wan (1204): Lease of 172.16.1.6 obtained, lease time 16
Sun Jul 12 15:50:31 2015 kern.info kernel: [ 72.470000] usb 1-1.2: new high-speed USB device number 5 using ehci-platform
Sun Jul 12 15:50:31 2015 kern.info kernel: [ 72.580000] hub 1-1.2:1.0: USB hub found
Sun Jul 12 15:50:31 2015 kern.info kernel: [ 72.580000] hub 1-1.2:1.0: 4 ports detected
Sun Jul 12 15:50:36 2015 daemon.notice netifd: wan (1204): Sending renew...
Sun Jul 12 15:50:36 2015 daemon.notice netifd: wan (1204): Lease of 172.16.1.6 obtained, lease time 16
Sun Jul 12 15:50:44 2015 daemon.notice netifd: wan (1204): Sending renew...
Sun Jul 12 15:50:44 2015 daemon.notice netifd: wan (1204): Lease of 172.16.1.6 obtained, lease time 16
Sun Jul 12 15:50:46 2015 kern.info kernel: [ 87.580000] usb 1-1.2.4: new high-speed USB device number 6 using ehci-platform
Sun Jul 12 15:50:46 2015 kern.info kernel: [ 87.710000] usb-storage 1-1.2.4:1.0: USB Mass Storage device detected
Sun Jul 12 15:50:46 2015 kern.info kernel: [ 87.730000] scsi host1: usb-storage 1-1.2.4:1.0
Sun Jul 12 15:50:47 2015 kern.info kernel: [ 88.110000] usb 1-1.2.4: USB disconnect, device number 6
Sun Jul 12 15:50:48 2015 kern.info kernel: [ 88.860000] usb 1-1.2.4: new high-speed USB device number 7 using ehci-platform
Sun Jul 12 15:50:48 2015 kern.info kernel: [ 88.990000] cdc_ether 1-1.2.4:1.0 eth1: register 'cdc_ether' at usb-ehci-platform-1.2.4, CDC Ethernet Device, 0c:5b:8f:27:9a:64
Sun Jul 12 15:50:48 2015 kern.info kernel: [ 89.010000] usb-storage 1-1.2.4:1.2: USB Mass Storage device detected
Sun Jul 12 15:50:48 2015 kern.info kernel: [ 89.010000] scsi host2: usb-storage 1-1.2.4:1.2
Sun Jul 12 15:50:49 2015 daemon.info hostapd: wlan0: STA 44:d4:e0:c7:56:25 IEEE 802.11: authenticated
Sun Jul 12 15:50:49 2015 daemon.info hostapd: wlan0: STA 44:d4:e0:c7:56:25 IEEE 802.11: associated (aid 1)
Sun Jul 12 15:50:49 2015 kern.notice kernel: [ 90.020000] scsi 2:0:0:0: Direct-Access HUAWEI TF CARD Storage 2.31 PQ: 0 ANSI: 2
Sun Jul 12 15:50:49 2015 kern.notice kernel: [ 90.030000] sd 2:0:0:0: [sdb] Attached SCSI removable disk
Sun Jul 12 15:50:49 2015 daemon.err block: Unkown action change
Sun Jul 12 15:50:49 2015 daemon.err block: Unkown action change
Sun Jul 12 15:50:50 2015 daemon.info dnsmasq-dhcp[1312]: DHCPREQUEST(br-lan) 192.168.2.10 44:d4:e0:c7:56:25
Sun Jul 12 15:50:50 2015 daemon.info dnsmasq-dhcp[1312]: DHCPACK(br-lan) 192.168.2.10 44:d4:e0:c7:56:25 android-5a349e74c5f8d53e
Sun Jul 12 15:50:52 2015 daemon.notice netifd: wan (1204): Sending renew...
Sun Jul 12 15:50:52 2015 daemon.notice netifd: wan (1204): Lease of 172.16.1.6 obtained, lease time 16
Sun Jul 12 15:51:00 2015 daemon.notice netifd: wan (1204): Sending renew...
Sun Jul 12 15:51:00 2015 daemon.notice netifd: wan (1204): Lease of 172.16.1.6 obtained, lease time 16
Sun Jul 12 15:51:07 2015 authpriv.info dropbear[1749]: Child connection from 172.16.1.1:46709
Sun Jul 12 15:51:08 2015 daemon.notice netifd: wan (1204): Sending renew...
Sun Jul 12 15:51:08 2015 daemon.notice netifd: wan (1204): Lease of 172.16.1.6 obtained, lease time 16
Sun Jul 12 15:51:12 2015 authpriv.notice dropbear[1749]: Password auth succeeded for 'root' from 172.16.1.1:46709
No właśnie problem w tym że nie pojawia mi się usb0 ani ethX...
root@Matt-Router:/etc# ifconfig -a
br-lan Link encap:Ethernet HWaddr E8:94:F6:33:67:14
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::ea94:f6ff:fe33:6714/64 Scope:Link
inet6 addr: fd98:5d54:1531::1/60 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2525 errors:0 dropped:0 overruns:0 frame:0
TX packets:2155 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:200279 (195.5 KiB) TX bytes:286504 (279.7 KiB)eth0 Link encap:Ethernet HWaddr E8:94:F6:33:67:14
inet6 addr: fe80::ea94:f6ff:fe33:6714/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9986 errors:0 dropped:0 overruns:0 frame:0
TX packets:6282 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2414676 (2.3 MiB) TX bytes:1314844 (1.2 MiB)
Interrupt:4eth0.1 Link encap:Ethernet HWaddr E8:94:F6:33:67:14
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2447 errors:0 dropped:0 overruns:0 frame:0
TX packets:1888 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:193828 (189.2 KiB) TX bytes:261062 (254.9 KiB)eth0.2 Link encap:Ethernet HWaddr E8:94:F6:33:67:14
inet addr:172.16.1.6 Bcast:172.16.1.255 Mask:255.255.255.0
inet6 addr: fe80::ea94:f6ff:fe33:6714/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7536 errors:0 dropped:0 overruns:0 frame:0
TX packets:4386 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2040844 (1.9 MiB) TX bytes:1027798 (1003.7 KiB)lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2052 errors:0 dropped:0 overruns:0 frame:0
TX packets:2052 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:146638 (143.2 KiB) TX bytes:146638 (143.2 KiB)
(eth0.2 czyli port WAN jest podłączone tymczasowo)
root@OpenWRT:/etc# cat /sys/kernel/debug/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 2, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 3.18
S: Manufacturer=Linux 3.18.17 ehci_hcd
S: Product=EHCI Host 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=256msT: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=05e3 ProdID=0608 Rev=85.36
S: Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256msT: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1908 ProdID=1320 Rev= 1.00
S: Manufacturer=Generic
S: Product=Mass storage
S: SerialNumber=SN0007972272
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0msT: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 6 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1a40 ProdID=0101 Rev= 1.11
S: Product=USB 2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256msT: Bus=01 Lev=03 Prnt=06 Port=03 Cnt=01 Dev#= 8 Spd=480 MxCh= 0
D: Ver= 2.10 Cls=02(comm.) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=14dc Rev= 1.02
S: Manufacturer=HUAWEI_MOBILE
S: Product=HUAWEI_MOBILE
C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 2mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether
E: Ad=83(I) Atr=03(Int.) MxPS= 16 Ivl=2ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=06 Prot=00 Driver=cdc_ether
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
Witam. Na routerze zainstalowałem najnowsze "CC by obsy" z eko.one.pl. Podstawowa konfiguracja poszła w miarę bez problemowo (extroot, konfiguracja lan/wifi itp.) ale problem pojawił się z modemem (Huawei E3372 HiLink). Najpierw zainstalowałem "kmod-usb-net-cdc-ether" i podłączyłem modem, został wykryty ale nie jako karta sieciowa tylko jako coś innego. No wiec pomyślałem że trzeba doinstalować jeszcze "usb-modeswitch" oraz "usb-modeswitch-data" i tutaj "zaskoczenie" bo usb-modeswitch się zainstalowało ale usb-modeswitch-data twierdzi że nie ma takiego pakietu. I teraz ostatecznie router twierdzi że nie ma takiego polecenia jak "usb_modeswitch" a modem nie przełącza się po podłączeniu.
root@OpenWRT:~# usb_modeswitch
-ash: usb_modeswitch: not found
Jest na to jakaś rada ?
Po wypakowaniu wskazanego przez Ciebie archiwum do katalogu /etc/usb_modeswitch.d/ polecenie "usb_modeswitch -v 12d1 -p 1f01 -c /etc/usb_modeswitch.d/12d1:1f01" w końcu przełącza modem w odpowiedni tryb ![]()
Dziękuje Cezary po raz kolejny za Twoją szybką i niezastąpioną pomoc ![]()
Tak mam.
PC ~ # apt-get install usb-modeswitch-data
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
usb-modeswitch-data jest już w najnowszej wersji.
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
Niee, wcale nie jest trudno
. W moim przypadku katalog "/etc/usb_modeswitch.d/" jest pusty. Jest możliwość jakieś aktualizacji usb_modeswitch aby pojawiły się urządzenia w katalogu /etc/usb_modeswitch.d/? A może pomogłoby gdybym skopiował na siłę zawartość tego katalogu z OpenWRT do kalatogu na PC?
eko.one.pl → Posty przez Zoltar
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc