1 (edytowany przez edass 2016-10-09 10:43:46)

Temat: Sagemcom 2704 webcam + WDR3600

Witam
Mam problem z poprawnym połączeniem 2704 działającego jako webcam z WDR3600, który jest moim głównym routerem.

Dokładniej:
- na 2704 (ostatnie CC z Luci z eco.one.pl) + kamera Creative Vista IM mam skonfigurowany działający motion i mogę się do niego podłączyć pod adresem 192.168.20.1:8081 (router ma celowo zmienioną pulę adresów IP) pod warunkiem, że 2704 podłącze kablem LAN do kompa albo przez WiFi jeżeli dam na 2704 tryb AP.

- WDR3600 ( z 1.9.0.2 (r49118), by obsy też z eco.one.pl) jest głównym routerem udostępniającym internet w domu (Modem LTE - wiem, że problemem jest dostanie się do niego z zewnątrz ale o tym później jeżeli uda się zrobić to co chcę), numeracja IP standardowa 192.168.1.1

Problem polega na tym ,że nie mogę skomunikować ze sobą 2704 z WDR3600 przez WiFi. Jeżeli to możliwe chciałbym aby 2704 był podłączony do WDR przez WiFi, jeżeli to możliwe mile widziane wzmacnianie tej sieci z WDR.
Do tej pory próbowałem:
1. WDR w trybie AP, 2704 Client - brak połączania
2. WDR AP+WDS , 2704 WDS Client - brak połączenia
3. Testowo podłączyłem przez kabel i było ok poza tym, że motion dawało podgląd na adresie 2704 (domyślam się, że muszę wyłączyć DHCP w 2704) oraz komputer podłączony kablem do 2704 nie miał internetu sad

Poniżej konfigi

WDR:

config wifi-device 'radio0'
    option type 'mac80211'
    option hwmode '11g'
    option path 'platform/ar934x_wmac'
    option noscan '1'
    option country 'PL'
    option channel '6'
    option htmode 'HT20'

config wifi-device 'radio1'
    option type 'mac80211'
    option channel '36'
    option hwmode '11a'
    option path 'pci0000:00/0000:00:00.0'
    option htmode 'HT20'
    option noscan '1'
    option country 'PL'

config wifi-iface 'ap_g'
    option device 'radio0'
    option mode 'ap'
    option network 'lan'
    option disassoc_low_ack '0'
    option wds '1'
    option ssid 'Tradycja'
    option encryption 'psk2'
    option key 'abc'


2704

config wifi-device 'radio0'
    option type 'mac80211'
    option hwmode '11g'
    option path 'pci0000:00/0000:00:00.0/0000:01:00.0/bcma0:1'
    option country 'PL'
    option channel '6'
    option txpower '20'

config wifi-iface
    option network 'wwan'
    option ssid 'Tradycja'
    option encryption 'psk2'
    option device 'radio0'
    option mode 'sta'
    option bssid '64:70:02:67:5E:9D'
    option key 'abc'
    option wds '1'

Dla uściślenia oba routery leżą aktualnie w tym samym pokoju więc zasięg Wifi jest ok.

Z góry dziękuje za wszystkie rady.

Asus Merlin RT-AC86U + 2xRT-AC68U
OpenWRT rPi3+ E3372
rPi5 HA, rPi4 OH

2

Odp: Sagemcom 2704 webcam + WDR3600

Po co w ogóle ten wds robisz? Zwykłego klientaap zrób z sagema.

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

3

Odp: Sagemcom 2704 webcam + WDR3600

Fajnie by było jakby ten sagem wzmocnił sieć dalej (tam gdzie stanie jest dobry zasięg WiFi  ale w pomieszczeniu obok jest już słabo).
Próbowałem ustawić go jako AP client ale nie łączył się z WDR ( WDR wówczas była w trybie AP)

Asus Merlin RT-AC86U + 2xRT-AC68U
OpenWRT rPi3+ E3372
rPi5 HA, rPi4 OH

4

Odp: Sagemcom 2704 webcam + WDR3600

Nie pamiętam, ale chyba sterownik nie umożliwią jednoczesnej pracy w sta i ap. Jako sam klientap działa, sam sprawdzałem.

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

5

Odp: Sagemcom 2704 webcam + WDR3600

To ja tego nie ogarniam sad

WDR jest ustawiony tak:

Wirless

config wifi-device 'radio0'
    option type 'mac80211'
    option hwmode '11g'
    option path 'platform/ar934x_wmac'
    option noscan '1'
    option country 'PL'
    option channel '6'
    option htmode 'HT40+'

config wifi-device 'radio1'
    option type 'mac80211'
    option channel '36'
    option hwmode '11a'
    option path 'pci0000:00/0000:00:00.0'
    option htmode 'HT20'
    option noscan '1'
    option country 'PL'

config wifi-iface 'ap_g'
    option device 'radio0'
    option mode 'ap'
    option network 'lan'
    option disassoc_low_ack '0'
    option ssid 'Tradycja'
    option encryption 'psk2'
    option key 'abc'

DHCP

config dnsmasq
    option domainneeded '1'
    option boguspriv '1'
    option filterwin2k '0'
    option localise_queries '1'
    option rebind_protection '1'
    option rebind_localhost '1'
    option local '/lan/'
    option domain 'lan'
    option expandhosts '1'
    option nonegcache '0'
    option authoritative '1'
    option readethers '1'
    option leasefile '/tmp/dhcp.leases'
    option resolvfile '/tmp/resolv.conf.auto'
    option localservice '1'
    list rebind_domain 'free.aero2.net.pl'
    list server '/.bit/178.32.31.41'
    list server '/.bit/106.187.47.17'
    list server '/.bit/176.58.118.172'
    list server '/.glue/66.244.95.20'
    list server '/.glue/95.211.32.162'
    list server '/.glue/95.142.171.235'
    list server '/.parody/66.244.95.20'
    list server '/.parody/95.211.32.162'
    list server '/.parody/95.142.171.235'
    list server '/.dyn/66.244.95.20'
    list server '/.dyn/95.211.32.162'
    list server '/.dyn/95.142.171.235'
    list server '/.bbs/66.244.95.20'
    list server '/.bbs/95.211.32.162'
    list server '/.bbs/95.142.171.235'
    list server '/.free/66.244.95.20'
    list server '/.free/95.211.32.162'
    list server '/.free/95.142.171.235'
    list server '/.fur/66.244.95.20'
    list server '/.fur/95.211.32.162'
    list server '/.fur/95.142.171.235'
    list server '/.geek/66.244.95.20'
    list server '/.geek/95.211.32.162'
    list server '/.geek/95.142.171.235'
    list server '/.gopher/66.244.95.20'
    list server '/.gopher/95.211.32.162'
    list server '/.gopher/95.142.171.235'
    list server '/.indy/66.244.95.20'
    list server '/.indy/95.211.32.162'
    list server '/.indy/95.142.171.235'
    list server '/.ing/66.244.95.20'
    list server '/.ing/95.211.32.162'
    list server '/.ing/95.142.171.235'
    list server '/.null/66.244.95.20'
    list server '/.null/95.211.32.162'
    list server '/.null/95.142.171.235'
    list server '/.oss/66.244.95.20'
    list server '/.oss/95.211.32.162'
    list server '/.oss/95.142.171.235'
    list server '/.micro/66.244.95.20'
    list server '/.micro/95.211.32.162'
    list server '/.micro/95.142.171.235'
    list addnhosts '/plugin_root/adblock/block.hosts'

