The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
localhost problem! georgeplus UNIX for Advanced & Expert Users 1 03-26-2007 09:19 AM
Can't login as SU anymore - SU: NO SHELL homechoice UNIX for Dummies Questions & Answers 4 04-24-2006 06:15 AM
Can't detect usb thumbdrive anymore feef UNIX for Dummies Questions & Answers 2 12-01-2005 09:38 PM
AIX localhost error pramodvr UNIX for Dummies Questions & Answers 1 04-08-2005 09:10 AM
After installing linux cannot boot PC anymore? RellioN Slackware 4 05-05-2004 11:52 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-07-2007
Corvin Corvin is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 3
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.

[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 05:54 AM.. Reason: Added system config/information
  #2 (permalink)  
Old 09-07-2007
Corvin Corvin is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 3
(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 (permalink)  
Old 09-10-2007
Corvin Corvin is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 3
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"

Can anybody help with this, please?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:58 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0