Operating System - HP-UX
1830026 Members
11452 Online
109998 Solutions
New Discussion

telnet disabled when system shutdown

 
jareen.ux
New Member

telnet disabled when system shutdown

telnet is disabled whenever system is shutdown.Once the ifconfig plumb is used it is activated but lost again if the system is shutdown and started
7 REPLIES 7
Peter Nikitka
Honored Contributor

Re: telnet disabled when system shutdown

Hi,

that's the (correct) way, how telnet works:
If the corresponding telnetd is terminated - by shutdown in your case - the session is closed.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Jaime Bolanos Rojas.
Honored Contributor

Re: telnet disabled when system shutdown

Jareen.ux

Telnet is supposed to get disconnected once you reboot or shutdown the system, if what you want is to stay connected in the system at that time, then using the console is what you want, as you will be able to stay connected all the way.

Regards,

Jaime.
Work hard when the need comes out.
Sp4admin
Trusted Contributor

Re: telnet disabled when system shutdown

Hi jareen.ux,

The telnetd daemon is suppost be disconnected at shutdown. I have to agree with Pete and Jaime.

sp,
spex
Honored Contributor

Re: telnet disabled when system shutdown

Jareen,

Are you saying that after a reboot, telnet is unavailable until you issue 'ifconfig plumb'?

PCS
jareen.ux
New Member

Re: telnet disabled when system shutdown

yes spex
Ninad_1
Honored Contributor

Re: telnet disabled when system shutdown

Hi Jareen,

Is there any script in startup which may be doing this ? try grep -i ifconfig /sbin/init.d/*

Because usually when the system comes up all the CLAIMED lan interfaces will be plumbed by default and later assigned ip addresses as per defined in /etc/rc.config.d/netconf

Do you have the entries for assiging ip address for that interface in /etc/rc.config.d/netconf ?
If not you need to make an entry like

INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=10.221.51.70
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=10.221.51.255
INTERFACE_STATE[0]=up
DHCP_ENABLE[0]=0

Just make sure that the number in the square brackets is unique and not repeated for the extra lan adapter ports you may be having, thus next lan i/f you would configure as

INTERFACE_NAME[1]=lan1
IP_ADDRESS[1]=10.221.51.70
SUBNET_MASK[1]=255.255.255.0
BROADCAST_ADDRESS[1]=10.221.51.255
INTERFACE_STATE[1]=up
DHCP_ENABLE[1]=0

After this, whenever your server comes up the ip addrress will be assigned to your n/w ports as per the above details automatically.

Regards,
Ninad
jareen.ux
New Member

Re: telnet disabled when system shutdown

helpful.Thanks