Unoffical empeg BBS

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

Page 1 of 2 1 2 >
Topic Options
#232865 - 08/09/2004 16:54 Upgrading player software via ethernet...
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
I remember there was a way to upgrade/downgrade software via ethernet rather than serial, but could not find anything by serching the board... Anybody remembers?
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#232866 - 08/09/2004 17:05 Re: Upgrading player software via ethernet... [Re: Taym]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Upgrader - one of Mark's creations. Click the Hijack link up top...
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#232867 - 08/09/2004 17:10 Re: Upgrading player software via ethernet... [Re: genixia]
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
That's True! Thank you!

I got the .tar file, and inside there's an 'UPGRADER' file which does not seems to be a windows executable, which is what i need now... ?
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#232868 - 08/09/2004 18:07 Re: Upgrading player software via ethernet... [Re: Taym]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
That's most likely a Linux executable. See if you can find a Win32 executable.
_________________________
Tony Fabris

Top
#232869 - 08/09/2004 18:11 Re: Upgrading player software via ethernet... [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
Ah, he's got one in the TGZ file, it's in the win32 subdirectory, but I think it requires cygwin. I'll mess with it and see if I can get it working and give instructions.
_________________________
Tony Fabris

Top
#232870 - 08/09/2004 18:17 Re: Upgrading player software via ethernet... [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
Yeah, it requires cygwin1.dll, which Mark does not include in the TGZ file. I don't think you're allowed to redistribute cygwin anyway, so that's probably why.

I have a version of cygwin1.dll that I use for FindEmpeg, but it doesn't work with Mark's program. I get the error message:

"The procedure entry point __getreent could not be located in the dynamic link library cygwin1.dll".

I suppose I need a different version of Cygwin.

This is why I gave up on trying to use it a long time ago and just said "screw it, I'll use the serial cable." Why does this stuff have to be so hard?
_________________________
Tony Fabris

Top
#232871 - 08/09/2004 18:24 Re: Upgrading player software via ethernet... [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
God, the process for getting the newest Win32 version of Cygwin is terribly and unnecessarily convoluted. Why does this stuff have to be so hard? All I want is one fucking DLL.
_________________________
Tony Fabris

Top
#232872 - 08/09/2004 18:39 Re: Upgrading player software via ethernet... [Re: tfabris]
ricin
veteran

Registered: 19/06/2000
Posts: 1495
Loc: US: CA
Uhmmm... You can download just the DLL from here: http://cygwin.com/snapshots/
_________________________
Donato
MkII/080000565
MkIIa/010101253
ricin.us

Top
#232873 - 08/09/2004 18:40 Re: Upgrading player software via ethernet... [Re: tfabris]
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
Thanks for your efforts Tony. I totally agree in this being totally convoluted.

I did all this successfully in the past, but now I'm not at home (which is why I don't have a serial cable) and I am doing all over again. I completely forgot everything. I am going to write a doc for the windows users, hoing it helps, and give it to you to put in the FAQ, if you agree.

Anyway, here's what I did so far (I made some progress, and I need to complete this hopefully by tonight):

1) Got the upgrader_0.8_cygwin.exe file attached by Mataglap (IIRC) in this board. I found and lost it Here is the versione 0.6 http://empegbbs.com/ubbthreads/showflat....true#Post197549
0.8 must be somewhere else on the board.

2) Got the cygwin1.dll

I now need ncftpput and gunzip. They have to be in path in order to make the whole thing work. I think I found ncftpput here: http://www.ncftp.com/download/dlf2.html . I downloaded and installed the win32 version, and from the installation dir I took ncftpput.exe and put it in path.

I am now lookin for gunzip. Hopefully I'll succeed. I'll post as I'm done...
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#232874 - 08/09/2004 18:52 Re: Upgrading player software via ethernet... [Re: ricin]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
Quote:
You can download just the DLL from here: http://cygwin.com/snapshots/


