source: freewrt/target/linux/brcm-2.4/files/etc/network/interfaces@ 91e99e3

freewrt_1_0 freewrt_2_0
Last change on this file since 91e99e3 was 91e99e3, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

add pptp support for startup scripts, add option-icon package for usb modems, fix dependency of ctorrent

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@2401 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 3.0 KB
Line 
1# basic network configuration file
2# for more information, see the FreeWRT handbook
3# http://www.freewrt.org/trac/wiki/Documentation/Handbook
4
5auto lo
6iface lo inet loopback
7
8# LAN ports
9auto @FWRT_LAN@
10iface @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
18auto @FWRT_WAN@
19iface @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# WLAN with WPA2, MAC-Filter and WLAN-Speedup
77#auto @FWRT_WLAN@
78#iface @FWRT_WLAN@ inet static
79# address 192.168.10.1
80# netmask 255.255.255.0
81# broadcast +
82# wireless-type broadcom
83# wireless-country DE
84# wireless-mode ap
85# wireless-ssid FreeWRT
86# wireless-channel 11
87# wireless-security wpa-psk
88# wireless-authorization psk2
89# wireless-encryption aes
90# wireless-wpa-key MyWlanSecret
91# wireless-macmode 2
92# wireless-mac 00:01:02:03:04:05 06:07:08:09:0a:0b
93# wireless-gmode performance
94# wireless-frameburst 1
95# wireless-afterburner 1
96
97# Bridging WLAN<->LAN
98#auto @FWRT_LAN@
99#iface @FWRT_LAN@ inet manual
100# switch-ports @FWRT_LAN_SWITCH@
101#
102# should be always the last configured interface, it depends
103# on interfaces in bridge-ifaces
104#auto br0
105#iface br0 inet static
106# bridge-ifaces @FWRT_LAN@ @FWRT_WLAN@
107# address 192.168.1.1
108# netmask 255.255.255.0
109# broadcast +
110
111# WLAN with WDS, add the peers to wireless-wds
112# real wlan interfaces and wds interfaces will be added to bridge br0
113#auto br0
114#iface br0 inet static
115# bridge-ifaces @FWRT_WLAN@
116# address 192.168.10.1
117# netmask 255.255.255.0
118# broadcast +
119# wireless-type broadcom
120# wireless-country DE
121# wireless-mode ap
122# wireless-ssid FreeWRT-WDS
123# wireless-channel 11
124# wireless-security none
125# wireless-lazywds 0
126# wireless-wds-bridge br0
127# wireless-wds 00:01:02:03:04:05
128
Note: See TracBrowser for help on using the repository browser.