[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ifup && iptables error



William Torrez Corea wrote: 
> When i execute show the following:
> 
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
> DEFAULT group default qlen 1000
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> 2: enp7s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
> state DOWN mode DEFAULT group default qlen 1000
>     link/ether e0:db:55:c2:58:45 brd ff:ff:ff:ff:ff:ff
> 3: wlp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
> UP mode DORMANT group default qlen 1000
>     link/ether 54:35:30:89:cd:f3 brd ff:ff:ff:ff:ff:ff
> 
> > ifquery: couldn't read interfaces file "/etc/network/interfaces"
> > ifup: /etc/network/interfaces:19: unknown or no address type and no
> > inherits keyword specified
> > ifup: couldn't read interfaces file "/etc/network/interfaces"
> > failed.

Right, your basic problem is that your interfaces are now names
enp7s0
and
wlp6s0

not eth0 and wifi0 or whatever they used to be.

Fix them in /etc/network/interfaces, double check your iptables
rules are either using the new names or don't mention interfaces
at all, and you should be relatively happy.

-dsr-


Reply to: