Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Hi guys!
I haven't changed any settings....just put on the computer today and no internet....
I can ping 8.8.8.8 no problems...
I have the following ifconfig:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
#Network Interface My Internet Network
auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1 8.8.8.8 8.8.4.4
#Clonezilla
auto eth1
iface eth1 inet static
address 192.168.10.254
netmask 255.255.255.0
When I last shut the computer it Internet was working OK....something about dns being overridden by another setting?
bookie
Last edited by bookie on 2017-06-21 05:27, edited 1 time in total.
(1) Have you installed any graphical desktop environment and NetworkManager?
(2) Is the package resolvconf installed to read dns-nameservers from /etc/network/interfaces?
(3) If the answer to (1) and (2) are both no, /etc/resolv.conf will be a static file. Check it to see if you've appointed a nameserver.
bookie wrote:When I last shut the computer it Internet was working OK
Is this the first time you shutdown the computer since Debian is installed?
if you can ping 8.8.8.8, but not e.g. google.com, then you have a name resolving (DNS) issue.
thoughts:
- iirc networkmanager wants you to NOT define anything in /etc/interfaces (or wherever that file you pasted resides).
- your first nameserver points to your router? is your router (or whatever is at 192.168.1.1) resolving names?
Hi debiman...
I have added my router to network interfaces settings because I had problems with getting the internet to work....
Because I use clonezilla they have in the past recommended that one removes the network manager...but then others say it isn't necessary with the later versions of Debian...
All I know is that part of setting up clonezilla requires static ip addresses for the network cards.... I have a d-link dir-825 router and have changed the firmware to dd-wrt and have reserved the ip addresses for all my computers just because I can keep tabs on them....
I seem to remember som updates the last time I used the server and that might be the cause of the problem...
If I am to remove the dns nameservers from the network interfaces file...then how do I fix this if I keep the network manager?
Hi again
Instead of removing network manager I have disabled it and removed my gateway as a dns nameserver but still haven't internet?
How do I resolve this?
I have checked resolv.conf and have no entries there for dns and my network interfaces is the only mention of dns like it should be?
Hi guys!
Sorry if I haven't been listening....
I added my nameservers to resolv.conf
I didn't have resolvconf installed and installed that and reconfigured it to not update resolv.conf dynamically....
I now have internet igen....
The problem with fixing problems like this there are too many threads offering differnt advice and it gets confusing....
bookie32
Last edited by bookie on 2017-06-19 06:32, edited 1 time in total.
Glad you figured it out. If you could edit the title to [SOLVED] it would help the other searchers immensely.
Since you are using /etc/network/interfaces, you are not encountering any conflict only because NetworkManager is smart enough to automatically get out of the way. And if it's not smart enough occationally and cause you more trouble, you might try configure your connections completely in NetworkManager and remove the eth0 configuration from /e/n/i.
Hi orythem27
I have always stuck to the Clonezilla How To for setting up the network interfaces...but am willing to try the usual way of doing things via network manager...
Could you give me an example if I go via network manager instead....?
I am calling this solved as no one seems interested in showing me how the networkmanager works instead of network interfaces for static ip's
I have internet and that is the main thing...
Hi orythem27
Thanks for your reply....
OK is there anything I need to think about regarding resolvconf etc?
I just remove my info from network interfaces and add it via networkmanager?
When using NetworkManager, /etc/resolv.conf will be dynamically generated by NetworkManager. Configure DNS servers as shown in the above image and it will go into /etc/resolv.conf.