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 2547 - (show annotations) (download)
Sat May 19 10:36:16 2007 UTC (6 years, 9 months ago) by wbx
File size: 3461 byte(s)
cleanup WLAN examples
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
77 ##
78 ## WLAN with WPA2/WPA1 AES+TKIP (routing mode)
79 ##
80 #auto @FWRT_WLAN@
81 #iface @FWRT_WLAN@ inet static
82 # address 192.168.10.1
83 # netmask 255.255.255.0
84 # broadcast +
85 # wireless-type broadcom
86 # wireless-country DE
87 # wireless-mode ap
88 # wireless-ssid FreeWRT
89 # wireless-channel 11
90 # wireless-security wpa-psk
91 # wireless-authorization psk psk2
92 # wireless-encryption aes+tkip
93 # wireless-wpa-key MyWlanSecret
94
95 ##
96 ## Bridging WLAN<->LAN
97 ##
98 #auto @FWRT_LAN@
99 #iface @FWRT_LAN@ inet manual
100 # switch-ports @FWRT_LAN_SWITCH@
101 #
102 #auto @FWRT_WLAN@
103 #iface @FWRT_WLAN@ inet manual
104 # wireless-type broadcom
105 # wireless-country DE
106 # wireless-mode ap
107 # wireless-ssid FreeWRT
108 # wireless-channel 11
109 # wireless-security wpa-psk
110 # wireless-authorization psk psk2
111 # wireless-encryption aes+tkip
112 # wireless-wpa-key MyWlanSecret
113 #
114 # should be always the last configured interface, it depends
115 # on interfaces in bridge-ifaces
116 #auto br0
117 #iface br0 inet static
118 # bridge-ifaces @FWRT_LAN@ @FWRT_WLAN@
119 # address 192.168.1.1
120 # netmask 255.255.255.0
121 # broadcast +
122
123 # WLAN with WDS, add the peers to wireless-wds
124 # real wlan interfaces and wds interfaces will be added to bridge br0
125 #auto br0
126 #iface br0 inet static
127 # bridge-ifaces @FWRT_WLAN@
128 # address 192.168.10.1
129 # netmask 255.255.255.0
130 # broadcast +
131 # wireless-type broadcom
132 # wireless-country DE
133 # wireless-mode ap
134 # wireless-ssid FreeWRT-WDS
135 # wireless-channel 11
136 # wireless-security apa-psk
137 # wireless-authorization psk psk2
138 # wireless-encryption aes+tkip
139 # wireless-wpa-key MyWlanSecret
140 # wireless-lazywds 1
141 # wireless-wds-bridge br0
142 # wireless-wds 00:01:02:03:04:05
143 # wireless-wds-security wpa-psk
144 # wireless-wds-encryption aes
145 # wireless-wds-wpa-key key4wds

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