What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Here an issue when I was setting my email configs in C:
I figured out that the password can't be set everything (I know that double quotation is already forbidden). I can see that it also ignores some other sequences of chars. For example in my case it does not allow $3. So I can't set the right password and therefore getting login failed error. Any ideas?
 
Here an issue when I was setting my email configs in C:
I figured out that the password can't be set everything (I know that double quotation is already forbidden). I can see that it also ignores some other sequences of chars. For example in my case it does not allow $3. So I can't set the right password and therefore getting login failed error. Any ideas?
Depends on your email service. I have used both Gmail and Outlook.com SMTP servers with app specific passwords since both accounts are using two factor authentication. The app specific passwords are unlikely to have the unfriendly characters in them. The sending service doesn’t have to be the same as your primary email service.
 
Depends on your email service. I have used both Gmail and Outlook.com SMTP servers with app specific passwords since both accounts are using two factor authentication. The app specific passwords are unlikely to have the unfriendly characters in them. The sending service doesn’t have to be the same as your primary email service.
It is gmail and without 2FA. But if I can't set my password correctly it does not matter what I put for sending address. But anyway a good shout. to your point, can I set a fake address for sending address while I have correctly set my toAddress?
 
It is gmail and without 2FA. But if I can't set my password correctly it does not matter what I put for sending address. But anyway a good shout. to your point, can I set a fake address for sending address while I have correctly set my toAddress?
This is a limitation of shell scripts, or at least I know of no alternate way to do it.
Your password is a variable, delimited by two ":
PASSWORD="Sup3rPa##w0rd"
Even in these variables, if you use ", ' or $ it has a special meaning and changes the length of the variable's content or it's value.
Not much I can do unless someone else has a way to outmaneuver that limitation. I could probably use a technique known as escape such characters in the password variable.
Something like this, with two forbidden characters:
"$up3rPa##"w0rd" would be escaped and look like this:
"\$up3rPa##\"w0rd"

But then, I'd have to check if a backslash (\) is used in the password and also escape that. And the list goes on.
Best to just use a password that uses uppercase, lowercase, numbers, the characters *, :, , - and _ are also safe.
 
This is a limitation of shell scripts, or at least I know of no alternate way to do it.
Your password is a variable, delimited by two ":
PASSWORD="Sup3rPa##w0rd"
Even in these variables, if you use ", ' or $ it has a special meaning and changes the length of the variable's content or it's value.
Not much I can do unless someone else has a way to outmaneuver that limitation. I could probably use a technique known as escape such characters in the password variable.
Something like this, with two forbidden characters:
"$up3rPa##"w0rd" would be escaped and look like this:
"\$up3rPa##\"w0rd"

But then, I'd have to check if a backslash (\) is used in the password and also escape that. And the list goes on.
Best to just use a password that uses uppercase, lowercase, numbers, the characters *, :, , - and _ are also safe.

Fair enough :) I also thought that $ could make shell believes that it is a variable.
I will go and change my gmail password so I can use it for this purpose.
Thanks.

Edit: I used \ as a escaping char and it worked. Now I can use my current password :)
 
Last edited:
I booted into GParted to format the device to EXT2 and everything but your script detects it as EXT2. Also, your script definitely has a memory leak somewhere or some logging ( stored in memory? ) that just keeps getting larger and larger. My freezing issue is gone but my ram usage has increased nearly 15% over the past week and getting larger and larger. Do you have a list of all settings related to logging?
I hear (some) Android devices literally bombarding pixelserv-tls with slu (TLS handshake errors). One user reported this fills up RAM and a weekly router reboot is what solves it.

Maybe that is what's causing your RAM increase?
 
Tonight I had a blackout, it lasted less than a minute. When the power came back on I left everything alone and watched some TV. I just discovered by logging into the router (ssh) that the USB drive with Diversion, SkyNet, and AMTM won't load. I have turned the router off and unplugged it for 10 seconds, taken the USB Drive out and plugged it back in, and powered the Router back on. To my surprise I found nothing when I entered the following commands:

8ZaGtnS.png


lFwNPo3.png


Have I lost everything?


Edit: Sorry about the size of those images.
 
Last edited:
Tonight I had a blackout, it lasted less than a minute. When the power came back on I left everything alone and watched some TV. I just discovered by logging into the router (ssh) that the USB drive with Diversion, SkyNet, and AMTM won't load. I have turned the router off and unplugged it for 10 seconds, taken the USB Drive out and plugged it back in, and powered the Router back on. To my surprise I found nothing when I entered the following commands:

