LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-23-2018, 12:59 AM   #1
RobertX
LQ Newbie
 
Registered: May 2011
Posts: 21

Rep: Reputation: Disabled
Mint 19.1 Cannot Access Web Pages After Being JLIVECD Mastered


After using JLIVECD to remaster a Linux Mint 19.1 MATE 32-bit installation, the installer and the installed OS cannot connect to the Internet; it can't use webpages or update. However, I can use the remastered OS to access shares of my other computers. Therefore, the network card and the cables are not at fault. Make that three for the wired router as the other computers can use the Internet just fine.
 
Old 12-23-2018, 01:54 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,436

Rep: Reputation: Disabled
Quote:
Originally Posted by RobertX View Post
After using JLIVECD to remaster a Linux Mint 19.1 MATE 32-bit installation, the installer and the installed OS cannot connect to the Internet; it can't use webpages or update. However, I can use the remastered OS to access shares of my other computers. Therefore, the network card and the cables are not at fault. Make that three for the wired router as the other computers can use the Internet just fine.
What do the following commands tell you?

Code:
ping google.com
ping 8.8.8.8
Post the results using CODE tags.
 
Old 12-23-2018, 02:57 AM   #3
RobertX
LQ Newbie
 
Registered: May 2011
Posts: 21

Original Poster
Rep: Reputation: Disabled
Code:
ping google.com: 
Name or service not known

ping 8.8.8.8:
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=123 time=42.6 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=123 time=41.2 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=123 time=41.8 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=123 time=40.7 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=123 time=40.9 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=123 time=41.8 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=123 time=40.5 ms
I just tried editing the resolv.conf file and added nameserver 8.8.8.8 and nameserver 8.8.4.4 to no avail.

Thanks for the reply.
 
Old 12-23-2018, 03:02 AM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,436

Rep: Reputation: Disabled
It looks like a DNS problem.

The second ping worked; therefore you have an Internet connection, but it cannot resolve the domain name.

Post the output of the following command to confirm;

Code:
cat /etc/resolv.conf
 
Old 12-23-2018, 03:18 AM   #5
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 4,129

Rep: Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159
Quote:
Originally Posted by RobertX View Post
I just tried editing the resolv.conf file and added nameserver 8.8.8.8 and nameserver 8.8.4.4 to no avail.
I don't know that much about Mint, but it's likely that it uses a network manager (NetworkManager being the most widely used one) that doesn't like humans to interfere with its management.

In other words, you change /etc/resolv.conf, and while you turn around, the network manager resets it to what it used to be.

Sorry for not telling you how to solve this in Mint; I don't know. But if you see that resolv.conf is overwritten by dark forces, this is the direction your research should take.

I speak from painful experience.

Last edited by berndbausch; 12-23-2018 at 03:19 AM.
 
Old 12-23-2018, 03:18 AM   #6
RobertX
LQ Newbie
 
Registered: May 2011
Posts: 21

Original Poster
Rep: Reputation: Disabled
Code:
No such file or directory.
I've done some looking up. For some reason, Linux Mint 19.1 doesn't put resolv.conf in /etc/; rather it's in /lib/systemd/

If you want me to utter the words of resolv.conf it's nameserver 127.0.0.53.
 
Old 12-23-2018, 03:21 AM   #7
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,436

Rep: Reputation: Disabled
Quote:
Originally Posted by RobertX View Post
Code:
No such file or directory.
I've done some looking up. For some reason, Linux Mint 19.1 doesn't put resolv.conf in /etc/; rather it's in /lib/systemd/

If you want me to utter the words of resolv.conf it's nameserver 127.0.0.53.
Check your router settings - if that's getting DNS servers, then it should be listed somewhere in there.
 
Old 12-23-2018, 03:26 AM   #8
RobertX
LQ Newbie
 
Registered: May 2011
Posts: 21

Original Poster
Rep: Reputation: Disabled
Which one should I look?

Code:
Connection Type:	PPPoE
Login Status:	Connected  
Internet IP Address:	
Subnet Mask:	
Default Gateway:	
DNS1:	
DNS2:	
DNS3:	
MTU:
In the front page of the router:
Code:
Client Lease Time: 0 minutes (0 means one day)
Static DNS 1:0.0.0.0
Static DNS 2:0.0.0.0
Static DNS 3:0.0.0.0
WINS:0.0.0.0
Sorry if I took enough of your patience, by the way; I never had to look at router settings thus far apart from connecting the computers together.

