Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#318589 - 29/01/2009 22:10 hijack feature
Boelle
addict

Registered: 22/11/2007
Posts: 475
Loc: Denmark, Odense
is it possible that a future version of hijack could update itself?
_________________________
the "monkey" who learned to check a harddrive

Top
#318590 - 29/01/2009 22:26 Re: hijack feature [Re: Boelle]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
You can write a script that FTPs the newer kernel and then writes it and call it from the menu.

Top
#318591 - 29/01/2009 22:30 Re: hijack feature [Re: tman]
Boelle
addict

Registered: 22/11/2007
Posts: 475
Loc: Denmark, Odense
i was thinking of a more simple "Update Hijack" thing that by it self downloads the kernel and flash it...one could think of this a a for dummies feature... push and forget..

hope i dont sound like a drunk laugh

would require internet access of course...
_________________________
the "monkey" who learned to check a harddrive

Top
#318593 - 29/01/2009 22:36 Re: hijack feature [Re: Boelle]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Once you've written the script it would be push and forget...

Top
#318594 - 29/01/2009 22:41 Re: hijack feature [Re: tman]
Boelle
addict

Registered: 22/11/2007
Posts: 475
Loc: Denmark, Odense
but still how do i add it to the hijack menu? remember im stupid when it comes to writeing scripts and that stuff...

_________________________
the "monkey" who learned to check a harddrive

Top
#318595 - 29/01/2009 22:48 Re: hijack feature [Re: Boelle]
benjammin
member

Registered: 11/08/2002
Posts: 188
Loc: Champaign, IL
I would argue against auto-updates as if Windows hasn't already taught us that lesson.

laugh Not to be disagreeable, but so many times I see "auto updates" breaking things that would otherwise have been better left alone.

laugh

-Ben
_________________________
Empeg Mk2 in fabulous green! Green Face, Green BackLit Buttons... GREEN...

Top
#318597 - 29/01/2009 22:55 Re: hijack feature [Re: benjammin]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
You'll need an internet connection and doing it on DC power wouldn't be a great idea. If you're already taking the empeg into your house and plugging it in then just updating it the regular way isn't much more work.

Top
#318599 - 29/01/2009 22:58 Re: hijack feature [Re: tman]
Boelle
addict

Registered: 22/11/2007
Posts: 475
Loc: Denmark, Odense
depends on how big a slacker you are... but well ben is right... just a single glitch and you can use the empeg as brick
_________________________
the "monkey" who learned to check a harddrive

Top
#318601 - 29/01/2009 23:00 Re: hijack feature [Re: Boelle]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Originally Posted By: Boelle
depends on how big a slacker you are... but well ben is right... just a single glitch and you can use the empeg as brick

It is a brick until you can get near a PC with a serial port. It isn't permanent.

Besides, Mark doesn't release that many new versions.

Top
#318604 - 29/01/2009 23:06 Re: hijack feature [Re: tman]
Boelle
addict

Registered: 22/11/2007
Posts: 475
Loc: Denmark, Odense
nah... but i only have one pc with a serial port... and i only keep the pc to upgrade empeg.. along with some harddrive testing once in a while... would be faster with just a menu option to do the upgrade... instead of locateing the old laptop and setting it up and takeing it down afterwards...

but i guess i'm just a very big slacker... like to take all kinds of shortcuts if i can
_________________________
the "monkey" who learned to check a harddrive

Top
#318605 - 29/01/2009 23:07 Re: hijack feature [Re: Boelle]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
You can upgrade via ethernet if you have telnet or SSH running.

Top
#318606 - 29/01/2009 23:09 Re: hijack feature [Re: tman]
Boelle
addict

Registered: 22/11/2007
Posts: 475
Loc: Denmark, Odense
how...? i might make a small doc on it so i can cut and paste next time he releases
_________________________
the "monkey" who learned to check a harddrive

Top
#318607 - 29/01/2009 23:10 Re: hijack feature [Re: Boelle]
Boelle
addict

Registered: 22/11/2007
Posts: 475
Loc: Denmark, Odense
can i do it via the normal ethernet plug?
_________________________
the "monkey" who learned to check a harddrive

Top
#318609 - 29/01/2009 23:13 Re: hijack feature [Re: Boelle]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
Originally Posted By: Boelle
can i do it via the normal ethernet plug?

Yes. I wrote / posted an upgrader.c program to do just that. It compiles and runs on Linux, and probably nearly every other modern OS.

Cheers

Top
#318610 - 29/01/2009 23:16 Re: hijack feature [Re: mlord]
Boelle
addict

Registered: 22/11/2007
Posts: 475
Loc: Denmark, Odense
hmm... ok... but would a option in hijack be to dangerous?
_________________________
the "monkey" who learned to check a harddrive

Top
#318617 - 29/01/2009 23:27 Re: hijack feature [Re: Boelle]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
Originally Posted By: Boelle
hmm... ok... but would a option in hijack be to dangerous?

It's just not practical. The empeg lacks full networking setup, so it doesn't necessarily know how to resolve hostnames, or how to route to the outside world, etc..

-ml

Top
#318618 - 29/01/2009 23:29 Re: hijack feature [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
And, again, it also lacks kernel code to read a file from another machine: no FTP or HTTP client or server code inside. Those things take up precious RAM, and they're not generally useful to many people. They're also rather easy to add in userspace, outside of the (Hijack) Linux kernel.

Write a little shell script do what you want it to do (configure networking, check versions, download the file, write it to /proc/empeg_kernel, reboot). Add that to the Hijack menu with a single line in config.ini.

Cheers


Edited by mlord (29/01/2009 23:30)

Top
#318621 - 29/01/2009 23:35 Re: hijack feature [Re: mlord]
Boelle
addict

Registered: 22/11/2007
Posts: 475
Loc: Denmark, Odense
how is the upgrader.c used.. i tried this:
[root@server upgrader]# ./upgrader.c
-bash: ./upgrader.c: access denied
[root@server upgrader]#
_________________________
the "monkey" who learned to check a harddrive

Top
#318622 - 29/01/2009 23:38 Re: hijack feature [Re: Boelle]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
Somebody else can help you with that.

Cheers

Top
#318631 - 30/01/2009 07:19 Re: hijack feature [Re: mlord]
sein
old hand

Registered: 07/01/2005
Posts: 893
Loc: Sector ZZ9pZa
Just use Jemplode Boelle. With the Empeg plugged into the network, load up Jemplode and use Tools -> Update Hijack + Jemplode. Its literally about 3 clicks of your mouse!
_________________________
Hussein

Top