31,703
edits
No edit summary |
|||
Line 39: | Line 39: | ||
===Upload files=== | ===Upload files=== | ||
---- | |||
To upload a file from a PC to the router, you must specify the source path to the file on your computer and the destination path to the router. | To upload a file from a PC to the router, you must specify the source path to the file on your computer and the destination path to the router. | ||
Line 60: | Line 60: | ||
* If you upload configuration (''config'') files into the router, changes will not take effect until you reload the related service. You can use the '''''luci-reload'''' command to do so or simply '''reboot''' the router. | * If you upload configuration (''config'') files into the router, changes will not take effect until you reload the related service. You can use the '''''luci-reload'''' command to do so or simply '''reboot''' the router. | ||
* In most cases people upload config files, custom scripts or software packages. It useful to know where certain files should be uploaded. For example, all config files are stored in ''/etc/config/''; the | * In most cases people upload config files, custom scripts or software packages. It useful to know where certain files should be uploaded. For example, all config files are stored in ''/etc/config/''; the User Scripts file is called ''rc.common'' and stored in ''/etc/''. | ||
* Configuration files have fixed names. So, for example, if you upload an OpenVPN config file but with a different name than the one used in the example above, the configuration will not work. You can find a list of RUTxxx config file names and related services '''[[UCI_command_usage#Configuration_files|here]]'''. | * Configuration files have fixed names. So, for example, if you upload an OpenVPN config file but with a different name than the one used in the example above, the configuration will not work. You can find a list of RUTxxx config file names and related services '''[[UCI_command_usage#Configuration_files|here]]'''. | ||