Fmstrat / diy-ipmi

A DIY IPMI / IP KVM system utilizing the Raspberry Pi
901 stars 98 forks source link

Can't connect to RPI0 #38

Open arti86pl opened 5 years ago

arti86pl commented 5 years ago

For some reason, the script fails on connecting to PI0. When I try screen /dev/ttyUSB0 115200 after a few seconds I can see login and password quickly passing through the screen. Any idea what is wrong with it?

Error is: -=- Logging into the Pi0 -=- Error logging into Pi0 on try 1.. Retrying in 10s /opt/diy-ipmi/Pi3/checkPi0Login.sh: line 6: 1793 Terminated cat 0<&3 > /mnt/ramdisk/ttyDump.dat Error logging into Pi0 on try 2.. Retrying in 10s /opt/diy-ipmi/Pi3/checkPi0Login.sh: line 6: 1833 Terminated cat 0<&3 > /mnt/ramdisk/ttyDump.dat Error logging into Pi0 on try 3.. Retrying in 10s /opt/diy-ipmi/Pi3/checkPi0Login.sh: line 6: 1839 Terminated cat 0<&3 > /mnt/ramdisk/ttyDump.dat Error logging into Pi0 on try 4.. Retrying in 10s /opt/diy-ipmi/Pi3/checkPi0Login.sh: line 6: 1843 Terminated cat 0<&3 > /mnt/ramdisk/ttyDump.dat Error.. Giving up -=- Logging into the Pi0 as 'pi' with password 'raspberry' has failed -=- Open another terminal session and use 'screen /dev/ttyUSB0 115200' to login to the Pi0 Once logged in, hit 'Ctrl-A' then type ':quit' to exit the screen session Lastly, return here and press 'Enter' to continue or 'Ctrl-C' to give up. -=-

arti86pl commented 5 years ago

here is some output from /mnt/ramdisk/ttyDump.dat

^@\��{�

Raspbian GNU/Linux 8 raspberrypi ttyS0

raspberrypi login:

Raspbian GNU/Linux 8 raspberrypi ttyS0

raspberrypi login:

Raspbian GNU/Linux 8 raspberrypi ttyS0

raspberrypi login:

Raspbian GNU/Linux 8 raspberrypi ttyS0

raspberrypi login:

Raspbian GNU/Linux 8 raspberrypi ttyS0

raspberrypi login:

Raspbian GNU/Linux 8 raspberrypi ttyS0

raspberrypi login:

Raspbian GNU/Linux 8 raspberrypi ttyS0

raspberrypi login: Raspbian GNU/Linux 8 raspberrypi ttyS0

U/Linux 8 raspberrypi ttyS0

arti86pl commented 5 years ago

fixed it by removing dtoverlay=dwc2 from config

but fix applies only to installing, after installing script, RPI0 freaks out, unable to open it in the screen, there is a lot of garbage, see this: rpi0

arti86pl commented 5 years ago

no solution?