Last edited by RobertX; 12-23-2018 at 03:33 AM.
 
Old 12-23-2018, 03:28 AM   #9
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,436

Rep: Reputation: Disabled
Did you see my post #7 ?
 
Old 12-23-2018, 03:47 AM   #10
RobertX
LQ Newbie
 
Registered: May 2011
Posts: 21

Original Poster
Rep: Reputation: Disabled
I wouldn't be hand-held, but I might, uh, need a little more explanation.

I saw the router settings and all that is pertinent to DNSs is posted on my last post.

In one of the pages there are two groups of DNS and I posted them because I thought they were relevant.

What am I doing wrong?

EDIT: My router is in a DHCP mode and all I see are zeroes in the static DNS lists.

Last edited by RobertX; 12-23-2018 at 03:49 AM.
 
Old 12-23-2018, 04:12 AM   #11
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,436

Rep: Reputation: Disabled
Quote:
Originally Posted by RobertX View Post
...
What am I doing wrong?
Nothing from what I can see.

Quote:
EDIT: My router is in a DHCP mode and all I see are zeroes in the static DNS lists.
If all you see in your router setting's for DNS are zero's, then your router is likely not getting any DNS servers - you should see some WAN IP addresses there for your ISP's DNS servers. So if you are not seeing that; then I would contact your ISP and ask why. Tell them you have an Internet connection, but you are not getting any DNS servers listed in your router's settings in that case.
 
Old 12-23-2018, 07:26 PM   #12
RobertX
LQ Newbie
 
Registered: May 2011
Posts: 21

Original Poster
Rep: Reputation: Disabled
[SOLVED]

It looks fine now.

Did two things:

1. Installed a new version of resolvconf, which was version 1.79.
2. Went into /lib/systemd/resolv.conf and typed in nameserver 8.8.8.8 and made that the only entry in the file.

I don't know what I did, but Internet is back again.

Thanks for the prompt advice.

I hope that the next thread would be a little more interesting than this.

Happy Holidays!
 
Old 12-23-2018, 07:53 PM   #13
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 987

Rep: Reputation: 260Reputation: 260Reputation: 260
Last winter, both my JLiveCD remastered Ubuntu and Mint 18.3 had the same issue. I'm currently still using Mint in VMWare. I made a little script called resolv.sh, put it in my home directory and ran command: chmod a+x resolv.sh, then added a line in /etc/crontab to execute the script upon every boot. If I remember correctly, network manager will change it back to localhost address you posted (127.0.0.53.) every reboot, so without the script, you will need to change the address every time you boot it, whether you installed Mint from the remastered CD or if you use it live. If you are using it live you can make these changes to the existing JLiveCD configuration and remaster it. My script is for /etc/resolv.conf because that's where the file is in Sylvia, so you would have to change it to the systemd directory.

resolv.sh script in home directory:
Code:
#/bin/sh
	cat > /etc/resolv.conf <<EOF
nameserver 208.67.222.222
EOF
Line added in /etc/crontab:
Code:
@reboot root    /home/jo/resolv.sh
I used a OpenDNS nameserver address.
 
Old 12-23-2018, 10:40 PM   #14
RobertX
LQ Newbie
 
Registered: May 2011
Posts: 21

Original Poster
Rep: Reputation: Disabled
OK, I've done some tinkering with my flawed burns and narrowed down the problem. I have some startling results.

You don't need to edit the resolv.conf file; in fact, it doesn't matter what you do with it. Just install the resolvconf package either on a website in deb format or the package manager when using JLIVECD.

Secondly, after you added resolvconf, make certain that you go to a terminal and type 'sudo service network-manager restart' or you won't be anywhere online.

I hope this helps everyone that had the same problem I had. A little of luck and random research does the trick.
 
  


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
LXer: How Linux mastered Wall Street LXer Syndicated Linux News 0 08-15-2011 09:11 PM
Web server sees the pages, but not the folder that has all the images for the pages nortonz Linux - Server 9 05-17-2010 04:04 PM
MS Publisher html pages for new web pages do not open in firefox, any suggestions?? Bwebman Linux - Newbie 3 06-13-2009 11:35 AM
ADSL Router Web configuration pages appears instead of Personal Web Server Pages procyon Linux - Networking 4 12-20-2004 06:44 PM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration