localhost-routing not working anymore in OpenSuse v10.1


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers localhost-routing not working anymore in OpenSuse v10.1
# 1  
Old 09-07-2007
localhost-routing not working anymore in OpenSuse v10.1

Hello,

I have a problem with localhost and the routing is not working.
I manually have to switch to CLI during boot and enter below
commands after each boot of the PC, else cron, mail-daemon,
and others relying on localhost-communication is not working:

ifconfig lo 127.0.0.1 up
route add -host 127.0.0.1 lo

then it works fine, but I cannot find a location to make this change permanent.

Maybe you can shed some light on this.

Here are the config files:

ls -d /etc/sysconfig/network/ifcfg-*
/etc/sysconfig/network/ifcfg-eth-id-[MY_MAC]
/etc/sysconfig/network/ifcfg-lo

[HOSTNAME]:~/bin/tst> cat /etc/sysconfig/network/ifcfg-eth-id-[MY_MAC]
BOOTPROTO='dhcp'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME='[DRIVER_NAME]'
NETMASK='255.255.255.0'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
UNIQUE=[UNIQUE_ID]
USERCONTROL='no'
_nm_name='bus-pci-0000:00:12.0'

with my eth0 all is fine. Smilie

[HOSTNAME]:~/bin/tst> cat /etc/sysconfig/network/ifcfg-lo
# Loopback (lo) configuration
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
BROADCAST=127.255.255.255
STARTMODE=onboot
USERCONTROL=no

I do not find any config-errors.


What additional information would be useful to troubleshoot this issue?

Last edited by Corvin; 09-07-2007 at 06:54 AM.. Reason: Added system config/information
# 2  
Old 09-07-2007
(Potential) errors spotted?

UPDATE:

next time I reboot (instead of Suspend-to-HD), I will edit the 'ifcfg-lo'
to use also (like eth0) STARTMODE='auto' instead of STARTMODE=onboot

- and the quotation marks in 'lo'-cfg seem to be missing, ...
I am quite sure I haven't edited the file, but a MAC-changer script probably
# 3  
Old 09-10-2007
Still not working

UPDATE:

It is also not working with STARTMODE='auto' and 'onboot'.
I tested with and without using quotation marks, same result.

the dmesg-entry is: "ifup-route: interface 'lo' is not up" Smilie

Can anybody help with this, please?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Sendmail not working anymore after resolv.conf change

Hi there, I am having a small issue with the mail function on our controllers. Recently we set up all the boxes as NFS slave servers and mail sending was not affected. We then had to change the servers addresses in resolv.conf and now email is being queued and not being sent. I have restarted... (3 Replies)
Discussion started by: lodey
3 Replies
Login or Register to Ask a Question