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
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 7 1,009 11-19-2024, 02:54 PM
Last Post: mara
  Upgrading ancient Rock64 timxjr1300 0 59 11-15-2024, 09:50 AM
Last Post: timxjr1300
  arch rock64 does not boot nemnob 1 960 09-20-2024, 11:18 AM
Last Post: AwU2HBg
  DietPi OS for ROCK64 MichaIng 42 43,664 09-01-2024, 06:43 AM
Last Post: RaymondDay
Smile First Lakka image for Rock64! Luke 47 81,132 09-01-2024, 06:05 AM
Last Post: RaymondDay
  Rock64 v2 - did not work song / audio sqw200zu 2 1,864 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 636 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 1,078 11-21-2023, 08:33 AM
Last Post: as365n4
  Rock64 + Klipper + KlipperScreen Instructions godzilla62 0 1,083 10-22-2023, 01:52 AM
Last Post: godzilla62
  Rock64 Debian 11 (Bullseye) install problem jbize 15 11,241 10-12-2023, 05:14 PM
Last Post: tpaul

Forum Jump:


Users browsing this thread: 3 Guest(s)