Unoffical empeg BBS

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

Page 1 of 3 1 2 3 >
Topic Options
#22676 - 19/11/2000 15:21 New displayserver 1.1
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
I have got a new version of displayserver
Due to some events (Sinterklaas is in the country) I am releasing a little later than promised.
It's got the following extra features :
- playlist browsing in your web-browser
- streaming of MP3-files through M3U files.
- authentication
- System status
- variable size bitmap for applet background

It's still rather buggy, so when you find something unusual, please let me know and I get into it.
Installation is done through a single install-script (install.sh.gz) which can be downloaded from http://empeg.dyndns.org/empeg/displayserver_with_ir.1.1
I saw the jempeg install-script, (which reminded me a lot of the old sun-package format) and decided to make something similar.
I added an autostart feature in the install script ( on userrequest ), but I haven't tested it thorougly. It renames the original /sbin/init executable to /sbin/init.before_displayserver and writes a shell script in init's place.
I haven't got a clean empeg, so maybe someone who isn't afraid of reinstalling an image could try it, others should not use this option till positive responses are received.

The kernel-patch was also rewritten as it was just pure luck the old hack did work (some stupid programming mistakes). For some strange reason the messed-up display after reboot also disappeared.

Anyway, try it and let me know what you think...

Frank van Gestel
_________________________
Frank van Gestel

Top
#22677 - 19/11/2000 15:28 Re: New displayserver 1.1 [Re: fvgestel]
ricin
veteran

Registered: 19/06/2000
Posts: 1495
Loc: US: CA
I can't seem to get to this site. None of the DNS servers can find it. Could you tell me an IP maybe?

________
Donato
MkII/Blue/40GB/080000565


_________________________
Donato
MkII/080000565
MkIIa/010101253
ricin.us

Top
#22678 - 19/11/2000 15:32 Re: New displayserver 1.1 [Re: ricin]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
Sorry, I included my private domainname; I've edited the original post to point to http://empeg.dyndns.org/empeg/displayserver_with_ir.1.1/

Frank van Gestel
_________________________
Frank van Gestel

Top
#22679 - 19/11/2000 15:50 Re: New displayserver 1.1 [Re: fvgestel]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
Anyone who want's to see a live demo, can go to http://empeg.dyndns.org:13470

Frank van Gestel
_________________________
Frank van Gestel

Top
#22680 - 19/11/2000 19:28 Re: New displayserver 1.1 [Re: fvgestel]
borislav
addict

Registered: 30/04/2000
Posts: 420
Loc: Sunnyvale, CA, USA
Anyone who want's to see a live demo, can go to http://empeg.dyndns.org:13470

Username and password?

Thanks,
Borislav


Top
#22681 - 19/11/2000 20:34 Re: New displayserver 1.1 [Re: fvgestel]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
VERY nice - works nicely for me, except for 2 things -

First off, the init that it created was blank, although the backup was made as promissed...

Second, M3U (using winamp) comes back w/ 401 authorization is required - individual tracks work though; this is using the latest version of Winamp...

Anyone know of an mp3 player which will take authorization into account?

-mark

MK2: 36gb
Tivo: 90gb
CPU: 120gb
...I think drive manufacturers love me!

Edited by dionysus on 20/11/00 03:54 AM.

_________________________
http://mvgals.net - clublife, revisited.

Top
#22682 - 19/11/2000 21:07 Re: New displayserver 1.1 [Re: fvgestel]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
Another note - calling the display server directly by /usr/local/displayserver/displayserver doesn't work (it looks like it's working, but when it comes time to displaying the empeg screen, it shows a gray box..) going to the directory and calling ./displayserver works though - path problem?
-mark

MK2: 36gb
Tivo: 90gb
CPU: 120gb
...I think drive manufacturers love me!
_________________________
http://mvgals.net - clublife, revisited.

Top
#22683 - 19/11/2000 22:42 Re: New displayserver 1.1 [Re: borislav]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
username: ttt
password: ttt

Frank van Gestel
_________________________
Frank van Gestel

Top
#22684 - 19/11/2000 22:46 Re: New displayserver 1.1 [Re: fvgestel]
rob
carpal tunnel

Registered: 21/05/1999
Posts: 5335
Loc: Cambridge UK
Unfortunately the server now seems to be down..

Rob



