Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2--Use WRTnode as a web server #3

Open
cooljiansir opened this issue Nov 13, 2014 · 0 comments
Open

2--Use WRTnode as a web server #3

cooljiansir opened this issue Nov 13, 2014 · 0 comments

Comments

@cooljiansir
Copy link
Owner

Use WRTnode as a web server

set ssh password first

  • power on wrtnode
  • wait for a while,and you'll see a AP called like"WRTnode9A0E"
  • connect it,password is 12345678
  • visit 192.168.8.1
  • login root with empty password
  • Go to System-> Administration and set the new password

config the uhttpd

ssh root@192.168.8.1
cd /etc/config/
vi uhttpd

add these lines to the rear

config uhttpd web               
        list listen_http 0.0.0.0:81
        option home /webroot/

then

cd /
mkdir webroot
cd webroot
echo 'hello openwrt world!'> index.html
reboot

Now wait for restart

and visit 192.168.8.1:81 and see what happens!

@cooljiansir cooljiansir changed the title Use WRTnode as a web server 2--Use WRTnode as a web server Nov 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant