This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
template:howto_tpl [2015/05/09 15:46] admin |
template:howto_tpl [2018/05/24 09:05] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Guest AP ====== | + | ====== Howto-Template ====== |
| - | A wireless guest ap can provide internet access to your house-guests without giving them access | + | Just an empty template for new howto's. |
| - | to your local resources. | + | |
| ===== Overview ===== | ===== Overview ===== | ||
| Line 8: | Line 7: | ||
| ==== Level of difficulty === | ==== Level of difficulty === | ||
| - | Medium | + | Easy |
| - | ==== Related topics ==== | + | ==== Use-case ==== |
| - | * [[documentation:configuration:uci]] | + | If someone wants to add a new howto, this might safe some work. |
| - | * [[documentation:configuration:xxx|XXX]] | + | ^ proberties of scenario ^^ |
| + | | some propertie | some value | | ||
| + | | some other propertie | some other value | | ||
| + | | ... | ... | | ||
| + | |||
| + | ==== Related topics ==== | ||
| + | |||
| + | * [[documentation:configuration:uci|UCI]] | ||
| + | * [[documentation:configuration:config_files:config_files_involved|/etc/config/config_file]] | ||
| | | ||
| ===== Instructions ===== | ===== Instructions ===== | ||
| Line 20: | Line 27: | ||
| ==== GUI ==== | ==== GUI ==== | ||
| - | Not available, yet | + | Not available, yet |
| - | ==== System-Shell (UCI Config System) ==== | + | ==== UCI Config System ==== |
| - | * __**Add someting**__ | + | * **Add something** |
| <code> | <code> | ||
| - | something | + | uci add network rule |
| + | uci set network.@rule[-1].interface=wan | ||
| + | uci set network.@rule[-1].target=84.141.4.210 | ||
| + | uci set network.@rule[-1].netmask=255.255.255.255 | ||
| + | uci set network.@rule[-1].gateway=172.27.0.1 | ||
| </code> | </code> | ||
| - | * __**Setup something else**__ | + | * **Store changes** |
| <code> | <code> | ||
| - | do something else | + | uci commit network |
| </code> | </code> | ||
| - | * __**Store changes**__ | + | * **Apply changes** |
| <code> | <code> | ||
| - | uci commit | + | /etc/init.d/network restart |
| </code> | </code> | ||
| - | ==== System-Shell (native) ==== | + | ==== UCI config files (native) ==== |
| - | Not available, yet | + | Routes are defined in [[documentation:configuration:config_files:config_network|/etc/config/network]] |
| + | |||
| + | * **Add new rule-section** | ||
| + | <code> | ||
| + | config 'route' | ||
| + | option 'interface' 'wan' | ||
| + | option 'target' '83.141.4.210' | ||
| + | option 'netmask' '255.255.255.255' | ||
| + | option 'gateway' '172.27.0.1' | ||
| + | </code> | ||
| ===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
| - | Not available, yet | + | Not available, yet |