[OpenWrt-Devel] [PATCH] xburst Ben Nanonote: change the network seting, disable moust mmc to /card

Xiangfu Liu xiangfu.z at gmail.com
Wed Mar 7 16:04:56 CET 2012


From: Xiangfu Liu <xiangfu at sharism.cc>

---
Hi 
  Ben Nanonote is a little different with other OpenWrt target. it's using a usb gadget network
  so we set it to 192.168.254.0/24 and setup the getway.

  Disable mound memory card. better we use the hotplug from OpenWrt.

Xiangfu

 target/linux/xburst/base-files/etc/config/fstab   |    6 ------
 target/linux/xburst/base-files/etc/config/network |    5 ++++-
 2 files changed, 4 insertions(+), 7 deletions(-)
 delete mode 100644 target/linux/xburst/base-files/etc/config/fstab

diff --git a/target/linux/xburst/base-files/etc/config/fstab b/target/linux/xburst/base-files/etc/config/fstab
deleted file mode 100644
index 5223561..0000000
--- a/target/linux/xburst/base-files/etc/config/fstab
+++ /dev/null
@@ -1,6 +0,0 @@
-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
index a086003..8dfe0a5 100644
--- a/target/linux/xburst/base-files/etc/config/network
+++ b/target/linux/xburst/base-files/etc/config/network
@@ -9,5 +9,8 @@ config interface loopback
 config interface lan
 	option ifname	usb0
 	option proto	static
-	option ipaddr	192.168.1.1
+	option ipaddr	192.168.254.101
 	option netmask	255.255.255.0
+	option gateway  192.168.254.100
+	option dns      "8.8.8.8 8.8.4.4"
+	option hostname	BenNanoNote
-- 
1.7.1



More information about the openwrt-devel mailing list