config dhcp 'lan'
    option interface 'lan'
    option start '100'
    option limit '150'
    option leasetime '12h'
    option ignore '0'

config dhcp 'wan'
    option interface 'wan'
    option ignore '1'

Firewall

config defaults
    option syn_flood '1'
    option input 'ACCEPT'
    option output 'ACCEPT'
    option forward 'REJECT'
    option enforce_dhcp_assignments '1'

config zone
    option name 'lan'
    list network 'lan'
    option input 'ACCEPT'
    option output 'ACCEPT'
    option forward 'ACCEPT'

config zone
    option name 'wan'
    list network 'wan'
    list network 'wan6'
    option input 'REJECT'
    option output 'ACCEPT'
    option forward 'REJECT'
    option masq '1'
    option mtu_fix '1'

config forwarding
    option src 'lan'
    option dest 'wan'

config rule
    option name 'Allow-DHCP-Renew'
    option src 'wan'
    option proto 'udp'
    option dest_port '68'
    option target 'ACCEPT'
    option family 'ipv4'

config rule
    option name 'Allow-Ping'
    option src 'wan'
    option proto 'icmp'
    option icmp_type 'echo-request'
    option family 'ipv4'
    option target 'ACCEPT'

config rule
    option name 'Allow-IGMP'
    option src 'wan'
    option proto 'igmp'
    option family 'ipv4'
    option target 'ACCEPT'

config rule
    option name 'Allow-DHCPv6'
    option src 'wan'
    option proto 'udp'
    option src_ip 'fe80::/10'
    option src_port '547'
    option dest_ip 'fe80::/10'
    option dest_port '546'
    option family 'ipv6'
    option target 'ACCEPT'

config rule
    option name 'Allow-MLD'
    option src 'wan'
    option proto 'icmp'
    option src_ip 'fe80::/10'
    list icmp_type '130/0'
    list icmp_type '131/0'
    list icmp_type '132/0'
    list icmp_type '143/0'
    option family 'ipv6'
    option target 'ACCEPT'

config rule
    option name 'Allow-ICMPv6-Input'
    option src 'wan'
    option proto 'icmp'
    list icmp_type 'echo-request'
    list icmp_type 'echo-reply'
    list icmp_type 'destination-unreachable'
    list icmp_type 'packet-too-big'
    list icmp_type 'time-exceeded'
    list icmp_type 'bad-header'
    list icmp_type 'unknown-header-type'
    list icmp_type 'router-solicitation'
    list icmp_type 'neighbour-solicitation'
    list icmp_type 'router-advertisement'
    list icmp_type 'neighbour-advertisement'
    option limit '1000/sec'
    option family 'ipv6'
    option target 'ACCEPT'

config rule
    option name 'Allow-ICMPv6-Forward'
    option src 'wan'
    option dest '*'
    option proto 'icmp'
    list icmp_type 'echo-request'
    list icmp_type 'echo-reply'
    list icmp_type 'destination-unreachable'
    list icmp_type 'packet-too-big'
    list icmp_type 'time-exceeded'
    list icmp_type 'bad-header'
    list icmp_type 'unknown-header-type'
    option limit '1000/sec'
    option family 'ipv6'
    option target 'ACCEPT'

config include
    option path '/etc/firewall.user'
    option reload '1'

config rule
    option src 'wan'
    option dest 'lan'
    option proto 'esp'
    option target 'ACCEPT'

config rule
    option src 'wan'
    option dest 'lan'
    option dest_port '500'
    option proto 'udp'
    option target 'ACCEPT'

config include
    option type 'script'
    option path '/usr/lib/gargoyle_firewall_util/gargoyle_additions.firewall'
    option family 'IPv4'
    option reload '1'

config include 'miniupnpd'
    option type 'script'
    option path '/usr/share/miniupnpd/firewall.include'
    option family 'any'
    option reload '1'

config include 'openvpn_include_file'
    option path '/etc/openvpn.firewall'
    option reload '1'

2704
Wirless

config wifi-device 'radio0'
    option type 'mac80211'
    option hwmode '11g'
    option path 'pci0000:00/0000:00:00.0/0000:01:00.0/bcma0:1'
    option country 'PL'
    option txpower '20'
    option channel '6'

config wifi-iface
    option ssid 'Tradycja'
    option encryption 'psk2'
    option device 'radio0'
    option mode 'sta'
    option bssid '64:70:02:67:5E:9D'
    option key 'smaczneg0'
    option network 'lan wwan'

DHCP

config dnsmasq
    option domainneeded '1'
    option boguspriv '1'
    option filterwin2k '0'
    option localise_queries '1'
    option rebind_protection '1'
    option rebind_localhost '1'
    option local '/lan/'
    option domain 'lan'
    option expandhosts '1'
    option nonegcache '0'
    option authoritative '1'
    option readethers '1'
    option leasefile '/tmp/dhcp.leases'
    option resolvfile '/tmp/resolv.conf.auto'
    option localservice '1'
    list rebind_domain 'free.aero2.net.pl'

config dhcp 'lan'
    option interface 'lan'
    option start '100'
    option limit '150'
    option leasetime '12h'
    option dhcpv6 'server'
    option ra 'server'
    option ra_management '1'

config dhcp 'wan'
    option interface 'wan'
    option ignore '1'

config odhcpd 'odhcpd'
    option maindhcp '0'
    option leasefile '/tmp/hosts/odhcpd'
    option leasetrigger '/usr/sbin/odhcpd-update'

Firewall

config defaults
    option syn_flood '1'
    option input 'ACCEPT'
    option output 'ACCEPT'
    option forward 'REJECT'

config zone
    option name 'lan'
    option input 'ACCEPT'
    option output 'ACCEPT'
    option forward 'ACCEPT'
    option network 'lan'

config zone
    option name 'wan'
    option input 'REJECT'
    option output 'ACCEPT'
    option forward 'REJECT'
    option masq '1'
    option mtu_fix '1'
    option network 'wan wan6 wwan'

config forwarding
    option src 'lan'
    option dest 'wan'

config rule
    option name 'Allow-DHCP-Renew'
    option src 'wan'
    option proto 'udp'
    option dest_port '68'
    option target 'ACCEPT'
    option family 'ipv4'

