[SOLVED] Can't ssh in current installer on rpi3 b+
Slackware - ARMThis forum is for the discussion of Slackware ARM.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Everything is in the title. The 14.2 is up and running but it is a bit old and I would rather have the same version on rpi3 and rpi4...
Since I have no screen nor spare mouse and keyboard I don't have a clue about what's going on. I troubleshooted almost everything I thought of before trying 14.2 instead of current (ethernet cable, sdcard, gateway, power).
Any advice would be thankfully welcomed!
Regards
Last edited by Tonus; 12-14-2019 at 03:59 PM.
Reason: Changed title to be exact
Try powering down and inserting the SD card into a laptop or something. Then check the log files. With this sort of thing, it's usually a fairly simple fix after seeing the log files.
Since I have no screen nor spare mouse and keyboard I don't have a clue about what's going on. I troubleshooted almost everything I thought of before trying 14.2 instead of current (ethernet cable, sdcard, gateway, power).
Any advice would be thankfully welcomed!
Add the following code to your /boot/cmdline.txt file and reboot - and specify the correct network interface - this will hopefully give you networking and allow you login remotely. In this example the network relies on DHCP to get an IP address and eth0 is the network interface:
Code:
kbd=us nic=auto:eth0:dhcp
Alternatively, if your network does not have DHCP enabled you should specify an IP address and netmask. In this example the IP address is 192.168.1.100 and the netmask is 255.255.255.0 (24-bit netmask):
Code:
kbd=us nic=auto:eth0:static:192.168.1.100:24
You can put the above code anywhere in your cmdline.txt file.
Thanks for your input. I read carefully the man and that's what I usually do (and it worked same day on the new rpi4 with current). Unfortunately, it failed on the old rpi3 with current... But it is working with 14.2
That is really what puzzles me : why would it fail with current?
Since it is actually working with 14.2, I was wondering if I could check some hardware spec or sanity that would explain the fail.
That is really what puzzles me : why would it fail with current?
Since it is actually working with 14.2, I was wondering if I could check some hardware spec or sanity that would explain the fail.
Hi. I'm really struggling to answer why Slackware ARM current would fail in this way when 14.2 is working fine. There must be another factor that's contributing to this problem. I build with and test the current version on the RPi 2/3/4 and failure in my experience is always attributed to some human element. I'm not even sure that Slackware [ARM] knows what failure is!
There have been times when Slackware ARM has had problems/issues running on the RPis due to poor quality power supplies, and also the SD card can be a huge factor in this. Some SD cards don't seem to work as well as others and changing them for a different one often makes all the difference. So, I'd try re-installing Slackware ARM current on a different SD card first of all.
Other than that, did you make absolutely sure that you installed correctly and missed nothing out? Did Slackware ARM current fail to boot into the installer? Or did Slackware ARM current fail to boot after installation?
After trying to plug the pi3 to some video projector while still plugged in short ethernet cable, just to try to see something on a small part of a wall... And realize that my hdmi cable does not fit well in the pi...
Tryed again and... I'm in ! Currently installing current.
I bet I never will understand.
Thanks all and sorry for the noise, this has (automagically?) solved itself.
It's the installer that couldn't be reached by ssh.
You can never discount the human element when dealing with a Raspberry Pi running Slackware (or anything else for that matter). In my experience it's culpable for most things that go awry in life!
You should be able to login normally via ssh even without any HDMI cable connected. No reason to plug one in if you're working headless. I only connect one up when I need to which isn't very often.
Quote:
Originally Posted by Tonus
After trying to plug the pi3 to some video projector while still plugged in short ethernet cable, just to try to see something on a small part of a wall... And realize that my hdmi cable does not fit well in the pi...
Tryed again and... I'm in ! Currently installing current.
I bet I never will understand.
Thanks all and sorry for the noise, this has (automagically?) solved itself.
I've only had problems with RPi4 micro-HDMI cables and never with any RPi1/2/3 HDMI cables. Glad you fixed the issue. Now you know what to look for the next time this happens.
I tried the hdmi because I wanted to see if some output would help me to solve the problem. No output but no more problem :-)
Ssh works flawlessly. I'm just in trouble with ssh-add but I believe it could be related to an uncomplete install.
Might be related to other troubles trying to have clerk (tmux TUI for mpd with ncmpcpp) installed : having hard time since I haven't installed anything from e/x/xap/kde/kdei/xfce/y and avahi seems to need quite some stuff from X...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.