This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| network_stuff:openwrt [2020/09/26 12:24] – jotasandoku | network_stuff:openwrt [2023/11/02 14:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| opkg install tcpdump | opkg install tcpdump | ||
| logread (-f) # for system logs | logread (-f) # for system logs | ||
| + | ssh root@router tcpdump -i eth0 -U -s0 -w - 'not port 22' | wireshark -k -i - # To pull live traces from home router <<< | ||
| * Debug wifi!: [[https:// | * Debug wifi!: [[https:// | ||
| Line 20: | Line 21: | ||
| logread -f | grep ': query' | logread -f | grep ': query' | ||
| | | ||
| + | For remote syslog: | ||
| + | ~In client-router | ||
| + | ~ / | ||
| + | config system | ||
| + | option hostname ' | ||
| + | option ttylogin ' | ||
| + | option log_size ' | ||
| + | option log_file '/ | ||
| + | option urandom_seed ' | ||
| + | option zonename ' | ||
| + | option timezone ' | ||
| + | option log_proto ' | ||
| + | option conloglevel ' | ||
| + | option cronloglevel ' | ||
| + | option log_ip 192.168.0.112 | ||
| + | option log_port 514 | ||
| + | option log_proto udp | ||
| + | / | ||
| + | ~ In server rpi: | ||
| + | ~ / | ||
| + | module(load=" | ||
| + | input(type=" | ||
| + | module(load=" | ||
| + | input(type=" | ||
| + | $AllowedSender UDP, 127.0.0.1, 192.168.0.0/ | ||
| + | |||
| + | if $fromhost-ip == ' | ||
| + | & ~ | ||
| ---- | ---- | ||
| Line 179: | Line 207: | ||
| UPGRADE:\\ | UPGRADE:\\ | ||
| - | [[https:// | + | * [[https:// |
| + | * [[https:// | ||
| + | |||
| + | * [[https:// | ||
| + | * abc52ff1248f6ec415776f6f23e9229cdadc1eccfa459d018d79ae5645ce972c | ||
| + | * [[https:// | ||
| Line 186: | Line 219: | ||
| LIST CURRENT CONNECTIONS: | LIST CURRENT CONNECTIONS: | ||
| cat / | cat / | ||
| + | | ||
| + | |||
| + | ---- | ||
| + | __CONFIGURE DYNAMIC DNS DDNS IN OPENWRT__\\ | ||
| + | Use preferably the web UI for the config: | ||
| + | |||
| + | cat / | ||
| + | | ||
| + | config ddns ' | ||
| + | option ddns_dateformat '%F %R' | ||
| + | option ddns_loglines ' | ||
| + | option upd_privateip ' | ||
| + | | ||
| + | config service ' | ||
| + | option interface ' | ||
| + | option ip_source ' | ||
| + | option ip_network ' | ||
| + | option service_name ' | ||
| + | option lookup_host ' | ||
| + | option domain ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option use_https ' | ||
| + | option enabled ' | ||