Top
#22685 - 20/11/2000 08:44 Re: New displayserver 1.1 [Re: fvgestel]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
....another suggestion; would be nice to reroute the arrow keys in the displayapplet to the buttons; and maybe even a double-sized option for us blind (...or working on 10.4" laptop screen) people...
-mark

MK2: 36gb
Tivo: 90gb
CPU: 120gb
...I think drive manufacturers love me!
_________________________
http://mvgals.net - clublife, revisited.

Top
#22686 - 20/11/2000 12:02 Re: New displayserver 1.1 [Re: dionysus]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands

> First off, the init that it created was blank
The empty init should be fixed, the applet should also work normally now

> M3U (using winamp) comes back w/ 401 authorization is required
That's true; you can shut off authentication by giving an argument to displayser
so instead of starting with
# ./displayserver

use
# ./displayserver noauth

In fact you can give it any argument you like it only checks for the parameter.

I'm currently implementing some configfile.

You can use mediaplayer, realplayer or sonique to use authentication.
The latest realplayer visuals are great...


Frank van Gestel
_________________________
Frank van Gestel

Top
#22687 - 20/11/2000 12:10 Re: New displayserver 1.1 [Re: rob]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
I have to spend a lot of time with my empeg this week, mainly in the car.
Alas, the empeg is back online:
http://empeg.dyndns.org:13470
username : ttt
password : ttt


Frank van Gestel
_________________________
Frank van Gestel

Top
#22688 - 20/11/2000 12:15 Re: New displayserver 1.1 [Re: fvgestel]
debauch
enthusiast

Registered: 22/03/2000
Posts: 217
Loc: West Midlands, England
Thought people may be interested to know how I, a numpty regarding these things, got on installing this.


- Apply new kernel

- Rename install.sh to install.sh.mpg and upload.

- Look at the CSV to get the FID of the upload, turn that into hex.

- Realise that I don't have the developer image installed, install it.

- Get to the bash prompt and use 'rwm' command to mount /empeg rw.

- Create dir /empeg/var/temp and copy install.sh into it. Set the permissions and execute ./install.sh

- Watch it fall over horribly because / wasn't mounted rw.

- Spend ages working out how to mount / rw.

- Run install.sh again. Choose to have display server started on boot.

- Reboot. Get stuck at init# prompt (there were some version numbers there, but I don't remember them)

- Realise that nothing's mounted, realise that I don't have a clue what to do.

- Reinstall developer image, wait ages because database needs rebuilding after I moved install.sh out.

- Reinstall kernel

- Mount everything rw

- Run install.sh. Choose not to have it start on boot.

- Test. Everything seems fine (view playlists, play songs), but...

- Browser gets stuck at "Opening page http://192.168.1.7/empeg.html" when I try and open either "empegApplet in new window" or "empegApplet in current window".

- That's it. Any ideas?

If anybody wants to see how far I've gone, have a look on http://client74-220.hispeed.ch:13470/. I'll leave it up for a couple of hours.

Nick.


--
18Gb blue - s/n 080000299 (original queue position 8724)



OK. As a late addition, displayserver's been running for a few minutes and I've got a few of these come over the serial port:

displayserver: memory violation at pc=0x40073894, lr=0x020036b0 (bad address=0x0
0000000, code 2)
pc : [<40073894>] lr : [<020036b0>]
sp : bffff508 ip : 40073890 fp : bffffd88
r10: 400ff128 r9 : 02003404 r8 : 02003e28
r7 : 02000abc r6 : 4000c2a8 r5 : 00000001 r4 : bffffdc4
r3 : 00000000 r2 : 00000400 r1 : 00000000 r0 : 00000000
Flags: nzCv IRQs on FIQs on Mode USER_32 Segment user
Control: D01A917D Table: D01A917D DAC: 00000015
Function entered at [<02003404>] from [<40037040>]
r4 = BFFFFDC4
Function entered at [<40036ee4>] from [<02000e98>]
r10 = 4001D858 r9 = 00000000 r8 = 00000000 r7 = 00000000
r6 = 02000E74 r5 = 00000000 r4 = 4001E5EC


Any ideas?

Edited by debauch on 20/11/00 08:29 PM.

_________________________
-- 18GB red s/n 080000299

Top
#22689 - 20/11/2000 12:53 Re: New displayserver 1.1 [Re: debauch]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
dis you start it up with ./displayserver ?
the correct way would be :

# cd <install-dir>
# ./displayserver

where <install-dir> is the directory you unpacked the install.sh file

the crash at the end is probably caused by the applet not shutting down the connection it opened to retrieve fascia.jpg


Frank van Gestel
_________________________
Frank van Gestel

Top
#22690 - 20/11/2000 13:06 Re: New displayserver 1.1 [Re: fvgestel]
debauch
enthusiast

Registered: 22/03/2000
Posts: 217
Loc: West Midlands, England
In reply to:

# cd
# ./displayserver


I had started it with "/usr/local/displayserver/displayserver", but even changing to the directory first yields the same results.

Nick.




--
18Gb blue - s/n 080000299 (original queue position 8724)

_________________________
-- 18GB red s/n 080000299

Top
#22691 - 20/11/2000 13:18 Re: New displayserver 1.1 [Re: debauch]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
I can use it remotely though...

Frank van Gestel
_________________________
Frank van Gestel

Top
#22692 - 20/11/2000 13:53 Re: New displayserver 1.1 [Re: debauch]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
In reply to:

- Look at the CSV to get the FID of the upload, turn that into hex.


you can also find out the file by typing the following commands in the shell :


# cd /drive0/fids
# ls -lrt *0

the file you last uploaded should be at the bottom of the list

In reply to:

- Watch it fall over horribly because / wasn't mounted rw.


It should check at startup now that everyting is mounted readwrite.
If it isn't it is done automatically. At the end of the script everything is mounted ro again

In reply to:

- Reboot. Get stuck at init# prompt (there were some version numbers there, but I don't remember them)


the init stuff should now be working; I've tested it with my own empeg.



Frank van Gestel

_________________________
Frank van Gestel

Top
#22693 - 20/11/2000 14:18 Re: New displayserver 1.1 [Re: fvgestel]
debauch
enthusiast

Registered: 22/03/2000
Posts: 217
Loc: West Midlands, England
In reply to:

I can use it remotely though...


AH. No. Problem solved.

Why is there never a Tony around when one needs a good dope slap?

I'd disabled Java in IE way way back and had forgotten all about it. It was only when it started working with Netscape that I wondered what the hell I'd done!

Cheers.

Nick.


--
18Gb blue - s/n 080000299 (original queue position 8724)

_________________________
-- 18GB red s/n 080000299

Top
#22694 - 20/11/2000 14:33 Re: New displayserver 1.1 [Re: debauch]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31578
Loc: Seattle, WA
Why is there never a Tony around when one needs a good dope slap?

I'm around, I sometimes just choose to allow folks to self-administer.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#22695 - 20/11/2000 15:12 Re: New displayserver 1.1 [Re: fvgestel]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
Hmm.. I think there might be a problem with long playlists.. I have an "unsorted" directory which has 200-300 songs in it - trying to get a list from that playlist displays about half the list, then hangs..
-mark

MK2: 36gb
Tivo: 90gb
CPU: 120gb
...I think drive manufacturers love me!
_________________________
http://mvgals.net - clublife, revisited.

Top
#22696 - 20/11/2000 15:21 Re: New displayserver 1.1 [Re: fvgestel]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
Hmm.. I can't get sonique to work w/ auth, and realplayer ASKS for a username/pasword, but still has problems... glad to see there's a noauth option though...
-mark

MK2: 36gb
Tivo: 90gb
CPU: 120gb
...I think drive manufacturers love me!
_________________________
http://mvgals.net - clublife, revisited.

Top
#22697 - 20/11/2000 15:26 displayserver 1.1 - dualdrive bug... [Re: fvgestel]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
OK - found a bug - if a file and it' description get split up between two different drives, then the program fails to download that file... i.e.
File 13640 is in /drive1/fids/13640, while
file 13641 is in /drive0/fids/13641 - your app fails in this case, although the debug screen doesn't show an error (and in fact shows the file going through...) maybe check if the file exists, and if it doesn't check the other drive?
-mark

MK2: 36gb
Tivo: 90gb
CPU: 120gb
...I think drive manufacturers love me!
_________________________
http://mvgals.net - clublife, revisited.

Top
#22698 - 22/11/2000 16:07 Re: displayserver 1.1 - dualdrive bug... [Re: dionysus]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
> maybe check if the file exists, and if it doesn't check the other drive?

I thought I programmed it this way :
check if file exists in /drive1/fids
if so , change directory to /drive1/fids
if not change to /drive0/fids
read file <fidnumber>

It seemed I was changing directories correctly, but was reading an absolute filename ("/drive0/fids/<fidnumber>")

It is fixed now
The process list in system-info has also been updated; it now shows the correct terminal name and vsize and rss now report in Kb.
I've attached the new executable and source to this post; install.sh has been updated...


Frank van Gestel


Attachments
1-22002-displayserver.zip (21 downloads)

_________________________
Frank van Gestel

Top
#22699 - 22/11/2000 20:14 Re: displayserver 1.1 - dualdrive bug... [Re: fvgestel]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
Hey Frank,

Just to confirm, it seems to work now... (now if we could only get it to "stream" what it's actually playing...)
-mark

MK2: 36gb
Tivo: 90gb
CPU: 120gb
...I think drive manufacturers love me!
_________________________
http://mvgals.net - clublife, revisited.

Top
#22700 - 24/11/2000 11:58 Re: displayserver 1.1 [Re: fvgestel]
Smoker_Man
member

Registered: 29/08/2000
Posts: 165
Loc: Calgary, CANADA
This is one kick butt util!!

Good job Frank!

I have one question, how do I apply the kernel patch? I am a linux simpleton, so a few directions would be appreciated!

Thaks for a great product!

_________________________
2x160Gb MkII Lighted Buttons 080000449

Top
#22701 - 24/11/2000 12:14 Re: displayserver 1.1 [Re: Smoker_Man]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
hey; search for Tony's (tfabris) logoeditor - it has a feature that let's you apply a kernal..
-mark

...proud to have owned an Empeg since 00287
_________________________
http://mvgals.net - clublife, revisited.

Top
#22702 - 24/11/2000 12:16 Re: displayserver 1.1 [Re: dionysus]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31578
Loc: Seattle, WA
hey; search for Tony's (tfabris) logoeditor - it has a feature that let's you apply a kernal..

Is that what he was asking? I though he was asking how to apply a code patch to the kernel source code based on a .diff file, which is a completely different question.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#22703 - 24/11/2000 12:23 Re: displayserver 1.1 [Re: tfabris]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
...I think what he *meant* to ask is how to upload the included kernal file that come w/ the displayapplet..:)
-mark

...proud to have owned an Empeg since 00287
_________________________
http://mvgals.net - clublife, revisited.

Top
#22704 - 24/11/2000 13:13 Re: displayserver 1.1 [Re: dionysus]
Smoker_Man
member

Registered: 29/08/2000
Posts: 165
Loc: Calgary, CANADA
wow, I guess I should clarify!
How do I patch the kernel with the patch that comes with the display applet?
The kernel.patch file ??

_________________________
2x160Gb MkII Lighted Buttons 080000449

Top
#22705 - 24/11/2000 14:04 Re: displayserver 1.1 [Re: Smoker_Man]
Smoker_Man
member

Registered: 29/08/2000
Posts: 165
Loc: Calgary, CANADA
The applet works well, other than my previous post, but I am getting a few errors, or what I think are errors:
My reading skills allow me to deduce that my problem is the same as debauch's, however my linux skills (none) allow me to scratch my head and (hopefully) believe nothing is amiss.

STREAM1
displayserver: memory violation at pc=0x40073894, lr=0x020036a4 (bad address=0x0
0000000, code 2)
pc : [<40073894>] lr : [<020036a4>]
sp : bffff528 ip : 40073890 fp : bffffda8
r10: 400ff128 r9 : 020033f8 r8 : 02003dcc
r7 : 02000abc r6 : 4000c2a8 r5 : 00000002 r4 : bffffde4
r3 : 00000000 r2 : 00000400 r1 : 00000000 r0 : 00000000
Flags: nzCv IRQs on FIQs on Mode USER_32 Segment user
Control: C807D17D Table: C807D17D DAC: 00000015
Function entered at [<020033f8>] from [<40037040>]
r4 = BFFFFDE4
Function entered at [<40036ee4>] from [<02000e98>]
r10 = 4001D858 r9 = 00000000 r8 = 00000000 r7 = 00000000
r6 = 02000E74 r5 = 00000000 r4 = 4001E5EC
STREAM1

Mk2, using developer image 1.01

Thanks


_________________________
2x160Gb MkII Lighted Buttons 080000449

Top
#22706 - 24/11/2000 16:31 Re: displayserver 1.1 [Re: Smoker_Man]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
I've seen it before and am still investigating...
The problem occurs when the applet is shut down without a proper network-connection shutdown.

Frank van Gestel
_________________________
Frank van Gestel

Top
#22707 - 24/11/2000 16:33 Re: displayserver 1.1 [Re: Smoker_Man]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
Applying a kernel-patch also involves recompiling the kernel.
This requires you to install a cross-compiler on a linux PC, are you sure you do not just want to upload the precompiled kernel-image?

Frank van Gestel
_________________________
Frank van Gestel

Top
#22708 - 25/11/2000 12:45 Re: displayserver 1.1 [Re: fvgestel]
Smoker_Man
member

Registered: 29/08/2000
Posts: 165
Loc: Calgary, CANADA
I have figured out how to apply a kernel patch, and it wasnt all that hard!
Thanks for a great applet, the install goes a fair bit nicer with the kernel patch installed, but running it at work on my workgroup network, the applet cannot handle more than two or three users at a time streaming the m3u playlist.
Is it possible to create the m3u file in the parent directories? eg dir Artist -> two + album dir's -> tunes in each album, m3u file resides here. Can m3u be created in album level, or in artist level?


Now if I can only figure out how to console into the empeg from a linux box....

_________________________
2x160Gb MkII Lighted Buttons 080000449

Top
#22709 - 25/11/2000 17:52 Re: displayserver 1.1 [Re: Smoker_Man]
Ezekiel
pooh-bah

Registered: 25/08/2000
Posts: 2413
Loc: NH USA
Frank,
I'm having trouble getting to your ftp site via the links posted above. Could you please check it? I've got the display server applet in but not your kernel, which is such a tease.

Follow on question 1: with your kernel installed, can I also apply RJLov's Voladj kernel tweak?

Follow on question 2: has anyone seen/used a palm or pocketPC device with wireless ethernet & a web browser beefy enough to handle the displayserver applet? I think you all can see where I'm going, ie universal remote for around the house... I see a few with wireless 802.11 cards which should do the trick bandwidth-wise, but don't know if the browsers are well enough supported in them to use display server.

-Zeke

ps- WOW!

pps Uh, nevermind about the FTP link. Just saw your post in the 'Getting mp3 back..." thread.

just say you weren't paying much attention...

Edited by Ezekiel on 26/11/00 01:02 AM.

_________________________
WWFSMD?

Top
#22710 - 26/11/2000 00:08 Re: displayserver 1.1 [Re: Ezekiel]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31578
Loc: Seattle, WA
Follow on question 1: with your kernel installed, can I also apply RJLov's Voladj kernel tweak?

You would have to combine both sets of changes to the kernel source code (both Richard's and Frank's changes) and compile your own kernel from that. (There can be only one kernel uploaded to the Empeg.) This is do-able, if you're willing to give it a whirl.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#22711 - 26/11/2000 15:12 Re: New displayserver 1.1 [Re: fvgestel]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
Saweet. Install went smooth, everything works great....

But..

I want the noauth option so that i can use winamp to stream the m3u's.... Here's the problem:

I modified the init with the "noauth" argument so that it reads as follows:

#!/bin/bash
/bin/mount -n -o nocheck,rw /proc
/bin/mount -n -o nocheck,ro /dev/hda4 /drive0
cd /usr/local/displayserver
./displayserver noauth
exec /sbin/init.before_displayserver

When i boot the empeg with this init, it gives me a prompt that reads "init-2.03#" and the display hangs on my custom bootup logo. If i remove the "noauth" argument, then everything boots up hunky doory. Sooo, what am i missing? Is it a formatting issue?

PS- this is with all the current software, dev image 1.01 and the newest displayserver.

Thanks


|| loren.cox
|| 080000446
_________________________
|| loren ||

Top
#22712 - 26/11/2000 15:29 Re: New displayserver 1.1 [Re: loren]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
Did you perhaps copy the old init-script to a new one?
If so, you should set the execute-bit on the new init-script using:

# chmod +x /sbin/init


Frank van Gestel
_________________________
Frank van Gestel

Top
#22713 - 26/11/2000 16:27 Re: New displayserver 1.1 [Re: fvgestel]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
Tried that with no success. Same result. Any other ideas?


|| loren.cox
|| 080000446
_________________________
|| loren ||

Top
#22714 - 26/11/2000 22:47 Re: New displayserver 1.1 [Re: loren]
scoco
member

Registered: 10/06/1999
Posts: 109
Loc: St. Louis, MO
I'm having the exact same problem.

Here's my permissions:

init-2.03# ls ini* -l
-rwxrwxr-x 1 0 0 184 Nov 27 22:49 init
-rwxr-xr-x 1 0 0 8900 Sep 28 16:53 init.before_displayserve
r
-rwxrwxr-x 1 0 0 173 Nov 27 22:15 init.sco (this is my backup)


Top
#22715 - 26/11/2000 23:48 Re: New displayserver 1.1 - Problem Solved! [Re: scoco]
scoco
member

Registered: 10/06/1999
Posts: 109
Loc: St. Louis, MO
I figured it out... I rememberd how windows text files are different than linux text files...

I had just uploaded a text file that I made with notepad to the empeg for the init and it didn't work right. so I redid the init using echo on the empeg like this:

echo '#!/bin/bash' >init
echo 'blah blah'>>init

then I rebooted and it worked.


Top
#22716 - 27/11/2000 09:53 Re: New displayserver 1.1 - Problem Solved! [Re: scoco]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31578
Loc: Seattle, WA
Ah, yeah. I ran into the exact same problem when I was trying to set up an init for a bootup selecter program. I should have thought of that. Good catch.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#22717 - 27/11/2000 11:17 Re: New displayserver 1.1 - Problem Solved! [Re: scoco]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
Tada! i had done the exact same thing. Good catch... I'll try the good ol' echo tonight.


|| loren.cox
|| 080000446
_________________________
|| loren ||

Top
#22718 - 27/11/2000 11:44 Re: New displayserver 1.1 - Problem Solved! [Re: loren]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31578
Loc: Seattle, WA
Note that you don't have to do the "echo" thing. If you've got the file on your PC, you can edit it with a binary editor such as UltraEdit and remove the offending characters with a search-and-replace.

The problem is that DOS/Windows files have both a carriage return (0x0d) and a linefeed (0x0a) at the end of every line. Linux only wants one of those characters, not both.

Unfortunately, I don't remember right now whether it's the CR or the LF that indicates a new line in Linux. Probably the LF, so try that first and see if it works. Just do a search and replace, telling it to replace all instance of 0d with "nothing", and then re-upload the file.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#22719 - 27/11/2000 11:50 Re: New displayserver 1.1 - Problem Solved! [Re: tfabris]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
You can also use the unix command sed ( stream editor ) on the empeg to change the file :

cat <original file> | sed 's/^M//' > <new file>

the ^M character must be generated by first pressing CTRL-V and then CTRL-M

Frank van Gestel
_________________________
Frank van Gestel

Top
#22720 - 27/11/2000 13:54 Re: New displayserver 1.1 - Problem Solved! [Re: tfabris]
ricin
veteran

Registered: 19/06/2000
Posts: 1495
Loc: US: CA
TextPad is VERY useful for all text-based editing. It has syntax highlighting for just about everything you can think of (languages/configuration files), and it can save in UNIX format.


________
Donato
MkII/Blue/40GB/080000565


_________________________
Donato
MkII/080000565
MkIIa/010101253
ricin.us

Top
#22721 - 27/11/2000 19:30 Re: New displayserver 1.1 - Problem Solved! [Re: tfabris]
borislav
addict

Registered: 30/04/2000
Posts: 420
Loc: Sunnyvale, CA, USA
Unfortunately, I don't remember right now whether it's the CR or the LF that indicates a new line in Linux. Probably the LF, so try that first and see if it works.

Yup, it's LF.

Borislav



Top
#22722 - 27/11/2000 20:51 Re: New displayserver 1.1 - Problem Solved! [Re: ricin]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
Thanks for the pointer to TextPad. Saved in UNIX format and the init works fine.

Just like to say nice job to Frank once again. I can't wait to see what else you do with this thing!!


|| loren.cox
|| 080000446
_________________________
|| loren ||

Top
#22723 - 28/11/2000 13:49 Re: New displayserver 1.1 [Re: fvgestel]
Smoker_Man
member

Registered: 29/08/2000
Posts: 165
Loc: Calgary, CANADA
Is it possible for the user of displayserver to select their display colour?
Your default is green, but is it possible to put in blue or amber etc?

Just a little nitpicky question, if not possible I am still rather happy.

Thanks!

_________________________
2x160Gb MkII Lighted Buttons 080000449

Top
#22724 - 28/11/2000 15:37 Re: New displayserver 1.1 [Re: Smoker_Man]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
Yes it is,
Choose : displayserver in current window.
Save the html file with the applet in it to you local computer ( File - Save as... )
Edit the saved HTML file; all variables are pretty obvious...
reload the local file in your webbrowser...

Frank van Gestel
_________________________
Frank van Gestel

Top
#22725 - 29/11/2000 16:31 Re: New displayserver 1.1 [Re: fvgestel]
Smoker_Man
member

Registered: 29/08/2000
Posts: 165
Loc: Calgary, CANADA
Perfect thanks!
Now to see how custom colours would look in my car!

Anybody getting the idea of using this to put a nice, touch-screen display in the dash, hide the empeg, and control the empeg via the touch display?
Of course the display would probably have to run java, but what about those proposed e-book tablets ??

Just a thought...

_________________________
2x160Gb MkII Lighted Buttons 080000449

Top
#22726 - 03/12/2000 07:20 Re: New displayserver 1.1 - Problem Solved! [Re: tfabris]
Derek
addict

Registered: 16/08/1999
Posts: 453
Loc: NRW, Germany
Programmers File Editor is also a reasonably nice Freeware editor that allows you to save in "Dos" or "Unix" format. Unfortunately Alan Phillips has given up development and support for it, but it still has a lot of really nice features.

(list 6284, Mk1 S/N 00299 4GB blue [for sale]. Mk2 S/N 080000094 6GB blue)
_________________________
(list 6284, Mk1 S/N 00299 4GB blue [sold]. Mk2 S/N 080000094 20GB blue)

Top
#22727 - 03/12/2000 08:48 Re: New displayserver 1.1 [Re: fvgestel]
phaigh
addict

Registered: 04/11/1999
Posts: 649
Loc: Reading, UK
Finally got round to installing this - excellent stuff.

Three very minor feature requests:

1) Allow streaming of the individual .mp3 files as well as whole playlists (currently it downloads the entire mp3)
2) Templates for the .HTML outputs would be very groovy.
3) Ability to choose username/password via an external file (not sure if you can already do this)

