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

Notices


Reply
  Search this Thread
Old 04-03-2020, 01:50 PM   #16
przemo
Member
 
Registered: Feb 2016
Location: cork.ie
Distribution: Slackware-current
Posts: 154

Original Poster
Rep: Reputation: Disabled

/etc/resolv.conf gets overwritten each reboot to default so changing it is pointless
I spotted that I have nameserver ipv4 address and below ipv6
maybe that's the issue with ipv6

when I ping google i get ipv6 no ipv4

I tried kernel parameter to disable ipv6 but no difference
 
Old 04-03-2020, 02:24 PM   #17
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 7,240

Rep: Reputation: 4932Reputation: 4932Reputation: 4932Reputation: 4932Reputation: 4932Reputation: 4932Reputation: 4932Reputation: 4932Reputation: 4932Reputation: 4932Reputation: 4932
Quote:
Originally Posted by przemo View Post
/etc/resolv.conf gets overwritten each reboot to default so changing it is pointless
Changing it is definitely not pointless. If changing it allows you to ping websites, then we know the nameservers your router is providing are broken. There are multiple ways to ensure your /etc/resolv.conf always contains the nameservers you want or you can modify your router to use a different nameserver than what your ISP is providing you.

So please test this so we can try to figure out what is causing your problem.
 
Old 04-03-2020, 02:47 PM   #18
przemo
Member
 
Registered: Feb 2016
Location: cork.ie
Distribution: Slackware-current
Posts: 154

Original Poster
Rep: Reputation: Disabled
ok i try but it didnt work last time someone on debian forum suggested that i may have routing set to ipv6 but where???
 
Old 04-03-2020, 04:23 PM   #19
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,703

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
You should be showing us your current /etc/resolv.conf entries and routing table
Code:
cat /etc/resolv.conf
ip r
ip -6 r
 
Old 04-03-2020, 06:49 PM   #20
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 822

Rep: Reputation: 181Reputation: 181
@przemo, what's different with your setup since internet access last worked?

you didn't mention what version of slackware, is it up to date? same internet service provider? same router?
 
Old 04-04-2020, 09:28 PM   #21
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 708

Rep: Reputation: 302Reputation: 302Reputation: 302Reputation: 302
Question *I* love these [IPv6?] puzzles!!! (tho normal_user just wants it to WORK)

TL;dr: This: ("enabling-ipv6-in-slackware-current")
https://www.linuxquestions.org/quest...ent-4175563812
???

>#8:
Quote:
I ran slackpkg update
it didn`t work
but then I pinged Slackware mirror ip address
and it [ran slackpkg update?] worked
Was this after (while) internet access 'broke'? (Or before?)

Did net.ipv6.conf.all.disable_ipv6=1
'accidentally' get added to /etc/sysctl.conf ?



>#10: mtr google.ie gives me nothing
Hmmmmm... [>#9: Keep digging for more clues...]
What does nothing mean exactly? Hangs? New prompt? What happens in web-browser?
Try: traceroute google.ie ; nslookup google.ie (my MX distro has `host` instead of nslookup)

Then, IF <any_cmd> just hangs until ^C (in desperation, but beware: VOLUMINOUS output!!! -o switch to put it in a file)
[sudo] strace -o junkfile <command>
^C
tail junkfile

But: >#3: ping [--count 2] slackware.com works?
Please confirm!!! mtr/traceroute slackware.com (or nslookup it, to see its IPaddress)

I'll guess that you can't get/see google.ie IPaddress (true?)
ping (&mtr/traceroute) the numeric IPaddress Works? (No?)
Code:
$ host google.ie
google.ie has address 172.217.9.3
google.ie has IPv6 address 2607:f8b0:4000:816::2003
... mail ...
Hmmmmmm.... IPv6 ..... (I don't know IPv6)

>#9(Is web-browser [like firefox'ing LQ] working?)
http://slackware.com works??
But google.ie hangs in web-browser? Or [web] error msg?
Does LinuxQuestions.org work (in web-browser)?

So, slackware.com fully works, but google.ie hangs everything?
What other (just a couple 'key' sites) do (& don't) work? (either/both ping/mtr/etc and web-browse)

>#9: Keep digging for more clues... The more relevant data-points, the better!!!

More:
Code:
$ host slackware.com
slackware.com has address 64.57.102.36
slackware.com mail is handled by 10 mail.cwo.com.
$
No IPv6!!! A clue? Turn on[/off] IPv6 in slackware? Huh???!!!

Do: all non-IPv6 destinations work, and all IPv6 destinations (huh?) NOT work?
(WtH is IPv6 says this!!! OLD Unix'er)

Last edited by !!!; 04-04-2020 at 11:43 PM. Reason: Added possible solution at TOP
 
  


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
I cannot ping with command 'ping IP' address but can ping with 'ping IP -I eth0' sanketmlad Linux - Networking 2 07-15-2011 05:32 AM
100% Packet Loss on external Ping requests on Fedora 10 trev2006 Linux - Networking 1 01-04-2011 02:25 PM
Wine - Multiping and ping plotter show 100% loss mnstrprtier858 Linux - Newbie 3 11-29-2008 04:51 PM
ping packet loss 100% kpachopoulos Linux - Networking 1 04-14-2005 05:29 PM
ping 100% packets loss. linux 2.5.69 odomae Linux - Networking 11 08-11-2003 11:17 AM

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

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