--- wikisrc/users/imil/cheatsheet.mdwn 2012/08/08 20:25:57 1.12 +++ wikisrc/users/imil/cheatsheet.mdwn 2012/12/29 16:10:34 1.13 @@ -10,6 +10,13 @@ up inet 192.168.0.1 netmask 0xffffff00 """]] +## Specify a gateway + +[[!template id=programlisting text=""" +$ cat /etc/mygate +192.168.0.254 +"""]] + ## Add an IP alias on a NIC [[!template id=programlisting text=""" @@ -90,7 +97,7 @@ wpa_supplicant_flags="-B -iath0 -c/etc/w # tar zxvfp etc.tgz -C /tmp/temproot # postinstall -s /tmp/temproot check # # copy postinstall's requirements -# etcupdate -s /tmp/tmproot +# etcupdate -s /tmp/temproot # shutdown -r now """]]