That's it - Thanks for an awesome product!

I can see real uses on this at work - getting everyone streaming from my empeg!

Any ideas on how many streams the empeg will deal with concurrently - I've not got enough hardware to test this yet...

Cheers,

Paul.

Paul Haigh, Reg. 4120
(mk1) 6GB, Blue, 00254
(mk2) 12GB, Red, 00357
_________________________
Paul Haigh, Reg. 4120 (mk1) 6GB, Blue, 00254 (mk2) 12GB, Red, 00357

Top
#22728 - 05/12/2000 14:45 Re: New displayserver 1.1 [Re: fvgestel]
Smoker_Man
member

Registered: 29/08/2000
Posts: 165
Loc: Calgary, CANADA
Perhaps I should just lay off a few select substances, but does anyone know how to play multiple playlists generated with displayserver? (with Winamp)

ie: go into
\\artists\soundtrack\reservoir dogs\
and
\\artists\soundtrack\dazed and confused\

and listen to them both?

_________________________
2x160Gb MkII Lighted Buttons 080000449

Top
#22729 - 05/12/2000 14:55 Re: New displayserver 1.1 [Re: Smoker_Man]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31578
Loc: Seattle, WA
Have you tried "Enqueue as default action" in the Winamp preferences?

___________
Tony Fabris
_________________________
Tony Fabris

Top
#22730 - 05/12/2000 15:09 Re: New displayserver 1.1 [Re: tfabris]
Smoker_Man
member

Registered: 29/08/2000
Posts: 165
Loc: Calgary, CANADA
Tony, you are truly a gem at work!!

Thank you!

_________________________
2x160Gb MkII Lighted Buttons 080000449

Top
#22731 - 09/12/2000 13:27 Re: New displayserver 1.1 [Re: fvgestel]
Smoker_Man
member

Registered: 29/08/2000
Posts: 165
Loc: Calgary, CANADA
Hey Frank;
Is the fix posted for the remount of ./drive1 ?? (in the install.sh)

I am wondering as of the last post (not sure which thread) you had mentioned it was fixed, but the datestamp on your website shows no update.

I am wondering as I have run into problems where half of my mp3's are unavailable for streaming via displayserver, but the player software seems to find them allright.

Any ideas?
I have a MkII with two drives (18Gb each)
Or can I manually mount those drives/partitions?

_________________________
2x160Gb MkII Lighted Buttons 080000449

Top
#22732 - 09/12/2000 14:31 Re: New displayserver 1.1 [Re: Smoker_Man]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
I have added some code for mounting drive /dev/hdb, but now I received a mail that it should be /dev/hdc. I have two files for download now : installhdb.sh.gz & installhdc.sh.gz


Frank van Gestel
_________________________
Frank van Gestel

Top
#22733 - 09/12/2000 15:16 Re: New displayserver 1.1 [Re: fvgestel]
Smoker_Man
member

Registered: 29/08/2000
Posts: 165
Loc: Calgary, CANADA
Well, I re-applied the developer image. Then I installed the kernel image, then I ran the install script but before I did that I changed the permissions (chmod u+x install.sh), then ran the script.
It puked on me the first time, then ran properly the second time.
I then checked my drives, and both were mounted, /drive0 and /drive1, but then I fired up Emplode, and watched the synch with hyperterm open, and what I got was;
ext2fs_check_if_mount: No such file or directory while determining whether /dev/hda4 is mounted.
ext2fs_check_if_mount: No such file or directory while determining whether /dev/hdc4 is mounted.

So then I installed the installhdc.sh and I still recieved the above errors on synch, but some stuff I had recently put into the player was now accessible via the M3U files.
So for all intensive purposes it does look like it works. As the previous M3U file wouldnt connect in Winamp, it would queue, but would generate time-out errors on playback.
I then rebooted the player, and then re-ran the displayserver with the -noauth option, and it didnt work, then I tried noauth, and just about every combination thereof. Winamp still requires auth.
So, I have a functioning displayserver, but with undersired authorization, and I noticed at the main menu there is an option for system backup, is this the kernel or the whole kit-and-kaboodle with fids? (I never saved the backup.tar file, so I dont know)

Any ideas?

_________________________
2x160Gb MkII Lighted Buttons 080000449

Top
#22734 - 09/12/2000 15:38 Re: New displayserver 1.1 [Re: Smoker_Man]
Smoker_Man
member

Registered: 29/08/2000
Posts: 165
Loc: Calgary, CANADA
Well, it seems that whatever is now on my Empeg, its very unstable. So I have simply re-flashed with the the developer image.
The displayserver stability was decreasing with every reboot, and I had quite a few kernel panic's.
So, off it goes.
If you need some more detailed info Frank, dont hesitate to email me. I am sure your linux expertise can get this little problem cleared up.



Smoker_Man
#080000449 MkII - 36Gb Blue
_________________________
2x160Gb MkII Lighted Buttons 080000449

Top
#22735 - 09/12/2000 22:36 Re: New displayserver 1.1 [Re: fvgestel]
kazama
enthusiast

Registered: 11/11/2000
Posts: 202
Loc: Boston, MA
Ok, VERY happy now. Used the installhdc.sh.gz with the dual and it installs and works cleanly. All files seem to download properly and the slaved functions is perfect. There is one very minor thing. When I try to do a tar file tranfer of all files, it hangs at 3.99Gig. I have tried twice now with the same result.

No big deal because I can just download the songs individually now but you may want to look into it.

Greg


Top
#22736 - 10/12/2000 08:06 Re: New displayserver 1.1 [Re: kazama]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
I haven't really downloaded the entire tar myself. ( I don't have enough disk space ).
the 4 Gb filesize is probably choking tar...
I will break it up into smaller pieces. 10 or 20 seperate tar files or so...


Frank van Gestel
_________________________
Frank van Gestel

Top
#22737 - 10/12/2000 17:22 Re: New displayserver 1.1 [Re: fvgestel]
kazama
enthusiast

Registered: 11/11/2000
Posts: 202
Loc: Boston, MA
I guess I spoke too soon. After rebooting I found I had the standard 'no mounting of drive 1' problem I had before. So I have gotten really good at fixing this problem even though it keeps corrupting my database oh well. :-)

Here is the upside. I flashed the system and installed the installhdb.sh which went in fine. I selected the option to NOT have displayserver start up automatically which doesn't mess with the init scripts. Rebooted and ran displayserver and it seems to be kicking over now with full link-through downloading. I am going to try and re-do the tar download because I think the reason it stopped at 3.99 before is because I have about 8 Gig on the system split between the two disks so far and 4 Gig would be what is on /drive0. I will let you know the progress of this in a couple of hours.

Some things I noticed during this whole process and some questions I had:

installhdc.sh: Can you check and make sure that once you set /drive1 to hdc that the boot script mounts it at hdc? A quick look at the init script after install suggested that it was trying to be mounted as hdb which would be inconsistant with the script function.

Both installs: Check the init file you lay down for autostart because it doesn't seem to be mounting /drive1 automatically which causes the problems. If I run into probs again, I will find the error code to send to you.

Question: Is there a better way for us to post bugs like this to you or do you not mind that we are posting them to the BBS?

Thanks for all your work!!!!

Greg


Top
#22738 - 10/12/2000 19:28 Re: New displayserver 1.1 [Re: kazama]
kazama
enthusiast

Registered: 11/11/2000
Posts: 202
Loc: Boston, MA
Follow-up: The tar file stopped at 3.99 Gig again so I would say that 4 Gig is the limit for the transfer.

Greg


Top
#22739 - 11/12/2000 00:01 Re: New displayserver 1.1 [Re: kazama]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
You can allways email me : [email protected]

Frank van Gestel
_________________________
Frank van Gestel

Top
#22740 - 14/12/2000 13:50 Re: New displayserver 1.1 [Re: fvgestel]
JOEBLO
new poster

Registered: 14/12/2000
Posts: 3
Loc: Québec, Canada
hi fvgestel,
first i would like to say that what you did is great !!
I looked at your code and i am not of your level :)

But unfortunely not every options work on my mk 2:

-- I get the message " class empegApplet not found " in ie 5 and an ERROR in Netscape (in the status bar at the bottom).

-- when i encue the M3U, the password and user are not in the shortcut :
http:/123.123.123.123/name/song.mp3
and not
http://ttt:[email protected]/name/song.mp3

I have to edit manualy the *.mu3 generated to add ttt:ttt and then it work.

So what have i done ?

installed developper image with empegTool then the install.sh (using hyperterminal) then the zImage (529 888 bytes created 5 november 2000) with the logo editor.

i tried in windows NT4
iexplorer 5.00.3105 ...
netscape 4.76
emplode 1.01
displayserver 1.1

Thank again for the super addon
Jean-Christophe

_________________________
[green]Jean-Christophe[/green]

Top
#22741 - 14/12/2000 14:25 Re: New displayserver 1.1 [Re: JOEBLO]
phaigh
addict

Registered: 04/11/1999
Posts: 649
Loc: Reading, UK
Jean-Christophe

To remove the authentication you can run displayserver with the 'noauth' command line parameter. - Just edit the /bin/init to do this.

This works for me and stops Winamp chucking a fit.

HTH.

Paul.

Paul Haigh, Reg. 4120
(mk1) 6GB, Blue, 00254
(mk2) 12GB, Red, 00357
_________________________
Paul Haigh, Reg. 4120 (mk1) 6GB, Blue, 00254 (mk2) 12GB, Red, 00357

Top
#22742 - 14/12/2000 15:57 Re: New displayserver 1.1 [Re: JOEBLO]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
I looked at your code and i am not of your level :)
It's funny you said that...
When I got my empeg back in august 2000, I was planning on doing funny stuff on the empeg.
My first project was writing an LDAP-server on the empeg. The openldap-sources crosscompiled well and it had an interface for external modules as backend.
I was thinking of using perl-scripts as backend for openldap on the empeg, but what a disappointment : an average perl-script uses more memory on the empeg than it can handle, so I went off with plan B : compile a small perl-executable with just the bare essentials. Plan B went into the wastebasket; crosscompiling perl wasn't possible.
Plan C : install gpc (GNU Pascal Compiler) and dig up my TP7/Delphi experience. This wasn't an option either, executables still grew quite large, and string handling in GPC was tough... At this point I threw away the crosscompiler on my linux PC and went on compiling on the empeg itself; small programs compile rather swift on the empeg.
There was one other option : use the native backend for openldap, which required me to code in C.
I did some C-programming before, of course I had the basic C-programming courses at school, but I never did get the hang of it. I studied mathematics and the main programming-language used by mathemagicians is pascal.
After spending hours looking and modifying the examples supplied by openLDAP, browsing through manual pages and searching for C-primers on the internet, I finally had a working LDAP-server.
The further I got into C the more I liked it... Strange, I had the same with perl; I did quite some shell-scripting before and couldn't make the leap to perl because of it's awkward syntax, but once I got the hang of it, I didn't want to code in anything else.

The code in displayserver may seem out of your reach because it's one big mess at the moment. I started with a simple TCP-server to handle HTTP-requests and before I knew, I had added a thousand lines of code around this skeleton. I think I'm going to implement some minor changes to the existing code and then start writing some new stuff from scratch.
I've got the current version also running as a multi-threaded application, but this causes other problems : memory usage increases and when one thread crashes, the complete application crashes.
Well, I think I'm dwelling off in this thread and most people are probably bored to death by developer-talk, which brings me to another point : Why am I posting in the general forum? I should be posting in Projects or Programming.
One thing for other starting developers : look at the links section of Aouali's homepage for usable resources... Neat scrapbook applet BTW...

-- I get the message " class empegApplet not found " in ie 5 and an ERROR in Netscape (in the status bar at the bottom).
Strange, I've tested in IE4, IE5, NS4.5, NS4.7 on win9[58]/win2k/NT4 and linux.
the empegApplet.class file should be automatically downloaded from the same URL the HTML-file is from.
A cause of this could be the fact you've configured IE to use a proxy-server or something similar.
I also know of some win98 installations with light-versions of the java-VM, which doesn't allow you to make any TCP-connections from java.
this brings me to some other strange things in IE :
I cannot log into the BBS anymore from win98/IE5
when I click login, it waits endlessly to fail in a timeout. This problem started this morning and continued through the day. Everything is fine from linux/netscape...
I guess I've got to use the microsoft way of solving problems : REBOOT
Well I did and started win2k...

-- when i encue the M3U, the password and user are not in the shortcut :
http:/123.123.123.123/name/song.mp3
and not
http://ttt:[email protected]/name/song.mp3

That's a good point; I tested with media player 7, realplayer and earjam, which all come up with a login dialog to supply username and password when the m3u file is processed. I had noticed winamp's behavior though, so I added an option to disable authentication completely. start displayserver like :

# ./displayserver noauth

to disable authentication
I'm going to implement your solution also, as it seems it would solve all problems.

Wow, I spent more than an hour writing this stuff, I guess I need a vacation...



Frank van Gestel
_________________________
Frank van Gestel

Top
#22743 - 15/12/2000 15:43 Re: New displayserver 1.1 [Re: fvgestel]
JOEBLO
new poster

Registered: 14/12/2000
Posts: 3
Loc: Québec, Canada
Tks for ansewring so quick M Gestel and Paul.
In order to try the "./displayserver noauth" i used the hyperterminal :
reboot empeg and then:

q
ps -A
kill # corresponding to displayserver
cd /usr/local/displayserver
./displayserver unauth
exit

exit hyperterminal

Now i can encue the m3u by a singleclic in the browser (the type m3u is define for Winamp on my NT4), and, i don't know why, the Java applet work !!!

It Rock's :-) (But how do you change the volume ?)

The only thing is: i wasn't able to edit the init file :-(
Is there an editor in the Empeg ? no vi, ted or anything i know for sure ....
That would be the best : edit directly on the empeg ...

So i "mv init init.old"
then i uploaded a new init with the hyperterminal using zmodem protocol and when i reboot the player didn't even start ...

I suspect i have to : ln -s /bin/init /sbin/init ...
But i don't know what i'm doing at this point :-)

So i think the best solution for me is to find or install an editor on the empeg.

Bye



Jean-Christophe
_________________________
[green]Jean-Christophe[/green]

