Example codes for RAE
Just received my rae. Trying to get it on to the internet. Error at the second step is:
root@keembay:/etc# wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
nl80211: kernel reports: Match already configured
nl80211: Could not configure driver mode
nl80211: deinit ifname=wlp1s0 disabled_11b_rates=0
wlp1s0: Failed to initialize driver interface
reset rae and tried again. No luck. It is not able to join the network and get a DHCP address. What could I try next?
Also noticed that after the first login via wifi, I have only been able to login via usb.
Tx.
hi @Wijay, I found that I needed to enter the command wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant.conf
twice (fails the first time).
The following sequence of commands works for my rae …
systemctl stop systemd-networkd
wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant.conf
ps ax | grep wpa_supplicant # If process isn't running, try again
wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant.conf
systemctl status systemd-networkd # Network daemon should have restarted automatically
ifconfig wlp1s0 # Interface should be up and have an IP address
- Edited
hi @erik, whilst the Luxonis RobotHub looks useful … it is a good thing for the rae (and all other products) to be able to operate independently of RobotHub in other cases. After all, it is running Linux … and Wi-Fi should just work
I haven't figured out yet why the wpa_supplicant
process is failing on my rae … the first time that the wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant.conf
command is entered and then succeeds the second time, but will diagnose further.
Regarding using the Luxonis RobotHub to configure Wi-Fi on the rae robot … entering one's personal Wi-Fi network SSID and password on a third-party web-site is a security risk, which some people may be comfortable with, but really is a poor security practice that should be avoided. At the very least, offering an open-source tool that can be reviewed and run locally to produce a QR-code on the desktop would be better … thanks !
Note: I realize that completing a KickStarter hardware project … including all the software, firmware and documentation is a huge endeavor. Please don't take my comments as being overly critical … I like the Luxonis products, as well as the commitment to open-source.
Stupid question. Where is the remote control app for rae? Or is it served as an http page on rae itself?
Thanks.