Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Linux FDS » New Remote Administration Capability for the LFDS
New Remote Administration Capability for the LFDS [message #50865] Thu, 09 October 2003 08:16 Go to next message
mac is currently offline  mac
Messages: 1018
Registered: February 2003
Karma: 0
General (1 Star)
Administrator/General
Hello,

I have rewritten my old renrem script, and made it much better, faster and fixed a known memory leak.

It acts now as a wrapper for the LFDS, you start the wrapper, and the wrapper starts renegade and controls its input and output. Messages from the Telnet console to the LFDS are no longer taking 2 seconds to be posted, and no messages are lost anymore.

See the Readme below for more inforation.
You can download it here.

README:
Filename: Renegade LFDS Wrapper

Version: 0.1

Creator: mac

Email: mac@oneshell.de

Homepage: mac.tactical-command.de/renegade/

Description: Replacement for the LFDS' non working remote administration capability in form
of a wrapper


Description:
=============

The Linux FDS doesn't come with a working remote administration capability. This utility provides a multi threading telnet server, that listens to requests and sends incoming commands to renegade server. It acts as a wrapper for the renegade server executable and writes directly into
the console.

Installation:
==============

The wrapper is a compiled perlscript that is available for 4 seperate distributions:

Redhat 7 (official LFDS supported Distribution)
Redhat 8 (official LFDS supported Distribution)
Redhat 9
Suse 8.2

If your distribution is not included, you can try if any of the versions above run. If not,
you can try to contact me. I wasn't able to compile it properly using Debian 3.0 Woody, so
I cannot help here.

It is assumed that you have downloaded the right version of the program.

Edit your server.ini to include a working renrem configuration. The wrapper reads the password out
of the config file. Do not also forget to set the required Ports to their actual values. Leaving them at 0 (default) will not work!

Example:

AllowRemoteAdmin = true
RemoteAdminIP =
RemoteAdminPassword = password
GameSpyGamePort = 4848
GameSpyQueryPort = 23500

Rename your renegade executable to "renegade", if not already done. Put "renegade_server"
into the same directory as your LFDS server.




Usage:
======

Start the wrapper with

mac@defiant:~/Server> ./renegade_server

The wrapper will start the renegade server, and is also printing out the telnet port that it
has opened.

Renegade Server Wrapper 0.1 (c) 2003 by Daniel Herda <mac@oneshell.de>
Commercial Usage is prohibited.
Opening TCP Port 8555
Started Server with pid 5371
Renegade Free Dedicated Server v1.037 GU-838 03/01/2003 - 19:00:34
Console mode active
[...]

After this, you can connect to the listening daemon at the specified port:

mac@defiant:~> telnet localhost 8555
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Welcome to Renegade Remote Control. Enter your password.
password
Password accepted.
Use help to get a list of available commands.
game_info
[08:21] GameSpy mode active since Thu Feb 13 08:20:34 2003
[08:21] Gameplay in progress
[08:21] Map : C&C_Hourglass.mix
[08:21] Time : 0.29.09
[08:21] Fps : 48
[08:21] GDI : 0/1 players 0 points
[08:21] NOD : 0/1 players 0 points
[08:21]

Notes:
=====

You can quit the session with "quit". This will not be sent to the LFDS.

The wrapper will restart the LFDS if it exists for any unknown reason.

There is no console input in the wrapper, because it is supposed to be run in the
background unlike the LFDS. You *need* to use the telnet access to communicate with
the server.

Credits:
========
Greg Underwood for making the LFDS and investing am serious amount of time to fix all the issues! We owe you!
Blazer for helping with POE.


Copyright
=========
This file is the property of the creator, all rights and copyrights belong to him.
This tool may not be used in _any_ commercial form without written permission from the author!
Do not copy, alter, or claim credit for this tool without permission from creator.
[/url]


Quote:


danpaul88: buggy bugs brenbot because buggy befriends brainlessness

New Remote Administration Capability for the LFDS [message #50867] Thu, 09 October 2003 08:37 Go to previous messageGo to next message
Majiin Vegeta is currently offline  Majiin Vegeta
Messages: 2186
Registered: February 2003
Location: London
Karma: 0
General (2 Stars)
i ahve no idea what all that is.. never used linux but good work Very Happy

glad some people still working on a few things
New Remote Administration Capability for the LFDS [message #50869] Thu, 09 October 2003 08:38 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
Pretty 1337, mac.

Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
New Remote Administration Capability for the LFDS [message #51418] Wed, 15 October 2003 03:57 Go to previous messageGo to next message
MiSpA51 is currently offline  MiSpA51
Messages: 4
Registered: October 2003
Karma: 0
Recruit
Hello people,

Im sitting behind a windows xp machine and want to use renrem for a Linux server (rent) that is standing on the internet. (ftp)

Can I install the wrapper or must someone do that from who i rent the server?

Help me plz :oops:
New Remote Administration Capability for the LFDS [message #51426] Wed, 15 October 2003 05:12 Go to previous messageGo to next message
mac is currently offline  mac
Messages: 1018
Registered: February 2003
Karma: 0
General (1 Star)
Administrator/General
MiSpA51

Hello people,

Im sitting behind a windows xp machine and want to use renrem for a Linux server (rent) that is standing on the internet. (ftp)

Can I install the wrapper or must someone do that from who i rent the server?

Help me plz :oops:


That is commercial usage. Your hoster needs to get in contact with me for licensing details.


Quote:


danpaul88: buggy bugs brenbot because buggy befriends brainlessness

New Remote Administration Capability for the LFDS [message #51431] Wed, 15 October 2003 06:33 Go to previous messageGo to next message
MiSpA51 is currently offline  MiSpA51
Messages: 4
Registered: October 2003
Karma: 0
Recruit
Srry Sad

Ill let him contact you Wink
New Remote Administration Capability for the LFDS [message #52779] Sun, 26 October 2003 06:19 Go to previous messageGo to next message
kloxxi is currently offline  kloxxi
Messages: 1
Registered: October 2003
Karma: 0
Recruit
Confused

If I want to start the renegade_server Script, linux says something like this:


Unable to load POE::Macro::UseBytes : Can't locate POE/Macro/UseBytes.pm in @INC
(@INC contains: CODE(0x8320eb8) CODE(0x83d89b8) /usr/lib/perl5/5.8.0/i586-linux
-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thr
ead-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at (eval 42
) line 2.
BEGIN failed--compilation aborted at (eval 42) line 2.
at /usr/lib/perl5/site_perl/5.8.0/POE/Driver/SysRW.pm line 8
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/POE/Driver/S
ysRW.pm line 8.
Compilation failed in require at (eval 35) line 1.
BEGIN failed--compilation aborted at (eval 35) line 1.
could not import qw(Driver::SysRW) at /usr/lib/perl5/site_perl/5.8.0/POE/Wheel/F
ollowTail.pm line 13
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/POE/Wheel/Fo
llowTail.pm line 13.
Compilation failed in require at (eval 31) line 1.
BEGIN failed--compilation aborted at (eval 31) line 1.
could not import qw(Wheel::FollowTail) at script/renegade_server.pl line 7
BEGIN failed--compilation aborted at script/renegade_server.pl line 7.

SuSE 8.1, I've installed the newest version of glibc. Can you say me where the error is?
New Remote Administration Capability for the LFDS [message #52786] Sun, 26 October 2003 11:24 Go to previous messageGo to next message
mac is currently offline  mac
Messages: 1018
Registered: February 2003
Karma: 0
General (1 Star)
Administrator/General
kloxxi

Confused

If I want to start the renegade_server Script, linux says something like this:

SuSE 8.1, I've installed the newest version of glibc. Can you say me where the error is?


I don't have a suse 8.1, the 8.2 binary is not compatible with 8.1. I suggest you update or change to one of the supported platforms.

If you want, you can give me access to your 8.1 box and I will compile it there.


Quote:


danpaul88: buggy bugs brenbot because buggy befriends brainlessness

New Remote Administration Capability for the LFDS [message #59648] Mon, 29 December 2003 03:37 Go to previous messageGo to next message
mac is currently offline  mac
Messages: 1018
Registered: February 2003
Karma: 0
General (1 Star)
Administrator/General
New version, preparing it for the upcoming brenbot release.

Current Version: 0.2

Changelog:
Fixed a few bugs while reading the config file.
You're no longer needed to set your gamespy query and gameport.
Connected telnet clients will get the output from the logfiles now, instead of the host console. This includes Team messages.

Download it from http://www.brenbot.com/wrapper/


Quote:


danpaul88: buggy bugs brenbot because buggy befriends brainlessness

New Remote Administration Capability for the LFDS [message #59652] Mon, 29 December 2003 05:38 Go to previous message
[HLOW]Tomten is currently offline  [HLOW]Tomten
Messages: 164
Registered: May 2003
Karma: 0
Recruit
nice work, just downloaded it Very Happy
Previous Topic: Ranking
Next Topic: SFPS
Goto Forum:
  


Current Time: Sun Nov 10 21:51:56 MST 2024

Total time taken to generate the page: 0.01003 seconds