1834927 Members
2835 Online
110071 Solutions
New Discussion

Re: Re: Loopback

 
Habib_4
Advisor

Re: Loopback

Hi guys,

Just wondered, i am having difficulties logging into the CDE on an old Unix server I bought recently.
It just stays at the login prompt when I try to enter my u/name and pwd.
I was told this was because the IP address was set to the loopback address, and when I checked this that was the issue.
Anyone know how to resolve this?

Cheers

Habib
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Re: Loopback

Shalom Habib,

The loopback address needs to be up and running and it is used for internal networking. If root sends an email it originates on localhost the loopback network.

I do not think setting the IP address of a NIC card to the loopback address is a good idea and agree it could be a problem.

ifconfig lan0

or lan whatever is active.

ifconfig can change the IP address to something legitimate.

It can also be changed by editing /etc/rc.config.d/netconf and restarting networking or the system.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
JASH_2
Trusted Contributor

Re: Re: Loopback

Habib,

I know that it is not the "pure unix guys" way, but you can change the network cards ip address using SAM on the console.

Regards,

JASH
If I can, I will!
Muthukumar_5
Honored Contributor

Re: Re: Loopback

loopback is used for local administration usage in that machine. You have to configure your network card with IP-Address for communicating from external. Configure with ifconfig . Or do it with SAM.

To get permanent effect then configure in /etc/rc.config.d/netconf on related with INTERFACE_* related variables.

--
Muthu
Easy to suggest when don't know about the problem!
Antonio Cardoso_1
Trusted Contributor

Re: Re: Loopback

Check if hostname of your server is correctly resolved, this might also be an issue.
#getip
=> if /etc/resolv.conf is configured to a nameserver but your server is not resolved by DNS, you may need to add conf in nsswitch.conf to force use of FILES.
Example of nsswitch.conf contents:
hosts: files [NOTFOUND=continue] dns
or
hosts: dns [NOTFOUND=continue] files