mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 16:43:09 +02:00
optimize for ben nanonote
disable mount memcard make 192.168.254.101 as the default ip address opkg.conf keep opkg files to /root
This commit is contained in:
parent
bff5dce771
commit
57241371cb
@ -1,6 +0,0 @@
|
|||||||
config mount
|
|
||||||
option target /card
|
|
||||||
option device /dev/mmcblk0p1
|
|
||||||
option fstype auto
|
|
||||||
option options rw,sync
|
|
||||||
option enabled 1
|
|
@ -9,5 +9,7 @@ config interface loopback
|
|||||||
config interface lan
|
config interface lan
|
||||||
option ifname usb0
|
option ifname usb0
|
||||||
option proto static
|
option proto static
|
||||||
option ipaddr 192.168.1.1
|
option ipaddr 192.168.254.101
|
||||||
option netmask 255.255.255.0
|
option netmask 255.255.255.0
|
||||||
|
option gateway 192.168.254.100
|
||||||
|
option dns 208.67.222.222
|
||||||
|
1
target/linux/xburst/base-files/etc/hosts
Normal file
1
target/linux/xburst/base-files/etc/hosts
Normal file
@ -0,0 +1 @@
|
|||||||
|
127.0.0.1 BenNanoNote localhost
|
8
target/linux/xburst/base-files/etc/inittab
Normal file
8
target/linux/xburst/base-files/etc/inittab
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
::sysinit:/etc/init.d/rcS S boot
|
||||||
|
::shutdown:/etc/init.d/rcS K stop
|
||||||
|
tts/0::askfirst:/bin/ash --login
|
||||||
|
ttyS0::askfirst:/bin/ash --login
|
||||||
|
tty1::respawn:/bin/ash --login
|
||||||
|
tty2::askfirst:/bin/ash --login
|
||||||
|
tty3::askfirst:/bin/ash --login
|
||||||
|
tty4::askfirst:/bin/ash --login
|
5
target/linux/xburst/base-files/etc/opkg.conf
Normal file
5
target/linux/xburst/base-files/etc/opkg.conf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
src/gz snapshots http://downloads.qi-hardware.com/software/packages/NanoNote/Ben/latest
|
||||||
|
dest root /
|
||||||
|
dest ram /usr/share/opkg/tmp
|
||||||
|
lists_dir ext /usr/share/opkg
|
||||||
|
option overlay_root /overlay
|
26
target/linux/xburst/base-files/etc/sysctl.conf
Normal file
26
target/linux/xburst/base-files/etc/sysctl.conf
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
kernel.panic=3
|
||||||
|
net.ipv4.conf.default.arp_ignore=1
|
||||||
|
net.ipv4.conf.all.arp_ignore=1
|
||||||
|
net.ipv4.ip_forward=1
|
||||||
|
net.ipv4.icmp_echo_ignore_broadcasts=1
|
||||||
|
net.ipv4.icmp_ignore_bogus_error_responses=1
|
||||||
|
net.ipv4.tcp_ecn=0
|
||||||
|
net.ipv4.tcp_fin_timeout=30
|
||||||
|
net.ipv4.tcp_keepalive_time=120
|
||||||
|
net.ipv4.tcp_syncookies=1
|
||||||
|
net.ipv4.tcp_timestamps=0
|
||||||
|
net.core.netdev_max_backlog=30
|
||||||
|
net.netfilter.nf_conntrack_checksum=0
|
||||||
|
net.ipv4.netfilter.ip_conntrack_checksum=0
|
||||||
|
net.ipv4.netfilter.ip_conntrack_max=16384
|
||||||
|
net.ipv4.netfilter.ip_conntrack_tcp_timeout_established=3600
|
||||||
|
net.ipv4.netfilter.ip_conntrack_udp_timeout=60
|
||||||
|
net.ipv4.netfilter.ip_conntrack_udp_timeout_stream=180
|
||||||
|
# net.ipv6.conf.all.forwarding=1
|
||||||
|
|
||||||
|
# disable bridge firewalling by default
|
||||||
|
net.bridge.bridge-nf-call-arptables=0
|
||||||
|
net.bridge.bridge-nf-call-ip6tables=0
|
||||||
|
net.bridge.bridge-nf-call-iptables=0
|
||||||
|
|
||||||
|
vm.overcommit_memory=1
|
Loading…
Reference in New Issue
Block a user