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 3794 - (show annotations) (download)
Mon Sep 8 09:21:18 2008 UTC (5 years, 5 months ago) by dnehring
File size: 3687 byte(s)
Update Kernel to 2.4.36.7
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 #
120 # should be always the last configured interface, it depends
121 # on interfaces in bridge-ifaces
122 #auto br0
123 #iface br0 inet static
124 # bridge-ifaces @FWRT_LAN@ @FWRT_WLAN@
125 # address 192.168.1.1
126 # netmask 255.255.255.0
127 # broadcast +
128
129 # WLAN with WDS, add the peers to wireless-wds
130 # real wlan interfaces and wds interfaces will be added to bridge br0
131 #auto br0
132 #iface br0 inet static
133 # bridge-ifaces @FWRT_WLAN@
134 # address 192.168.10.1
135 # netmask 255.255.255.0
136 # broadcast +
137 # wireless-type broadcom
138 # wireless-country DE
139 # wireless-mode ap
140 # wireless-ssid FreeWRT-WDS
141 # wireless-channel 11
142 # wireless-security wpa-psk
143 # wireless-authorization psk psk2
144 # wireless-encryption aes+tkip
145 # # must be 8..63 bytes
146 # wireless-wpa-key MyWlanSecret
147 # wireless-lazywds 1
148 # wireless-wds-bridge br0
149 # # MAC addresses of the peer
150 # wireless-wds 00:01:02:03:04:05
151 # wireless-wds-security wpa-psk
152 # wireless-wds-encryption aes
153 # # must be 8..63 bytes
154 # wireless-wds-wpa-key key4wdsxxxxx

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