ssh via usb pi zero w

This forum is for topics dealing with problems with software specifically in the ARMv6h repo.

Re: ssh via usb pi zero w

Postby summers » Tue Aug 03, 2021 9:03 am

assuming its usb otg, which IIRC the pi zero is; then you can probably do what I did on my pocket beagle:

https://archlinuxarm.org/forum/viewtopic.php?f=48&t=12623&p=57935

Only change I'd make is doing the dhcp server via systemd-networkd you can use DHCPServer option ....
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: ssh via usb pi zero w

Postby summers » Thu Aug 05, 2021 8:09 pm

While I remember, the one change from the above. Is to set up the network is to do something like the below in /etc/systemd/network/usb0.network - which sets up DHCP.
$this->bbcode_second_pass_code('', '[Match]
Name=usb0

[Network]
DNS=192.168.2.1
DHCPServer=true

[Address]
Address=192.168.7.18/30

[Route]
Gateway=192.168.7.17

[DHCPServer]
EmitDNS=false
EmitNTP=false
EmitSIP=false
EmitRouter=false
')
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: ssh via usb pi zero w

Postby MrGreen » Fri Aug 06, 2021 6:39 am

Reinstalled archarm and did have WiFi on pi until I updated. Over weekend I will hook up monitor and keyboard. Then will try out above... Thanks for your help
MrGreen
 
Posts: 54
Joined: Sun Dec 25, 2011 12:55 pm

Re: ssh via usb pi zero w

Postby summers » Tue Aug 10, 2021 11:38 am

How did you get on?

Just read over my notes above, guess what I should h ave said, is do ask if any questions. In thread above I pretty much just gave what you needed to do to get it running - but didn't explain so much why I'd done it that way, or other options. So do ask if any questions.
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Previous

Return to ARMv6h

Who is online

Users browsing this forum: No registered users and 3 guests