Snippets » Historial » Versió 1
Pau Escrich, 22-04-2014 17:34
| 1 | 1 | Pau Escrich | h1. Snippets |
|---|---|---|---|
| 2 | |||
| 3 | h3. Gateways |
||
| 4 | |||
| 5 | Disable the gateway checker and force a node to publish Internet in the network. |
||
| 6 | <pre> |
||
| 7 | /etc/init.d/gwck stop |
||
| 8 | /etc/init.d/gwck disable |
||
| 9 | killall -9 gwck |
||
| 10 | uci set qmp.services.gwck=0 |
||
| 11 | uci commit |
||
| 12 | |||
| 13 | uci set gateways.inet4_offer.ignore=0 |
||
| 14 | uci set gateways.inet4.ignore=1 |
||
| 15 | uci commit |
||
| 16 | qmpcontrol configure_gw |
||
| 17 | </pre> |