rockpro64 wireless access point
by slac-in-the-box from LinuxQuestions.org on (#6EDKA)
I built a wireless access point out of a rockpro64, a single microsd card, and an alfa network long-range usb adpater, model AWUS036NHA, that uses the Atheros AR9271 chipset.
I had to rebuild the kernel and modules and enable the ath9k modules for it to pick up the adapter.
I had to intall hostapd from slackbuilds and configure it.
It's a very basic setup with the ethernet getting the internet from the dsl modem over eth0; and hostapd creating the hot spot on wlan0; and iptables providing firewall with NAT; and bind providing cache only nameserver; and dhcpd assigning ip addresses to wireless clients.
The only caveat at the moment, is that upon startup or reboot, it always ends up at a u-boot prompt, where I type reset, and then on the second boot, it finds the microSD and the menu with 1 for installer and 2 for slackware OS, with OS being the default.
I live remotely, and power outages happen, especially in winter. It is plugged in to a UPS, but the battery only lasts about an hour. It will inevitably power cycle, and I was hoping to make it headless to not need to keep a keyboard and hdmi screen attached to it just to type reset at the u-boot prompt.
Are there any suggestions on ways to make it boot all the way to the menu configured by extlinux.conf every time?
I had to rebuild the kernel and modules and enable the ath9k modules for it to pick up the adapter.
I had to intall hostapd from slackbuilds and configure it.
It's a very basic setup with the ethernet getting the internet from the dsl modem over eth0; and hostapd creating the hot spot on wlan0; and iptables providing firewall with NAT; and bind providing cache only nameserver; and dhcpd assigning ip addresses to wireless clients.
The only caveat at the moment, is that upon startup or reboot, it always ends up at a u-boot prompt, where I type reset, and then on the second boot, it finds the microSD and the menu with 1 for installer and 2 for slackware OS, with OS being the default.
I live remotely, and power outages happen, especially in winter. It is plugged in to a UPS, but the battery only lasts about an hour. It will inevitably power cycle, and I was hoping to make it headless to not need to keep a keyboard and hdmi screen attached to it just to type reset at the u-boot prompt.
Are there any suggestions on ways to make it boot all the way to the menu configured by extlinux.conf every time?