config rule
    option name 'Allow-Ping'
    option src 'wan'
    option proto 'icmp'
    option icmp_type 'echo-request'
    option family 'ipv4'
    option target 'ACCEPT'

config rule
    option name 'Allow-IGMP'
    option src 'wan'
    option proto 'igmp'
    option family 'ipv4'
    option target 'ACCEPT'

config rule
    option name 'Allow-DHCPv6'
    option src 'wan'
    option proto 'udp'
    option src_ip 'fe80::/10'
    option src_port '547'
    option dest_ip 'fe80::/10'
    option dest_port '546'
    option family 'ipv6'
    option target 'ACCEPT'

config rule
    option name 'Allow-MLD'
    option src 'wan'
    option proto 'icmp'
    option src_ip 'fe80::/10'
    list icmp_type '130/0'
    list icmp_type '131/0'
    list icmp_type '132/0'
    list icmp_type '143/0'
    option family 'ipv6'
    option target 'ACCEPT'

config rule
    option name 'Allow-ICMPv6-Input'
    option src 'wan'
    option proto 'icmp'
    list icmp_type 'echo-request'
    list icmp_type 'echo-reply'
    list icmp_type 'destination-unreachable'
    list icmp_type 'packet-too-big'
    list icmp_type 'time-exceeded'
    list icmp_type 'bad-header'
    list icmp_type 'unknown-header-type'
    list icmp_type 'router-solicitation'
    list icmp_type 'neighbour-solicitation'
    list icmp_type 'router-advertisement'
    list icmp_type 'neighbour-advertisement'
    option limit '1000/sec'
    option family 'ipv6'
    option target 'ACCEPT'

config rule
    option name 'Allow-ICMPv6-Forward'
    option src 'wan'
    option dest '*'
    option proto 'icmp'
    list icmp_type 'echo-request'
    list icmp_type 'echo-reply'
    list icmp_type 'destination-unreachable'
    list icmp_type 'packet-too-big'
    list icmp_type 'time-exceeded'
    list icmp_type 'bad-header'
    list icmp_type 'unknown-header-type'
    option limit '1000/sec'
    option family 'ipv6'
    option target 'ACCEPT'

config include
    option path '/etc/firewall.user'

config rule
    option src 'wan'
    option dest 'lan'
    option proto 'esp'
    option target 'ACCEPT'

config rule
    option src 'wan'
    option dest 'lan'
    option dest_port '500'
    option proto 'udp'
    option target 'ACCEPT'

network

config interface 'loopback'
    option ifname 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'

config globals 'globals'
    option ula_prefix 'fd24:aa1d:5349::/48'

config interface 'lan'
    option ifname 'eth0.1'
    option force_link '1'
    option type 'bridge'
    option proto 'static'
    option netmask '255.255.255.0'
    option ip6assign '60'
    option ipaddr '192.168.20.1'

config interface 'wan'
    option ifname 'eth0.2'
    option proto 'dhcp'
    option type 'bridge'

config interface 'wan6'
    option ifname 'eth0.2'
    option proto 'dhcpv6'

config switch
    option name 'eth0'
    option reset '1'
    option enable_vlan '1'

config switch_vlan
    option device 'eth0'
    option vlan '1'
    option ports '0 1 2 8t'

config switch_vlan
    option device 'eth0'
    option vlan '2'
    option ports '3 8t'

config interface 'wwan'
    option proto 'dhcp'
    option type 'bridge'
    option _orig_ifname 'radio0.network1'
    option _orig_bridge 'true'
    option ifname 'eth0.2'
Asus Merlin RT-AC86U + 2xRT-AC68U
OpenWRT rPi3+ E3372
rPi5 HA, rPi4 OH

6

Odp: Sagemcom 2704 webcam + WDR3600

Teraz to coś z relayd kombinujesz.

Sekcję wwan skasuj,  w network tylko

config wifi-iface
    option ssid 'Tradycja'
    option encryption 'psk2'
    option device 'radio0'
    option mode 'sta'
    option key 'smaczneg0'
    option network 'lan'

Ponad to - skasowałeś z jakiegoś powodu opcję macaddr z wireless co jest błędem, bo w tym modelu musi to być inaczej wifi nie chce zaskoczyć.

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

7

Odp: Sagemcom 2704 webcam + WDR3600

Coś mi to nie działa sad

Przywróciłem 2704 do ustawień fabrycznych i wklepałem to co napisałeś wyżej.

network

config interface 'loopback'
    option ifname 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'

config globals 'globals'
    option ula_prefix 'fd24:a369:2dda::/48'

config interface 'lan'
    option ifname 'eth0.1'
    option force_link '1'
    option type 'bridge'
    option proto 'static'
    option netmask '255.255.255.0'
    option ip6assign '60'
    option ipaddr '192.168.20.1'

config interface 'wan'
    option ifname 'eth0.2'
    option proto 'dhcp'

config interface 'wan6'
    option ifname 'eth0.2'
    option proto 'dhcpv6'

config switch
    option name 'eth0'
    option reset '1'
    option enable_vlan '1'

config switch_vlan
    option device 'eth0'
    option vlan '1'
    option ports '0 1 2 8t'

config switch_vlan
    option device 'eth0'
    option vlan '2'
    option ports '3 8t'

wirless

config wifi-device 'radio0'
    option type 'mac80211'
    option hwmode '11g'
    option path 'pci0000:00/0000:00:00.0/0000:01:00.0/bcma0:1'
    option country 'PL'
    option channel '6'
    option txpower '20'

config wifi-iface
    option device 'radio0'
    option network 'lan'
    option mode 'sta'
    option ssid 'Tradycja'
    option encryption 'psk2'
    option macaddr '18:1e:78:8c:67:71'
    option key 'smaczneg0'
Asus Merlin RT-AC86U + 2xRT-AC68U
OpenWRT rPi3+ E3372
rPi5 HA, rPi4 OH

8

Odp: Sagemcom 2704 webcam + WDR3600

Z wanu skasuj option ifname 'eth0.2'

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

9

Odp: Sagemcom 2704 webcam + WDR3600

Skasowałem ale dalej to samo.
Mnie się jednak wydaje, że to coś innego bo cały czas nie widzę aby 2704 dostał IP od WDRa.
W LUCI na 2704 w przeglądzie mam:
SSID: Tradycja
Tryb: Client
Kanał: 6 (0.000 GHz)
Przepływność: ? Mbit/s
Sieć bezprzewodowa jest wyłączona lub niepołączona

Asus Merlin RT-AC86U + 2xRT-AC68U
OpenWRT rPi3+ E3372
rPi5 HA, rPi4 OH

10

Odp: Sagemcom 2704 webcam + WDR3600

Nie patrz co luci wyświetla tylko patrz co w logach jest.

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

11

Odp: Sagemcom 2704 webcam + WDR3600

Logread?

