M
M
Mikhail Konyukhov2012-11-14 15:43:50
linux
Mikhail Konyukhov, 2012-11-14 15:43:50

How to automatically raise the second VPN in an ASUS router with firmware from Oleg?

There is an ASUS WL520gu router, it contains firmware from Oleg, with Linux:

[email protected] disc0_1]$ uname -a
Linux asus-router 2.4.37.11 #18 2011-02-19 19:42:06 MSK mips GNU/Linux

It doesn’t matter how the connection to the provider goes, PPTP VPN to the office network is manually configured and works, BUT you need to somehow run the vpn start script on the router’s power-on event
Problems:
* All this (script and configs) lies on an external flash drive plugged into USB, and it connects
not immediately, but some time after a successful boot-a after reboot it rubs. (flashfs save && flashfs commit && flashfs enable - does not help)

Tell me how can I run the script?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
poisons, 2012-11-14
@piromanlynx

Google about post-mount scripts.

F
FilimoniC, 2012-11-15
@FilimoniC

1. Well, in fact, the option "We mount the flash drive ourselves" in post-boot 5th page is suitable for you .
2. To save the crontab, you need to add the path to the file to /usr/local/.files (it seems). After that, it will be saved using flashfs save\commit\enable and deployed at startup.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question