And why doesn't it say that on the main page, or in its FAQ that's linked from the main page? At the top of the main page is a very convoluted "Setup.exe" installer that tries to put in a bunch of utilities that I don't need, and which takes forever to expand and uncheck each one. It also says on the main page that it's only distributed to people with a Red Hat Support contract, which is confusing.

Anyway, I've now got a copy of a working version of the DLL here, too, for anyone that wants it.

All you need to do is get Mark's TGZ of the upgrader utility at his site, which includes those other utilities such as gunzip, unzip it with subfolders, then get cygwin1 here and unzip it in the same directory as upgrader-cygwin.exe and run it from there.

Top
#232875 - 08/09/2004 18:57 Re: Upgrading player software via ethernet... [Re: tfabris]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Quote:
Yeah, it requires cygwin1.dll, which Mark does not include in the TGZ file. I don't think you're allowed to redistribute cygwin anyway, so that's probably why.


Cygnus was at the pinnacle of the open source movement, and not allowing redistribution seems very contrary to that, so I'm inclined to think not. But I'm too lazy to check.

Top
#232876 - 08/09/2004 19:05 Re: Upgrading player software via ethernet... [Re: tfabris]
ricin
veteran

Registered: 19/06/2000
Posts: 1495
Loc: US: CA
I believe you also need to provide the source for the DLL you're offering in order to be compliant with the GPL.

http://cygwin.com/licensing.html
_________________________
Donato
MkII/080000565
MkIIa/010101253
ricin.us

Top
#232877 - 08/09/2004 19:05 Re: Upgrading player software via ethernet... [Re: tfabris]
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
Edit: ok, I'm trying this too... I found the subdir in the archive.

Thank you again.


Edited by taym (08/09/2004 19:06)
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#232878 - 08/09/2004 19:08 Re: Upgrading player software via ethernet... [Re: Taym]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
When I open Mark's file with Winzip, I see a couple of subdirectories full of several different files. Among those files is a subdirectory called "Win32" with three executable files in it.

I don't know what WinRar's problem is, try Winzip instead.
_________________________
Tony Fabris

Top
#232879 - 08/09/2004 19:33 Re: Upgrading player software via ethernet... [Re: tfabris]
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
For some reason Winzip (9.0) did not even opened the file.

However, I'm giving up. I eventually opened the targz file, found all the files, tried them, tried installing cygwin completely and working in the cygwin environment. Nothing. The player seems not to notice that someting is being sent to it. I'll try with a serial when I get it.
When I'm home I'll find the doc I worote for myslef and post it here, hoping it helps somebody else.
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#232880 - 08/09/2004 19:36 Re: Upgrading player software via ethernet... [Re: Taym]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
Quote:
The player seems not to notice that someting is being sent to it.


Are you giving it the proper address? Is Hijack properly responding to HTTP and FTP requests? Have you set passwords in the player to prevent people on the same network from accessing FTP and HTTP? See if you can connect to that address with your web browser.

If you can't connect at all to the address, is the player in DC/Car mode? By default, hijack's FTP features are disabled in DC mode.
_________________________
Tony Fabris

Top
#232881 - 08/09/2004 21:05 Re: Upgrading player software via ethernet... [Re: tfabris]
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
I can ping, ftp, and http the adress.
No password is required.
I disabled my firewall.

It seems to me there's some other prolem I can't figure out.
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#232882 - 09/09/2004 23:51 Re: Upgrading player software via ethernet... [Re: Taym]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
ncftpput in the right place?
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#232883 - 10/09/2004 17:28 Re: Upgrading player software via ethernet... [Re: genixia]
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
It was. It actually was in the local directory, in a dir which is in the path variable, in c:\windows, in c:\windows\stsrem32 (so three times in the path variable). Nothing. Also, now that I am back home I verified and I was doing exaclty what I had previously successfully done. Only difference, I was using a crossed cable. I doubt that was the problem, though, since I could ping, ftp, http my player.
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#232884 - 10/09/2004 18:37 Re: Upgrading player software via ethernet... [Re: Taym]
image
old hand

