summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc/network/interfaces
blob: 11174c1529d08e5c18ba5a64fc4c599f6c01df8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

## static network configuration
#auto eth0
#iface eth0 inet static
#  address 192.168.1.1
#  netmask 255.255.255.0
#  broadcast +
#  gateway 192.168.1.254
##

## bridge configuration
#auto br0 
#iface br0 inet static
#  address 192.168.99.1
#  netmask 255.255.255.0
#  broadcast +
#  bridge-ports eth0 eth1
##

## pppoe configuration
#auto ppp0
#iface ppp0 inet ppp
#  use-template pppoe
#  provider isp
#  ppp-mtu 1412
#  ppp-username foo
#  ppp-password bar
#  ppp-device eth1
##

## wireless client configuration
#auto wlan0
#iface wlan0 inet dhcp
#  wireless-ssid myap
#  wireless-mode sta
#  wireless-security wpa2
#  wireless-passphrase xxxxxx
##

## wireless accesspoint configuration
#auto wlan0
#iface wlan0 inet static
#  address 192.168.40.10
#  netmask 255.255.255.0
#  broadcast +
#  wireless-ssid myap
#  wireless-mode ap
#  wireless-channel 8
#  wireless-security wpa2
#  wireless-passphrase xxxxxxxx
##

# for more special cases see: http://www.openadk.org/doku.php?id=network