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


  Search this Thread
Old 07-25-2010, 01:32 AM   #1
LQ Newbie
Registered: Feb 2009
Posts: 13

Rep: Reputation: 0
I can not ping on Slackware


never experienced this problem before. Nothing on Google helped me.

When I run:

# Ping

Returns nothing. As if expecting an answer that never comes. Then press Ctr + C and returns:

--- ping statistics ---
117 Transmitted packets, 0 received, 100% packet loss, time 116009ms

I use 3g modem connection configured with the command:

# pppsetup

The internet connection is normal. But without the ping localhost also can not open the settings for CUPS.

Here is my /etc/resolv.conf (if it helps in something): search

And here is my /etc/hosts:

# For loopbacking. localhost darkstar

The response of the command "route":

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
* 255 255 255 255 UH 0 0 0 ppp0
default * U 0 0 0 ppp0

Responses to "ifconfig 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)

I'd be very happy and grateful if someone with a good heart had a clue about what is causing this problem.

Thank you and sorry for my English.
Old 07-25-2010, 02:08 AM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Q: What does "ifconfig" say? Could you cut/paste the exact contents?

Q: What version of Slackware are you running?

Q: What does "iptables -L -n" say? Do you show any rules blocking ICMP (ping)?

Last edited by paulsm4; 07-25-2010 at 02:12 AM.
Old 07-25-2010, 02:29 AM   #3
LQ Newbie
Registered: Feb 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for your interest! Very much.

I solved the problem by adding the following line to rc.local:

"ifconfig lo netmask"

Slackware version 13.1.


Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Thanks again!

I think the problem is the fact that the script "rc.inet1" which is in /etc/rc.d, was disabled.


A big hug!


ping, slackware

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
I can't ping (with open firewall) jsmith6 Slackware 16 07-24-2008 04:41 PM
Can not ping dan0r Linux - Networking 12 06-15-2006 05:08 PM
FC4 won't ping or the internet, but will ping local computers jalsk Linux - Networking 4 11-22-2005 06:59 PM
No ping replies on zzero Linux - Networking 14 03-15-2004 11:17 AM
No ping Spi Linux - Networking 11 07-19-2003 12:16 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:56 AM.

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