diff options
Diffstat (limited to 'package/base-files')
-rw-r--r-- | package/base-files/Makefile | 3 | ||||
-rw-r--r-- | package/base-files/src/etc/network/interfaces | 57 |
2 files changed, 59 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 369d8f485..f20b650c3 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/mk/rootfs.mk PKG_NAME:= base-files PKG_VERSION:= 1.0 -PKG_RELEASE:= 42 +PKG_RELEASE:= 43 PKG_SECTION:= base PKG_DESCR:= basic files and scripts @@ -74,6 +74,7 @@ endif > $(IDIR_BASE_FILES)/etc/adkversion test -z $(ADK_TARGET_SYSTEM) || \ echo $(ADK_TARGET_SYSTEM) > $(IDIR_BASE_FILES)/etc/adktarget + echo $(ADK_RUNTIME_TMPFS_SIZE) > $(IDIR_BASE_FILES)/etc/tmpfs ifneq (${ADK_PACKAGE_CONFIG_IN_ETC},) gzip -9c ${TOPDIR}/.config >$(IDIR_BASE_FILES)/etc/adkconfig.gz chmod 600 $(IDIR_BASE_FILES)/etc/adkconfig.gz diff --git a/package/base-files/src/etc/network/interfaces b/package/base-files/src/etc/network/interfaces index f1bd92ed2..dbde94b80 100644 --- a/package/base-files/src/etc/network/interfaces +++ b/package/base-files/src/etc/network/interfaces @@ -1,2 +1,59 @@ auto lo iface lo inet loopback + +auto eth0 +iface eth0 inet dhcp + +## static network configuration +#auto eth0 +#iface eth0 inet static +# address 192.168.1.1 +# netmask 255.255.255.0 +# broadcast + +# gateway 192.168.1.254 +## + +## bridge configuration +#auto br0 +#iface br0 inet static +# address 192.168.99.1 +# netmask 255.255.255.0 +# broadcast + +# bridge-ports eth0 eth1 +## + +## pppoe configuration +#auto ppp0 +#iface ppp0 inet ppp +# use-template pppoe +# provider isp +# ppp-mtu 1412 +# ppp-username foo +# ppp-password bar +# ppp-device eth1 +## + +## wireless client configuration +#auto wlan0 +#iface wlan0 inet dhcp +# wireless-ssid myap +# wireless-channel 11 +# wireless-mode sta +# wireless-security wpa2 +# wireless-passphrase xxxxxx +## + +## wireless accesspoint configuration +#auto wlan0 +#iface wlan0 inet static +# address 192.168.40.10 +# netmask 255.255.255.0 +# broadcast + +# wireless-ssid myap +# wireless-channel 8 +# wireless-mode ap +# wireless-security wpa2 +# wireless-passphrase xxxxxx +## + +# for more special cases see: http://www.openadk.org/doku.php?id=network |