LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-27-2015, 11:32 PM   #1
manojarunkumar
LQ Newbie
 
Registered: Nov 2015
Posts: 20

Rep: Reputation: Disabled
Wait for all "auto" /etc/network/interfaces to be up for network-online.target failed


Hi,

--------------------------------------------------------------------------------
1) I am troubled with following problem :
--------------------------------------------------------------------------------
Wait for all "auto" /etc/network/interfaces to be up for network-online.target failed .

[Failed] Wait for all "auto" /etc/network/interfaces to be up for network-online.target.


--------------------------------------------------------------------------------
2) O/P of systemctl list-dependencies network-online.target
--------------------------------------------------------------------------------

# systemctl list-dependencies network-online.target
network-online.target
● ├─ifup-wait-all-auto.service
● └─NetworkManager-wait-online.service


--------------------------------------------------------------------------------
3) O/P of systemctl --all |grep ifup
--------------------------------------------------------------------------------


# systemctl --all |grep ifup
● ifup-wait-all-auto.service loaded failed failed Wait for all "auto" /etc/network/interfaces to be up for network-online.target
ifup@eth0.service loaded active exited ifup for eth0
system-ifup.slice loaded active active system-ifup.slice


--------------------------------------------------------------------------------
4) cat /etc/network/interfaces
--------------------------------------------------------------------------------

# cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.21
netmask 255.255.255.0

auto dsl-provider
iface dsl-provider inet ppp
pre-up /bin/ip link set enp7s0 up # line maintained by pppoeconf
provider dsl-provider

auto enp7s0
iface enp7s0 inet manual


--------------------------------------------------------------------------------
5) ifconfig
--------------------------------------------------------------------------------

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:21:cc:72:7e:03
inet addr:192.168.1.21 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:20 Memory:f2500000-f2520000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:399 errors:0 dropped:0 overruns:0 frame:0
TX packets:399 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:66571 (66.5 KB) TX bytes:66571 (66.5 KB)

--------------------------------------------------------------------------------
6) Question :
--------------------------------------------------------------------------------

1) Why auto /etc/network/interfaces to be up for network-online.target failed ?
2) whether pppoeconf is causing problem ?

Thanks
MAK
 
Old 11-28-2015, 12:07 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
So eth0 is up, but the other two aren't. I suppose the third one is not supposed to be up anyway, so that the ppp interface should be the culprit.

Try ifup dsl-provider. There should be an error message, hopefully providing some clarity. And/or check what's in /var/log/syslog.

By the way, ifconfig is deprecated. Use the ip address command instead.
 
Old 11-28-2015, 01:20 AM   #3
manojarunkumar
LQ Newbie
 
Registered: Nov 2015
Posts: 20

Original Poster
Rep: Reputation: Disabled
Hi,

Thanks for the reply .

# ifup dsl-provider
Cannot find device "enp7s0"
Failed to bring up dsl-provider.
#

# ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 00:21:cc:72:7e:03 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.21/24 brd 192.168.1.255 scope global eth0
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 08:11:96:da:82:f8 brd ff:ff:ff:ff:ff:ff
4: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 3
link/ppp
inet 14.97.111.221 peer 172.29.145.65/32 scope global ppp0
valid_lft forever preferred_lft forever
5: vboxnet0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 0a:00:27:00:00:00 brd ff:ff:ff:ff:ff:ff
# ip -a


Kindly give me suggestion get rid of this error messages .

Thanks
MAK
 
Old 11-28-2015, 02:24 AM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by manojarunkumar View Post
Hi,

Thanks for the reply .

# ifup dsl-provider
Cannot find device "enp7s0"
Failed to bring up dsl-provider.
#
I don't know how pppoe is configured, but I guess when it was configured enp7s0 existed, but not anymore. Perhaps pppoeconf needs to be run again.

Quote:
Originally Posted by manojarunkumar View Post
Kindly give me suggestion get rid of this error messages .
Remove the entry from interfaces would be the easy way, but you would have to do something to get conncted to DSL.

Last edited by berndbausch; 11-28-2015 at 02:27 AM.
 
Old 11-28-2015, 02:57 AM   #5
manojarunkumar
LQ Newbie
 
Registered: Nov 2015
Posts: 20

Original Poster
Rep: Reputation: Disabled
Hi,

Thanks for reply.

I have commented dsl-provider in /etc/network/interfaces

# cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.21
netmask 255.255.255.0


#auto dsl-provider
#iface dsl-provider inet ppp
#pre-up /bin/ip link set enp7s0 up # line maintained by pppoeconf
#provider dsl-provider

#auto enp7s0
#iface enp7s0 inet manual
#

After that issue got resolved .

# systemctl --all |grep ifup
ifup-wait-all-auto.service loaded active exited Wait for all "auto" /etc/network/interfaces to be up for network-online.target
ifup@eth0.service loaded active exited ifup for eth0
system-ifup.slice loaded active active system-ifup.slice
#


one doubt, in future whether I will able to configure new pppoeconf or not ?

Thanks
MAK
 
Old 11-28-2015, 05:14 AM   #6
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by manojarunkumar View Post

one doubt, in future whether I will able to configure new pppoeconf or not ?
I have to admit, I don't know anything about connecting a computer to DSL via PPP, but I don't think there will be a problem. As long as you configure PPP with the correct interface.
 
Old 11-28-2015, 06:49 PM   #7
manojarunkumar
LQ Newbie
 
Registered: Nov 2015
Posts: 20

Original Poster
Rep: Reputation: Disabled
Hi,

Thanks .


Thanks
MAK
 
  


Reply



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
Bridge configuration for two interfaces for a "Passive" network monitoring system brokenpromises Linux - Networking 5 03-09-2014 04:06 AM
ifup: couldn't read interfaces file "/etc/network/interfaces" dobharweim Linux - Networking 1 12-13-2013 11:20 AM
[SOLVED] Solved Ununtu 12.04 "Desktop" network-manager and /etc/network/interfaces conflicts MrDave Linux - Networking 0 02-20-2013 04:44 AM
ifup: couldn't read interfaces file "/etc/network/interfaces" debian lenny lorimer73 Linux - Networking 1 08-24-2010 03:47 PM
How do I specify "security mode: open" in /etc/network/interfaces? DittoAlex Linux - Wireless Networking 4 09-29-2007 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:38 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
Open Source Consulting | Domain Registration