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

 

 

 

Whi is debian 9 ignoring my interfaces?

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
SystemUser
Posts: 9
Joined: 2018-08-01 19:59

Whi is debian 9 ignoring my interfaces?

#1 Post by SystemUser »

Hi!

I ran

Code: Select all

apt-get purge network-manager
update-rc.d -f dhcpd remove
I put the following in /etc/network/interfaces

Code: Select all

# 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

auto eth0
iface eth0 inet static
    address 192.168.1.192
    netmask 255.255.255.0
    gateway 192.168.1.1
Now the problem I have is that ifconfig is now showing me eth0. Why? I also tried manually run ifup eth0 and it said

Code: Select all

Cannot find device "eth0"
Failed to get interface index: No such device
I then found that there is /etc/network/interfaces.d/setup that only described lo. But it didnt help.

Any ideas how to make debian use /etc/interfaces?

ifconfig -a shows me this:

Code: Select all

root@debian-test:~# ifconfig -a
enp0s3: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 08:00:27:b3:47:50  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Last edited by SystemUser on 2018-08-10 18:45, edited 1 time in total.


Bulkley
Posts: 6387
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Whi is debian 9 ignoring my interfaces?

#3 Post by Bulkley »

When you purged network-manager what else did it remove? Do you still have wpa-supplicant?

SystemUser
Posts: 9
Joined: 2018-08-01 19:59

Re: Whi is debian 9 ignoring my interfaces?

#4 Post by SystemUser »

Tnx. enp0s3 helped me.

When you purged network-manager what else did it remove? Do you still have wpa-supplicant?
No, I dont. But now it already works.

Post Reply