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 3789 - (show annotations) (download)
Tue Aug 26 20:28:06 2008 UTC (5 years, 5 months ago) by markus
File size: 3690 byte(s)
... forgot the config with the last commit
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
17 # WAN port
18 auto @FWRT_WAN@
19 iface @FWRT_WAN@ inet dhcp
20 switch-ports @FWRT_WAN_SWITCH@
21
22 # WAN port: PPPoE, you need ppp and pppoe plugin installed
23 #auto @FWRT_WAN@
24 #iface @FWRT_WAN@ inet manual
25 # switch-ports @FWRT_WAN_SWITCH@
26 #
27 #auto ppp0
28 #iface ppp0 inet ppp
29 # use-template dsl
30 # provider dsl
31 # ppp-username foo
32 # ppp-password bar
33 # ppp-device @FWRT_WAN@
34 #
35 # WAN port: PPTP, you need pptp installed
36 #auto @FWRT_WAN@
37 #iface @FWRT_WAN@ inet manual
38 # switch-ports @FWRT_WAN_SWITCH@
39 #
40 #auto ppp0
41 #iface ppp0 inet ppp
42 # use-template pptp
43 # provider dsl
44 # ppp-modemip 10.0.0.1
45 # ppp-username foo
46 # ppp-password bar
47 # ppp-device @FWRT_WAN@
48
49 # UMTS on WRT54G3G devices
50 #auto ppp0
51 #iface ppp0 inet ppp
52 # use-template umts
53 # provider umts
54 # ppp-username ""
55 # ppp-password ""
56 # ppp-idletime ""
57 # ppp-device /dev/noz0
58 ## globetrotter
59 # ppp-device /dev/usb/tts/0
60 # umts-apn internet.eplus.de
61 # umts-pincode 1234
62 # umts-mode umts_first
63 # Optinal Watchdog config (possible for other interfaces too)
64 # # this starts a watchdog script that checks if ppp0 is "UP"
65 # watchdog on
66 # # this is optional and if set the watchdog pings this IP regularly
67 # watchdog-ip 1.2.3.4
68 # # If either of this checks fails 3 times in a row for 3 minutes
69 # # the router will be rebooted.
70 # Note:
71 # on WRT54G3G you can enable the "watchbutton" tool which send
72 # hotplug events if you press the UMTS-button.
73 # a default hotplug script will disable/enable the interface on
74 # button-press
75
76 #auto hso0
77 #iface hso0 inet manual
78 # hso-device /dev/usb/tth/0
79 # hso-username ""
80 # hso-password ""
81 # umts-apn web.vodafone.de
82 # umts-pincode 1234
83
84 ##
85 ## WLAN with WPA2/WPA1 AES+TKIP (routing mode)
86 ##
87 #auto @FWRT_WLAN@
88 #iface @FWRT_WLAN@ inet static
89 # address 192.168.10.1
90 # netmask 255.255.255.0
91 # broadcast +
92 # wireless-type broadcom
93 # wireless-country DE
94 # wireless-mode ap
95 # wireless-ssid FreeWRT
96 # wireless-channel 11
97 # wireless-security wpa-psk
98 # wireless-authorization psk psk2
99 # wireless-encryption aes+tkip
100 # wireless-wpa-key MyWlanSecret
101
102 ##
103 ## Bridging WLAN<->LAN
104 ##
105 #auto @FWRT_LAN@
106 #iface @FWRT_LAN@ inet manual
107 # switch-ports @FWRT_LAN_SWITCH@
108 #
109 #auto @FWRT_WLAN@
110 #iface @FWRT_WLAN@ inet manual
111 # wireless-type broadcom
112 # wireless-country DE
113 # wireless-mode ap
114 # wireless-ssid FreeWRT
115 # wireless-channel 11
116 # wireless-security wpa-psk
117 # wireless-authorization psk psk2
118 # wireless-encryption aes+tkip
119 # wireless-wpa-key MyWlanSecret
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