Difference between revisions of "Mesh/OpenWRT"
no edit summary
Line 96: | Line 96: | ||
Using interface wlan0 with hwaddr 00:1c:10:bc:a7:1f and ssid "OpenWrt" | Using interface wlan0 with hwaddr 00:1c:10:bc:a7:1f and ssid "OpenWrt" | ||
</pre> | </pre> | ||
== Connecting to wifi == | |||
You will need internet access to install packages and other things. Edit your config wifi-iface section to match the example below. | |||
vi /etc/config/wireless | |||
<pre> | |||
config wifi-iface | |||
option device radio0 | |||
option network wwan | |||
option mode sta | |||
option ssid sudoroom | |||
option encryption none | |||
</pre> | |||
If you're on an encrypted network add the following options... | |||
<pre> | |||
option encryption psk2 | |||
option key 1234567890 | |||
</pre> | |||
Next add the "wwan" interface. | |||
vi /etc/config/network | |||
<pre> | |||
config interface wwan | |||
option proto dhcp | |||
</pre> | |||
Restart networking and you should be set. | |||
/etc/init.d/network restart | |||
== Installing BATMAN == | == Installing BATMAN == |