• RAE
  • Rae: connecting without robothub

I initially connected my rae to wifi at one location. While there, I tried robothub and had a very poor experience. Rae kept disconnecting and the apps were crashing. :-\

I am now at a different location and I want to connect rae to the network here. I really want to avoid using robot hub again. Is there a way to connect to a new Wi-Fi network over USBC ssh?

Hy,
If you want to connect to a new wifi using ssh over USB, you can do the following:
1. Connect RAE (lateral port) with PC and ssh root@192.168.197.55

2.Create file with nano /etc/wpa_supplicant.conf and paste:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="your wifi name"
psk="your wifi password"
}

then Ctrl + O (confirm file name) -> Enter -> Ctrl + X

3.Create file with nano /etc/systemd/network/20-wifi.networkand paste:
[Match]
Name=wlp1s0
[Network]
DHCP=ipv4
[DHCP]
UseDomains=true

then Ctrl + O (confirm file name) -> Enter -> Ctrl + X

4.systemctl stop wifi

5.wpa_supplicant -i wlp1s0 -c /etc/wpa_supplicant.conf

6.systemctl restart systemd-networkd (different terminal)

You will have to remove 20-wifi.network and reboot the device if you want to use robot's access point again.

Thank you for your detailed reply!

I tried this and now Rae shows up as a connected device on my network. But I cannot SSH into it despite knowing it's IP address. I can still SSH over USBC but not over Wi-Fi. Do you know why this might be happening?

Also it seems that it only works as long as the terminal i ran the wpa supplicant command in. Is there a way to detach the command so I don't have to keep the terminal open?

Ah needed a -B in wap_supplicant command

Ok sorry, one more question. How can I have this run at startup?