8ZaGtnS.png


lFwNPo3.png


Have I lost everything?


Edit: Sorry about the size of those images.

Have you tried the full command
eg.
/jffs/scripts/amtm
 
Tonight I had a blackout, it lasted less than a minute. When the power came back on I left everything alone and watched some TV. I just discovered by logging into the router (ssh) that the USB drive with Diversion, SkyNet, and AMTM won't load. I have turned the router off and unplugged it for 10 seconds, taken the USB Drive out and plugged it back in, and powered the Router back on. To my surprise I found nothing when I entered the following commands:

8ZaGtnS.png


lFwNPo3.png


Have I lost everything?


Edit: Sorry about the size of those images.
Reminds me possibly of some of the questions raised recently and the answers eg using ext4 as Colin advocates

https://www.snbforums.com/threads/webgui-eject-usb-disk-fails.54230/page-2#post-456610
 
Have I lost everything?
The device Skynet can't find is referenced in firewall-start.
To show the line enter:
Code:
grep skynetloc /jffs/scripts/firewall-start
The path is the variable skynetloc=

Also you can check what device(s) are mounted and drill down there:
Code:
ls /tmp/mnt/
It should show at least one device.
 
I ran the command and this is what I get:

YxPip9H.png
That doesn't look good. Can you check the device as posted before. If it is found, you could use dc in amtm and enable it. Then reboot the router to let it run and if it is formatted in a compatible format, it'll hopefully fix the errors.
 
The device Skynet can't find is referenced in firewall-start.
To show the line enter:
Code:
grep skynetloc /jffs/scripts/firewall-start
The path is the variable skynetloc=

Also you can check what device(s) are mounted and drill down there:
Code:
ls /tmp/mnt/
It should show at least one device.

Unfortunately that didn't work. I think the USB port is dead. I turned the router off, inserted the USB Drive in the second USB port on the back of the RT-AC86U and restarted. Its working now. Everything is back up and running.
 
I hear (some) Android devices literally bombarding pixelserv-tls with slu (TLS handshake errors). One user reported this fills up RAM and a weekly router reboot is what solves it.

Maybe that is what's causing your RAM increase?

graph.instagram.com does that on both iOS and Android and it's best to either whitelist it or manually point in to Null IP using hosts list.
 
Unfortunately that didn't work. I think the USB port is dead. I turned the router off, inserted the USB Drive in the second USB port on the back of the RT-AC86U and restarted. Its working now. Everything is back up and running.
Last year lightning struck nearby my place. The only thing that suffered was the WAN port on my RT-AC87U. Fortunately, the dual WAN option lets you select a LAN port to use as secondary WAN and I was able to continue to use it as my primary router.

Then the RT-AC86U entered my collection of routers and the 87U is since degraded as a secondary test router.
 
graph.instagram.com does that on both iOS and Android and it's best to either whitelist it or manually point in to Null IP using hosts list.
Will test it later, thanks.
 
Last year lightning struck nearby my place. The only thing that suffered was the WAN port on my RT-AC87U. Fortunately, the dual WAN option lets you select a LAN port to use as secondary WAN and I was able to continue to use it as my primary router.

Then the RT-AC86U entered my collection of routers and the 87U is since degraded as a secondary test router.

The poor old 87U ... surges really are terrible things.

I might buy some extra surge protectors, or at least better ones. Really what I should have done was unplug everything as soon as I heard the thunder outside. But I thought it would be okay. I won't make that mistake again.
 
The poor old 87U ... surges really are terrible things.

I might buy some extra surge protectors, or at least better ones. Really what I should have done was unplug everything as soon as I heard the thunder outside. But I thought it would be okay. I won't make that mistake again.
Everything's grounded, earthed, well done to code at my place. Power strip surge protectors are seldom used in Switzerland. I have none in use.
I did have them while living in the US and Australia. I think I got one US protector somewhere. Might use that if it's compatible volt wise.
 
Everything's grounded, earthed, well done to code at my place. Power strip surge protectors are seldom used in Switzerland. I have none in use.
I did have them while living in the US and Australia. I think I got one US protector somewhere. Might use that if it's compatible volt wise.

I don't know what its like in the US but here in Australia, as you would know, electronics blown out by surges is very common. I lost a $3K iMac to a surge. But it was covered by insurance so not all bad.

The more I learn about Switzerland the more it sounds like a great place.

Also, is it advisable to make a backup of the USB Drive? I have spare 32GB drives.
 
Last edited:

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top