Tylko nie wiem czy dam radę tym to wyłapać, bo jak widzę:
urlsnarf: listening on br-lan [tcp port 80 or port 8080 or port 3128]
to w łapie tylko porty 80, 8080 i 3128 a ja nie wiem na jakich portach tv się łączy i pobiera te reklamy.
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Posty przez Bartekk
Tylko nie wiem czy dam radę tym to wyłapać, bo jak widzę:
urlsnarf: listening on br-lan [tcp port 80 or port 8080 or port 3128]
to w łapie tylko porty 80, 8080 i 3128 a ja nie wiem na jakich portach tv się łączy i pobiera te reklamy.
Mam BB, tam jest jakiś graficzny interfejs, żeby zobaczyć z czym się ip telewizora łączy? Ogólnie najłatwiej byłoby wszystko zablokować, ale wtedy całego smarta tracę.
Cześć, wiecie może czy da radę wychwycić i zablokować reklamy w telewizorach lg z systemem webOS? Irytują mnie reklamy saturna w prawym dolnym rogu i za pewne idzie to przez internet. Pytanie tylko czy można to wychwycić i bloknąć, jak myślicie?
Skompilować można, ale kernel nie startuję. Masz zrzut z konsoli:

AA, debiana, archa i gentoo chyba. Jakiś port z synology był, ale temat chyba umarł.
Nie odpalisz na razie BB na NSA310.
Działa. Nie wiem jakim cudem. Podpiąłem ponownie do routera i zaskoczyło.
Nie wiem. Jedynie co zrobiłem to zainstalowałem p910nd wraz z pluginem do luci i włączyłem. Później edytowałem config i restartowałem.
root@OpenWrt:~# ps
PID USER VSZ STAT COMMAND
1 root 1392 S /sbin/procd
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 SW [kworker/0:0]
5 root 0 SW< [kworker/0:0H]
7 root 0 SW< [khelper]
60 root 0 SW< [writeback]
63 root 0 SW< [bioset]
65 root 0 SW< [kblockd]
93 root 0 SW [kworker/0:1]
98 root 0 SW [kswapd0]
145 root 0 SW [fsnotify_mark]
176 root 0 SW< [ath79-spi]
306 root 0 SW< [deferwq]
318 root 0 SW [khubd]
403 root 0 SW [kworker/u2:2]
404 root 0 SWN [jffs2_gcd_mtd7]
522 root 884 S /sbin/ubusd
525 root 772 S /sbin/askfirst ttyS0 /bin/ash --login
837 root 0 SW< [cfg80211]
967 root 1036 S /sbin/logd -S 16
1001 root 1480 S /sbin/netifd
1028 root 1152 S /usr/sbin/odhcpd
1065 root 1152 S /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p
1074 root 784 S {p910nd} /usr/sbin/p9100d 0
1196 root 812 S odhcp6c -s /lib/netifd/dhcpv6.script -P0 -t120 eth0.
1711 root 1528 S /usr/sbin/uhttpd -f -h /www -r OpenWrt -x /cgi-bin -
1737 nobody 944 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf -k
1846 root 1580 S /usr/sbin/hostapd -P /var/run/wifi-phy0.pid -B /var/
1942 root 1420 S {dynamic_dns_upd} /bin/sh /usr/lib/ddns/dynamic_dns_
2165 root 21184 S /usr/bin/mpd
2190 root 1364 S /usr/sbin/ntpd -n -p 0.openwrt.pool.ntp.org -p 1.ope
2472 root 784 S {p910nd} /usr/sbin/p9100d -b -f /dev/usb/lp0 0
2516 root 784 S {p910nd} /usr/sbin/p9100d -b -f /dev/usb/lp0 -i 192.
2967 root 0 SW [kworker/u2:0]
2982 root 784 S {p910nd} /usr/sbin/p9100d -b -f /dev/usb/lp0 -i 192.
3148 root 784 S {p910nd} /usr/sbin/p9100d -b -f /dev/usb/usb/lp0 -i
5037 root 0 SW [kworker/0:3]
5038 root 0 SW [kworker/0:2]
5059 root 1352 S sleep 600
5060 root 1220 R /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p
5061 root 1368 S -ash
5118 root 1360 R psDobre pytanie. Zmiana ścieżki w configu nic nie zmienia. Ciągle próbuje czytać z /dev/lp0.
Wykonałem reboot w putt'ym. To nie wystarczy?
root@OpenWrt:~# uci show p910nd
p910nd.@p910nd[0]=p910nd
p910nd.@p910nd[0].device=/dev/usb/lp0
p910nd.@p910nd[0].port=0
p910nd.@p910nd[0].bidirectional=1
p910nd.@p910nd[0].enabled=1
p910nd.@p910nd[0].bind=192.168.2.1root@OpenWrt:/dev# ls
audio mtd3ro mtdblock6 ttyS11
bus mtd4 mtdblock7 ttyS12
console mtd4ro mtdblock8 ttyS13
cpu_dma_latency mtd5 network_latency ttyS14
dsp mtd5ro network_throughput ttyS15
full mtd6 null ttyS2
kmsg mtd6ro port ttyS3
log mtd7 ppp ttyS4
mem mtd7ro ptmx ttyS5
mixer mtd8 pts ttyS6
mtd0 mtd8ro random ttyS7
mtd0ro mtdblock0 shm ttyS8
mtd1 mtdblock1 snd ttyS9
mtd1ro mtdblock2 tty urandom
mtd2 mtdblock3 ttyS0 usb
mtd2ro mtdblock4 ttyS1 watchdog
mtd3 mtdblock5 ttyS10 zero
root@OpenWrt:/dev# cd usb
root@OpenWrt:/dev/usb# ls
lp0
root@OpenWrt:/dev/usb#A w logu przy wypięciu i podłączeniu drukarki:
Thu Oct 23 22:14:16 2014 kern.info kernel: [ 2075.570000] usb 1-1.2: new full-speed USB device number 7 using ehci-platform
Thu Oct 23 22:14:16 2014 kern.info kernel: [ 2075.690000] usblp 1-1.2:1.0: usblp0: USB Bidirectional printer dev 7 if 0 alt 1 proto 2 vid 0x03F0 pid 0x0217
Thu Oct 23 22:14:25 2014 lpr.err p9100d[1074]: /dev/lp0: No such file or directory
Thu Oct 23 22:14:25 2014 lpr.err p9100d[1074]: /dev/lp0: No such file or directory, will try opening laterDrukarke wykryło po restarcie, ale w logu dalej:
Thu Oct 23 21:44:05 2014 lpr.err p9100d[1074]: /dev/lp0: No such file or directory, will try opening later
Nie wiem czemu chcę brać jąz /dev/lp0 jeżeli ona jest w /dev/usb/lp0. W konfiguracji p910 jest prawidłowa ścieżka.
Cześć, wrzuciłem dzisiaj najnowsze BB z eko i mam problem z p910. Na gargulcu i wcześniejszych wersjach BB wszystko działało, a teraz nie wykrywa drukarki. Podczas próby drukowania w logu mam:
Thu Oct 23 21:19:34 2014 lpr.err p9100d[4187]: /dev/usb/lp0: No such file or directory, will try opening later
Thu Oct 23 21:19:44 2014 lpr.err p9100d[4187]: /dev/usb/lp0: No such file or directory
Thu Oct 23 21:19:44 2014 lpr.err p9100d[4187]: /dev/usb/lp0: No such file or directory, will try opening later
Thu Oct 23 21:19:54 2014 lpr.err p9100d[4187]: /dev/usb/lp0: No such file or directory
Thu Oct 23 21:19:54 2014 lpr.err p9100d[4187]: /dev/usb/lp0: No such file or directory, will try opening laterMam czyste openwrt. Zainstalowałem p910, kmod-usb-core kmod-usb2 kmod-usb-printer p910nd. Doinstalowałem nawet luci z pluginem i tam ustawiałem ale dalej to samo. W czym problem?
Z tymi portami usb dla ipadów itd. to jest tak, że ono normalnie działa jak zwykłe USB 2.0 a dopiero gdy podepniesz coś ze stajni apla to dopiero przełączą się w ten mocniejszy tryb.
Zgadzam się, dlatego jak słyszę, że Zeus na poważnie ciśnie piorunami to odłączam i UPS'a ![]()
Jako, że to jest już n-ty wątek, w którym pada info, że po burzy się spalił port routera, to muszę zadać jedno pytanie -- czy te routery są tak wrażliwe na burze, że trzeba je odłączać od gniazdka, czy macie jakąś nietypową instalację elektryczna? Pytam, bo w sumie u mnie burzy jeszcze nie było i jak będzie to odłączać router?
Na dobrą sprawę nigdy żadne elektryczne urządzenie mi się od burzy jeszcze nie popsuło.
Ja u siebie nie wyłączam, większość urządzeń stoi za ups'em, który ma zabezpieczenia więc jakby coś się stało(stfu!) to poleci tylko on. Linie adsl również mam zabezpieczoną, bo 3 lata temu podczas burzo poszło przepięcie po linii telefonicznej i livebox poleciał.
Jak czytałem zabawa z flashem odpada. Zostaje więc jtag. Nigdy tego nie robiłem więc potrzebuje informacji na temat programów, którym mogę postawić na nogi go. Co do samego jtaga, to zdecyduje się kupić jakiegoś, bo te wersje na LPT to chyba trochę przestarzałe.
W tym modelu tftp nie dało się włączyć. Dodatkowo wyczyściłem przypadkiem mtd3 i teraz nie mam komunikacji nawet po rs'ie. Zostaje mi walczyć z nim przez jtaga albo wylutować flasha i zewnętrznie zaprogramować prawda?
Mogę z poziomu konsoli zrobić upgrade, tylko jak przesłać firmware jeśli mam tylko połączenie przez rs'a?
Mam takie coś:
tn7dsl_set_modulation : Setting mode to 0xffff
Texas Instruments ATM driver: version:[7.00.01.00]
Waiting for enter to start '/bin/sh' (pid 31, terminal /dev/tts/0)
Please press Enter to activate this console. exec> /usr/bin/cm_logic -m /dev/tic fg -c /etc/config.xml
Save /proc/ticfg/env to /var/tmp/env.txt for PPPOE_RECONNECT_ISSUE
Logger: Setting remote_loglevel=notice (5)
Setting loglevel=notice (5)
###############
password=admin
===>bridge set ZIPB_MODE active in init
===>bridge set ZIPB_MODE active in init
### open dev file result:14
httpd_str:/usr/sbin/thttpd -g -d /usr/www -u root -p 80 -c /cgi-bin/* &
time_init: syncmode:1, daylight:2, timezone:22
Eth MAC:00:17:9a:c2:a1:ab
init_qos_table at qos module
Doing BRCTL ...
Basic POST completed... Success.
Last reset cause: Hardware reset (Power-on reset)
PSPBoot1.3 rev: 1.3.7.15
(c) Copyright 2002-2005 Texas Instruments, Inc. All Rights Reserved.
Press ESC for monitor... 1
(psbl)
Booting...
Launching kernel decompressor.
Starting LZMA Uncompression Algorithm.
Compressed file is LZMA format.
Kernel decompressor was successful ... launching kernel.
LINUX started...
Config serial console: ttyS0,38400
Auto Detection OHIO chip
This SOC has MDIX cababilities on chip.
CPU revision is: 00018448
Primary instruction cache 16kb, linesize 16 bytes (4 ways)
Primary data cache 8kb, linesize 16 bytes (4 ways)
Number of TLB entries 16.
Linux version 2.4.17_mvl21-malta-mips_fp_le (sean@BSD7.localdomain) (gcc version 2.95.3 20010315 (release/MontaVista)) #1 Thu Jun 28 10:58:43 CST 2007
Determined physical RAM map:
memory: 14000000 @ 00000000 (reserved)
memory: 00020000 @ 14000000 (ROM data)
memory: 007e0000 @ 14020000 (usable)
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line:
calculating r4koff... 00102c00(1059840)
CPU frequency 211.97 MHz
Calibrating delay loop... 211.35 BogoMIPS
Freeing Adam2 reserved memory [0x14001000,0x0001f000]
Memory: 6312k/8192k available (1495k kernel code, 1880k reserved, 99k data, 60k init)
Dentry-cache hash table entries: 1024 (order: 1, 8192 bytes)
Inode-cache hash table entries: 512 (order: 0, 4096 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 2048 (order: 1, 8192 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
TI Optimizations: Allocating TI-Cached Memory Pool.
Warning: Number of buffers is not configured.Setting default to 120
Using 120 Buffers for TI-Cached Memory Pool.
DEBUG: Using Hybrid Mode.
NSP Optimizations: Succesfully allocated TI-Cached Memory Pool.
Initializing RT netlink socket
Starting kswapd
Disabling the Out Of Memory Killer
devfs: v1.7 (20011216) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
pty: 32 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0xa8610e00 (irq = 15) is a 16550A
block: 64 slots per queue, batch=16
DEBUG: Initializing the voice port management module.
DEBUG: Initialization of the voice port management module successful..
CPMAC Auto Detect Enabled: detected internal PHY .
Error getting CPMAC Configuration params for instance:0
Environment Variable:MACCFG_A not set in bootloader
Setting Default configuration params for CPMAC instance:0
Default Asymmetric MTU for eth0 1500
TI CPMAC Linux DDA version 1.8 - CPMAC DDC version 0.2
Cpmac: Installed 1 instances.
Cpmac driver is allocating buffer memory at init time.
PPP generic driver version 2.4.1
avalanche flash device: 0x400000 at 0x10000000.
Physically mapped flash:0: Found 1 x16 devices at 0x200000 in 16-bit mode
Amd/Fujitsu Extended Query Table v1.0 at 0x0040
number of CFI chips: 2
Looking for mtd device :mtd0:
Found a mtd0 image (0xa1000), with size (0x15f000).
Creating 1 MTD partitions on "Physically mapped flash:0":
0x000a1000-0x00200000 : "mtd0"
mtd: partition "mtd0" doesn't start on an erase block boundary -- force read-onl y
Looking for mtd device :mtd1:
Found a mtd1 image (0x20090), with size (0x80f70).
Creating 1 MTD partitions on "Physically mapped flash:0":
0x00020090-0x000a1000 : "mtd1"
mtd: partition "mtd1" doesn't start on an erase block boundary -- force read-onl y
Looking for mtd device :mtd2:
Found a mtd2 image (0x0), with size (0x10000).
Creating 1 MTD partitions on "Physically mapped flash:0":
0x00000000-0x00010000 : "mtd2"
Looking for mtd device :mtd3:
Found a mtd3 image (0x10000), with size (0x10000).
Creating 1 MTD partitions on "Physically mapped flash:0":
0x00010000-0x00020000 : "mtd3"
Looking for mtd device :mtd4:
Found a mtd4 image (0x20000), with size (0x1e0000).
Creating 1 MTD partitions on "Physically mapped flash:0":
0x00020000-0x00200000 : "mtd4"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 512)
Linux IP multicast router 0.06 plus PIM-SM
ip_conntrack version 2.0 (64 buckets, 512 max) - 364 bytes per conntrack
ip_tables: (c)2000 Netfilter core team
netfilter PSD loaded - (c) astaro AG
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
Initializing the WAN Bridge.
Please set the MAC Address for the WAN Bridge.
Set the Environment variable 'wan_br_mac'.
MAC Address should be in the following format: xx.xx.xx.xx.xx.xx
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 60k freed
serial console detected. Disabling virtual terminals.
console=/dev/tts/0
init started: BusyBox v0.61.pre (2007.06.28-03:00+0000) multi-call binary
Starting pid 9, console /dev/tts/0: '/etc/init.d/rcS'
Algorithmics/MIPS FPU Emulator v1.5
Reading Standard Configuration File /etc/led.conf
Configured 18 states
Using /lib/modules/2.4.17_mvl21-malta-mips_fp_le/kernel/drivers/atm/tiatm.o
registered device TI Avalanche SAR
Ohio250(7200/7100A2) detected
DSP binary filesize = 364214 bytes
tn7dsl_set_modulation : Setting mode to 0xffff
Texas Instruments ATM driver: version:[7.00.01.00]
Waiting for enter to start '/bin/sh' (pid 31, terminal /dev/tts/0)
Please press Enter to activate this console. exec> /usr/bin/cm_logic -m /dev/tic fg -c /etc/config.xml
Save /proc/ticfg/env to /var/tmp/env.txt for PPPOE_RECONNECT_ISSUE
Logger: Setting remote_loglevel=notice (5)
Setting loglevel=notice (5)
###############
password=admin
===>bridge set ZIPB_MODE active in init
===>bridge set ZIPB_MODE active in init
### open dev file result:14
httpd_str:/usr/sbin/thttpd -g -d /usr/www -u root -p 80 -c /cgi-bin/* &
time_init: syncmode:1, daylight:2, timezone:22
Eth MAC:00:17:9a:c2:a1:ab
init_qos_table at qos module
Doing BRCTL ...
addbr br0
Doing BRCTL ...
addbr br1
Jan 1 12:00:11 tn7dsl_set_modulation : Setting mode to 0xffff
cfgmgr(sar): Jan 1 12:00:11> DSL Polling Timer Started succesfully.
Jan 1 12:00:12 cfgmgr(fdb): Jan 1 12:00:12> Firewall NAT service started
Default Asymmetric MTU for nas0 1500
DEBUG: Registering protocol inspector: 0x9414d668 for VCC:0x941f8a00
Find pppoe or static module, and ethmac: 00:17:9a:c2:a1:ab
/sbin/ifconfig nas0 hw ether 00:17:9a:c2:a1:ab
exec> /usr/bin/cm_klogd /dev/klog
Jan 1 12:00:13 thttpd[189]: Jan 1 12:00:13> starting on port 80
exec> /usr/sbin/brctl addbr br0
exec> /sbin/ifconfig eth0 up
exec> /sbin/ifconfig br0 up
Default Asymmetric MTU for br0 1500
===>bridge ZIPB enable
exec> /usr/sbin/brctl addbr br1
FLAG: 1
notify kernel event successful!
Jan 1 12:00:14 cfgmgr(lanbridge0): Jan 1 12:00:14> Bridge Created: br0
exec> /sbin/ifconfig br1 up
Default Asymmetric MTU for br1 1500
exec> /sbin/ifconfig br0 up
===>bridge ZIPB enable
exec> /usr/sbin/brctl setfilter br0 0
Doing BRCTL ...
setfilter br0 0
Doing BRCFLAG: 1
TL ...
addif br0 eth0
notify kernel event successful!
Jan 1 12:00:14 cfgmgr(lanbridge1): Jan 1 12:00:14> Bridge Created: br1
exec> /usr/sbin/brctl addif br0 eth0
device eth0 entered promiscuous mode
br0: port 1(eth0) entering learning state
exec> /sbin/ifconfig br1 up
exec> /usr/sbin/brctl setfilter br1 0
Doing BRCTL ...
setfilter br1 0
Doing BRCTL ...
stp br0 off
Jan 1 12:00:15 cfgmgr(lanbridge0): Jan 1 12:00:15> Bridge Interface Added: eth 0
exec> /sbin/ifconfig br0 192.168.1.1 netmask 255.255.255.0
exec> /usr/sbin/brctl stp br0 off
Device UP br0
Fib_add_ifaddr : DEV br0
exec> /sbin/ifconfig eth0 0.0.0.0 up
=========open==========
gwanip = 0.0.0.0
=========close==========
parsed dns2(NULL) from N/A fail
exec> /usr/sbin/brctl setfilter br0 0
Doing BRCTL ...
setfilter br0 0
Doing BRCTL ...
stp br1 off
exec> /sbin/ifconfig br1 0.0.0.0
exec> /usr/sbin/udhcpd /var/tmp/udhcpd.conf
exec> /sbin/route add -net 239.0.0.0 netmask 255.0.0.0 metric 1 dev br0
exec> /usr/sbin/brctl stp br1 off
--->can't read zipb route file
ZIPB[DHCP Stage]: Begin getting Wan IP.....
parsed dns2(NULL) from N/A fail
exec> /usr/sbin/udhcpd /var/tmp/udhcpd.conf
--->can't read zipb route file
ZIPB[DHCP Stage]: Begin getting Wan IP.....
ZIPB[DHCP Stage]: Get Wan IP error.....
br0: port 1(eth0) entering forwarding state
br0: topology change detected, propagating
Jan 1 12:00:21 cfgmgr(sar): Jan 1 12:00:21> DSL Carrier is downD'link DSL-320T. Wrzucony nowsze firmware. Po aktualizacji brak z nim kontaktu. Dioda status miga, dioda ethernet również miga więc jakaś komunikacja jest. Strona konfiguracyjna ładuję się w nieskończoność. Telnet zacina się po wprowadzeniu danych. Mam jedynie takie coś:
BusyBox on (none) login: admin
Password:
BusyBox v0.61.pre (2007.06.28-03:00+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.Nic nie mogę tu wpisać. Jest jakaś szansa, aby to uratować?
Cześć, potrzebuje schemat jtaga i programu, którym postawię na nogi modem adsl po złym flashowaniu. Dzięki bardzo.
eko.one.pl → Posty przez Bartekk
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc