POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs May 27, 2020 08:02AM |
Registered: 5 years ago Posts: 17 |
user@desktop:~$ ssh root@<POGO-V4-A3-01 ip address> ssh: connect to host <POGO-V4-A3-01 ip address> port 22: Connection refusedI am using the standard rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2[link], where everything is from scratch. It clearly states that root password is "root", so it should work to ssh to it as root, like with rootfs Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2.
/etc/sshd/sshd_configin a certain way so that you can access via ssh, right after a fresh Debian install. But I am sure that ssh would be enabled from start on rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2.
user@desktop:~$ nc -k -l -u -p 6666
PORT STATE SERVICE 80/tcp open http 2222/tcp open EtherNet/IP-1
user@desktop:~$ ssh -p 2222 dummy@<POGO-V4-A3-01 ip address> dummy@<POGO-V4-A3-01 ip address>'s password: Permission denied, please try again. user@desktop:~$ ssh -p 2222 root@<POGO-V4-A3-01 ip address> root@<POGO-V4-A3-01 ip address>'s password: Permission denied, please try again.
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs May 27, 2020 05:30PM |
Admin Registered: 13 years ago Posts: 18,997 |
e2fsck /dev/sdb1 # if the rootf drive was assigned as /dev/sdb1 by UbuntuIf you see errors, then most likely that was the reason.
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs May 27, 2020 05:34PM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
I tried to start with rootfs Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2 and upgrade it to Debian Buster step by step, and the same behavior is observed. I tried to connect with Putty as well instead of with OpenSSH client. Same refusal of connection.
apt-get dist-upgradeAnd answer that you want to keep the current configs for each time you are asked to choose.
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 01, 2020 09:15AM |
Registered: 5 years ago Posts: 17 |
apt-get update && apt-get upgradeeven on Debian Stretch. I don't even have to upgrade to Debian 10 to see the ssh authentication error.
/etc/ssh/sshd_configaccording to this guide. But no success.
user@desktop:~$ nmap <POGO-V4-A3-01 ip address> Starting Nmap 7.80 Nmap scan report for <POGO-V4-A3-01 ip address> Host is up. PORT STATE SERVICE 111/tcp open rpcbind 139/tcp open netbios-ssn 445/tcp open microsoft-ds 2222/tcp open EtherNetIP-1
user@desktop:~$ nmap <POGO-V4-A3-01 ip address> Starting Nmap 7.80 Nmap scan report for <POGO-V4-A3-01 ip address> Host is up. PORT STATE SERVICE 22/tcp open ssh 111/tcp open rpcbind
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 01, 2020 05:27PM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
Is it possible to create a netcat connection from a booting Debian tty so that I can see what is happening on the POGO v4, although currently ssh connection is not allowed by Debian 10?
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 02, 2020 06:55AM |
Registered: 5 years ago Posts: 17 |
cat <<EOF > /usr/local/bin/clean-memory #!/bin/bash echo "before cleaning" free -m sync # su echo 3 > /proc/sys/vm/drop_caches echo "after cleaning" free -m EOF chmod +x /usr/local/bin/clean-memory
root@debian:~# clean-memory before cleaning total used free shared buff/cache available Mem: 114 19 9 1 85 88 Swap: 127 5 122 ...
apt-get install sudo members useradd fixer usermod -aG sudo fixer id fixer
su fixer whoami sudo whoami
apt-get install vsftpd xinetd
cat <<EOF > /etc/xinetd.d/vsftpd service ftp { disable = no socket_type = stream wait = no user = root server = /usr/sbin/vsftpd per_source = 5 instances = 200 no_access = 10.1.1.10 banner_fail = /etc/vsftpd.busy log_on_success += PID HOST DURATION log_on_failure += HOST } EOF
nano /etc/vsftpd.conf
listen=YES listen_ipv6=YESto
listen=NO listen_ipv6=NO
service vsftpd stop service xinetd restartsystemd (I am not able to test this, but it should be something like this):
systemctl stop vsftpd.service systemctl stop xinetd.service systemctl start xinetd.service
netstat -ant | grep 21
userlist_deny=YES
nano /etc/ftpusers ... #root ...
Quote
It's possible to prevent users from logging into the FTP server by adding two lines to /etc/vsftpd.conf:
userlist_enable=YES
userlist_file=/etc/vsftpd.user_list
userlist_file now specifies the file which lists users that are not able to login.
If you only want to allow certain users to login, add the line:
userlist_deny=NO
The file specified by userlist_file will now contain users that are able to login.
apt-get --purge remove openssh-server openssh-client apt autoremove apt clean
apt-get install openssh-server
ssh-keygen -t rsa -b 4096 ssh-keygen -t dsa ssh-keygen -t ecdsa -b 521 ssh-keygen -t ed25519
# It is advisable to move away from port 22 and use other port, # port 2222 or whatever is free, for instance port 331. # to avoid brute force attack. # openssh-server will choose port 2222 automatically if you don't uncomment # this port setting. Port 22
# To allow root login, uncomment the line PermitRootLogin and # set the value to yes: PermitRootLogin yes #PermitRootLogin prohibit-password
service ssh restartsystemd:
systemctl restart sshd.service
cd /boot cp -a uInitrd uInitrd-4.12.1 cp -a uImage uImage-4.12.1
cd /boot cp -a uInitrd uInitrd-5.6.5 cp -a uImage uImage-5.6.5
sed -i 's/stretch/buster/g' /etc/apt/sources.list apt update && apt full-upgrade apt autoremove apt clean
Errors were encountered while processing: busybox-syslogd E: Sub-process /usr/bin/dpkg returned an error code (1)
apt-get dist-upgrade Setting up busybox-syslogd (1:1.30.1-4) ... [....] Restarting busybox' syslogd implementation: syslogdStarting /sbin/syslogd ... 23962 (syslogd) . ok [....] Restarting busybox' klogd implementation: klogdNo klogd found running; no ne killed. Starting /sbin/klogd... 24005 (klogd) failed! invoke-rc.d: initscript busybox-klogd, action "restart" failed. dpkg: error processing package busybox-syslogd (--configure): installed busybox-syslogd package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: busybox-syslogd E: Sub-process /usr/bin/dpkg returned an error code (1) apt-get dist-upgrade Setting up busybox-syslogd (1:1.30.1-4) ... [....] Restarting busybox' syslogd implementation: syslogdStarting /sbin/syslogd... 24066 (syslogd) . ok [....] Restarting busybox' klogd implementation: klogdStopped klogd (pid 24005). Starting /sbin/klogd... 24109 (klogd) . ok
cd /boot mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-5.6.5-kirkwood-tld-1 -d initrd.img-5.6.5-kirkwood-tld-1 uInitrd
service ssh restartsystemd:
systemctl restart sshd.service
apt-get --purge remove openssh-server openssh-client apt autoremove apt-get autoclean apt clean
apt-get install openssh-server Setting up openssh-client (1:7.9p1-10+deb10u2) ... Setting up openssh-sftp-server (1:7.9p1-10+deb10u2) ... Setting up openssh-server (1:7.9p1-10+deb10u2) ... ...This will create all the keys needed.
ssh-keygen -t rsa -b 4096 ssh-keygen -t dsa ssh-keygen -t ecdsa -b 521 ssh-keygen -t ed25519
nano /etc/ssh/sshd_configFind the location of the “Port 22” line and change it to:
# It is advisable to move away from port 22 and use other port, # port 2222 or whatever is free, for instance port 331. # to avoid brute force attack. # openssh-server will choose port 2222 automatically if you don't uncomment # this port setting. Port 22
# To allow root login, uncomment the line PermitRootLogin and # set the value to yes: PermitRootLogin yes #PermitRootLogin prohibit-password
service ssh restartsystemd:
systemctl restart sshd.service
cd /boot mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-5.6.5-kirkwood-tld-1 -d initrd.img-5.6.5-kirkwood-tld-1 uInitrd cp -a uInitrd uInitrd-5.6.5 cp -a uImage uImage-5.6.5 sync sync sync sync
ssh root@<POGO-V4-A3-01 ip address> ssh fixer@<POGO-V4-A3-01 ip address> ftp <POGO-V4-A3-01 ip address> name: root or fixer ssh root@<POGO-V4-A3-01 ip address> -p <the port you have setup> ssh root@<POGO-V4-A3-01 ip address> -p 2222 # (default if you forgot to force it)
shutdown -r now
nmap <POGO-V4-A3-01 ip address> nmap <POGO-V4-A3-01 ip address> -p 21-8000
ssh root@<POGO-V4-A3-01 ip address> ssh fixer@<POGO-V4-A3-01 ip address> ftp <POGO-V4-A3-01 ip address> name: root or fixer ssh root@<POGO-V4-A3-01 ip address> -p <the port you have setup> ssh root@<POGO-V4-A3-01 ip address> -p 2222 # (default if you forgot to force it)
root@debian:~# uname -r 5.6.5-kirkwood-tld-1 root@debian:~# uname -a Linux debian 5.6.5-kirkwood-tld-1 #1.0 PREEMPT Fri Apr 17 19:27:48 PDT 2020 armv5tel GNU/Linux root@debian:~# cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 02, 2020 07:05AM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
rootfs 5.2.9 won't allow me to ssh to the server as root.
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 02, 2020 09:27AM |
Registered: 5 years ago Posts: 17 |
Permission denied, please try again.is to completely uninstall and reinstall openssh-server and openssh-client. After that, it suddenly works. Nobody understands why... but it works. Upgrading openssh-server creates the authentication error, so the only way to go is to uninstall and reinstall and add heavy duty keys just like I wrote. I ran this several times and it seems that RSA 2048 is still allowed, but openssh says they are thinking about dropping RSA altogether at a near point in future because it is easily hacked. 4096 seems to be better than 2048. For now 2048 RSA keys are generated when openssh-server is installed.
ssh-keygen -t rsa -b 4096overwrites the 2048 key it seems...
ssh-keygen -t rsa -b 4096 ssh-keygen -t dsa ssh-keygen -t ecdsa -b 521 ssh-keygen -t ed25519
apt-get update && apt-get upgrade shutdown -r now
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 02, 2020 05:29PM |
Admin Registered: 13 years ago Posts: 18,997 |
> Permission denied, please try again. >> is to completely uninstall and reinstall
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 02, 2020 05:47PM |
Admin Registered: 13 years ago Posts: 18,997 |
uname -a cat /etc/debian_version dpkg -l | grep -i ssh
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 03, 2020 12:12AM |
Admin Registered: 13 years ago Posts: 18,997 |
cd /media/sdb1/etc/ssh rm ssh_host_*
# By default this script does nothing. # generate SSH key on 1st boot ssh-keygen -Aand
sync
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 03, 2020 07:56AM |
Registered: 5 years ago Posts: 17 |
root@debian:~# uname -a Linux debian 5.6.5-kirkwood-tld-1 #1.0 PREEMPT Fri Apr 17 19:27:48 PDT 2020 armv5tel GNU/Linux root@debian:~# cat /etc/debian_version 10.4 root@debian:~# dpkg -l | grep -i ssh ii openssh-blacklist 0.4.1+nmu1 all list of default blacklisted OpenSSH RSA and DSA keys ii openssh-client 1:7.9p1-10+deb10u2 armel secure shell (SSH) client, for secure access to remote machines ii openssh-server 1:7.9p1-10+deb10u2 armel secure shell (SSH) server, for secure access from remote machines ii openssh-sftp-server 1:7.9p1-10+deb10u2 armel secure shell (SSH) sftp server module, for SFTP access from remote machines
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 03, 2020 08:37AM |
Registered: 5 years ago Posts: 17 |
root@debian:~# uname -a Linux debian 5.2.9-kirkwood-tld-1 #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 armv5tel GNU/Linux root@debian:~# cat /etc/debian_version 10.0 root@debian:~# dpkg -l | grep -i ssh ii openssh-blacklist 0.4.1+nmu1 all list of default blacklisted OpenSSH RSA and DSA keys ii openssh-client 1:7.9p1-10 armel secure shell (SSH) client, for secure access to remote machines ii openssh-server 1:7.9p1-10 armel secure shell (SSH) server, for secure access from remote machines ii openssh-sftp-server 1:7.9p1-10 armel secure shell (SSH) sftp server module, for SFTP access from remote machines
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 03, 2020 11:26AM |
Registered: 9 years ago Posts: 461 |
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 03, 2020 04:47PM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
In the mean time, could you list this on your Ubuntu box;
uname -a
cat /etc/debian_version
dpkg -l | grep -i ssh
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 03, 2020 04:49PM |
Registered: 10 years ago Posts: 155 |
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 03, 2020 04:57PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 03, 2020 05:02PM |
Registered: 10 years ago Posts: 155 |
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 04, 2020 08:00AM |
Registered: 5 years ago Posts: 17 |
user@ubuntu20-04:~$ uname -a Linux ubuntu20-04 5.4.0-31-generic #35-Ubuntu SMP Thu May 7 20:20:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux user@ubuntu20-04:~$ cat /etc/debian_version bullseye/sid user@ubuntu20-04:~$ dpkg -l | grep -i ssh ii libssh-4:amd64 0.9.3-2ubuntu2 amd64 tiny C SSH library (OpenSSL flavor) ii libssh-4:i386 0.9.3-2ubuntu2 i386 tiny C SSH library (OpenSSL flavor) ii libssh-gcrypt-4:amd64 0.9.3-2ubuntu2 amd64 tiny C SSH library (gcrypt flavor) ii openssh-client 1:8.2p1-4 amd64 secure shell (SSH) client, for secure access to remote machines ii putty 0.73-2 amd64 Telnet/SSH client for X ii putty-tools 0.73-2 amd64 command-line tools for SSH, SCP, and SFTP ii python3-paramiko 2.6.0-2 all Make ssh v2 connections (Python 3)
root@debian:~# dpkg-reconfigure locales perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_ADDRESS = "sv_SE.UTF-8", LC_NAME = "sv_SE.UTF-8", LC_MONETARY = "sv_SE.UTF-8", LC_PAPER = "sv_SE.UTF-8", LC_IDENTIFICATION = "sv_SE.UTF-8", LC_TELEPHONE = "sv_SE.UTF-8", LC_MEASUREMENT = "sv_SE.UTF-8", LC_TIME = "sv_SE.UTF-8", LC_NUMERIC = "sv_SE.UTF-8", LANG = "C" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_ALL to default locale: No such file or directory dpkg-query: package 'locales' is not installed and no information is available Use dpkg --info (= dpkg-deb --info) to examine archive files. /usr/sbin/dpkg-reconfigure: locales is not installed root@debian:~# locale locale: Cannot set LC_ALL to default locale: No such file or directory LANG=C LANGUAGE= LC_CTYPE="C" LC_NUMERIC=sv_SE.UTF-8 LC_TIME=sv_SE.UTF-8 LC_COLLATE="C" LC_MONETARY=sv_SE.UTF-8 LC_MESSAGES="C" LC_PAPER=sv_SE.UTF-8 LC_NAME=sv_SE.UTF-8 LC_ADDRESS=sv_SE.UTF-8 LC_TELEPHONE=sv_SE.UTF-8 LC_MEASUREMENT=sv_SE.UTF-8 LC_IDENTIFICATION=sv_SE.UTF-8 LC_ALL= root@debian:~# locale -a C C.UTF-8 POSIX root@debian:~# locale-gen "en_US.UTF-8" -bash: locale-gen: command not found root@debian:~# apt-get install locales root@debian:~# locale-gen "en_US.UTF-8" Generating locales (this might take a while)... Generation complete. root@debian:~# dpkg-reconfigure locales ... a window comes up after a while ... ... I chose [*] "en_US.UTF-8 UTF-8" with space key or mouse click. ... OK ... ... Default locale for the system environment ... │ Many packages in Debian use locales to display text in the correct │ │ language for the user. You can choose a default locale for the system │ │ from the generated locales. │ │ │ │ This will select the default language for the entire system. If this │ │ system is a multi-user system where not all users are able to speak the │ │ default language, they will experience difficulties. │ │ │ │ Default locale for the system environment: │ │ ┌────────────────────────────────────────────────────────────────────────┐ │ │ │ None │ │ │ │ C.UTF-8 │ │ │ │ en_US.UTF-8 │ │ │ └────────────────────────────────────────────────────────────────────────┘ │ ├────────────────────────────────────────────────────────────────────────────┤ │ < OK > <Cancel> ... I chose "en_US.UTF-8" ... root@debian:~# cat /etc/environment root@debian:~# locale locale: Cannot set LC_ALL to default locale: No such file or directory LANG=C LANGUAGE= LC_CTYPE="C" LC_NUMERIC=sv_SE.UTF-8 LC_TIME=sv_SE.UTF-8 LC_COLLATE="C" LC_MONETARY=sv_SE.UTF-8 LC_MESSAGES="C" LC_PAPER=sv_SE.UTF-8 LC_NAME=sv_SE.UTF-8 LC_ADDRESS=sv_SE.UTF-8 LC_TELEPHONE=sv_SE.UTF-8 LC_MEASUREMENT=sv_SE.UTF-8 LC_IDENTIFICATION=sv_SE.UTF-8 LC_ALL= root@debian:~# sh -c "echo 'LC_ALL=en_US.UTF-8\nLANG=en_US.UTF-8' >> /etc/environment" root@debian:~# cat /etc/environment LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
# Export env vars root@debian:~# echo "export LC_ALL=en_US.UTF-8" >> ~/.bashrc root@debian:~# echo "export LANG=en_US.UTF-8" >> ~/.bashrc root@debian:~# echo "export LANGUAGE=en_US.UTF-8" >> ~/.bashrc root@debian:~# source ~/.bashrc -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory root@debian:~# locale LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=en_US.UTF-8 root@debian:~# locale -a C C.UTF-8 en_US.utf8 POSIX
LC_ALL="en_US.UTF-8" en_US.UTF-8 versus en_US.utf8
root@debian:~# dpkg-reconfigure locales ... Just hitting OK ... ... Selecting en_US.UTF-8 ... Generating locales (this might take a while)... en_US.UTF-8... done Generation complete. root@debian:~# cat /etc/default/locale LANG=en_US.UTF-8 root@debian:~# # Generate the perl locale warning... root@debian:~# perl -e exit ... no more locale errors ... root@debian:~# source ~/.bashrc -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
root@debian:~# shutdown -r now && sleep 1 && exit ... Rebooting ... ... ssh login ... root@debian:~# perl -e exit root@debian:~# locale LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=en_US.UTF-8
root@debian:~# rm /etc/environment root@debian:~# cat /etc/default/locale LANG="en_US.UTF-8" root@debian:~# sh -c "echo 'LANGUAGE=\"en_US.UTF-8\"' >> /etc/default/locale" root@debian:~# sh -c "echo 'LC_ALL=\"en_US.UTF-8\"' >> /etc/default/locale" root@debian:~# cat /etc/default/locale LANG="en_US.UTF-8" LANGUAGE="en_US.UTF-8" LC_ALL="en_US.UTF-8" root@debian:~# shutdown -r now && sleep 1 && exit
root@debian:~# locale LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=en_US.UTF-8 root@debian:~# perl -e exit ... no error messages ...
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 04, 2020 06:37PM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
I now notice that Ubuntu 20.04 has a newer openssh-client than Debian 10 on the POGO v4, which has 1:7.9p1-10+deb10u2. Since Ubuntu is based on Debian, I didn't suspect that Ubuntu could be more up-to-date than Debian, rather the other way around.
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 04, 2020 07:05PM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
OpenSSH 8.3 was released May 27, 2020. Since my first post is on May 27... it is a coincidence that made me suspect, again, openssh development. Then I read that openSSH plans to drop RSA keys altogether.
Quote
I tried the 4096 key over 2048, but that wasn't the underlaying issue, it was that a complete reinstall with cleaning was needed. Some posts on other forums said that would be the quickest solution, but it would not reveal the true cause about why openssh would fail on old keys. Now I suspect that openssh keymaking has changed, making old keys no longer work. A reinstall of openssh does create new keys, so I should have come to the conclusion that keys needed to be regenerated somehow on the rootfs 5.2.9
Quote
A reinstall of openssh does create new keys, so I should have come to the conclusion that keys needed to be regenerated somehow on the rootfs 5.2.9. I din't know that you could hack rc.local to accomplish that re-generation on rootfs 5.2.9 boot.
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 04, 2020 07:17PM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
May I ask, should I rather use a Linux Mint when dealing with the POGO, is that what you all are using?
I chose Ubuntu 20.04 as base system over Debian and Mint due to that it is a bit more user friendly than Debian when you are a newbie, it's easier for other newbies to use it, although I must admit that Ubuntu Budgie 20.04 is one of the best systems for total newbies. I do use most Debian-based distros nowadays... even Lubuntu and Xubuntu. I guess this is the story for all, you start somewhere and end up learning all the distros after a few years. POGO Pro and POGO v4 are my first linux servers so to say without graphical user interface. I had the idea to use one as a web-server and the other as a database and learn to setup Wordpress, Woocommerce, blogs ... as training.
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 04, 2020 07:19PM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
I also wonder how you deal with the tear and wear on the USB-sticks, how you make them last longer.
Don't USB-sticks fail after some time for you?
POGO v4 has a visible SATA-port under the "hood", maybe it is wise to set POGO v4 up to boot from a durable SATA-disk, instead of a USB-stick? Would that be better long term?
Or connect a USB-harddisk to the top USB-port instead of a USB-stick?
Quote
https://forum.doozan.com/read.php?2,23630
Flash drives issues
How to prolong the life of your rootfs USB thumb drive
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 04, 2020 09:26PM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
I did have a USB-TTL serial cable back in 2016 for some weeks to troubleshoot a dead Netgear router where the IP-ports only worked on occasion. Wasn't able to fix it nor understanding what makes an RJ45 IP-port die other than "planned obsolescence...", and since that time I didn't invest in a new serial cable which had proper linux drivers and would work with one of the distros like Ubuntu. The cheap USB-to-TTL serial cable kit that is easily available in some countries like China for something like 2-3USD I couldn't find at my location, just expensive 30USD solutions that ran drivers on platforms like Windows. That might have changed over the years, today maybe there are cheap cables everywhere if you know where to look for it. If you have an idea about what to get as of year 2020 that is cheap and works on linux distro like Ubuntu with open source USB-TTL drivers, please say something. I know you may have those things, but I don't know what exactly you have and what seems to work long-term.
Quote
https://forum.doozan.com/read.php?2,23630
Unbricking with Serial Console & JTAG console
Serial Port connector - what are people using to make it work
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 05, 2020 11:20AM |
Registered: 10 years ago Posts: 155 |
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 05, 2020 11:55AM |
Registered: 7 years ago Posts: 373 |
Re: POGO-V4-A3-01 + 2017.07 U-Boot Kirkwood + Debian 5.2.9 rootfs June 05, 2020 04:08PM |
Registered: 10 years ago Posts: 155 |