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 0 240 03-24-2024, 01:07 PM
Last Post: mara
  Rock64 v2 - did not work song / audio sqw200zu 2 1,501 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 423 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 755 11-21-2023, 08:33 AM
Last Post: as365n4
  Rock64 + Klipper + KlipperScreen Instructions godzilla62 0 750 10-22-2023, 01:52 AM
Last Post: godzilla62
  Rock64 Debian 11 (Bullseye) install problem jbize 15 9,203 10-12-2023, 05:14 PM
Last Post: tpaul
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 133 198,128 10-09-2023, 03:31 AM
Last Post: mara
  arch rock64 does not boot nemnob 0 671 07-09-2023, 03:28 AM
Last Post: nemnob
  RXDP from Win10 to Armbian on Rock64 Transportsicherung 0 729 05-27-2023, 06:11 AM
Last Post: Transportsicherung
  DietPi OS for ROCK64 MichaIng 41 36,306 12-07-2022, 08:22 PM
Last Post: luminosity7

Forum Jump:


Users browsing this thread: 1 Guest(s)