PDA

Bekijk de volledige versie : Apache on WL-HDD



kafisc
24-01-2006, 20:06
Hi there,
i have insalled the ipgk package system and Samba from the macsat Tutorials.
Now i am intrested in apache.
I have seen this ipgk package. ( apache-manual_2.0.54-2_mipsel.ipk )
http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/
How can I install this package that it works.
Can anybody give me a How to?

I need Apache and not htppd because i want to run oxyl-box on my wl-hdd.
THX
Kafisc

Andreas
24-02-2006, 13:45
Hi,
http://www.furrygoat.com/2006/01/how_to_20gb_ext.html shows you how to install the ipkg installer and the subsequent steps to get to any ipkg software ported to the WL-HDD.

Andreas

jogimon
03-03-2006, 00:00
Hi there,

i've installed apache_2.0.54-2_mipsel.ipk + php on my wlhdd.
The Server don't start, because all the mod_-files are not compatible.
Does anyone have korrekt binary mod_-files for apache2 on wlhdd or can compile it for Kafisc and me?

I'm in the same position to try running the oxyl-box on my wlhdd. With php-thttpd i can see the websites, but i can't save the config. This is possible with apache. I spent a lot of time in this Project and i don't have the time to compile (try&error) it myself. Thank you.

Jochen

jogimon
07-03-2006, 19:48
Hi there,

apache2 don't run on wlhdd. I removed it and install wizd. It works with wlhdd and Showcenter200. I changed the tvid-codes and the remote-control works fine. Its not perfect, but it run and i have Diashows with sound.

jochen

Ian_Superfly
07-03-2006, 22:08
It works with wlhdd and Showcenter200. I changed the tvid-codes and the remote-control works fine.

How did you do this? Where did you edit (how)?

Can you play more than one music file in a row?

jogimon
08-03-2006, 21:59
Hi Ian,

yes, wizd automaticly generate playlists (arranged or shuffled). In a list of Files you can play the list with one click on the remote control. You can also generate music and picture default playlists in different directories to hear music while you look at pictures and can see pictures, while you hear music.
You can't jump from picture to picture, but in the diashow you can go back and forward with the buttons: "|<" and ">|"
This functions don't work: radio and german umlaute. But i search for a solution.

Now the adjustments:

replace tvid settings in wizd/skin/linkplayer/
=============================
delete_tail.html
optionMenu&page setup "TT"
syabas:history "REC"
-----------------------------
option_menu.html
delete&page "TT"
-----------------------------
tail.html
optionMenu&page "TT"
syabas:history "REC"
shuffle&type=music "HELP"
allplay&type=music "C"
shuffle&type=music "HELP"
allplay&type=music "C"
shuffle&type=photo "HELP"
allplay&type=photo "C"
shuffle&type=video "HELP"
allplay&type=video "C"
=============================
Replace the two skin-pictures in the attachment

Here my wizd.conf:
=============================
document_root /opt/media
flag_allow_delete true
server_port 83
flag_slide_show_labels false
slide_show_seconds 4
flag_debug_log_output false
flag_daemon true
client_language_code windows
flag_use_skin true
skin_root /opt/share/wizd/skin
skin_name linkplayer
page_line_max 13
flag_unknown_extention_file_hide true
flag_allplay_filelist_adjust false
flag_hide_same_svi_name_directory false
flag_auto_detect true
server_name Wizd
buffer_size 8
stream_chunk_size 65536
socket_chunk_size 32768
flag_buffer_send_asap false
stream_rcvbuf 4096
stream_sndbuf 65536
flag_execute_cgi false
flag_read_mp3_tag true
flag_show_first_vob_only true
flag_split_vob_chapters false
flag_hide_short_titles true
flag_allplay_includes_subdir true
max_play_list_items 2000
bookmark_threshold 12000000
=============================

Jochen

Ian_Superfly
09-03-2006, 12:40
Hi Jogimon,
Your information and modifications works and looks perfect! :)

I have (as I am Swedish) also some problems with and German/Swedish umlaute. This is however only for file names, subtitles shows perfect.
Radio is also working (at least some of the channels found in docroot)


But i search for a solution.
- Please let me know when you have found it.


In a list of Files you can play the list with one click on the remote control.
- When I play a cpl. album every song is prolonged at the end with about 90 seconds of silence? Do you know why/how to resolve (this is not the case when using the normal showcenter software with the same files)?

My files are normally mp3 with varying bitrates.

Ian_Superfly
11-03-2006, 21:11
I found this (see the link) regarding the Showcenter bug (it reallys seems to be a bug).
Anyone who could make a solution for wizd?

http://www.swisscenter.co.uk/component/option,com_simpleboard/Itemid,42/func,view/id,2065/catid,13/

