Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have Asus RT-AC1200GU with ssh access. I don't know what kind of linux is installed.
uname -a
Linux (none) 2.6.36 #1 SMP Fri Nov 9 19:58:54 CST 2018 mips GNU/Linux
I am trying to edit vsftpd.conf file
I can edit and save the configuration file, but don't know how to reload it.
Try several commands like kill -HUP, killall -HUP, killall -1, without success.
After router restart, it reloads original vsftpd.conf, somehow reset my settings.
There is /jffs partition, which I understand is writable, with two files inside -> nmp_client_list and syslog.log
Also after every restart I have to enter this command manually -> arp -i br0 -s ipaddress macaddress
There is cru installed. I try with
*/10 * * * * arp -i br0 -s ip mac
but static route was not added, after router reboots.
I suggest you to use the GUI of the router. It has a very special configuration and it is definitely far from the "usual" distros.
here you can find some info: https://mycyberuniverse.com/linux/fu...mand-line.html but you may need to look for other info too.
Hello.
I can't connect using telnet, so used ssh access.
I have no output for command "flash all". When I type "flash" I get this:
Quote:
flash
Usage:
flash -r <offset> -c <count> - read <count> bytes from <offset>
flash -w <offset> -o <value> - write <offset> with <value>
flash -f <start> -l <end> - erase from <start> to <end>
Note:
<count> is decimal, the other parameters are hexadecimal
One of the problems is that I can't passive ports for /tmp/etc/vsftpd.conf.
I can edit the file, but cannot restart ftp server. When changes are made, after reboot all gone.
yes, this is the way how it designed/works. /tmp contains only temporary files, all these settings are generated. That's why I suggested you to use the GUI of the router to make permanent changes.
the flash command is not really the tool you need, you may kill your router with that command, be careful.
Ok, but router somehow safe changes after reboot - for example ip, password and etc and etc.
Can they be found somehow, where I can edit files, so changes be kept?
To be fair, I know that, I was asking why he doesn't just use the GUI (which Asus HAS that ability in the GUI in most of their routers), so it seems he just wants to avoid the gui, I was wondering WHY since they kinda created it specifically to AVOID having people mess around in ssh...
I know how to use the web gui, I made all the settings from there.
Just asus this asus router doesn't support static route using the gui.
If static route is not configured, Wake up on lan (wol) packages are not passthrough.
So... if in /jffs partition I create "scripts" folder it should be read it by the system?
Reply to the editing of linux settings on ASUS router
I agreed to the comment of using the GUI. You need to login properly in the GUI by looking in the codes and implementing them properly. Thanks for the link and the solution for solving this router problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.