BeagleBone: Bringing back default (bone101) webserver after opgk update/upgrade

470 views
Skip to first unread message

Brian Schmalz

unread,
Feb 12, 2012, 11:26:53 AM2/12/12
to beagl...@googlegroups.com
Got BeagleBone, ran opkg update then opkg upgrade, then copied over new uImage as detailed in a previous e-mail.

However, on boot now, I don't get the normal bone101 webpage on port 80. Instead I get a "Error 404: 'index.html' Not Found" returned in my browser.

If I try to manually run the Cloud9 server.js, Cloud9 says "warn - error raised: Error: EADDRINUSE, Address already in use".

So what are the magic commands to restore the ability to let the Cloud9 server run and serve up bone101?

Thanks!

*Brian

Jason Kridner

unread,
Feb 12, 2012, 12:18:10 PM2/12/12
to beagl...@googlegroups.com

cd /var/lib/cloud9
git pull

then tell me what happens. i think some images have a bad bonescript, so it might not pull.

if it fails, try

opkg update
opkg install bonescript

again, tell me what happens. i am not sure that is the right package name or if the updated version is in the feed yet, but i'll look up the info if it doesn't work for you.


*Brian

--
To join: http://beagleboard.org/discuss
To unsubscribe from this group, send email to:
beagleboard...@googlegroups.com
Frequently asked questions: http://beagleboard.org/faq

Brian Schmalz

unread,
Feb 12, 2012, 12:55:01 PM2/12/12
to beagl...@googlegroups.com

Thanks Jason.

 

root@beaglebone:/var/lib/cloud9# git pull

remote: Counting objects: 23, done.

remote: Compressing objects: 100% (11/11), done.

remote: Total 17 (delta 12), reused 11 (delta 6)

Unpacking objects: 100% (17/17), done.

From git://github.com/jadonk/bonescript

   8898f4e..4dc6ae5  master     -> origin/master

Updating 8898f4e..4dc6ae5

Fast-forward

bone101/index.html           |    2 +-

bonescript/eeprom.js         |    8 ++--

bonescript/test-eeproms.json |   88 ++++++++++++++++++++++++++++++++++++++++++

3 files changed, 93 insertions(+), 5 deletions(-)

root@beaglebone:/var/lib/cloud9#

 

and that solved the problem! Thanks so much-

 

*Brian

Jason Kridner

unread,
Jul 16, 2012, 7:15:24 AM7/16/12
to beagl...@googlegroups.com


On Jul 13, 2012 7:21 PM, "Paul Kelly" <pa...@lwintl.org> wrote:
>
> Hey Jason Im having more or less the same problem. It seemed like the bone101 page only ran the first time I booted it up. Without having yet run opkg update I was unable to browse to beaglebone.local on port 80. Im able to get to cloud 9 on port 3000 ok but nothing on 80.
>
> I tried the steps mentioned above.. no change. 

Is this different than your other similar thread?

>
> TIA.
>
> -PK

Reply all
Reply to author
Forward
0 new messages