oad /tmp/jffs_cfg/upper/etc/config/fstab
Sat Jul  9 13:38:04 2016 user.info kernel: [   12.224000] block: extroot: not configured
Sat Jul  9 13:38:04 2016 kern.notice kernel: [   12.280000] jffs2: notice: (270) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Sat Jul  9 13:38:04 2016 user.info kernel: [   12.464000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
Sat Jul  9 13:38:04 2016 user.info kernel: [   12.500000] block: extroot: not configured
Sat Jul  9 13:38:04 2016 user.info kernel: [   12.508000] mount_root: switching to jffs2 overlay
Sat Jul  9 13:38:04 2016 user.info kernel: [   12.592000] procd: - early -
Sat Jul  9 13:38:04 2016 user.info kernel: [   12.592000] procd: - watchdog -
Sat Jul  9 13:38:04 2016 user.info kernel: [   13.640000] procd: - ubus -
Sat Jul  9 13:38:04 2016 user.info kernel: [   14.692000] procd: - init -
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.164000] NET: Registered protocol family 10
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.212000] gre: GRE over IPv4 demultiplexor driver
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.224000] ip_gre: GRE over IPv4 tunneling driver
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.248000] ip6_tables: (C) 2000-2006 Netfilter Core Team
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.324000] u32 classifier
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.324000]     input device check on
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.328000]     Actions configured
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.340000] Mirror/redirect action on
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.492000] fuse init (API version 7.23)
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.528000] usbcore: registered new interface driver cdc_acm
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.536000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.548000] usbcore: registered new interface driver cdc_wdm
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.564000] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.572000] Backport generated by backports.git backports-20151218-0-g2f58d9d
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.584000] ip_tables: (C) 2000-2006 Netfilter Core Team
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.628000] nf_conntrack version 0.5.0 (954 buckets, 3816 max)
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.880000] usbcore: registered new interface driver usblp
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.912000] usbcore: registered new interface driver usbserial
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.916000] usbcore: registered new interface driver usbserial_generic
Sat Jul  9 13:38:04 2016 kern.info kernel: [   18.924000] usbserial: USB Serial support registered for generic
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.008000] xt_time: kernel timezone is -0000
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.016000] usbcore: registered new interface driver cdc_ether
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.032000] usbcore: registered new interface driver cdc_ncm
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.112000] usbcore: registered new interface driver huawei_cdc_ncm
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.256000] PPP generic driver version 2.4.2
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.272000] PPP MPPE Compression module registered
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.280000] NET: Registered protocol family 24
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.288000] PPTP driver version 0.8.5
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.312000] usbcore: registered new interface driver qmi_wwan
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.324000] usbcore: registered new interface driver rndis_host
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.340000] usbcore: registered new interface driver sierra
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.344000] usbserial: USB Serial support registered for Sierra USB modem
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.360000] usbcore: registered new interface driver sierra_net
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.456000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.500000] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 6
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.504000] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 11, Version 0
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.536000] Broadcom 43xx driver loaded [ Features: PNL ]
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.560000] usbcore: registered new interface driver cdc_mbim
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.696000] usbcore: registered new interface driver option
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.700000] usbserial: USB Serial support registered for GSM modem (1-port)
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.724000] usbcore: registered new interface driver qcserial
Sat Jul  9 13:38:04 2016 kern.info kernel: [   19.728000] usbserial: USB Serial support registered for Qualcomm USB modem
Sat Jul  9 13:38:04 2016 kern.debug kernel: [   19.872000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Sat Jul  9 13:38:06 2016 kern.info kernel: [   25.248000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 2, 100Mbps, full-duplex
Sat Jul  9 13:38:09 2016 user.emerg syslog: this file has been obseleted. please call "/sbin/block mount" directly
Sat Jul  9 13:38:09 2016 daemon.err block: /dev/mtdblock3 is already mounted
Sat Jul  9 13:38:12 2016 authpriv.info dropbear[1014]: Not backgrounding
Sat Jul  9 13:38:19 2016 kern.info kernel: [   38.216000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 2, 100Mbps, full-duplex
Sat Jul  9 13:38:19 2016 kern.info kernel: [   38.228000] device eth0.1 entered promiscuous mode
Sat Jul  9 13:38:19 2016 kern.info kernel: [   38.236000] device eth0 entered promiscuous mode
Sat Jul  9 13:38:19 2016 kern.info kernel: [   38.244000] br-lan: port 1(eth0.1) entered forwarding state
Sat Jul  9 13:38:19 2016 kern.info kernel: [   38.252000] br-lan: port 1(eth0.1) entered forwarding state
Sat Jul  9 13:38:19 2016 daemon.notice netifd: Interface 'lan' is enabled
Sat Jul  9 13:38:19 2016 daemon.notice netifd: Interface 'lan' is setting up now
Sat Jul  9 13:38:19 2016 daemon.notice netifd: Interface 'lan' is now up
Sat Jul  9 13:38:19 2016 daemon.notice netifd: Interface 'loopback' is enabled
Sat Jul  9 13:38:19 2016 daemon.notice netifd: Interface 'loopback' is setting up now
Sat Jul  9 13:38:19 2016 daemon.notice netifd: Interface 'loopback' is now up
Sat Jul  9 13:38:19 2016 daemon.notice netifd: Interface 'wan' is enabled
Sat Jul  9 13:38:19 2016 daemon.notice netifd: Interface 'wan6' is enabled
Sat Jul  9 13:38:19 2016 daemon.notice netifd: Network device 'eth0' link is up
Sat Jul  9 13:38:19 2016 daemon.notice netifd: Bridge 'br-lan' link is up
Sat Jul  9 13:38:19 2016 daemon.notice netifd: Interface 'lan' has link connectivity
Sat Jul  9 13:38:19 2016 daemon.notice netifd: VLAN 'eth0.1' link is up
Sat Jul  9 13:38:19 2016 daemon.notice netifd: Network device 'lo' link is up
Sat Jul  9 13:38:19 2016 daemon.notice netifd: Interface 'loopback' has link connectivity
Sat Jul  9 13:38:19 2016 daemon.notice netifd: VLAN 'eth0.2' link is up
Sat Jul  9 13:38:19 2016 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Jul  9 13:38:19 2016 daemon.notice netifd: Interface 'wan' is setting up now
Sat Jul  9 13:38:19 2016 daemon.notice netifd: Interface 'wan6' has link connectivity
Sat Jul  9 13:38:19 2016 daemon.notice netifd: Interface 'wan6' is setting up now
Sat Jul  9 13:38:20 2016 daemon.notice netifd: wan (1333): udhcpc (v1.23.2) started
Sat Jul  9 13:38:21 2016 kern.info kernel: [   40.252000] br-lan: port 1(eth0.1) entered forwarding state
Sat Jul  9 13:38:22 2016 daemon.notice netifd: wan (1333): Sending discover...
Sat Jul  9 13:38:23 2016 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Sat Jul  9 13:38:23 2016 daemon.notice netifd: radio0 (1289): command failed: Operation not supported (-122)
Sat Jul  9 13:38:24 2016 kern.info kernel: [   43.568000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
Sat Jul  9 13:38:25 2016 daemon.notice netifd: wan (1333): Sending discover...
Sat Jul  9 13:38:26 2016 kern.info kernel: [   45.040000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sat Jul  9 13:38:26 2016 daemon.notice netifd: radio0 (1289): Interface 0 setup failed: BRIDGE_NOT_ALLOWED
Sat Jul  9 13:38:27 2016 user.emerg syslog: setting up led USB
Sat Jul  9 13:38:28 2016 daemon.notice netifd: wan (1333): Sending discover...
Sat Jul  9 13:38:29 2016 daemon.info procd: - init complete -
Sat Jul  9 13:38:32 2016 daemon.info dnsmasq[1528]: started, version 2.73 cachesize 150
Sat Jul  9 13:38:32 2016 daemon.info dnsmasq[1528]: 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
Sat Jul  9 13:38:32 2016 daemon.info dnsmasq[1528]: DNS service limited to local subnets
Sat Jul  9 13:38:32 2016 daemon.info dnsmasq-dhcp[1528]: DHCP, IP range 192.168.20.100 -- 192.168.20.249, lease time 12h
Sat Jul  9 13:38:32 2016 daemon.info dnsmasq[1528]: using local addresses only for domain lan
Sat Jul  9 13:38:32 2016 daemon.warn dnsmasq[1528]: no servers found in /tmp/resolv.conf.auto, will retry
Sat Jul  9 13:38:32 2016 daemon.info dnsmasq[1528]: read /etc/hosts - 1 addresses
Sat Jul  9 13:38:32 2016 daemon.info dnsmasq[1528]: read /tmp/hosts/dhcp - 1 addresses
Sat Jul  9 13:38:32 2016 daemon.info dnsmasq-dhcp[1528]: read /etc/ethers - 0 addresses
Sat Jul  9 13:39:06 2016 authpriv.info dropbear[1808]: Child connection from 192.168.20.245:56126
Sat Jul  9 13:39:12 2016 authpriv.notice dropbear[1808]: Password auth succeeded for 'root' from 192.168.20.245:56126
Sat Jul  9 13:46:18 2016 kern.info kernel: [  517.224000] bcm63xx_enetsw bcm63xx_enetsw.0: link DOWN on Port 2
Sat Jul  9 13:55:17 2016 kern.info kernel: [ 1056.228000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 2, 100Mbps, full-duplex
Sat Jul  9 13:55:21 2016 daemon.info dnsmasq-dhcp[1528]: DHCPREQUEST(br-lan) 192.168.20.245 50:e5:49:cc:ec:b7
Sat Jul  9 13:55:21 2016 daemon.info dnsmasq-dhcp[1528]: DHCPACK(br-lan) 192.168.20.245 50:e5:49:cc:ec:b7 PC-Komputer
Sat Jul  9 13:55:24 2016 authpriv.info dropbear[5939]: Child connection from 192.168.20.245:56884
Sat Jul  9 13:55:25 2016 authpriv.info dropbear[5940]: Child connection from 192.168.20.245:56885
Sat Jul  9 13:55:35 2016 authpriv.notice dropbear[5939]: Password auth succeeded for 'root' from 192.168.20.245:56884
Sat Jul  9 13:55:36 2016 authpriv.notice dropbear[5940]: Password auth succeeded for 'root' from 192.168.20.245:56885
Sat Jul  9 13:56:06 2016 authpriv.info dropbear[6459]: Child connection from 192.168.20.245:56927
Sat Jul  9 13:56:14 2016 authpriv.notice dropbear[6459]: Password auth succeeded for 'root' from 192.168.20.245:56927
Sat Jul  9 13:56:23 2016 daemon.notice netifd: wan (1333): Received SIGTERM
Sat Jul  9 13:56:23 2016 daemon.notice netifd: Interface 'wan' is now down
Sat Jul  9 13:56:23 2016 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jul  9 13:56:23 2016 daemon.notice netifd: radio0 (6727): command failed: Operation not supported (-122)
Sat Jul  9 13:56:39 2016 daemon.notice netifd: radio0 (6919): command failed: Operation not supported (-122)
Sat Jul  9 13:56:39 2016 kern.info kernel: [ 1138.796000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
Sat Jul  9 13:56:40 2016 kern.info kernel: [ 1138.952000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sat Jul  9 13:56:40 2016 daemon.notice netifd: radio0 (6919): Interface 0 setup failed: BRIDGE_NOT_ALLOWED
Sat Jul  9 13:59:53 2016 authpriv.info dropbear[1808]: Exit (root): Keepalive timeout
Sat Jul  9 15:28:55 2016 authpriv.info dropbear[16335]: Child connection from 192.168.20.245:59177
Sat Jul  9 15:29:07 2016 authpriv.notice dropbear[16335]: Password auth succeeded for 'root' from 192.168.20.245:59177
Asus Merlin RT-AC86U + 2xRT-AC68U
OpenWRT rPi3+ E3372
rPi5 HA, rPi4 OH

12

Odp: Sagemcom 2704 webcam + WDR3600

Jaki bridge? Pokaż

uci show network
uci show wireless

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

13

Odp: Sagemcom 2704 webcam + WDR3600

Wireless

wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.hwmode='11g'
wireless.radio0.path='pci0000:00/0000:00:00.0/0000:01:00.0/bcma0:1'
wireless.radio0.country='PL'
wireless.radio0.channel='6'
wireless.radio0.txpower='20'
wireless.@wifi-iface[0]=wifi-iface
wireless.@wifi-iface[0].device='radio0'
wireless.@wifi-iface[0].network='lan'
wireless.@wifi-iface[0].mode='sta'
wireless.@wifi-iface[0].ssid='Tradycja'
wireless.@wifi-iface[0].encryption='psk2'
wireless.@wifi-iface[0].macaddr='18:1e:78:8c:67:71'
wireless.@wifi-iface[0].key='smaczneg0'

network

network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fd24:a369:2dda::/48'
network.lan=interface
network.lan.ifname='eth0.1'
network.lan.force_link='1'
network.lan.type='bridge'
network.lan.proto='static'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.lan.ipaddr='192.168.20.1'
network.wan=interface
network.wan.proto='dhcp'
network.wan6=interface
network.wan6.ifname='eth0.2'
network.wan6.proto='dhcpv6'
network.@switch[0]=switch
network.@switch[0].name='eth0'
network.@switch[0].reset='1'
network.@switch[0].enable_vlan='1'
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device='eth0'
network.@switch_vlan[0].vlan='1'
network.@switch_vlan[0].ports='0 1 2 8t'
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device='eth0'
network.@switch_vlan[1].vlan='2'
network.@switch_vlan[1].ports='3 8t'
Asus Merlin RT-AC86U + 2xRT-AC68U
OpenWRT rPi3+ E3372
rPi5 HA, rPi4 OH

14

Odp: Sagemcom 2704 webcam + WDR3600

Głupotę napisałem:

wireless.@wifi-iface[0].network='lan'

do wanu ma być nie do lanu.

uci set wireless.@wifi-iface[0].network='lan'
commit
wifi

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

15

Odp: Sagemcom 2704 webcam + WDR3600

uci set wireless.@wifi-iface[0].network='wan'


JEEEEE!!!
Działa !!! Jesteś wielki!

Bardzo dziękuje za pomoc - walczę dalej wink

Asus Merlin RT-AC86U + 2xRT-AC68U
OpenWRT rPi3+ E3372
rPi5 HA, rPi4 OH

16

Odp: Sagemcom 2704 webcam + WDR3600

Kolejny problem sad
Na WDR przypisałem na stałe IP 192.168.1.55 do 2704. Na 2704 w sekcji LAN dałem na "niezarządzany" i nie mogę się dostać do 2704 sad Widzę na WDR, że 2704 podłączył się do do sieci i dostał w/w ip.

Podpowie ktoś co robię źle?

Asus Merlin RT-AC86U + 2xRT-AC68U
OpenWRT rPi3+ E3372
rPi5 HA, rPi4 OH

17

Odp: Sagemcom 2704 webcam + WDR3600

Zresetuj do ustawień domyślnych. Po prostu wywaliłeś wszystko z interfejsu, nie ma adresu tam.

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

18

Odp: Sagemcom 2704 webcam + WDR3600

Bez obrazy ale coś jest nie tak z Luci w tym FW. Dopadłem DIR-300 z "jakimś" OpenWRT z LUCI i bez problemu wyklikałem w LUCI klienta Wifi ( to co pomogłeś mi ustawić tutaj).

Wracam do walki z 2704 i webcam wink

Asus Merlin RT-AC86U + 2xRT-AC68U
OpenWRT rPi3+ E3372
rPi5 HA, rPi4 OH

19

Odp: Sagemcom 2704 webcam + WDR3600

"coś jest nie tak" to równie dobrze może być zła faza księżyca. W tym modelu od samego początku problemy były, to broadcom jest. Pisz petycję do broadcoma o otworzenie sterowników.

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

20

Odp: Sagemcom 2704 webcam + WDR3600

Słuchaj bez nerwów - jak już pisałem ekspertem w tej dziedzicznie jestem ale uważam ,że błędy są w skryptach przekładających klikanie w luci na wpisy w konfigach.

Wracając do mojej nierównej walki z 2704 + webcam.

Aktualnie mam działający ale nie za dobrze motion - przy starcie mam jakieś błędy ale całość jakoś działa.

root@OpenWrt:~# motion
[0] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion/motion.conf
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_output_movies"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_output_debug_movies"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_timelapse"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_timelapse_mode"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_bps"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_variable_bitrate"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_video_codec"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_deinterlace"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "movie_filename"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "timelapse_filename"
[0] [NTC] [ALL] motion_startup: Motion 3.4.0-Git-78ba2da Started
[0] [NTC] [ALL] motion_startup: Logging to syslog
[0] [NTC] [ALL] motion_startup: Using log type (ALL) log level (NTC)
[0] [NTC] [ALL] main: Thread 1 is from /etc/motion/motion.conf
[0] [NTC] [ALL] main: Thread 1 is device: /dev/video0 input -1
[0] [NTC] [ALL] main: Stream port 8081
[0] [NTC] [ALL] main: Waiting for threads to finish, pid: 1919
[0] [NTC] [STR] httpd_run: motion-httpd testing : IPV4 addr: 127.0.0.1 port: 8080
[0] [NTC] [STR] httpd_run: motion-httpd Bound : IPV4 addr: 127.0.0.1 port: 8080
[0] [NTC] [STR] httpd_run: motion-httpd/3.4.0-Git-78ba2da running, accepting connections
[0] [NTC] [STR] httpd_run: motion-httpd: waiting for data on 127.0.0.1 port TCP 8080
[1] [NTC] [ALL] motion_init: Thread 1 started , motion detection Enabled
[1] [NTC] [VID] vid_v4lx_start: Using videodevice /dev/video0 and input -1
[1] [NTC] [VID] v4l2_get_capability:
------------------------
cap.driver: "ov519"
cap.card: "Creative Live! Cam Vista IM"
cap.bus_info: "usb-ohci-platform-1"
cap.capabilities=0x85200001
------------------------
[1] [NTC] [VID] v4l2_get_capability: - VIDEO_CAPTURE
[1] [NTC] [VID] v4l2_get_capability: - READWRITE
[1] [NTC] [VID] v4l2_get_capability: - STREAMING
[1] [NTC] [VID] v4l2_select_input: name = "ov519", type 0x00000002, status 00000000
[1] [NTC] [VID] v4l2_select_input: - CAMERA
[1] [WRN] [VID] v4l2_select_input: Device doesn't support VIDIOC_G_STD
[1] [NTC] [VID] v4l2_set_pix_format: Config palette index 17 (YU12) doesn't work.
[1] [NTC] [VID] v4l2_set_pix_format: Supported palettes:
[1] [NTC] [VID] v4l2_set_pix_format: (0) JPEG (JPEG)
[1] [NTC] [VID] v4l2_set_pix_format: 0 - JPEG (compressed : 1) (0x4745504a)
[1] [NTC] [VID] v4l2_set_pix_format Selected palette JPEG
[1] [NTC] [VID] v4l2_do_set_pix_format: Testing palette JPEG (640x480)
[1] [NTC] [VID] v4l2_do_set_pix_format: Using palette JPEG (640x480) bytesperlines 640 sizeimage 115790 colorspace 00000007
[1] [NTC] [VID] v4l2_scan_controls: found control 0x00980900, "Brightness", range 0,255
[1] [NTC] [VID] v4l2_scan_controls:     "Brightness", default 127, current 127
[1] [NTC] [VID] v4l2_scan_controls: found control 0x00980901, "Contrast", range 0,255
[1] [NTC] [VID] v4l2_scan_controls:     "Contrast", default 127, current 127
[1] [NTC] [VID] vid_v4lx_start: Using V4L2
[1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1] [NTC] [STR] http_bindsock: motion-stream testing : IPV4 addr: 0.0.0.0 port: 8081
[1] [NTC] [STR] http_bindsock: motion-stream Bound : IPV4 addr: 0.0.0.0 port: 8081
[1] [NTC] [ALL] motion_init: Started motion-stream server in port 8081 auth Disabled

Mam jeszcze problem z dostaniem się do Luci w tym routerze - otwarłem port 80 na WANie ale to nic nie dało ( otwarłem również port 22 do SSH i 8081 do motion i to działa). Porty mogą być pootwierane bo ten router nie jest moją bramą do internetu.

root@OpenWrt:~# uci show firewall
firewall.@defaults[0]=defaults
firewall.@defaults[0].syn_flood='1'
firewall.@defaults[0].input='ACCEPT'
firewall.@defaults[0].output='ACCEPT'
firewall.@defaults[0].forward='REJECT'
firewall.@zone[0]=zone
firewall.@zone[0].name='lan'
firewall.@zone[0].network='lan'
firewall.@zone[0].input='ACCEPT'
firewall.@zone[0].output='ACCEPT'
firewall.@zone[0].forward='ACCEPT'
firewall.@zone[1]=zone
firewall.@zone[1].name='wan'
firewall.@zone[1].network='wan' 'wan6'
firewall.@zone[1].input='REJECT'
firewall.@zone[1].output='ACCEPT'
firewall.@zone[1].forward='REJECT'
firewall.@zone[1].masq='1'
firewall.@zone[1].mtu_fix='1'
firewall.@forwarding[0]=forwarding
firewall.@forwarding[0].src='lan'
firewall.@forwarding[0].dest='wan'
firewall.@rule[0]=rule
firewall.@rule[0].name='Allow-DHCP-Renew'
firewall.@rule[0].src='wan'
firewall.@rule[0].proto='udp'
firewall.@rule[0].dest_port='68'
firewall.@rule[0].target='ACCEPT'
firewall.@rule[0].family='ipv4'
firewall.@rule[1]=rule
firewall.@rule[1].name='Allow-Ping'
firewall.@rule[1].src='wan'
firewall.@rule[1].proto='icmp'
firewall.@rule[1].icmp_type='echo-request'
firewall.@rule[1].family='ipv4'
firewall.@rule[1].target='ACCEPT'
firewall.@rule[2]=rule
firewall.@rule[2].name='Allow-IGMP'
firewall.@rule[2].src='wan'
firewall.@rule[2].proto='igmp'
firewall.@rule[2].family='ipv4'
firewall.@rule[2].target='ACCEPT'
firewall.@rule[3]=rule
firewall.@rule[3].name='Allow-DHCPv6'
firewall.@rule[3].src='wan'
firewall.@rule[3].proto='udp'
firewall.@rule[3].src_ip='fe80::/10'
firewall.@rule[3].src_port='547'
firewall.@rule[3].dest_ip='fe80::/10'
firewall.@rule[3].dest_port='546'
firewall.@rule[3].family='ipv6'
firewall.@rule[3].target='ACCEPT'
firewall.@rule[4]=rule
firewall.@rule[4].name='Allow-MLD'
firewall.@rule[4].src='wan'
firewall.@rule[4].proto='icmp'
firewall.@rule[4].src_ip='fe80::/10'
firewall.@rule[4].icmp_type='130/0' '131/0' '132/0' '143/0'
firewall.@rule[4].family='ipv6'
firewall.@rule[4].target='ACCEPT'
firewall.@rule[5]=rule
firewall.@rule[5].name='Allow-ICMPv6-Input'
firewall.@rule[5].src='wan'
firewall.@rule[5].proto='icmp'
firewall.@rule[5].icmp_type='echo-request' 'echo-reply' 'destination-unreachable ' 'packet-too-big' 'time-exceeded' 'bad-header' 'unknown-header-type' 'router-so licitation' 'neighbour-solicitation' 'router-advertisement' 'neighbour-advertise ment'
firewall.@rule[5].limit='1000/sec'
firewall.@rule[5].family='ipv6'
firewall.@rule[5].target='ACCEPT'
firewall.@rule[6]=rule
firewall.@rule[6].name='Allow-ICMPv6-Forward'
firewall.@rule[6].src='wan'
firewall.@rule[6].dest='*'
firewall.@rule[6].proto='icmp'
firewall.@rule[6].icmp_type='echo-request' 'echo-reply' 'destination-unreachable ' 'packet-too-big' 'time-exceeded' 'bad-header' 'unknown-header-type'
firewall.@rule[6].limit='1000/sec'
firewall.@rule[6].family='ipv6'
firewall.@rule[6].target='ACCEPT'
firewall.@include[0]=include
firewall.@include[0].path='/etc/firewall.user'
firewall.@rule[7]=rule
firewall.@rule[7].src='wan'
firewall.@rule[7].dest='lan'
firewall.@rule[7].proto='esp'
firewall.@rule[7].target='ACCEPT'
firewall.@rule[8]=rule
firewall.@rule[8].src='wan'
firewall.@rule[8].dest='lan'
firewall.@rule[8].dest_port='500'
firewall.@rule[8].proto='udp'
firewall.@rule[8].target='ACCEPT'
firewall.@rule[9]=rule
firewall.@rule[9].name='ssh'
firewall.@rule[9].src='wan'
firewall.@rule[9].target='ACCEPT'
firewall.@rule[9].proto='tcp'
firewall.@rule[9].dest_port='22'
firewall.@rule[10]=rule
firewall.@rule[10].name='kamerka'
firewall.@rule[10].src='wan'
firewall.@rule[10].target='ACCEPT'
firewall.@rule[10].proto='tcp'
firewall.@rule[10].dest_port='8081'
firewall.@rule[11]=rule
firewall.@rule[11].name='gui'
firewall.@rule[11].src='wan'
firewall.@rule[11].target='ACCEPT'
firewall.@rule[11].proto='tcp'
firewall.@rule[11].dest_port='22'
firewall.@rule[12]=rule
firewall.@rule[12].name='gui'
firewall.@rule[12].src='wan'
firewall.@rule[12].target='ACCEPT'
firewall.@rule[12].proto='tcp'
firewall.@rule[12].dest_port='80'

Na koniec jeszcze jedno pytanie - może ktos poleci jakiś poradnik/stronę/ opis - co potrzebuje do takiego routera aby mierzył 4-5 temperatur i wyświetlał je na jakiejś prostej stronce oraz wysyłał SMS jeżeli któraś z temperatur wyjdzie poza zadany zakres.

Asus Merlin RT-AC86U + 2xRT-AC68U
OpenWRT rPi3+ E3372
rPi5 HA, rPi4 OH

21

Odp: Sagemcom 2704 webcam + WDR3600

Motion - ten którego używasz nie ma wkomplowanego ffmpega, a masz to w konfigu więc się drze że nie zna opcji.

Masz kilka razy tą samą regułę - co jest zbędne.

O temperaturach masz na eko.one.pl. O wysyłaniu smsów też.

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

22 (edytowany przez edass 2016-10-15 20:53:48)

Odp: Sagemcom 2704 webcam + WDR3600

1. Motion i ffmpeg - jak nie używam to mam to usunąć z konfigu(konfig jest domyślny zmieniłem tylko lokalizacje konfigu /etc/motion/motion reszta wg Twojego poradnika) czy zostawić?

2. Firewall i LUCI - dostęp do Luci jest na porcie 80, zgadza się? Usunąłem duble ale dalej nie mam połączenia z LUCI sad

root@OpenWrt:~# uci show firewall
firewall.@defaults[0]=defaults
firewall.@defaults[0].syn_flood='1'
firewall.@defaults[0].input='ACCEPT'
firewall.@defaults[0].output='ACCEPT'
firewall.@defaults[0].forward='REJECT'
firewall.@zone[0]=zone
firewall.@zone[0].name='lan'
firewall.@zone[0].network='lan'
firewall.@zone[0].input='ACCEPT'
firewall.@zone[0].output='ACCEPT'
firewall.@zone[0].forward='ACCEPT'
firewall.@zone[1]=zone
firewall.@zone[1].name='wan'
firewall.@zone[1].network='wan' 'wan6'
firewall.@zone[1].input='REJECT'
firewall.@zone[1].output='ACCEPT'
firewall.@zone[1].forward='REJECT'
firewall.@zone[1].masq='1'
firewall.@zone[1].mtu_fix='1'
firewall.@forwarding[0]=forwarding
firewall.@forwarding[0].src='lan'
firewall.@forwarding[0].dest='wan'
firewall.@rule[0]=rule
firewall.@rule[0].name='Allow-DHCP-Renew'
firewall.@rule[0].src='wan'
firewall.@rule[0].proto='udp'
firewall.@rule[0].dest_port='68'
firewall.@rule[0].target='ACCEPT'
firewall.@rule[0].family='ipv4'
firewall.@rule[1]=rule
firewall.@rule[1].name='Allow-Ping'
firewall.@rule[1].src='wan'
firewall.@rule[1].proto='icmp'
firewall.@rule[1].icmp_type='echo-request'
firewall.@rule[1].family='ipv4'
firewall.@rule[1].target='ACCEPT'
firewall.@rule[2]=rule
firewall.@rule[2].name='Allow-IGMP'
firewall.@rule[2].src='wan'
firewall.@rule[2].proto='igmp'
firewall.@rule[2].family='ipv4'
firewall.@rule[2].target='ACCEPT'
firewall.@rule[3]=rule
firewall.@rule[3].name='Allow-DHCPv6'
firewall.@rule[3].src='wan'
firewall.@rule[3].proto='udp'
firewall.@rule[3].src_ip='fe80::/10'
firewall.@rule[3].src_port='547'
firewall.@rule[3].dest_ip='fe80::/10'
firewall.@rule[3].dest_port='546'
firewall.@rule[3].family='ipv6'
firewall.@rule[3].target='ACCEPT'
firewall.@rule[4]=rule
firewall.@rule[4].name='Allow-MLD'
firewall.@rule[4].src='wan'
firewall.@rule[4].proto='icmp'
firewall.@rule[4].src_ip='fe80::/10'
firewall.@rule[4].icmp_type='130/0' '131/0' '132/0' '143/0'
firewall.@rule[4].family='ipv6'
firewall.@rule[4].target='ACCEPT'
firewall.@rule[5]=rule
firewall.@rule[5].name='Allow-ICMPv6-Input'
firewall.@rule[5].src='wan'
firewall.@rule[5].proto='icmp'
firewall.@rule[5].icmp_type='echo-request' 'echo-reply' 'destination-unreachable' 'packet-too-big' 'time-exceeded' 'bad-header' 'unknown-header-type' 'router-solicitation' 'neighbour-solicitation' 'router-advertisement' 'neighbour-advertisement'
firewall.@rule[5].limit='1000/sec'
firewall.@rule[5].family='ipv6'
firewall.@rule[5].target='ACCEPT'
firewall.@rule[6]=rule
firewall.@rule[6].name='Allow-ICMPv6-Forward'
firewall.@rule[6].src='wan'
firewall.@rule[6].dest='*'
firewall.@rule[6].proto='icmp'
firewall.@rule[6].icmp_type='echo-request' 'echo-reply' 'destination-unreachable' 'packet-too-big' 'time-exceeded' 'bad-header' 'unknown-header-type'
firewall.@rule[6].limit='1000/sec'
firewall.@rule[6].family='ipv6'
firewall.@rule[6].target='ACCEPT'
firewall.@include[0]=include
firewall.@include[0].path='/etc/firewall.user'
firewall.@rule[7]=rule
firewall.@rule[7].src='wan'
firewall.@rule[7].dest='lan'
firewall.@rule[7].proto='esp'
firewall.@rule[7].target='ACCEPT'
firewall.@rule[8]=rule
firewall.@rule[8].src='wan'
firewall.@rule[8].dest='lan'
firewall.@rule[8].dest_port='500'
firewall.@rule[8].proto='udp'
firewall.@rule[8].target='ACCEPT'
firewall.@rule[9]=rule
firewall.@rule[9].name='ssh'
firewall.@rule[9].src='wan'
firewall.@rule[9].target='ACCEPT'
firewall.@rule[9].proto='tcp'
firewall.@rule[9].dest_port='22'
firewall.@rule[10]=rule
firewall.@rule[10].name='kamerka'
firewall.@rule[10].src='wan'
firewall.@rule[10].target='ACCEPT'
firewall.@rule[10].proto='tcp'
firewall.@rule[10].dest_port='8081'
firewall.@rule[11]=rule
firewall.@rule[11].name='gui'
firewall.@rule[11].src='wan'
firewall.@rule[11].target='ACCEPT'
firewall.@rule[11].proto='tcp'
firewall.@rule[11].dest_port='80'

3. Dzieki - już namierzyłem jedno rozwiązanie , które mnie zainteresowało.

4. Jak automatycznie po starcie routera odpalać motion - wystarczy dodać go do crona?

Asus Merlin RT-AC86U + 2xRT-AC68U
OpenWRT rPi3+ E3372
rPi5 HA, rPi4 OH

23

Odp: Sagemcom 2704 webcam + WDR3600

4. To /etc/rc.local jak już, nie do crona.

2. Co jest u ciebie wanem?

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

24

Odp: Sagemcom 2704 webcam + WDR3600

4. OK poczytam o tym;)

2. Moja sieć - WDR to serce systemu wink do niego podłączony jest modem 3372 HiLink. 2704 jest podłączony przez WiFi w trybie klienta do WDR-a. Jeżeli dobrze to rozumiem to 2704 "dostaje sieć/internet" przez Wifi więc to jest WAN w jego przypadku...

Asus Merlin RT-AC86U + 2xRT-AC68U
OpenWRT rPi3+ E3372
rPi5 HA, rPi4 OH

25

Odp: Sagemcom 2704 webcam + WDR3600

I skąd chcesz się dostać do niego? Jeżeli z internetu to się nie da o ile wykupisz usługi publicznego ip. Jeżeli z sieci podłączonej do wdr to powinieneś móc to zrobić.

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