Top
#22744 - 15/12/2000 20:59 Re: New displayserver 1.1 [Re: fvgestel]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
In reply to:

I will break it up into smaller pieces. 10 or 20 seperate tar files or so...


Hey frank - I think a really cool option would be to enable tar to work from the playlist you're in.. For instance, if you're in the root playlist, it'd tar everything - whereas if you're under a playlist, it'd tar just those songs...

-mark

...proud to have owned an Empeg since 00287

_________________________
http://mvgals.net - clublife, revisited.

Top
#22745 - 16/12/2000 04:21 Re: New displayserver 1.1 [Re: JOEBLO]
phaigh
addict

Registered: 04/11/1999
Posts: 649
Loc: Reading, UK
I didn't find an editor on the empeg by default, although this should be available via the toolchains.

I believe that /bin and /sbin are symlinked anyway, so you don't need to link them together by hand.

When I changed the file I used "echo "text to go in file" >> /sbin/init

It's a pain, but it does work!

Paul.

Paul Haigh, Reg. 4120
(mk1) 6GB, Blue, 00254
(mk2) 12GB, Red, 00357
_________________________
Paul Haigh, Reg. 4120 (mk1) 6GB, Blue, 00254 (mk2) 12GB, Red, 00357

Top
#22746 - 17/12/2000 17:18 Re: New displayserver 1.1 [Re: fvgestel]
steveb
journeyman

Registered: 07/06/2000
Posts: 55
Loc: Sugar Land, Texas, USA
I.m having a little trouble getting the display server installed.

1. I flashed the new kernel, no problems.
2. I unzipped and copied the install.sh file to the empeg using the empload trick, copied the file and renamed it to /empeg/var/temp/install.sh
3. When i run it (. ./install.sh) if goes thru and makes everything RW and asks where I would like to install. I just answer with the default (/usr/local/displayserver). Then I get:

where do you want to install? : [/usr/local/displayserver]
dd: -bash: No such file or directory
dd: -bash: No such file or directory
Do you want displayserver to startup automatically? : [Y/N] n
Mounting all filesystems readonly...
Installation completed...
now open your browser and connect to the empeg: userid: ttt password: ttt
To use the buttons in the java-applet, you must also install a custom
kernel or a kernel-patch; both can be found at
http://empeg.dyndns.org/empeg/
Have fun...
Shell exit
Starting player
empeg-car 1.01-rc2.

I poked around a little and all I can figure is that $0 is retruning '-bash' instead of 'install.sh'.

I know I'm probably just doing something stupid, any idea what it might be?


Steve Bates


Top
#22747 - 17/12/2000 22:52 Re: New displayserver 1.1 [Re: steveb]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
It's probably because you start it with :

# . ./install.sh

try :

# chmod +x install.sh
# ./install.sh


Frank van Gestel
_________________________
Frank van Gestel

Top
#22748 - 20/04/2001 09:57 Re: New displayserver 1.1 [Re: fvgestel]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
Ok! I got the streaming to work by killing the displayserver (I have it set to autoload) and restarting it with the noauth command. How do I turn off the autoload? (Or get it to autoload with unauth...)

32GB (JUST UPGRADED!) Mk. II BLUE
Detroit, MI USA
www.PfeifferBeer.com
_________________________
Brad B.

Top
#22749 - 20/04/2001 10:15 Re: New displayserver 1.1 [Re: SE_Sport_Driver]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31578
Loc: Seattle, WA
How do I turn off the autoload? (Or get it to autoload with unauth...)

Frank's "install.sh" has replaced your empeg's "init". The init is kind of like the linux equivalent of AUTOEXEC.BAT. It is located in /bin, and you can edit the file to add the "-noauth" parameter yourself.

If you are using a Windows program to edit the file, remember that it is a Linux file and needs to be formatted differently than most Windows programs provide. Here is some information from my picker-for-dummies readme that explains:
IMPORTANT NOTE: If you are editing these files on a Windows system, you must use an editor that's capable of going into "binary" mode so that you can fix a compatibility problem with carriage returns and line feed characters. Linux shell scripts must have each line terminated only by a linefeed (hexadecimal 0A), but Windows programs always put a carriage-return/linefeed pair at the end of each line (hexadecimal 0D 0A). I recommend UltraEdit (www.ultraedit.com) to do the fixing. If you edit the "pick_list" file or the "testinit.sh" file, you must perform a global binary replace of 0D OA -> 0A as the very last step before saving the file.

Something else to remember: This "init", as well as displayserver itself, will be erased every time you upgrade your empeg. Any changes you do will have to be re-done when you re-install displayserver after an upgrade.



___________
Tony Fabris
_________________________
Tony Fabris

Top
#22750 - 20/04/2001 15:13 Re: New displayserver 1.1 [Re: SE_Sport_Driver]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
on the empeg, first mount the disk read-write with the command:
# rw
then issue the following commands to switch off authentication in autostart:
# cd /etc
# cp init init.auth
# cat init.auth | sed 's#./displayserver#./displayserver noauth#' > init
# cp init init.noauth

Now you can change it quite easily:

auth on:
# cp init.auth init

auth off
# cp init.noauth init


Frank van Gestel
_________________________
Frank van Gestel

Top
#22751 - 10/07/2001 19:32 Re: New displayserver 1.1 [Re: fvgestel]
kazama
enthusiast

Registered: 11/11/2000
Posts: 202
Loc: Boston, MA
Just when you thought the topic was dead . . .

I know there is a -noauth flag but is there also a -port xx flag in case I want to run displayserver on a non standard port? Due to my home network, I would like to run displayserver on port 8080 and not 80. Is there a way or is that a 2.0 feature?

Greg


Top
#22752 - 11/07/2001 05:58 Re: New displayserver 1.1 [Re: kazama]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
There is a way and that's recompiling. There's a #define in the first lines of code which can be changed.
Displayserver 2.0 uses a config file which stores all settings. I haven't spent much time on it since the last alpha though.


Frank van Gestel
_________________________
Frank van Gestel

Top
Page 1 of 3 1 2 3 >