jogimon
18-03-2006, 22:13
Hi Ian,

i found a solution for the umlauts:

Set in /opt/etc/wizd.conf:
client_language_code disabled
server_language_code disabled

and in the files: "head.html" and "delete_head.html"
change: <!--WIZD_INSERT_CLIENT_CHARSET--> to: iso-8859-1
or: iso-8859-15

and voila, the umlauts are OK!

I don't have the problem with the 90 sec. silence on the end of a music-track in a playlist. I have VBR too. Here are my (winamp) mp3-settings of a examlpe music-file:

Size: 4538233 bytes
Header found at: 326 bytes
Length: 280 seconds
MPEG 1.0 layer 3
129kbit (VBR), 10745 frames
44100Hz Joint Stereo
CRCs: No
Copyrighted: No
Original: Yes
Emphasis: None

Have you other settings?

bye jogimon

jogimon
19-03-2006, 22:10
Hi there,

mp3 id3-tags are not possible with umlauts in wizd.

try this:

wizd.conf:
flag_read_mp3_tag false
flag_filename_cut_parenthesis_area false
flag_filename_cut_same_directory_name false

line_music.html:
change WIZD_INSERT_LINE_MP3TAG_TITLE_INFO into
WIZD_INSERT_LINE_FILE_NAME_NO_EXT

its not possible to implement umlauts in the playlists, because wizd make the playlist in the binary.

jogimon

johe
20-03-2006, 18:44
Hi Jochen/jogimon and all the others,

I'm new to this forum, so please excuse me if I make any errors.

