Pi Zero ethernet gadget hangs on ssh connect

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Pi Zero ethernet gadget hangs on ssh connect

Postby user1391 » Wed Mar 08, 2017 11:44 am

Hello all,
I installed the os instructed, making some minor changes to the following files:

Code: Select all
# /boot/config.txt
echo 'dtoverlay=dwc2 >> /boot/config.txt

# /boot/cmdline.txt
root=/dev/mmcblk0p2 rw rootwait modules-load=dwc2,g_ether console=ttyAMA0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N kgdboc=ttyAMA0,115200 elevator=noop

# /etc/systemd/network/usb.network
[Match]
Name = usb*

[Network]
Address = 192.168.34.2/24


I verified that the pi boots with an FTDI-dongle, and I can ping the pi from my notebook.
As soon as I try to connect via ssh, ssh hangs and ping stops to respond. dmesg both on the pi and on the notebook show nothing.
Dropping the sd-card into a brand-new pi zero w yields the exact same result, so I suppose it's a software issue.
Any ideas?
user1391
 
Posts: 3
Joined: Wed Mar 08, 2017 9:35 am

Re: Pi Zero ethernet gadget hangs on ssh connect

Postby WarheadsSE » Wed Mar 08, 2017 3:22 pm

Check the journal of systemd-networkd for the pi0
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6724
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pi Zero ethernet gadget hangs on ssh connect

Postby user1391 » Wed Mar 08, 2017 4:22 pm

Nothing.

Code: Select all
# journalctl --boot --no-pager --unit systemd-networkd
-- Logs begin at Wed 2017-02-01 01:10:25 UTC, end at Wed 2017-02-01 01:10:46 UTC. --
Feb 01 01:10:30 alarmpi systemd[1]: Starting Network Service...
Feb 01 01:10:31 alarmpi systemd-networkd[228]: Enumeration completed
Feb 01 01:10:31 alarmpi systemd[1]: Started Network Service.
Feb 01 01:10:31 alarmpi systemd-networkd[228]: usb0: IPv6 enabled for interface: Success
Feb 01 01:10:31 alarmpi systemd-networkd[228]: usb0: Gained carrier
Feb 01 01:10:32 alarmpi systemd-networkd[228]: usb0: Gained IPv6LL
Feb 01 01:10:45 alarmpi systemd-networkd[228]: usb0: Configured


Tried raspbian, works, so I assume it's not my notebook that's making problems.
user1391
 
Posts: 3
Joined: Wed Mar 08, 2017 9:35 am

Re: Pi Zero ethernet gadget hangs on ssh connect

Postby WarheadsSE » Wed Mar 08, 2017 7:57 pm

Interesting, but I have no immediate insights since there are no apparent logs or reasoning.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6724
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pi Zero ethernet gadget hangs on ssh connect

Postby user1391 » Wed Mar 08, 2017 9:01 pm

Can I provide you with any debugging information which might help?
user1391
 
Posts: 3
Joined: Wed Mar 08, 2017 9:35 am


Return to Raspberry Pi

Who is online

Users browsing this forum: Google [Bot] and 2 guests