Hard reset & console reset not working any other options?
-
@stephenw10
the 2100 is apx 1.5 yrs old and is not a max.
I'm not familiar with the shell commands, could you let me know which commends to enter or provide a link to shell commands? unable to find what I'm looking for. sry -
@beardedguy Something like:
ls -l /myfile.txt
(should not already be there)echo x > /myfile.txt
ls -l /myfile.txt
(should be there now)[reboot]
ls -l /myfile.txt
(should still be there)(delete with "rm /myfiletxt")
-
-
Use menu option 8 to hit the shell. That should still work.
Then run:
touch test.txt
If no error is shown check it's actually there and the date is correct with
ls -ls
Reboot and check it's still there.
-
@stephenw10
[23.09.1-RELEASE][root@]/root: touch test.txt
[23.09.1-RELEASE][root@]/root: ls -ls
total 12352
4 -rw-r--r-- 2 root wheel 1011 Dec 6 2023 .cshrc
0 -rw-r--r-- 1 root wheel 0 Jul 16 14:34 .hushlogin
4 -rw-r--r-- 1 root wheel 68 Dec 6 2023 .k5login
4 -rw-r--r-- 1 root wheel 316 Dec 6 2023 .login
4 -rw-r--r-- 2 root wheel 1199 Jul 16 14:34 .profile
4 -rw------- 1 root wheel 1024 Jun 13 18:18 .rnd
4 -rw------- 1 root wheel 503 Jul 17 10:49 .sh_history
4 -rw-r--r-- 1 root wheel 2143 Jul 16 14:34 .shrc
4 -rw-r--r-- 1 root wheel 3410 Jul 16 14:34 .tcshrc
1408 -rw-r--r-- 1 root wheel 1381843 Mar 5 2023 packetcapture.cap
0 -rw-r--r-- 1 root wheel 0 Mar 5 2023 packetcapture.start
10912 -rw------- 1 root wheel 11128832 Dec 19 2022 pkg-static.core
0 -rw-r--r-- 1 root wheel 0 Jul 17 10:52 test.txt
[23.09.1-RELEASE][root@]/root:reboot
Enter an option: ^A^ZYou have stopped jobs.
[1] + Suspended /etc/rc.initialls -l /test.txt
ls: /test.txt: No such file or directory
/myfile.txt
-sh: /myfile.txt: Permission denied
-
@beardedguy
Your commands show you created text.txt while you were in /root/ directory but looked for it in the top level: "ls -l /test.txt"...try "ls -l /root/text.txt" instead.For reference, "ls" shows the directory LiSting, "-l" is "long" format meaning it shows file sizes and uses columns.
"/myfile.txt" by itself would try to run that as a command which is why you got the error.
-
@SteveITS good catch . . thanks.
[23.09.1-RELEASE][root@]/root: touch test.txt
[23.09.1-RELEASE][root@]/root: ls -ls
total 12352
4 -rw-r--r-- 2 root wheel 1011 Dec 6 2023 .cshrc
0 -rw-r--r-- 1 root wheel 0 Jul 16 14:34 .hushlogin
4 -rw-r--r-- 1 root wheel 68 Dec 6 2023 .k5login
4 -rw-r--r-- 1 root wheel 316 Dec 6 2023 .login
4 -rw-r--r-- 2 root wheel 1199 Jul 16 14:34 .profile
4 -rw------- 1 root wheel 1024 Jun 13 18:18 .rnd
4 -rw------- 1 root wheel 545 Jul 17 10:55 .sh_history
4 -rw-r--r-- 1 root wheel 2143 Jul 16 14:34 .shrc
4 -rw-r--r-- 1 root wheel 3410 Jul 16 14:34 .tcshrc
1408 -rw-r--r-- 1 root wheel 1381843 Mar 5 2023 packetcapture.cap
0 -rw-r--r-- 1 root wheel 0 Mar 5 2023 packetcapture.start
10912 -rw------- 1 root wheel 11128832 Dec 19 2022 pkg-static.core
0 -rw-r--r-- 1 root wheel 0 Jul 17 11:08 test.txtreboot
Enter an option: ^A^ZYou have stopped jobs.
[1] + Suspended /etc/rc.initialls -l /root/text.txt
ls: /root/text.txt: No such file or directory
ls -l /root/test.txt
-rw-r--r-- 1 root wheel 0 Jul 17 11:08 /root/test.txt
-
Hmm, then I would try to recover to 24.03 dircetly and see if it shows errors installing. You should be able to recover the config at the same time.
-
@stephenw10
thanks, is there a process I can follow? -
-
@stephenw10
i'm going though installation process and its requesting network connectionVerifying the Internet connection...
Trying to reach the Netgate Servers, please waiti have internet on my laptop connected to console port. any suggestions?
-
You need to have the 2100 WAN connected to something valid so it can reach the pkg servers to install the latest version.
-
@stephenw10
back up and running, thanks for the help, excellent support! -
Ah, great result!
-
to prevent this kind of problem in the future I am looking for a UPS compatible with the NUT package on the 2100. is there a recommended UPS?
-
There isn't a Netgate recommended UPS.
If you ask in the UPS tools sub though I'm sure you'll get some.
-
@stephenw10 thanks,
-
@beardedguy said in Hard reset & console reset not working any other options?:
am looking for a UPS compatible with the NUT package
UPSs are all different, but basically all the same.
So, if you have to chose, chose the one that works best - not with you, but with the software that is going to use the UPS : the NUT package.
In other words : check out this list : Hardware compatibility list and based upon what you find, make your decision. -
@Gertjan thanks for the info, I got brave yesterday and ordered this one...
APC Back-UPS 600VA, 120V, 1 USB charging port, 7 NEMA outlets (2 surge)
BE600M1