someperson
Occasional Visitor
I have an RT-AC68U that is running the stock 3.0.0.4.380_3264 firmware, and I've been trying to get mysql running on it (via the mysql5 package available using ipkg). However, I'm running into issues regarding hostnames. It seems that my router has no hostname at all, as it shows up simply as "(none)" in ssh. There is also no hostname command available on the system. Does anyone have any idea what the heck is going on, or what I need to do to fix this?
Code:
ASUSWRT RT-AC68U_3.0.0.4 Sat May 7 06:47:04 UTC 2016
admin@(none):/tmp/home/root# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.0.1 router.asus.com
192.168.0.1 www.asusnetwork.net
192.168.0.1 www.asusrouter.com
192.168.0.1 RT-AC68U-4238. RT-AC68U-4238
::1 localhost6.localdomain6 localhost6
admin@(none):/tmp/home/root# cat /proc/sys/kernel/hostname
(none)
admin@(none):/tmp/home/root# hostname
-sh: hostname: not found