[School Project]RT-N10U B Wireless Local Server

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
telnet.exe
DD-WRT Novice


Joined: 05 Jun 2016
Posts: 1

PostPosted: Sun Jun 05, 2016 8:10    Post subject: [School Project]RT-N10U B Wireless Local Server Reply with quote
Hi,
First of all, excuse me for my english but I am from a foreigner country.

I am in a group project at my school (me and a WebDev), our scope is to build a low cost and self maintenance device that can act like a wireless local server, in a captive portal style.

I have the Asus rt-n10u router with DD-WRT v24-sp2 mini-usb-nas installed, to free up flash space (jffs).

My idee is to make a page that will serve like a Portal for school: news, information about the professors, extra school activities, ...
The principle is:
Connect thru Wifi -> dnsmasq rules with HTTP redirects (Captive Portal style) -> HTTP daemon <- USB
Without internet access or unused processes (without NAT?).

My backend will be in /jffs and in the USB will be his assets of the pages.

I don't want to use the generic HTTPd as my server, because the interface of my router is still available, and this is a security concern, and all of my tries to get another httpd (lighttpd) are dead, like:
# https://www.dd-wrt.com/wiki/index.php/Optware-ByHand
Code:

root@DD-WRT:/# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                    3.4M      3.4M         0 100% /
/dev/root                 3.4M      3.4M         0 100% /
/dev/mtdblock/4           3.1M    476.0K      2.6M  15% /jffs
/dev/mtdblock/4           3.1M    476.0K      2.6M  15% /opt
root@DD-WRT:/# ipkg install lighttpd
ipkg_depends: Warning: libstdc++ mentioned in dependency but no package found in /jffs/usr/lib/ipkg/lists

Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/openssl_0.9.7m-6_mipsel.ipk ...
Connecting to ipkg.nslu2-linux.org (140.211.169.161:80)
openssl_0.9.7m-6_mip 100% |*****************************************************************************************|   693k  0:00:00 ETA
Done.
Unpacking openssl...Done.
Configuring openssl...Done.

Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/pcre_8.31-1_mipsel.ipk ...
Connecting to ipkg.nslu2-linux.org (140.211.169.161:80)
pcre_8.31-1_mipsel.i 100% |*****************************************************************************************|   242k  0:00:00 ETA
Done.
Unpacking pcre...Done.
Configuring pcre...Done.

Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/spawn-fcgi_1.6.3-1_mipsel.ipk ...
Connecting to ipkg.nslu2-linux.org (140.211.169.161:80)
spawn-fcgi_1.6.3-1_m 100% |*****************************************************************************************|  8680   0:00:00 ETA
Done.
Unpacking spawn-fcgi...Done.
Configuring spawn-fcgi...Done.

Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/zlib_1.2.5-1_mipsel.ipk ...
Connecting to ipkg.nslu2-linux.org (140.211.169.161:80)
zlib_1.2.5-1_mipsel. 100% |*****************************************************************************************| 73530   0:00:00 ETA
Done.
Unpacking zlib...Done.
Configuring zlib...Done.

Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/lighttpd_1.4.32-1_mipsel.ipk ...
Connecting to ipkg.nslu2-linux.org (140.211.169.161:80)
lighttpd_1.4.32-1_mi 100% |*****************************************************************************************|   357k  0:00:00 ETA
Done.
ipkg_depends: Warning: libstdc++ mentioned in dependency but no package found in /jffs/usr/lib/ipkg/lists
ipkg_install_file: ERROR: lighttpd depends on the following uninstalled programs:
         openssl pcre spawn-fcgi zlib
ipkg_install_file: You may want to use `ipkg install' to install these.
ipkg_get_install: ERROR: Failed to install /jffs/tmp/ipkg/lighttpd_1.4.32-1_mipsel.ipk
ipkg_get_install: I'll leave it there for you to try a manual installation
root@DD-WRT:/# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                    3.4M      3.4M         0 100% /
/dev/root                 3.4M      3.4M         0 100% /
/dev/mtdblock/4           3.1M      1.8M      1.3M  58% /jffs
/dev/mtdblock/4           3.1M      1.8M      1.3M  58% /opt
root@DD-WRT:/#


Can you help me to install lighttpd and php?
Thank you for your attention!
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum