diff options
Diffstat (limited to 'packages/netbase')
-rw-r--r-- | packages/netbase/netbase/mtx-2/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/netbase/netbase/mtx-2/interfaces | 29 |
2 files changed, 29 insertions, 0 deletions
diff --git a/packages/netbase/netbase/mtx-2/.mtn2git_empty b/packages/netbase/netbase/mtx-2/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/netbase/netbase/mtx-2/.mtn2git_empty diff --git a/packages/netbase/netbase/mtx-2/interfaces b/packages/netbase/netbase/mtx-2/interfaces new file mode 100644 index 0000000000..a7c6da5752 --- /dev/null +++ b/packages/netbase/netbase/mtx-2/interfaces @@ -0,0 +1,29 @@ +# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) + +# The loopback interface +auto lo +iface lo inet loopback + +# Ethernet +auto eth0 +iface eth0 inet dhcp + +# wlan interface 1 for clients +auto wlan0 +iface wlan0 inet static + address 10.0.0.1 + netmask 255.0.0.0 + wireless_mode master + wireless_essid cube-ap + wireless_channel 1 + +# wlan interface 2 for mesh +auto wlan1 +iface wlan1 inet static + address 172.16.0.1 + netmask 255.240.0.0 + broadcast 172.31.255.255 + wireless_mode ad-hoc + wireless_essid cube-mesh + wireless_channel 11 + wireless_rts 250 |