Unoffical empeg BBS

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

Topic Options
#206518 - 23/02/2004 22:42 telnetd & other 3rd party software question
SonicSnoop
addict

Registered: 29/06/2002
Posts: 531
Loc: Triangle, VA
Hi, I ran across a thread on here given me detailed instructions on how to install preinit, telnetd, and empacman. I followed them and telnet and empacman work as long as I get a shell prompt with a serial connection first and execute them. Could someone possibly point me to a thread that may show me how to use preinit to execute telnet on AC power and empacman on both AC and DC.. Thanks!
_________________________
-D Modifying and Tweaking is a journey, not a destination................................ MKIIa : 60gig - 040103286 - Blue - v2 + PCATS tuner MKIIa : 20gig - 040103260 - Blue - v3a8 + Mark Lord Special Edition Cherry Dock

Top
#206519 - 23/02/2004 22:47 Re: telnetd & other 3rd party software question [Re: SonicSnoop]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Use Hijack instead.

Eg. in config.ini, do something similar to this:

;@AC;@EXEC_ONCE /telnetd
;@EXEC_ONCE /empacman


Edited by mlord (23/02/2004 22:49)

Top
#206520 - 23/02/2004 22:53 Re: telnetd & other 3rd party software question [Re: mlord]
SonicSnoop
addict

Registered: 29/06/2002
Posts: 531
Loc: Triangle, VA
Ok ill give that a shot, I already had hijack on im just really new to this and trying to take in all that this lil baby can do..

Ok, I added those lines in the config.ini from emplode under the [hijack] section, but doesnt seem to have started them, Did I put them in the wrong section? I even unpluged and pluged back in according to the FAQ about editing the config.ini. Thanks!


Edited by SonicSnoop (23/02/2004 23:07)
_________________________
-D Modifying and Tweaking is a journey, not a destination................................ MKIIa : 60gig - 040103286 - Blue - v2 + PCATS tuner MKIIa : 20gig - 040103260 - Blue - v3a8 + Mark Lord Special Edition Cherry Dock

Top
#206521 - 23/02/2004 23:14 Re: telnetd & other 3rd party software question [Re: SonicSnoop]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
You'll also have to use FTP to install and chmod 0755 the telnetd and pacman executables, and change the commands I posted to include the correct FULL pathname for whereever you placed them.

Cheers

Top
#206522 - 23/02/2004 23:17 Re: telnetd & other 3rd party software question [Re: mlord]
SonicSnoop
addict

Registered: 29/06/2002
Posts: 531
Loc: Triangle, VA
Ok, I know they are chmodded cause I can run them from a serial connection in hyper terminal and they run fine.. I know i have to change the empacmans path its in /programs0 but telnetd is able to be run anywhere so i got to track down where i copied it.. Thank you for taking the time to help me with this.
_________________________
-D Modifying and Tweaking is a journey, not a destination................................ MKIIa : 60gig - 040103286 - Blue - v2 + PCATS tuner MKIIa : 20gig - 040103260 - Blue - v3a8 + Mark Lord Special Edition Cherry Dock

Top
#206523 - 23/02/2004 23:25 Re: telnetd & other 3rd party software question [Re: SonicSnoop]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Mmm.. I wonder.. at the point when EXEC_ONCE is run, the ethernet port it not yet fully configured. Shouldn't matter much, but maybe it does?

You can test the EXACT same code that EXEC_ONCE uses by using the FTP server in Hijack: the SITE EXEC xxxxxx command. See if that works for you or not.

cheers

Top
#206524 - 23/02/2004 23:26 Re: telnetd & other 3rd party software question [Re: mlord]
SonicSnoop
addict

Registered: 29/06/2002
Posts: 531
Loc: Triangle, VA
Ok great! I got empacman working fine on boot, however telnetd isnt, i found it in /bin so i changed the line to:

;@AC;@EXEC_ONCE /bin/telnetd

and according to the force ac/dc menu in hijack its booted into AC mode but i am unable to telnet in. I opened a serial connection before i unpluged and repluged it and i see the empeg being executed but nothing about telnetd no errors nothing..
_________________________
-D Modifying and Tweaking is a journey, not a destination................................ MKIIa : 60gig - 040103286 - Blue - v2 + PCATS tuner MKIIa : 20gig - 040103260 - Blue - v3a8 + Mark Lord Special Edition Cherry Dock

Top
#206525 - 23/02/2004 23:50 Re: telnetd & other 3rd party software question [Re: mlord]
SonicSnoop
addict

Registered: 29/06/2002
Posts: 531
Loc: Triangle, VA
Thanks for your help! I just removed ;@AC and left ;@EXEC_ONCE /bin/telnetd and rebooted and it works. I guess some reason it didnt like the AC part. Thank you for your help..
_________________________
-D Modifying and Tweaking is a journey, not a destination................................ MKIIa : 60gig - 040103286 - Blue - v2 + PCATS tuner MKIIa : 20gig - 040103260 - Blue - v3a8 + Mark Lord Special Edition Cherry Dock

Top
#206526 - 24/02/2004 08:28 Re: telnetd & other 3rd party software question [Re: SonicSnoop]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Ahh.. my fault. There needs to be exactly one blank space immediately after the ;@AC part.

Cheers

Top
#206527 - 24/02/2004 08:29 Re: telnetd & other 3rd party software question [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
;@AC;@EXEC_ONCE /telnetd [/1]That line is wrong, missing a space. Use this instead:

;@AC ;@EXEC_ONCE /bin/telnetd

Top
#206528 - 24/02/2004 15:28 Re: telnetd & other 3rd party software question [Re: mlord]
SonicSnoop
addict

Registered: 29/06/2002
Posts: 531
Loc: Triangle, VA
Ahh! Ok thank you!
_________________________
-D Modifying and Tweaking is a journey, not a destination................................ MKIIa : 60gig - 040103286 - Blue - v2 + PCATS tuner MKIIa : 20gig - 040103260 - Blue - v3a8 + Mark Lord Special Edition Cherry Dock

Top