HackPi icon indicating copy to clipboard operation
HackPi copied to clipboard

Serial interface OSX High Sierra don't work

Open KingViesel opened this issue 6 years ago • 4 comments

Hey,

i installed HackPi on a Raspberry Pi Zero W without any errors and without the backdoor. It seems to work fine but i have 2 problems:

  1. After i plugged it in the first time (usb <--> computer) i can't ssh via Wifi to the Pi. Why?
  2. I wanted to see the output of sudo screen /dev/ttyACM0 115200 but i get the response Cannot exec '/dev/ttyACM0 ': no such file or directory. Whats the problem?

KingViesel avatar Oct 19 '17 01:10 KingViesel

Hi!

Sorry for late answer.

  1. I never tested on a Pi W, so I can’t be certain, but it’s probably a wifi configuration issue. How did you configure it? HackPi will not configure it all.
  2. I’ll test it on my Mac to see if something is broken, I’ll let you know.

wismna avatar Nov 07 '17 11:11 wismna

To expand upon your first point, adding wlan0 to the isc-dhcp-server "interfaces" field enables, as expected, wireless and br0 at the same time and thus regaining remote ssh access. I am not sure what the implications of doing this are, since I haven't dwelled deep enough into the theory behind the project.

# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
#       Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="br0 wlan0"

and to /etc/network/interfaces add

allow-hotplug wlan0
iface wlan0 inet manual
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

to allow automatic connection and specify the wpa_supplicant.conf file with the SSID information.

skytremor avatar Jan 19 '18 05:01 skytremor

Thanks for your input! Well, enabling Wifi should not break anything. However, you should've been able to SSH in without it, so maybe there's still another issue somewhere...

wismna avatar Jan 22 '18 17:01 wismna

@KingViesel I am going to test HackPi on macOS High Sierra to see if it works okay. Just to make sure I'm following the same procedure, how did you disable the backdoor that is installed to the device?

Jake3231 avatar Mar 18 '18 14:03 Jake3231