-
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Porting Linino to OpenWRT 12.09 Attitude Adjustment
- Loading branch information
Federico Fissore
committed
Mar 6, 2015
1 parent
80c7283
commit 7e2976f
Showing
117 changed files
with
23,318 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# OpenWRT Yún | ||
|
||
This is a custom version of OpenWRT, targeted to the Arduino Yún. Some of its core packages, including the kernel and uboot, are derived from Linino. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/sh -ex | ||
rm -f dl | ||
rm -fr staging_dir build_dir bin broken_packages | ||
make distclean | ||
|
||
ln -s $DL_FOLDER dl | ||
|
||
./scripts/feeds uninstall -a | ||
rm -rf feeds | ||
./scripts/feeds update -a | ||
./scripts/feeds install -a | ||
./scripts/feeds uninstall erlang freeswitch remotefs libzstream shflags opensips pulseaudio xmlrpc-c rtorrent sox umurmur-polarssl freecwmp-zstream osirisd logtrigger libplist libimobiledevice cmus mxml boost wt | ||
rm -f .config | ||
git checkout .config | ||
make oldconfig | ||
|
||
if [ -z "$MAKE_JOBS" ]; then | ||
MAKE_JOBS="2" | ||
fi | ||
|
||
nice -n 10 make -j $MAKE_JOBS V=s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
_______ ________ __ | ||
| |.-----.-----.-----.| | | |.----.| |_ | ||
| - || _ | -__| || | | || _|| _| | ||
|_______|| __|_____|__|__||________||__| |____| | ||
|__| W I R E L E S S F R E E D O M | ||
----------------------------------------------------- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
config defaults | ||
option syn_flood 1 | ||
option input ACCEPT | ||
option output ACCEPT | ||
option forward REJECT | ||
|
||
config zone | ||
option name lan | ||
option network 'lan' | ||
option input ACCEPT | ||
option output ACCEPT | ||
option forward REJECT | ||
|
||
config zone | ||
option name wan | ||
option network 'wan' | ||
option input ACCEPT | ||
option output ACCEPT | ||
option forward REJECT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
config global automount | ||
option from_fstab 1 | ||
option anon_mount 1 | ||
|
||
config global autoswap | ||
option from_fstab 1 | ||
option anon_swap 0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
config system | ||
option hostname Arduino | ||
option timezone UTC | ||
|
||
config timeserver ntp | ||
list server 0.openwrt.pool.ntp.org | ||
list server 1.openwrt.pool.ntp.org | ||
list server 2.openwrt.pool.ntp.org | ||
list server 3.openwrt.pool.ntp.org | ||
option enable_server 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# Server configuration | ||
config uhttpd main | ||
|
||
# HTTP listen addresses, multiple allowed | ||
list listen_http 0.0.0.0:80 | ||
# list listen_http [::]:80 | ||
|
||
# HTTPS listen addresses, multiple allowed | ||
list listen_https 0.0.0.0:443 | ||
# list listen_https [::]:443 | ||
|
||
# Server document root | ||
option home /www | ||
|
||
# Reject requests from RFC1918 IP addresses | ||
# directed to the servers public IP(s). | ||
# This is a DNS rebinding countermeasure. | ||
option rfc1918_filter 0 | ||
|
||
# Maximum number of concurrent requests. | ||
# If this number is exceeded, further requests are | ||
# queued until the number of running requests drops | ||
# below the limit again. | ||
option max_requests 2 | ||
|
||
# Certificate and private key for HTTPS. | ||
# If no listen_https addresses are given, | ||
# the key options are ignored. | ||
option cert /etc/uhttpd.crt | ||
option key /etc/uhttpd.key | ||
|
||
# CGI url prefix, will be searched in docroot. | ||
# Default is /cgi-bin | ||
option cgi_prefix /cgi-bin | ||
|
||
# List of extension->interpreter mappings. | ||
# Files with an associated interpreter can | ||
# be called outside of the CGI prefix and do | ||
# not need to be executable. | ||
# list interpreter ".php=/usr/bin/php-cgi" | ||
# list interpreter ".cgi=/usr/bin/perl" | ||
|
||
# Lua url prefix and handler script. | ||
# Lua support is disabled if no prefix given. | ||
# option lua_prefix /luci | ||
# option lua_handler /usr/lib/lua/luci/sgi/uhttpd.lua | ||
|
||
# CGI/Lua timeout, if the called script does not | ||
# write data within the given amount of seconds, | ||
# the server will terminate the request with | ||
# 504 Gateway Timeout response. | ||
option script_timeout 60 | ||
|
||
# Network timeout, if the current connection is | ||
# blocked for the specified amount of seconds, | ||
# the server will terminate the associated | ||
# request process. | ||
option network_timeout 30 | ||
|
||
# TCP Keep-Alive, send periodic keep-alive probes | ||
# over established connections to detect dead peers. | ||
# The value is given in seconds to specify the | ||
# interval between subsequent probes. | ||
# Setting this to 0 will disable TCP keep-alive. | ||
option tcp_keepalive 1 | ||
|
||
# Basic auth realm, defaults to local hostname | ||
# option realm OpenWrt | ||
|
||
# Configuration file in busybox httpd format | ||
# option config /etc/httpd.conf | ||
|
||
|
||
# Certificate defaults for px5g key generator | ||
config cert px5g | ||
|
||
# Validity time | ||
option days 36500 | ||
|
||
# RSA key size | ||
option bits 1024 | ||
|
||
# Location | ||
option country IT | ||
option state Turin | ||
option location Turin | ||
|
||
# Common name | ||
option commonname 'Arduino LLC' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
config wifi-device radio0 | ||
option type mac80211 | ||
option channel 11 | ||
option hwmode 11ng | ||
option path 'platform/ar933x_wmac' | ||
option htmode HT20 | ||
list ht_capab SHORT-GI-20 | ||
list ht_capab SHORT-GI-40 | ||
list ht_capab RX-STBC1 | ||
list ht_capab DSSS_CCK-40 | ||
# REMOVE THIS LINE TO ENABLE WIFI: | ||
option disabled 0 | ||
|
||
config wifi-iface | ||
option device radio0 | ||
option network lan | ||
option mode ap | ||
option ssid Arduino | ||
option encryption none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
A:/arduino:/cgi-bin/luci/arduino%s | ||
A:/data:/cgi-bin/luci/data%s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Put your custom commands here that should be executed once | ||
# the system init finished. By default this file does nothing. | ||
|
||
wifi-live-or-reset | ||
boot-complete-notify | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
root:$1$Ar.U/LfY$T.OPt41BYbXFY0TbKMyQA0:15828:0:99999:7::: | ||
daemon:*:0:0:99999:7::: | ||
ftp:*:0:0:99999:7::: | ||
network:*:0:0:99999:7::: | ||
nobody:*:0:0:99999:7::: | ||
|
Oops, something went wrong.