john9527
Part of the Furniture
So there's a 3rd partition (DT_1)? Is the swap on a different USB stick?/tmp/mnt/DT_1/myswap.swp
So there's a 3rd partition (DT_1)? Is the swap on a different USB stick?/tmp/mnt/DT_1/myswap.swp
I am not TonyK132 and I have no problem with swap.So there's a 3rd partition (DT_1)? Is the swap on a different USB stick?
I am not TonyK132 and I have no problem with swap.
Just copy/pasted line of my syslog.
No problemo.Oops...my bad
No, it's at sda2, same as the location of the Skynet directory.And I'm guessing the swap is installed on the first partition.....
Have you Diversion installed? Because under more options (o) of Diversion you can easily create and manage (sw) your swap file.I have no line about that Swap file, other than Skynet complaining I need one. Remember, I'm using the Swap file that Skynet created.
No, I do not.Have you Diversion installed? Because under more options (o) of Diversion you can easily create and manage (sw) your swap file.
https://www.snbforums.com/threads/diversion-the-router-ad-blocker.48538/
OK.No, I do not.
If you go to your router gui and to Tools - Sysinfo, does it show your swap under Memory? Something like this:I have no line about that Swap file
Swap 9.85 / 256.00 MB
Here's what the Memory section looks like.If you go to your router gui and to Tools - Sysinfo, does it show your swap under Memory? Something like this:
Code:Swap 9.85 / 256.00 MB
I am not an expert. So, maybe I should shut up anyway. But there seems to be a swap file (gui), and even your Skynet showed it and its location:This is the size that I entered when I installed Skynet, but how can I tell if this is the same Swap file?
SWAP File; /tmp/mnt/data/myswap.swp (512.5M)
Correct, I do not have such a line in my logs after a boot. I was assuming (maybe wrongly) that that Swap file was only being used by Skynet and is unrelated to whatever other Swap files are needed by the rest of the system. So I'm surprised that the GUI shows that size which just happens to be identically the same size as what I declared for Skynet. Hopefully Adam or a guru can help here. But thanks for your help.I am not an expert. So, maybe I should shut up anyway. But there seems to be a swap file (gui), and even your Skynet showed it and its location:
Code:SWAP File; /tmp/mnt/data/myswap.swp (512.5M)
But somehow it doesn't work or at least your Skynet won't see a working swap file when the router is booting. Cannot say why.
I think there should be a syslog line saying "...kernel: Adding blah-blahk swap on /tmp/mnt/blah-blah/myswap.swp"
Your syslog is missing that line totally?
Since flashing to the new firmware have you reset to factory defaults?Correct, I do not have such a line in my logs after a boot. I was assuming (maybe wrongly) that that Swap file was only being used by Skynet and is unrelated to whatever other Swap files are needed by the rest of the system. So I'm surprised that the GUI shows that size which just happens to be identically the same size as what I declared for Skynet. Hopefully Adam or a guru can help here. But thanks for your help.
Yes, I did that when I installed the beta1 f/w. I installed beta1 over alpha3, but because of a password issue, I needed to reset to defaults, then reloaded everything, which included Skynet. Skynet was working great for me under alpha3. I'm only having this issue since I moved to beta1.Since flashing to the new firmware have you reset to factory defaults?
Simplify your setup. Try just using 1 drive instead of 2 and using only 1 partition. File system ext2. Get things working and then add the other drive.Yes, I did that when I installed the beta1 f/w. I installed beta1 over alpha3, but because of a password issue, I needed to reset to defaults, then reloaded everything, which included Skynet. Skynet was working great for me under alpha3. I'm only having this issue since I moved to beta1.
Thanks, but I only have 1 drive. 2 partitions but 1 drive. I could try putting that swap file in the other partition, and eliminating that other partition completely since I only have entware in case I find something I'd want in the future.Simplify your setup. Try just using 1 drive instead of 2 and using only 1 partition. File system ext2. Get things working and then add the other drive.
No real reason to partition small USB flash drives...Thanks, but I only have 1 drive. 2 partitions but 1 drive. I could try putting that swap file in the other partition, and eliminating that other partition completely since I only have entware in case I find something I'd want in the future.
I think Skynet and the swap should be on the same partition. IMHOThanks, but I only have 1 drive. 2 partitions but 1 drive. I could try putting that swap file in the other partition, and eliminating that other partition completely since I only have entware in case I find something I'd want in the future.
That makes a lot of sense -- it guarantees that Skynet has access to the swap file as needed.I think Skynet and the swap should be on the same partition. IMHO
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!