Because I'm desperate with my twonkyvision on WLHDD/Noxon2 (server always stops after some time) I would really like to install wizd instead of twonky just like you did. But problems start early: I can't find a valid download link for the appropriate binary :-(

Could you please direct me to a homepage where I can download the correct wizd binary for ASUS WL-HDD?

Are there, in addition, any setup guides? I know basic Linux and have setup my WLHDD with Oleg's firmware so far without problems.

Thanks a lot for your help!

Jochen (#2 ;-)

Ian_Superfly
21-03-2006, 21:48
Hi Ian,

i found a solution for the umlauts:

Set in /opt/etc/wizd.conf:
client_language_code disabled
server_language_code disabled

and in the files: "head.html" and "delete_head.html"
change: <!--WIZD_INSERT_CLIENT_CHARSET--> to: iso-8859-1
or: iso-8859-15

and voila, the umlauts are OK!

I don't have the problem with the 90 sec. silence on the end of a music-track in a playlist. I have VBR too. Here are my (winamp) mp3-settings of a examlpe music-file:

Size: 4538233 bytes
Header found at: 326 bytes
Length: 280 seconds
MPEG 1.0 layer 3
129kbit (VBR), 10745 frames
44100Hz Joint Stereo
CRCs: No
Copyrighted: No
Original: Yes
Emphasis: None

Have you other settings?

bye jogimon

A typical mp3 for me that do not work (will be prolonged with silence) looks like this:
Size: 3482021 bytes
Header found at: 4297 bytes
Length: 166 seconds
MPEG 1.0 layer 3
167kbit (VBR), 6364 frames
44100Hz Joint Stereo
CRCs: No
Copyrighted: No
Original: Yes
Emphasis: None

Similar to yours except for the size of the header?

What firmware are you using in your ShowCenter? I use the one supplied with the latest official software package from the Pinnacle site.


I have also tested you fix for the umlates and I am sorry to say that I did not get it to work. I have changed everythin according to your suggestions "change: <!--WIZD_INSERT_CLIENT_CHARSET--> to: iso-8859-1" means everything including <> should be changed I guess?

Swedish å ä ö does not look right (but should work in both iso-8859-1 and -15).


Any clues? :confused:

jogimon
22-03-2006, 01:15
Hi Jochen #2,

here my answers:

1. Noxon don't work with wizd. Noxon use upnp and wizd is a http-server. I use twonky for noxon and wizd for pinnacle-showcenter200.
2. The Software is at: http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/ but some programs don't work e.g. apache2. A page with the ipkg guide to install the packages for WLHDD is at: http://www.sprayfly.com/wiki/Sprayfly
3. Do you have the original software or the Demo-Software (It stops automaticly after a time) of twonkyvision?
which version do you have? Did you start the sambaserver?
Try this config for V3.1:
when the twonkyfiles are in /opt/share/twonky
in the twonkyvision media config-file:

contentbase=/opt
contentdir=/
friendlyname=Twonky WLHDD
dbdir=/opt/share/twonky/twonkymedia.db
httpport=9000
enableweb=2
scantime=60
maxmem=32000
platform=WLHDD


start samba:
nmbd -D -s /opt/share/twonky/smb.conf
smbd -D -s /opt/share/twonky/smb.conf
start twonky:
cd /opt/share/twonky
/opt/share/twonky/twonkymedia &

Good luck

Jogimon

today its too late. Answer for Ian this week :o)

johe
22-03-2006, 18:49
Hi Jochen#1 :-)

First of all, many thanks for your quick reply and your kind help!!!!

I've registered twonkymedia with lifetime upgrade and got a link from them to the full versions. I downloaded 3.1 from there and installed, so the server should not terminate because of that. But I also tried versions 3.0 and 2.91 -- always the same. :-(

Samba is running with its default settings, as well as stupid-ftp (no problems with that so far) and both are doing their jobs very well -- Oleg's firmware is a masterpiece!

After your posting I looked again at twonkyvision's download area and saw a different (new?) version of twonkymedia for ASUS WLHDD. I downloaded an installed it. Now I wait and see...

Is this config running well (stable) with Noxon2/Twonky 3.1 at your home?

The strange and annoying thing here at my plaace is: After setting everything up from scratch it seems to work well for one or two days. Then problems begin and are getting worse and worse. :-(

Thank you for the ini - looks like that's the default twonkyvidion-musicserver.ini. Would you mind posting your twonkyvidion-mediaserver.ini as well? For example: don't you set any fixed ip addresses (neither for Noxon nor for WLHDD)? What exactly is the advantage of dbdir? Why are there two ini-files (musicserver / mediaserver) at all whereas there's only one server ("twonkymedia" running)???

Questions, questions,...

Again many thanks for your help!!!
Jochen#2

jogimon
23-03-2006, 20:19
Hi Jochen#2,

my inifile (i use fixed ip-adresses, because the noxonclient setting must have a fix ip-address)

[main]
language=de
enableweb=2
contentbase=/opt/media
contentdir=music,pictures,videos
streambuffer=32000
maxmem=32000
friendlyname=Twonkyvision
adaptcase=1
followlinks=1
randomizeplaylists=0
radio=1
radioreread=60
dbdir=/opt/share/twonky/twonkymedia.db
compilationsdir=Compilations,Sampler
nicrestart=0
httpport=9000
playlistnumentries=20
musicclient=192.168.178.10
nosearch=0
noxonclient=192.168.178.10
scantime=60
checkupdate=1
platform=WLHDD
alltracks=All Tracks
playlists=Playlists
playlistlastplayed=- Last played -
playlistmostplayed=- Most played -
internetradio=Internet Radio
allownradiostations=- Favorite Stations -
allpictures=All Pictures
allvideos=All Videos
rootmusic=music
rootpicture=pictures
rootvideo=videos
netgearrtp=0
allname=- ALL -
musicnode1=Artist,%ARTIST
musicnode2=Genre,%GENRE
musicnode3=Album,%ALBUM
musicnode4=Folder,%PATH
musicnode5=
musicnode6=
musicnode7=
musicnode8=
musicnode9=
musicnode10=
picturenode1=Folder,%PATH
picturenode2=Date,%YEAR,%MONTH
picturenode3=
picturenode4=
picturenode5=
videonode1=Folder,%PATH
videonode2=
videonode3=
videonode4=
videonode5=

dbdir is the directory with the database of all mediafiles in your contentbase/contentdir
the advantage is: Your wlhdd don't have to read all mediafiles at every start of twonkyvision also you can start faster!

twonkymusic is for only have music access
twonkymedia is for music, pictures and media

twonkyvision-mediaserver.ini is the ini-file for twonkymedia
twonkyvision-musicserver.ini is the ini-file for twonkymusic

>>> at all whereas there's only one server ("twonkymedia" running)??? <<<

When twonky is running, you must have the following output for ps|grep twonky

92 admin 452 S nmbd -D -s /opt/share/twonky/smb.conf
94 admin 144 S smbd -D -s /opt/share/twonky/smb.conf
115 admin 2560 S /opt/share/twonky/twonkymedia
117 admin 2560 S /opt/share/twonky/twonkymedia
118 admin 2560 S /opt/share/twonky/twonkymedia
119 admin 2560 S /opt/share/twonky/twonkymedia
120 admin 2560 S /opt/share/twonky/twonkymedia
121 admin 2560 S /opt/share/twonky/twonkymedia
122 admin 2560 S /opt/share/twonky/twonkymedia
123 admin 2560 S /opt/share/twonky/twonkymedia
124 admin 2560 S /opt/share/twonky/twonkymedia

when you see only one twonkymedia then try:

#!/bin/sh
cd /opt/share/twonky
/opt/share/twonky/twonkymedia &

and its realy important, that samba is running before twonkymedia starts.

bye

Jogimon

jogimon
23-03-2006, 21:50
Hi Ian,

i use the Showcenter200 Firmware: 2.5 Version 11-14-051115-03-PIN-230-000

Yes, you must change <!--WIZD_INSERT_CLIENT_CHARSET--> to: iso-8859-1 including <!--WIZ... ...ET-->
delete: <!--WIZD_INSERT_CLIENT_CHARSET-->
insert: iso-8859-1

do you change the following files too?
wizd.conf:
flag_read_mp3_tag false
flag_filename_cut_parenthesis_area false
flag_filename_cut_same_directory_name false

line_music.html:
change WIZD_INSERT_LINE_MP3TAG_TITLE_INFO into
WIZD_INSERT_LINE_FILE_NAME_NO_EXT

Its realy important to disable in wizd.conf (don't remark with #):
client_language_code disabled
server_language_code disabled

after that changes, its better to restart the wlhdd.

Then the directory and file must be showing correct. Only in playlists you can't see correct umlauts.

I've tested your mp3-file and i've the same problem with 90 sec. silence.
sorry, but i've tested my mp3s with start and afterwards i jumped to 90%. The more I forward-wind the less silence is on the end.
Also the problem is: wizd is not written for sc200 and it have no patch for the 50-90 sec. silence.
I hope that anyone compile apache2, php and oxyl correct for wlhdd :-)

I've try to put your file with ftp on wlhdd even with swedish keyboard layout. There is the same incorrect filename. Try ftp-upload with SmartFTP2.0. Do you see the correct filenames with telnet on wlhdd?

bye

jogimon

johe
24-03-2006, 15:53
Hi Jochen #1 ;-)

many thanks for your kind posting. As I already wrote in my last posting I installed twonky again on my WLHDD and now it seems to be running fine. If only I knew the difference to my former installations... :-/

Again many thanks and CUsoon!
Jochen #2

Ian_Superfly
24-03-2006, 18:44
Thanks Again! :)



Yes, you must change <!--WIZD_INSERT_CLIENT_CHARSET--> to: iso-8859-1 including <!--WIZ... ...ET-->
delete: <!--WIZD_INSERT_CLIENT_CHARSET-->
insert: iso-8859-1

do you change the following files too?
wizd.conf:
flag_read_mp3_tag false
flag_filename_cut_parenthesis_area false
flag_filename_cut_same_directory_name false

line_music.html:
change WIZD_INSERT_LINE_MP3TAG_TITLE_INFO into
WIZD_INSERT_LINE_FILE_NAME_NO_EXT

Its realy important to disable in wizd.conf (don't remark with #):
client_language_code disabled
server_language_code disabled

after that changes, its better to restart the wlhdd.

Then the directory and file must be showing correct.

Well, they do not for me... :o Please, can I ask you to place your edited files on a ftp I think you know ;-) ?
Btw, should I put something about umlauts in smb.conf?



I've tested your mp3-file and i've the same problem with 90 sec. silence.
sorry, but i've tested my mp3s with start and afterwards i jumped to 90%. The more I forward-wind the less silence is on the end.
Also the problem is: wizd is not written for sc200 and it have no patch for the 50-90 sec. silence.
I hope that anyone compile apache2, php and oxyl correct for wlhdd :-)