Registered: 28/04/2002
Posts: 770
Loc: Los Angeles, CA
oh! oh! i know! you NEED to setup a cygwin enviornment, because mark lord has hard wired /dev/null redirection into the ncftpput execs. hence, it hangs at that point. relevant stuff here, never replied to:
Quote:
try this. its everything u need, even findempeg. just use the up.bat script. there are quirks tho. since you're not in a cygwin bash shell, /dev/null isn't avaliable, so you wont auto-standby nor reboot. i probably can change it to ^Z but i'm lazy. also, findempeg has trouble when you have two empegs. modify the up.bat to accept a serial# if thats the case. put latest cygwin1.dll in the unzipped folder.


Edited by image (10/09/2004 18:39)

Top
#232885 - 10/09/2004 18:43 Re: Upgrading player software via ethernet... [Re: image]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
Isn't there any way to port this thing to Windows in such a way that you don't need to install the full cygwin environment?
_________________________
Tony Fabris

Top
#232886 - 10/09/2004 19:21 Re: Upgrading player software via ethernet... [Re: tfabris]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
I can't imagine it couldn't be ported directly to Windows, but I can't imagine Mark would do it, either.

Top
#232887 - 11/09/2004 00:41 Re: Upgrading player software via ethernet... [Re: image]
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
Quote:
you NEED to setup a cygwin enviornment


Oh, true! That's another difference between my previous attempt and this one! I had installed completely Cygwin, before! This time I was simply using the .dll! I have no time to verify this, nor I feel like doing it at this point (I eventually waited to get a serial cable), but it does sound right!

As to porting to Windows, is the source code available somewhere? I am not a good programmer, but I can ask some good friends. Having a W32 upgrader.exe would be nice.
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#232888 - 11/09/2004 03:23 Re: Upgrading player software via ethernet... [Re: Taym]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
LOL. You should get yourself a Knoppix disc.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#232889 - 11/09/2004 12:08 Re: Upgrading player software via ethernet... [Re: Taym]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Does anyone happen to know if Mark's upgrader is just the serial upgrader that writes to a /proc file or something instead of the serial line? If so, I have a Java port of the serial upgrader that could be trivially converted over to use an FTP stream instead of a serial stream. If that would be useful to people that is ...

Top
#232890 - 11/09/2004 16:12 Re: Upgrading player software via ethernet... [Re: mschrag]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
It splits the upgrade apart and writes to the appropriate /dev files for the disk slice, or /proc files for flash, iirc.

And whoever asked: well, I assume you can find the source somewhere on the Hijack site, and I know it's been posted on the bbs as an attachment.

I can probably find the 0.8 source if you need it.

Top
#232891 - 12/09/2004 00:02 Re: Upgrading player software via ethernet... [Re: mschrag]
image
old hand

Registered: 28/04/2002
Posts: 770
Loc: Los Angeles, CA
this feature gets popular around the times a new player is released, so that people can go back and forth much quicker between versions. so yeah, if java can do it trivially, i say it would be really handy, especially when a public alpha rears its ugly head. (still montering www.empeg.com/v3alpha hourly btw). i don't believe it took this long last year between a new release and the euromeet.

Top
#232892 - 13/09/2004 23:47 Re: Upgrading player software via ethernet... [Re: genixia]
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
Quote:
LOL. You should get yourself a Knoppix disc.


Maybe. Or maybe I should get myself a serial cable. And it's much more likely that I leave at home a Knoppix CD than a serial cable.
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#232893 - 14/09/2004 13:56 Re: Upgrading player software via ethernet... [Re: mschrag]
Derek
addict

Registered: 16/08/1999
Posts: 453
Loc: NRW, Germany
being a Mac user, I'd find it pretty useful! It's a pain having to bring a Win32 laptop home from work to do upgrades.
_________________________
(list 6284, Mk1 S/N 00299 4GB blue [sold]. Mk2 S/N 080000094 20GB blue)

Top
#232894 - 14/09/2004 15:12 Re: Upgrading player software via ethernet... [Re: Derek]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
Quote:
being a Mac user, I'd find it pretty useful

Mark's ethernet upgrader does work (quite well) on OS X.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
Page 1 of 2 1 2 >