LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2003, 02:02 PM   #1
keithturner
LQ Newbie
 
Registered: Dec 2002
Posts: 13

Rep: Reputation: 0
lost localhost


We had a power failure and my linux box has become corrupted. With both a dhcp and direct cable available, I had set it for the direct connection, but when rebooting after the blackout, the dhcp cable was inadvertently swapped out and it rewrote all my settings.

I've been trying to use the linuxconf tool, but when I do a Route, it doesn't seem to be taking my settings, and when I use route commands the information, including the default gateway (router info) doesn't seem to survive a reboot.

I had it recognizing localhost but not the internet/network, then I resolved the network problem, but now localhost has disappeared.

When I do a route -n I get 127.0.0.0 for lo, but my ifcfg-lo is:
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
BROADCAST=127.55.255.255
ONBOOT="yes"
NAME="loopback"

As well, the route -n shows that the fourth set of numbers in the destination Column are 0 rather than what's set in the ifcgh-eth0 file.

Any help gratefully appreciated,

Keith
 
Old 01-28-2003, 07:13 PM   #2
dfctve_end_user
Member
 
Registered: Dec 2002
Location: Kalamazoo, MI - US
Distribution: Ubuntu 8.04 Hardy Heron LTS x86_64
Posts: 144

Rep: Reputation: 15
What was the original network configuration you had (i.e. do you have cable internet, Lan, dhcp server,)?
 
Old 01-29-2003, 11:43 AM   #3
keithturner
LQ Newbie
 
Registered: Dec 2002
Posts: 13

Original Poster
Rep: Reputation: 0
I fixed it through ignoring the linuxconf tool and directly editing the network and ifconf files. It was on a static address, but we've got both that and dhcp here, and we had a guest spend the day using the connection, and it looks like the linux machine was booted with that cable in rather than the static one, which is why the files were overwritten.

I have a follow up question. In all this there are additional entries to the routing table that I'd like to remove - they show up as errors on boot. It doesn't seem to effect anything - the correct routes are still there. I tried using the "route del" command but it says that the route doesn't exist, though it shows up using the route -n. The route man shows lots of add examples but is light in del examples.

Again any advice welcome. Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Change localhost name in username@localhost n175uj Linux - Newbie 4 07-01-2005 09:25 PM
Message from syslogd@localhost localhost kernel: Disabling IRQ #21 ylts Linux - Hardware 0 02-26-2005 09:01 AM
power lost from cable modem, interface lost a10392 Linux - Networking 4 11-16-2004 10:01 AM
KDE Sysguard: Connection to localhost has been lost! manjusura Linux - Newbie 0 02-19-2004 02:46 PM
dns requests from localhost to localhost keex Linux - Networking 2 11-13-2003 02:47 PM


All times are GMT -5. The time now is 06:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration