Rock64 - Headless Setup?
#1
Question 
I'd like to be able to transfer an image of Bionic (or whichever - I've tried a few) to the Rock64 and have it boot, connect to my wireless LAN and allow me to ssh in headless. 

I purchased the Rock64 along with the recommended USB Wireless dongle from the shop - and can't seem to get any combination of putting in a "wpa_supplicant.conf" file and a blank file of "ssh" like I do with the Debian installs on the Pi. I still always have to connect monitor and keyboard to get it to come up and get connected.

Anyone have a link on "Rock64 Headless Setup" they could point me to? I've tried my Google and duck-fu to no avail.

Any tips would be deeply welcomed! Thanks!

Ryan
  Reply
#2
(03-17-2019, 10:09 PM)SirRyanTheGeek Wrote: I purchased the Rock64 along with the recommended USB Wireless dongle from the shop - and can't seem to get any combination of putting in a "wpa_supplicant.conf" file and a blank file of "ssh" like I do with the Debian installs on the Pi. I still always have to connect monitor and keyboard to get it to come up and get connected.

Use nmtui
  Reply
#3
(03-17-2019, 10:57 PM)evilbunny Wrote:
(03-17-2019, 10:09 PM)SirRyanTheGeek Wrote: I purchased the Rock64 along with the recommended USB Wireless dongle from the shop - and can't seem to get any combination of putting in a "wpa_supplicant.conf" file and a blank file of "ssh" like I do with the Debian installs on the Pi. I still always have to connect monitor and keyboard to get it to come up and get connected.

Use nmtui
  Reply
#4
(03-17-2019, 10:57 PM)evilbunny Wrote:
(03-17-2019, 10:09 PM)SirRyanTheGeek Wrote: I purchased the Rock64 along with the recommended USB Wireless dongle from the shop - and can't seem to get any combination of putting in a "wpa_supplicant.conf" file and a blank file of "ssh" like I do with the Debian installs on the Pi. I still always have to connect monitor and keyboard to get it to come up and get connected.

Use nmtui

Yep. I did that and that's how I got it to connect - but that required me to boot it, plug in a monitor a keyboard and run that stuff. Is there a way to create the image for "first boot" when I plug it in to the Rock64 and turn it on that it's automatically connected and accessible from my internal LAN?
  Reply
#5
(03-18-2019, 07:26 AM)SirRyanTheGeek Wrote: Yep. I did that and that's how I got it to connect - but that required me to boot it, plug in a monitor a keyboard and run that stuff. Is there a way to create the image for "first boot" when I plug it in to the Rock64 and turn it on that it's automatically connected and accessible from my internal LAN?

I have the following on one of my systems

Code:
auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
    address 192.168.0.100
    netmask 255.255.255.0
    gateway 192.168.0.1
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

and in /etc/wpa_supplicant/wpa_supplicant.conf

Code:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
    ssid="ssid"
    psk="password"
}
  Reply
#6
I have the following on one of my systems

Code:
auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
   address 192.168.0.100
   netmask 255.255.255.0
   gateway 192.168.0.1
   wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

and in /etc/wpa_supplicant/wpa_supplicant.conf

Code:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
    ssid="ssid"
    psk="password"
}

That first piece of code - where it references the supplicant file - where does that live? Thanks!
  Reply
#7
(03-20-2019, 10:04 AM)SirRyanTheGeek Wrote: That first piece of code - where it references the supplicant file - where does that live? Thanks!

Sorry about that, /etc/network/interfaces, you may need to change wlan0 interface name if the system is using mac address naming...
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgrading ancient Rock64 timxjr1300 1 160 11-26-2024, 09:47 AM
Last Post: dmitrymyadzelets
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 7 1,218 11-19-2024, 02:54 PM
Last Post: mara
  arch rock64 does not boot nemnob 1 1,040 09-20-2024, 11:18 AM
Last Post: AwU2HBg
  DietPi OS for ROCK64 MichaIng 42 45,183 09-01-2024, 06:43 AM
Last Post: RaymondDay
Smile First Lakka image for Rock64! Luke 47 82,500 09-01-2024, 06:05 AM
Last Post: RaymondDay
  Rock64 v2 - did not work song / audio sqw200zu 2 1,973 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 680 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 1,152 11-21-2023, 08:33 AM
Last Post: as365n4
  Rock64 + Klipper + KlipperScreen Instructions godzilla62 0 1,149 10-22-2023, 01:52 AM
Last Post: godzilla62
  Rock64 Debian 11 (Bullseye) install problem jbize 15 11,735 10-12-2023, 05:14 PM
Last Post: tpaul

Forum Jump:


Users browsing this thread: 1 Guest(s)