English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Contents of /branches/freewrt_1_0/target/linux/brcm-2.4/files/etc/network/interfaces

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3830 - (show annotations) (download)
Thu Jan 8 17:07:32 2009 UTC (5 years, 1 month ago) by tg
File size: 3712 byte(s)
this was missing but exists in the handbook
10x <tomekk_:#FreeWRT> (Thomas Nitsche)

1 # basic network configuration file
2 # for more information, see the FreeWRT handbook
3 # http://www.freewrt.org/trac/wiki/Documentation/Handbook
4
5 auto lo
6 iface lo inet loopback
7
8 # LAN ports
9 auto @FWRT_LAN@
10 iface @FWRT_LAN@ inet static
11 address 192.168.1.1
12 netmask 255.255.255.0
13 broadcast +
14 switch-ports @FWRT_LAN_SWITCH@
15
16 # WAN port
17 auto @FWRT_WAN@
18 iface @FWRT_WAN@ inet dhcp
19 switch-ports @FWRT_WAN_SWITCH@
20
21 # WAN port: PPPoE, you need ppp and pppoe plugin installed
22 #auto @FWRT_WAN@
23 #iface @FWRT_WAN@ inet manual
24 # switch-ports @FWRT_WAN_SWITCH@
25 #
26 #auto ppp0
27 #iface ppp0 inet ppp
28 # use-template dsl
29 # provider dsl
30 # ppp-username foo
31 # ppp-password bar
32 # ppp-device @FWRT_WAN@
33 #
34 # WAN port: PPTP, you need pptp installed
35 #auto @FWRT_WAN@
36 #iface @FWRT_WAN@ inet manual
37 # switch-ports @FWRT_WAN_SWITCH@
38 #
39 #auto ppp0
40 #iface ppp0 inet ppp
41 # use-template pptp
42 # provider dsl
43 # ppp-modemip 10.0.0.1
44 # ppp-username foo
45 # ppp-password bar
46 # ppp-device @FWRT_WAN@
47
48 # UMTS on WRT54G3G devices
49 #auto ppp0
50 #iface ppp0 inet ppp
51 # use-template umts
52 # provider umts
53 # ppp-username ""
54 # ppp-password ""
55 # ppp-idletime ""
56 # ppp-device /dev/noz0
57 ## globetrotter
58 # ppp-device /dev/usb/tts/0
59 # umts-apn internet.eplus.de
60 # umts-pincode 1234
61 # umts-mode umts_first
62 # Optinal Watchdog config (possible for other interfaces too)
63 # # this starts a watchdog script that checks if ppp0 is "UP"
64 # watchdog on
65 # # this is optional and if set the watchdog pings this IP regularly
66 # watchdog-ip 1.2.3.4
67 # # If either of this checks fails 3 times in a row for 3 minutes
68 # # the router will be rebooted.
69 # Note:
70 # on WRT54G3G you can enable the "watchbutton" tool which send
71 # hotplug events if you press the UMTS-button.
72 # a default hotplug script will disable/enable the interface on
73 # button-press
74
75 #auto hso0
76 #iface hso0 inet manual
77 # hso-device /dev/usb/tth/0
78 # hso-username ""
79 # hso-password ""
80 # umts-apn web.vodafone.de
81 # umts-pincode 1234
82
83 ##
84 ## WLAN with WPA2/WPA1 AES+TKIP (routing mode)
85 ##
86 #auto @FWRT_WLAN@
87 #iface @FWRT_WLAN@ inet static
88 # address 192.168.10.1
89 # netmask 255.255.255.0
90 # broadcast +
91 # wireless-type broadcom
92 # wireless-country DE
93 # wireless-mode ap
94 # wireless-ssid FreeWRT
95 # wireless-channel 11
96 # wireless-security wpa-psk
97 # wireless-authorization psk psk2
98 # wireless-encryption aes+tkip
99 # wireless-wpa-key MyWlanSecret
100
101 ##
102 ## Bridging WLAN<->LAN
103 ##
104 #auto @FWRT_LAN@
105 #iface @FWRT_LAN@ inet manual
106 # switch-ports @FWRT_LAN_SWITCH@
107 #
108 #auto @FWRT_WLAN@
109 #iface @FWRT_WLAN@ inet manual
110 # wireless-type broadcom
111 # wireless-country DE
112 # wireless-mode ap
113 # wireless-ssid FreeWRT
114 # wireless-channel 11
115 # wireless-security wpa-psk
116 # wireless-authorization psk psk2
117 # wireless-encryption aes+tkip
118 # wireless-wpa-key MyWlanSecret
119 # wireless-bridge-if br0
120 #
121 # should be always the last configured interface, it depends
122 # on interfaces in bridge-ifaces
123 #auto br0
124 #iface br0 inet static
125 # bridge-ifaces @FWRT_LAN@ @FWRT_WLAN@
126 # address 192.168.1.1
127 # netmask 255.255.255.0
128 # broadcast +
129
130 # WLAN with WDS, add the peers to wireless-wds
131 # real wlan interfaces and wds interfaces will be added to bridge br0
132 #auto br0
133 #iface br0 inet static
134 # bridge-ifaces @FWRT_WLAN@
135 # address 192.168.10.1
136 # netmask 255.255.255.0
137 # broadcast +
138 # wireless-type broadcom
139 # wireless-country DE
140 # wireless-mode ap
141 # wireless-ssid FreeWRT-WDS
142 # wireless-channel 11
143 # wireless-security wpa-psk
144 # wireless-authorization psk psk2
145 # wireless-encryption aes+tkip
146 # # must be 8..63 bytes
147 # wireless-wpa-key MyWlanSecret
148 # wireless-lazywds 1
149 # wireless-wds-bridge br0
150 # # MAC addresses of the peer
151 # wireless-wds 00:01:02:03:04:05
152 # wireless-wds-security wpa-psk
153 # wireless-wds-encryption aes
154 # # must be 8..63 bytes
155 # wireless-wds-wpa-key key4wdsxxxxx

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20