1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

clean up board-dependent files, add pppoatm support, add proper config examples

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1754 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2005-08-26 15:52:12 +00:00
parent 67881f7caf
commit 85fa7a0ac5
15 changed files with 144 additions and 17 deletions

View File

@@ -36,9 +36,9 @@ $(IDIR_OPENWRT):
$(SED) s,base-files-arch,base-files-$(BOARD),g $(IDIR_OPENWRT)/CONTROL/control
$(IPKG_OPENWRT): $(IDIR_OPENWRT)
mkdir -p $(IDIR_OPENWRT)/etc/init.d
[ -f files/network.overrides.$(BOARD) ] && cp files/network.overrides.$(BOARD) $(IDIR_OPENWRT)/etc/network.overrides
[ -f files/S05nvram.$(BOARD) ] && install -m0755 files/S05nvram.$(BOARD) $(IDIR_OPENWRT)/etc/init.d/S05nvram
[ -d files/$(BOARD) ] && cp -a files/$(BOARD)/* $(IDIR_OPENWRT)/
find $(IDIR_OPENWRT) -name CVS | xargs rm -rf
find $(IDIR_OPENWRT) -name .svn | xargs rm -rf
$(RSTRIP) $(IDIR_OPENWRT)
$(IPKG_BUILD) $(IDIR_OPENWRT) $(PACKAGE_DIR)

View File

@@ -0,0 +1,31 @@
# Network configuration file
# Uncomment the following statements to change the network configuration
## LAN configuration
# lan_ifame="br0"
# lan_proto="static"
# lan_ipaddr="192.168.1.1"
# lan_netmask="255.255.255.0"
# lan_gateway=""
# lan_dns=""
## WAN configuration (PPPoE)
# wan_type=pppoe
# wan_ifname=ppp0
# pppoe_atm=1
# pppoe_ifname=nas0
# atm_vpi=8
# atm_vci=35
# ppp_username=my_username
# ppp_passwd=my_passwd
# ppp_mtu=1492
## WAN configuration (PPPoA)
# wan_type=pppoa
# wan_ifname=ppp0
# atm_vpi=8
# atm_vci=35
# ppp_username=my_username
# ppp_passwd=my_passwd
# ppp_mtu=1492

View File

@@ -0,0 +1,18 @@
# Network configuration file
# Uncomment the following statements to override the default or nvram config
## LAN configuration
# lan_ifame="br0"
# lan_proto="static"
# lan_ipaddr="192.168.1.1"
# lan_netmask="255.255.255.0"
# lan_gateway=""
# lan_dns=""
## WAN configuration (PPPoE)
# wan_type=pppoe
# wan_ifname=ppp0
# pppoe_ifname=vlan1
# ppp_username=my_username
# ppp_passwd=my_passwd
# ppp_mtu=1492

View File

@@ -0,0 +1,10 @@
# Network configuration file
# Uncomment the following statements to override the default or nvram config
## LAN configuration
# lan_ifame="br0"
# lan_proto="static"
# lan_ipaddr="192.168.1.1"
# lan_netmask="255.255.255.0"
# lan_gateway=""
# lan_dns=""