That or a new firmware from Pinnacle. Wizd is quite cool and it would do the trick for me if I just could have the right umlauts and no breaks between songs.

F.Y.I. I have tested all old firmwares but no provail. I was hoping this was a firmware bug that was "new".



Do you see the correct filenames with telnet on wlhdd?


On my WL-HDD the umlauts are OK if i look at the files via Telnet. I am however not using that for the ftp (but this ftp-thing is a minor problem).

Ian_Superfly
18-04-2006, 11:18
I do not get the umlauts to work. :(

Could you please put your edited files here on this site?:
- wizd.conf
- line_music.html
- head.html
- delete_head.html
- more?

Any progress on the prolonged mp3 or Oxyl?

Best Regards
/Ian

Ian_Superfly
24-04-2006, 19:50
After a reboot I discovered that the umlauts by some reason works. Strange as I have at least rebooted 10 times since the last change regarding WIZD...

However, folders using Swedish umlauts does show up twice. First a with wrong umlauts and then the same folder but with the right umlauts?

Anyone who can explain this (and tell me how to correct)?

NOTE: when I browse the unit I have only one folder of each (I.e. the copy with right umlauts is just "virtual").

FastCat
22-11-2006, 10:47
Please, help me, did somebody ever have Apache and php working on Wl-Hdd ?
Are there any problems in the installation and adjustment ?

QMax
16-04-2007, 20:50
syabas:history "REC"



Can't find it in tail.html,
can someone please post updates/modified for SC200 files ?
Is there a way to have a list of TVid commands of Pinnacle remote command ?

Thanks, Max