skeal
Part of the Furniture
How did you setup your swap? File or partition?Was redoing my router and got around to adding Skynet back...
Is there any way to have the installer not ask to make a swap file when there already is one?
How did you setup your swap? File or partition?Was redoing my router and got around to adding Skynet back...
Is there any way to have the installer not ask to make a swap file when there already is one?
# create swap partition
if ! [ -f /mnt/mpu_storage/swap ]; then
logger -t CustomScript:$FILENAME "Creating swap."
dd if=/dev/zero of=/mnt/mpu_storage/swap bs=1024 count=1048576
mkswap /mnt/mpu_storage/swap
fi
# enable swap partition
if [ -f /mnt/mpu_storage/swap ]; then
logger -t CustomScript:$FILENAME "Turning swap on."
swapon /mnt/mpu_storage/swap
echo 10 > /proc/sys/vm/swappiness
fi
Remove yours and let Skynet set one up. Quickest easiest fix.Self created.
Code:# create swap partition if ! [ -f /mnt/mpu_storage/swap ]; then logger -t CustomScript:$FILENAME "Creating swap." dd if=/dev/zero of=/mnt/mpu_storage/swap bs=1024 count=1048576 mkswap /mnt/mpu_storage/swap fi # enable swap partition if [ -f /mnt/mpu_storage/swap ]; then logger -t CustomScript:$FILENAME "Turning swap on." swapon /mnt/mpu_storage/swap echo 10 > /proc/sys/vm/swappiness fi
Doesn't your code create a swap partition, when what you need here is a swap file?Self created.
Code:# create swap partition if ! [ -f /mnt/mpu_storage/swap ]; then logger -t CustomScript:$FILENAME "Creating swap." dd if=/dev/zero of=/mnt/mpu_storage/swap bs=1024 count=1048576 mkswap /mnt/mpu_storage/swap fi # enable swap partition if [ -f /mnt/mpu_storage/swap ]; then logger -t CustomScript:$FILENAME "Turning swap on." swapon /mnt/mpu_storage/swap echo 10 > /proc/sys/vm/swappiness fi
Oh and by the way you don't have a swap file, the info you shared above is for a swap partition. By the way for recommended size of swap file use your routers memory size as a guide. For instance mine is 512 meg. I don't know anyone that can justify the use of a 2gig swap file, on these routers. Not even with transmission.File.
# enable swap partition
if [ -f /mnt/mpu_storage/swap ]; then
logger -t CustomScript:$FILENAME "Turning swap on."
swapon /mnt/mpu_storage/swap
echo 10 > /proc/sys/vm/swappiness
fi
# enable swap partition
if [ -f /mnt/mpu_storage/swap ]; then
logger -t CustomScript:$FILENAME "Turning swap on."
swapon /mnt/mpu_storage/swap
echo 10 > /proc/sys/vm/swappiness
fi
Whatever detection code is in the firewall script to see if there is a swap drive it does not like a tab being before 'swapon' in post-mount
Hi, my router sometimes loses track of routes to external IP addresses that are specified in a VPN client. If I restart the VPN client it doesn't fix the problem but if I also restart Skynet then it seems to come good.
Here's two consecutive entries from the log:
Code:Jan 4 04:04:32 Skynet: [#] 130799 IPs (-22566) -- 1654 Ranges Banned (+0) || 0 Inbound -- 0 Outbound Connections Blocked! [start] [78s] Jan 4 05:00:04 Skynet: [#] 51231 IPs (-79568) -- 0 Ranges Banned (-1654) || 52 Inbound -- 0 Outbound Connections Blocked! [save] [4s]
My router was set to reboot at 4am and that all looked fine in the log. Skynet seems to start itself up just fine but an hour later lost a bunch of the blocked addresses and all the ranges.
Running current versions of Skynet and Merlin 384.8 on an RT-AC68U (genuine). Thanks for any ideas.
That’s exactly what I have done. Fairly quick and simple.How can I disable/enable Skynet temporarily?
What I do at the moment is to use option 9 to disable it (it does not change to enable in the menu) and then use option 8 to restart it. Is that the right way to do it?
How can I disable/enable Skynet temporarily?
What I do at the moment is to use option 9 to disable it (it does not change to enable in the menu) and then use option 8 to restart it. Is that the right way to do it?
Members,
Is there a way to easily export the Skynet firewall stats report so one can easily click on the http references in the report to go directly to the link to view source of attach information? If available, it would make it easier than copy/pasting the entries.
Thanks.
Does Skynet, when blocking, include the very invasive Trend Micro servers?
Sent from my iPhone using Tapatalk Pro
Terminals like Xshell allow this functionality.
By default no.
fbsv1.trendmicro.com
fbsv2.trendmicro.com
ntd-asus-2014b-en.fbs20.trendmicro.com
gslb1.fbs.trendmicro.com.akadns.net
rgom10-en.url.trendmicro.com
trendmicro.com.edgesuite.net
slb1.fbs.trendmicro.com.akadns.net
activeupdate.trendmicro.co.jp
backup21.url.trendmicro.com
wrs.trendmicro.com
e5110.dscd.akamaiedge.net
dlcdnets.asus.com
wideip-dlcdnets.isoi.asia
dlcdnets-ds.asus.com.edgekey.net
In Skynet where would I enter these addresses to block them?
Code:fbsv1.trendmicro.com fbsv2.trendmicro.com ntd-asus-2014b-en.fbs20.trendmicro.com gslb1.fbs.trendmicro.com.akadns.net rgom10-en.url.trendmicro.com trendmicro.com.edgesuite.net slb1.fbs.trendmicro.com.akadns.net activeupdate.trendmicro.co.jp backup21.url.trendmicro.com wrs.trendmicro.com e5110.dscd.akamaiedge.net dlcdnets.asus.com wideip-dlcdnets.isoi.asia dlcdnets-ds.asus.com.edgekey.net
( sh /jffs/scripts/firewall ban domain google.com ) This Bans the URL Specified
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!