Search found 95 matches
- Mon Mar 09, 2020 4:43 pm
- Forum: Network / Wireless Issues
- Topic: Trying to access LAN hosts from WAN when away from Home
- Replies: 3
- Views: 5333
Trying to access LAN hosts from WAN when away from Home
I would like to access LAN hosts as if I were plugged into my network when I am connected remote. I assumed VPN could do something like this but I have tried enabling twice over the years 1.10 and now 1.12. Each time it bricks/freezes and I have to failsafe/reset. I have reviewed the forum and guide...
- Sat Feb 29, 2020 1:34 am
- Forum: General Discussion
- Topic: Tracking website usage similar to data quotas
- Replies: 28
- Views: 32133
Re: Tracking website usage similar to data quotas
sneaky. any way to tap into that pull process and or piggy back it? might have to try squid again.
- Fri Feb 28, 2020 7:43 pm
- Forum: General Discussion
- Topic: Tracking website usage similar to data quotas
- Replies: 28
- Views: 32133
Re: Tracking website usage similar to data quotas
i think I can get good information from the /proc/net/nf_conntrack file.
However, I notice that the nf_conntrack file only has IPs but but webmon_recent_domains file has resolved DNS names. How do you get those domains resolved from IPs? If I just have IPs it wont mean as much as with domains.
However, I notice that the nf_conntrack file only has IPs but but webmon_recent_domains file has resolved DNS names. How do you get those domains resolved from IPs? If I just have IPs it wont mean as much as with domains.
- Fri Feb 28, 2020 7:36 pm
- Forum: Other Issues
- Topic: Best way to get wan ip on cli/ash script?
- Replies: 3
- Views: 5477
Re: Best way to get wan ip on cli/ash script?
Yes, it is for a script. thx for the tip
- Fri Feb 28, 2020 2:50 pm
- Forum: Other Issues
- Topic: Best way to get wan ip on cli/ash script?
- Replies: 3
- Views: 5477
Re: Best way to get wan ip on cli/ash script?
I do see an entry in /var/state/network
that is probably better/safer, right?
network.wan.ipaddr
that is probably better/safer, right?
network.wan.ipaddr
- Fri Feb 28, 2020 2:41 pm
- Forum: Other Issues
- Topic: Best way to get wan ip on cli/ash script?
- Replies: 3
- Views: 5477
Best way to get wan ip on cli/ash script?
I dont see a uci setting or a script for this.
I am currently getting this was. Is it correct? Is there another/better way?
I am currently getting this was. Is it correct? Is there another/better way?
Code: Select all
ip addr list eth1.2|grep inet|awk '{print $2}'|sed 's/\/22//'
- Fri Feb 28, 2020 2:05 pm
- Forum: General Discussion
- Topic: Tracking website usage similar to data quotas
- Replies: 28
- Views: 32133
Re: Tracking website usage similar to data quotas
This should work for all architectures: cat /etc/opkg/distfeeds.conf >> /etc/opkg.conf and now we can install the squid package: gpkg update gpkg install squid :!: As @Lantis says, this procedure may not work because of a kernel change - my last clean install was three months ago, at that point it ...
- Sat Feb 22, 2020 5:26 pm
- Forum: Other Issues
- Topic: logread shows many entries uhttpd[3040]: sh: write error: Broken pipe
- Replies: 8
- Views: 9667
Re: logread shows many entries uhttpd[3040]: sh: write error: Broken pipe
I agree. Is there a setting to increase the log size to minimize this? Is there a recommended Max size?
- Fri Feb 21, 2020 7:11 pm
- Forum: Show / Tell / Contribute
- Topic: Script to restart bwmon_gargoyle if it goes down
- Replies: 0
- Views: 15866
Script to restart bwmon_gargoyle if it goes down
This small script will check to see if a know request fails and tries to start up the service again. I assume that it is still enabled but crashed for whatever reason, which has happened to me in the past. root@Gargoyle:~/scripts# cat mon_bwmon.sh #!/bin/sh if [[ "$(bw_get -i total5-upload-day-...
- Fri Feb 21, 2020 5:43 pm
- Forum: Monitoring / Quota / QoS Issues
- Topic: Email,SMS notification
- Replies: 11
- Views: 22943
Re: Email,SMS notification
I have written such a script. Just a few lines really. It emails only when >=99%. I set it to run every 10 min in cron. I dont think the Priority works but left it in there. #!/bin/sh current_date_time=$(date +"%Y-%m-%d-%H-%M-%S") print_quotas | grep quotaPercents |grep -v "\= \[\];&q...