LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-18-2006, 06:53 AM   #1
grezly
Member
 
Registered: May 2006
Distribution: Slackware
Posts: 46

Rep: Reputation: 15
Loopback addres not available


I was trying to setup my wireless internet on my laptop.
Everything went allright except that my loopback adres is 'gone'.
I can't ping it.
Code:
root@flaptop:/home/dave/prog# ifconfig -a
...

lo        Link encap:Local Loopback
          LOOPBACK  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
...
It exist but doesn't respond. On the other side i can use the network (before I thought it wasn't available if you don't got a loopback address).

I have tried to bring it down and up but that doesn't make any sense.
 
Old 07-18-2006, 07:31 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Have you tried ifcfg lo? I just recall there was an ifcfg-lo file on my system one of these days..eth0 had one too, but the lo-file described the loopback interface, so maybe you need to use ifcfg?

Just a guess
 
Old 07-18-2006, 07:40 AM   #3
grezly
Member
 
Registered: May 2006
Distribution: Slackware
Posts: 46

Original Poster
Rep: Reputation: 15
Wink

ifcfg-lo doesn't exist on my system.
But with ifcfg it did work.

Code:
root@flaptop:/etc# ifcfg lo add 127.0.0.1
rdisc: no process killed

root@flaptop:/etc# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

root@flaptop:/etc# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.052 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.062 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.057 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.058 ms
64 bytes from 127.0.0.1: icmp_seq=5 ttl=64 time=0.059 ms

--- 127.0.0.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3999ms
rtt min/avg/max/mdev = 0.052/0.057/0.062/0.008 ms
Cheers
 
  


Reply



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
i can not get the constant ip addres..please. bruse Linux - Networking 13 04-16-2005 08:10 AM
there is no fixed IP addres suguname Linux - Networking 2 03-05-2005 12:52 AM
Determining IP addres for eth0 failed nutthick Fedora 2 11-14-2004 12:23 PM
finding ip addres from url sanjith11 Programming 1 04-08-2004 04:30 AM
how to activate addres book in Kmail (KDE) vinthund Linux - Software 0 02-24-2004 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:28 PM.

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
Open Source Consulting | Domain Registration