Click to See Complete Forum and Search --> : my computer is......securing itself?


Nameless
03-20-2002, 01:32 AM
Hey,
Alright, lately me and my buddy have been playing around with remote access to my slackware 8 box. Anyways lastnight I went into netconfig and changed the name of my box to 'mrbox' from 'darkstar' (default).
Now he can no longer connect in (via ftp or telnet). WTF?
I think I might of changed something in inetd.config (it was really late....er...early), but i went through it and it all looks fine.

Ideas? suggestions?

thanks in advance

btw. I know i should be using ssh, i've heard it all before....

bennyb0y
03-20-2002, 02:04 AM
Where did you change the name?
/etc/HOSTNAME
or
in rc.M ( in this area )
# If there's no /etc/HOSTNAME, fall back on this default:
if [ ! -r /etc/HOSTNAME ]; then
echo "darkstar.example.net" > /etc/HOSTNAME
fi

-

ScRapZ_1
03-20-2002, 11:16 AM
How is he trying to connect, by IP or hostname? Sorry, this is probably really obvious - but its the obvious things that we look over ;)

Make SURE hes trying to connect via IP address... just to make sure :D

TTFN,
ScRapZ_1 :p

Nameless
03-20-2002, 04:23 PM
I opened up /etc/HOSTNAME and it says:

mybox.gov

when it says "enter domain name" Should I be entering example.net?

and he is connecting using my ip address.

any other ideas?

thanks so far

[ 20 March 2002: Message edited by: Nameless ]

mdwatts
03-20-2002, 06:44 PM
Did you reboot? A hostname change requires a reboot.

Nameless
03-20-2002, 11:19 PM
i rebooted lots.

What exactly is needed for a fpt or telnet server? I mean what has to be commented/ un commented in /etc/inetd.config ?

thanks

btw here is the error he gets:

>ftp: connect :10061

thanks again

Nameless
03-20-2002, 11:27 PM
I searched google and found the problem. I just don't know how to fix it. It said that my inetd daemon isn't running.

(this is going to sound dumb)
how do i run it?

thanks

bugfix
03-21-2002, 05:33 AM
hit: 'inetd' to restart the services.

Harvey
03-21-2002, 02:39 PM
check to be sure your telnet daemon and ftp daemons are still running.

ps -ef
ps -ef |grep telnetd

Nameless
03-21-2002, 11:06 PM
arrrggg.....

I though for sure that was the problem after searching google......

Still no go. I can send emails using pine and people can connect to my apache website thing no problem.

what else could it be?

Thanks so far,

Trev

Nameless
03-23-2002, 08:51 PM
c'mon guys...help me out please

mdwatts
03-24-2002, 11:21 AM
Sorry Nameless as I have no idea what the problem could be.

Can you just change the hostname back to what it was and see if that fixes the problem?

If you cannot change it back, then have a look/search in /etc to see if there are any old instances of the original hostname.