Unoffical empeg BBS

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

Topic Options
#66856 - 04/02/2002 16:29 How do I (properly) change the config.ini file?
Allistah
journeyman

Registered: 13/01/2002
Posts: 77
I wanted to add a password to the ftpd on hijack. Is there a doc that describes how to do this?

I have a serial cable connected and I'm seeing message scroll by from the httpd server. How do I get to a bash prompt from here?

I'm also getting alot of this:
dhcp_thread.cpp :1279:Got a BOOTP packet from 192.168.244.1 (eth0)
dhcp_thread.cpp :1298:Ignoring DHCP reply (wrong xid 9a8f08cb) (eth0)

Is that expected behavior?

Top
#66857 - 04/02/2002 16:37 Re: How do I (properly) change the config.ini file? [Re: Allistah]
Terminator
old hand

Registered: 12/01/2000
Posts: 1079
Loc: Dallas, TX
add the following line to config.ini:

[hijack]
kftpd_password=insert plaintext password here

anyone with a web browser can just look at the config.ini file to see the password, so you have to add this line:

khttpd_files=0

You have to have developer installed to get to the bash prompt, but after the player has loaded, just press q (in hyperterm) to goto bash.


Edited by Terminator (04/02/2002 16:39)

Top
#66858 - 04/02/2002 16:46 Re: How do I (properly) change the config.ini file? [Re: Terminator]
Allistah
journeyman

Registered: 13/01/2002
Posts: 77
What do you mean with developer? You mean a developer kernel? I'm using the pre built kernel thats available from the Hijack site. Can I do it with this one?

Top
#66859 - 04/02/2002 16:49 Re: How do I (properly) change the config.ini file? [Re: Allistah]
Terminator
old hand

Registered: 12/01/2000
Posts: 1079
Loc: Dallas, TX
Load up 1.03 developer or 2beta7 developer from the empeg site with the upgrade tool. This changes the player software and the kernel. Then reflash the kernel with hijack. Then you will be able to get to bash.

Sean


Edited by Terminator (04/02/2002 16:51)

Top
#66860 - 04/02/2002 16:54 Re: How do I (properly) change the config.ini file? [Re: Allistah]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
or just edit the config.ini through emplode... as is explained here in the FAQ.
_________________________
|| loren ||

Top
#66861 - 04/02/2002 17:22 Re: How do I (properly) change the config.ini file? [Re: loren]
Allistah
journeyman

Registered: 13/01/2002
Posts: 77
Thanks for the FAQ. It was pretty easy to edit using emplode.

I've made the changes to the config.ini file and rebooted the player but I can still ftp into it without using a password. I'm guessing that I missed a step somewhere. Here is what I've got at the end of my config.ini:

[hijack]
kftpd_password=passwordhere
khttpd_files=0


Edited by Allistah (04/02/2002 17:23)

Top
#66862 - 04/02/2002 17:43 Re: How do I (properly) change the config.ini file? [Re: Allistah]
Terminator
old hand

Registered: 12/01/2000
Posts: 1079
Loc: Dallas, TX
I tried it last nite with v 173, and it worked fine. I know it worked, because it broke downloading from http and AutoEmpeg. The only thing I did different from you was put the hijack stuff up near the top of config.ini. However, mark's on v180 now, so something could have changed. Remember, people will still be able to access your player through emplode, even with this working. For now, i'll just leave the empeg on the network behind a firewall.

Sorry im not much of a help to you.

Sean

Top
#66863 - 04/02/2002 17:46 Re: How do I (properly) change the config.ini file? [Re: Terminator]
Allistah
journeyman

Registered: 13/01/2002
Posts: 77
Interesting. I put it at the top of the config file and now it works. Go figure.

Top
#66864 - 04/02/2002 19:38 Re: How do I (properly) change the config.ini file? [Re: Allistah]
hybrid8
carpal tunnel

Registered: 12/11/2001
Posts: 7738
Loc: Toronto, CANADA
Try to keep Hijack related discussions in the programming forum to make sure Mark (the person responsible for Hijack) has an easy time finding them. I didn't see any mention of a prerequisite of having the pwd stuff at the top of the ini, so there might be a bug.

BTW, read the entire FAQ.

Bruno
_________________________
Bruno
Twisted Melon : Fine Mac OS Software

Top
#66865 - 05/02/2002 04:04 Re: How do I (properly) change the config.ini file [Re: loren]
tms13
old hand

Registered: 30/07/2001
Posts: 1115
Loc: Lochcarron and Edinburgh
Hmm, the FAQ doesn't mention that it's easy in emptool:
config hijack kftpd_password mypassword
etc.
_________________________
Toby Speight
030103016 (80GB Mk2a, blue)
030102806 (0GB Mk2a, blue)

Top
#66866 - 05/02/2002 11:33 Re: How do I (properly) change the config.ini file? [Re: hybrid8]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Mmm.. he might have run into the infamous "garbage in config.ini" problem, which could have resulted in null characters in the file, which would prevent hijack from finding its options..

Top