Config OpenWrt on WNDR3700v4

Http proxy for opkg:
Add following line in OPKG-Configuration via LuCI Web
option http_proxy http://172.24.61.252:8080/

Enable USB Storage
Install kmod-usb-storage
Install kmod-fs-ext4
Install kmod-fs-msdos
Install kmod-nls-utf8
Install block-mount

Install openwrt onto WNDR3700v4 from factory image

Download openwrt image
openwrt-ar71xx-nand-wndr3700v4-ubi-factory
https://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/nand/

Install with update feature from web interface

 

Issue of of 2014.10.2 version

Unable to use the 128MB flash space.

 

Status of 2014.10.2 version

System
Hostname OpenWrt
Model NETGEAR WNDR3700v4
Firmware Version OpenWrt Barrier Breaker 14.07 / LuCI Trunk (0.12+svn-r10530)
Kernel Version 3.10.49

Install windows7 onto iscsi target: Route

A tp-link TL-841N route with ddwrt firmware (build 24160) is used in the test:

Route Config:

Route IP = 192.168.127.2

DNSMasq  = Enable

Local DNS = Enable

No DNS Rebind = Enable

Additional DNSMasq Options

dhcp-boot=pxe/pxelinux.0,lzheng-ubuntu-10,192.168.127.88
dhcp-option=44,172.24.63.201,172.24.63.202         dhcp-option=6,172.24.63.212,172.24.63.211,172.24.63.163,172.24.63.161,172.24.63.162

 

************************************************************************

Note

      dhcp-boot,               specified pxe boot file and the tftp server

dhcp-option=44,       specified wins server

dhcp-option=6,       specified upstream DNS server

美国电子商务网站

HP Proliant Microserver Gen8

http://www.hpproliantoptions.com/index.aspx

http://www.jpaul.me/2013/06/hp-gen8-microserver-is-it-time-to-update-your-lab/

http://www.tomshardware.com/forum/id-1702811/ram-comaptible-proliant-micro-server.html

http://www.adamfowlerit.com/2013/09/30/hp-proliant-microserver-gen8-real-world-usage/

OS:

http://h17007.www1.hp.com/us/en/enterprise/servers/supportmatrix/windows.aspx#.VGMhuFcYzKw

RAM:

http://homeservershow.com/forums/index.php?/topic/5639-proliant-microserver-gen8-links/

Kingston RAM

http://www.kingston.com/en/memory/search/Default.aspx?DeviceType=20&Mfr=HEW&Line=ProLiant&Model=84508&Description=Kingston_System_Specific_Memory_for_HP/Compaq_ProLiant_MicroServer_Gen8_G2020T

Part Number: KTH-PL316E/8G

Part Number: KTH-PL313E/8G

Part Number: KTH-PL316ES/4G

http://www.chiphell.com/thread-1034824-1-1.html

CPU:

2014/11/19

E3 – 1230v2                $225

E3 – 1220v2                $200

E3 – 1271v3               $364

E3 – 1245v2               $268

E3-1226V3B              $223

E3-1265Lv2               $351

E3-1280V2                $716

E3-1220Lv2               $504

 

RAM:

KTH-PL313E/8G                                       $130

Part Number: KTH-PL316E/8G                 $105

 Part Number: KTH-PL316ES/4G              $55

Setup iSCSI Target on Ubuntu 10.10

Just follow the thread of:

http://linhost.info/2012/05/configure-ubuntu-to-serve-as-an-iscsi-target/

 

Reference:

http://caia.swin.edu.au/reports/130226A/CAIA-TR-130226A.pdf

https://gist.github.com/Informatic/5893973

CAIA-TR-130226A

# Install iscsi
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install iscsitarget
# Squeezy
# apt-get install iscsitarget-dkms

# Enable iscsi
sudo sed -i "s/false/true/" /etc/default/iscsitarget

# Add two file as iSCSI storage
#   File1:  /data/tmp/win7_32.img
#   File2:  /data/tmp/win7.img

# Add following line into /etc/iet/ietd.conf
Target iqn.2014-10.local.zhenglei:storage.sys0
    Lun 0 Path=/data/tmp/win7_32.img,Type=fileio,ScsiId=lun0,ScsiSN=lun0

Target iqn.2014-10.local.zhenglei:storage.sys1
    Lun 0 Path=/data/tmp/win7.img,Type=fileio,ScsiId=lun1,ScsiSN=lun1

# Start iSCSI service
sudo service iscsitarget stop
sudo service iscsitarget start

# Testing on Windows7 (built in feature)
# by searching iscsi keyword 

Create USB image file with loop device

# Install necessary tools

apt-get clean

apt-get update

apt-get install kpartx

#apt-get install gparted

apt-get installed parted

apt-get install qemu-utils

apt-get install syslinux

apt-get install dosfstools

 

# Install ms-sys

# wget http://superb-dca3.dl.sourceforge.net/project/ms-sys/ms-sys%20stable/2.4.0/ms-sys-2.4.0.tar.gz

wget http://heanet.dl.sourceforge.net/project/ms-sys/ms-sys%20stable/2.4.1/ms-sys-2.4.1.tar.gz

tar xvfz ms-sys-2.4.1.tar.gz

cd ms-sys-2.4.1

make

make install