In
/etc/resolv.conf I have in both cases:
Code: Select all
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.10.1
however I have already tried other dns servers (google, opendns) without success (as already said, I've already done various tests).
Code: Select all
$ sudo inxi -r
Repos: Active apt sources in file: /etc/apt/sources.list.d/antix.list
deb http://nl.mxrepo.com/antix/jessie/ jessie main nosystemd
Active apt sources in file: /etc/apt/sources.list.d/debian-stable-updates.list
deb http://ftp.it.debian.org/debian/ jessie-updates main contrib non-free
Active apt sources in file: /etc/apt/sources.list.d/debian.list
deb http://ftp.it.debian.org/debian/ jessie main
deb http://security.debian.org/ jessie/updates main
However repos should be ok because with DHCP I have no problems.
apt-get doesn't run only when I set a static address.
PS: could you let me know how to correctly restart the network (and services in general)? Because with these commands:
Code: Select all
sudo service networking stop; sudo service networking start
I'm unable to obtain an ip address when I'm on DHCP so I need to restart the machine. Instead, when I'm on STATIC, when I try to restart network, I have problems only with DNSs (/etc/resolv.conf is not updated) and setting them manually is not a solution (even restarting
resolvconf service).
Is it preferable to run
/etc/init.d/demon_name start/stop?
Moreover, I've seen (running
sysv-rc-conf) that"networking" service is disabled so this should means that network is started/stopped in other way.
More details:
I've already tried to remove dhcp related packages and to reinstall all the system with the hope to solve instead problem persists. I think about to open a bug. How could I do?