Unoffical empeg BBS

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

Topic Options
#69298 - 10/02/2002 04:00 kftpd, khttpd config.ini settings?
frekin
stranger

Registered: 26/01/2002
Posts: 47
I've been trying without success to set the kftpd password and "secure" my MkIIa in general. What settings are suggested in the config.ini? When I put

[hijack]
kftpd_password=test
khttpd_files=0

in the config.ini, nothing happens. I can still connect via both http and ftp and see everything on the player. Is the [hijack] stuff supposed to be at the end of the config.ini only. I've gone back multiple times and erased and re-added the entries to make sure there are no stray characters, but nothing seems to work.

I have beta11, Hijack 1.95, and I also have some ir_translate stuff at the end of the config.ini so I can use my X-10 mouseremote to control the Empeg.

While I'm posting, I may as well add that I can't get KnobLeft and KnobRight to work properly either. I was hoping to set KnobRight=Visual+ and KnobLeft=Info, since I never change the volume on the Empeg anymore (I leave it at 0 dB). When I test it, the left direction still decreases the volume, but rotating the knob to the right causes a bar with "Info:Off" to appear at the top of the Empeg screen. Also, if I set Knob=Visual+, it works properly, but I can no longer get into the Hijack menu with a long press of the knob (when I hold the knob, it just says Info:Off at the top of the screen). Is there some way to have a short press of the knob switch visuals, but still have a Knob.L route me to the Hijack menu?

Top
#69299 - 10/02/2002 04:37 Re: kftpd, khttpd config.ini settings? [Re: frekin]
crazymelki
enthusiast

Registered: 16/02/2001
Posts: 373
Loc: Switzerland
Because of your security issue! You have to define the location....

;@WORK kftpd_password=test
;@WORK khttpd_files=0
;@WORK disable_emplode=1

And then choose @Work on the Empeg! Be carefull with the "disale_emplode=1" setting...

Mark was writing the following:

Note that if you fsck up and leave out the ";@WORK" prefix, then you'll
have to either FTP or revert to an older kernel to fix config.ini
afterwards..

bye
_________________________
crazymelki.com

Top
#69300 - 10/02/2002 08:54 Re: kftpd, khttpd config.ini settings? [Re: frekin]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
Your config.ini lines look fine to me, but Hijack is rather sensitive to corruption in config.ini, which seems to be happening more frequently as of late. Those lines can go just about anywhere, but if there is a '\0' (null) character in the file above them, they won't be found. This should not happen, but it does.

-ml

Top
#69301 - 10/02/2002 08:57 Re: kftpd, khttpd config.ini settings? [Re: frekin]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
Remapping knob presses is a known conflict with Hijack, so you're best to avoid doing it that way. Instead, use PopUp0 for short-knob presses, or use the "Knob Press Redefinition" feature of Hijack.

-ml

Top
#69302 - 10/02/2002 11:11 Re: kftpd, khttpd config.ini settings? [Re: crazymelki]
frekin
stranger

Registered: 26/01/2002
Posts: 47
Hmmmm....still doesn't work. I added

;@WORK kftpd_password=test
;@WORK khttpd_files=0

under the [Network] section of the config.ini file. I synchronized, then I went to the Hijack menu, selected ;@WORK, and rebooted. Using the windows default command-line ftp program, I connected to my Empeg (which has a fixed IP, btw). It prompted me for a login name, at which point I could do anything, including just hit the enter key, and it connected to the filesystem. Any ideas? Where should I put the ;@HOME and ;@WORK lines, anyway?

One other aside: redefining KnobLeft and KnobRight prevents you from navigating the Hijack menus using the knob.

Top
#69303 - 10/02/2002 11:14 Re: kftpd, khttpd config.ini settings? [Re: frekin]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
>One other aside: redefining KnobLeft and KnobRight
>prevents you from navigating the Hijack menus using the knob.

Well, duhhh...

But if that's not what you wanted, then tell it not to do that, as in:

[ir_translate]
KnobLeft=Info.N,KnobLeft.U
KnobRight=Visual.N,KnobRight.U

Top
#69304 - 10/02/2002 11:18 Re: kftpd, khttpd config.ini settings? [Re: frekin]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
>..under the [Network] section..

Hijack options ALWAYS go in the "[hijack]" section.

-ml

Top
#69305 - 12/02/2002 03:26 Re: kftpd, khttpd config.ini settings? [Re: mlord]
frekin
stranger

Registered: 26/01/2002
Posts: 47
I hate to keep asking the same thing, but it still doesn't work. At this point, I have put

kftpd_password=test
khttpd_files=0

in many places in config.ini, including under the [hijack] section. Each time, I have checked each line in the config.ini exhaustively to make sure there are no stray characters. I have also removed everything previously added, so that the only addition is [hijack] and the above lines. No matter what I do, I can still pull up the Windows default ftp program, connect to my ip, hit enter a few times, and browse my empeg's files. There has got to be something obvious that I'm overlooking.

On a related note, I have been looking for a "comprehensive" list of the k*pd=<*> type settings, i.e. settings related to control of ftp and http/streaming access. Does one exist?

Top
#69306 - 12/02/2002 09:35 Re: kftpd, khttpd config.ini settings? [Re: frekin]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
>I have been looking for a "comprehensive" list of the
>k*pd=<*> type settings, i.e. settings related to control
>of ftp and http/streaming access. Does one exist?

Yes, in the source code for Hijack. And before you plead stupid or something, it really is not very hard to look at the Hijack patch file and extract them. Even for a non-programmer. Just pull it from the Hijack site, look at it with a text editor, and do a string search/find for "kftpd_password". When you find the right place, it will be obvious.

If that's not good enough, then feel free to contribute a small amount of time to documenting it for the rest of us, by browsing back through my posting history (two mouse clicks) and extracting the information from those BBS posts.

-ml

Top
#69307 - 12/02/2002 09:36 Re: kftpd, khttpd config.ini settings? [Re: frekin]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
If you want to stop running in circles with your problem, you might consider attaching your config.ini file to a posting here, and I'm certain that at least three or four individuals will quickly point out whatever is wrong with it.

-ml

Top