Project

General

Profile

Snippets » History » Version 1

Pau Escrich, 04/22/2014 05:34 PM

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