Koozali.org: home of the SME Server

E-Smith V4 ... IRC howto

Bob

E-Smith V4 ... IRC howto
« on: July 29, 2000, 01:38:02 AM »
Could someone kindly put a little meat onto Adrians setting up IRC for the newbies posting:

1)I've got the rpm on a linux box networked to the e-smith.

2)How do you get the file onto the server?
(I guess via telnet root .. admin .. password Etc. but how)

3)And please what do we put in the command line to 'extract' the file's?

4)TIA a very happy with e-smith newbie :-)

Adrians note..............

Just to let you know that the above solutions does work on e-smith 4.0.
There are some subtle differences. These are what you need to do.
- Install pidentd-2.8.5-3+masq.i386.rpm from http://e-smith.gormand.com.au/
- Copy /usr/doc/pidentd-2.8.5/identd.masq to /etc/identd.masq
- Edit /etc/identd.masq to include your network devices using IRC
Note that:
- /etc/inetd.conf does not need to be touched
- /etc/services stays as default (see note further down)
- Then modify the /etc/rlinetd.conf file to include this:
service "auth" {
protocol tcp;
port "auth";
user "root";
exec "in.identd -e -l -q";
server "/usr/sbin/in.identd";
}
- Restart rlinetd by this:
/etc/rc.d/init.d/rlinetd restart
Make sure that this is there (should be there by default)
/etc/services has this line "auth            113/tcp         ident"
And bingo. Works like a charm.

Adrian

RE: E-Smith V4 ... IRC howto
« Reply #1 on: August 02, 2000, 02:22:55 PM »
Hi Bob,

I am not sure what detail you need your answers to be. I am fairly new to this myself. So here goes....

> How do you get the file onto the server?
FTP is the easiest way of getting the file from one box to another.
There are two ways you can do this.
1. Download the file using FTP from the E-Smith box. This of course assumes that you have FTP running on the box where the file was downloaded to.
2. Alternatively you upload the file using FTP to the E-Smith box, which is running FTP.
I will explain how to do number 2 as number 1 requires knowledge of what the other machine is. There are a couple of things that need to be done before you can upload the file.
- You will need to create a user using the WEB interface to the e-smith box (refer to E-Smith docs).
- Once user has been created RESET the password
- Then FTP to the E-Smith box using the new username and password
- Now upload the file (note that you should upload in Binary NOT ASCII you set the mode by typing BIN at the FTP prompt)
- Once the file has been uploaded, you will need to TELNET to the E-Smith box using the root account (as this has the correct privileges). BE CAREFUL when using this account as it has full access permissions to the whole system which can be dangerous.
- The file you uploaded should be located in /home/e-smith/files/users/
- Move the file say to /usr/src using the command 'mv'

Once you get to this point, the next question is:
>And please what do we put in the command line to 'extract' the file's?
I assume you are talking about how to install the RPM file? This is done using the RPM command. Use 'rpm -Uhv pident......'

At that point you follow though with the copy and the editing of the files. Use 'cp' to copy the files and 'vi' to edit the files.

What I did NOT mention in my previous notes was the fact that the way I have made the changes means that when the E-Smith box is restarted, the rlinetd.conf need to be editted again. I have not had a chance to work out how to edit the TEMPLATE files which would be a better way to do things. If anyone works out how to change the template files please let me know too.

Well I hope that helps.

Regards
Adrian

Bob

RE: E-Smith V4 ... IRC howto
« Reply #2 on: August 02, 2000, 10:30:51 PM »
Hi Adrian,

Many thanks for taking the time to respond I'm sure a lot of people will be using your useful notes to good effect.

I'm going to think this through and 'have' a go ........ worst that can happen is that I'd have to re-install e-smith which is no big deal as it loads sweet as a nut.

BTW hope someone picks up on the editing of the template files issue.

Regards Bob