From 45c720faff65f1f299f674b8757bc9b599d6f0b2 Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Thu, 24 Sep 2009 17:16:32 +0200 Subject: [PATCH] add base files for - assigning IP 192.168.1.1 per default to usb0-interface (usb-ethernet-gadget) - add mountpoint for 1st partrition of sd-card - prelimary for testing purposes --- target/linux/xburst/base-files/etc/config/fstab | 6 ++++++ target/linux/xburst/base-files/etc/config/network | 13 +++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 target/linux/xburst/base-files/etc/config/fstab create mode 100755 target/linux/xburst/base-files/etc/config/network diff --git a/target/linux/xburst/base-files/etc/config/fstab b/target/linux/xburst/base-files/etc/config/fstab new file mode 100644 index 000000000..522356112 --- /dev/null +++ b/target/linux/xburst/base-files/etc/config/fstab @@ -0,0 +1,6 @@ +config mount + option target /card + option device /dev/mmcblk0p1 + option fstype auto + option options rw,sync + option enabled 1 diff --git a/target/linux/xburst/base-files/etc/config/network b/target/linux/xburst/base-files/etc/config/network new file mode 100755 index 000000000..a086003e3 --- /dev/null +++ b/target/linux/xburst/base-files/etc/config/network @@ -0,0 +1,13 @@ +# Copyright (C) 2006 OpenWrt.org + +config interface loopback + option ifname lo + option proto static + option ipaddr 127.0.0.1 + option netmask 255.0.0.0 + +config interface lan + option ifname usb0 + option proto static + option ipaddr 192.168.1.1 + option netmask 255.255.255.0