LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-31-2020, 05:19 AM   #1
chafporte
LQ Newbie
 
Registered: Jul 2017
Posts: 4

Rep: Reputation: Disabled
Jessie can be pinged only if it pings first


hi,

Debian Jessie connects via WICD on a WPA wireless network and can ping the whole network and the internet. But it can't be reached nor pinged unless it pings first any machine that want to established contact.

resolv.conf (if it matters) is

domain lan
search lan
nameserver 192.168.1.1

but systemd-resolved is inactive (I've tried to start/enable it without improvement). I also tried to install and enable/start resolvconf without improvement either.

I've reach the end of my knowledge here.

Last edited by chafporte; 03-31-2020 at 07:44 AM.
 
Old 03-31-2020, 05:28 AM   #2
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,698

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Duplicate IP address perhaps?
Quote:
but systemd-resolved is inactive (I've tried to start/enable it without improvement). I also tried to install and enable/start resolvconf without improvement either.
You can only have one network management system active at a time. Perhaps you're using NetworkManager?

Last edited by ferrari; 03-31-2020 at 05:29 AM.
 
Old 03-31-2020, 05:29 AM   #3
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,698

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
These might be useful to know...
Code:
ip a
Code:
ip r
 
Old 03-31-2020, 05:36 AM   #4
chafporte
LQ Newbie
 
Registered: Jul 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
I am using WICD (this is on a mac ibook G3 clamshell).

I believe the problem is that the route and relation MAC address - IP address is not broadcasted

ip a :
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default q len 1000
link/ether XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX brd ff:ff:ff:ff:ff:ff
inet 192.168.1.49/24 brd 192.168.1.255 scope global eth1
valid_lft forever preferred_lft forever
inet6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX scope global mngtmpaddr dynamic
valid_lft forever preferred_lft forever
inet6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX scope global mngtmpaddr dynamic
valid_lft 330526sec preferred_lft 330526sec
inet6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX scope link
valid_lft forever preferred_lft forever

ip r :
default via 192.168.1.1 dev eth1
192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.49

Last edited by chafporte; 04-01-2020 at 03:08 AM.
 
Old 03-31-2020, 03:15 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 14,923
Blog Entries: 9

Rep: Reputation: 4214Reputation: 4214Reputation: 4214Reputation: 4214Reputation: 4214Reputation: 4214Reputation: 4214Reputation: 4214Reputation: 4214Reputation: 4214Reputation: 4214
Quote:
Originally Posted by chafporte View Post
But it can't be reached nor pinged unless it pings first any machine that want to established contact.
Shouldn't you show us the ping output for both cases? With the '-v' (verbose) switch?
 
Old 04-01-2020, 11:10 PM   #6
chafporte
LQ Newbie
 
Registered: Jul 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
I believe this is a driver issue and I've found a workaround here:

https://www.linuxquestions.org/quest...st-4175476222/

"So the work-around is to insert a static entry in the ARP cache for all the other computers in the network that need to interact with the affected computer. For a Windows computer, "arp -h" gives an example of how to do that; for a Linux machine, "man arp" should tell you what you need to know. Also the affected computer needs to always have the same IP address, either a static IP address or a DHCP reservation, so that the static ARP entries are guaranteed to be correct. For me there aren't many other computers on my home network, so the work-around isn't much of a hardship. I did the work-around, and now both ping and Samba seem to work, hooray!"
 
Old 04-01-2020, 11:41 PM   #7
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,698

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Happy to read of your success with this - even if it is only a workaround.
 
  


Reply

Tags
ping, resolv, route, trace, wicd


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
[SOLVED] can't ping Linux computer by IP address unless it pings the other computer first rclocher3 Linux - Networking 6 09-11-2013 02:34 PM
Laptop can ping out, but can't be pinged djeikyb Linux - Networking 5 07-13-2010 07:53 PM
local pings/apache2 sites work from outside. external pings/apt-get not working. BnrStnr Linux - Networking 5 02-25-2010 02:20 PM
Mandrake 9.2 box can't be pinged by network but is connected JohnLocke Linux - Networking 2 06-28-2004 05:32 PM
pinged, or scanned with nmap ivanatora Linux - Software 1 09-22-2003 02:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:32 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