LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-23-2014, 05:32 AM   #1
zlobotron
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Rep: Reputation: Disabled
Exclamation lo interface is down affter networking restart


OS: Debian Linux 2.6.26-2-amd64

Hello, all!!
After restart have a bunch of warnings like this:
Code:
/etc/init.d/networking restart
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces ... (warning).
Reconfiguring network interfaces...if-up.d/mountnfs[eth0]: waiting for interface lo before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0]: waiting for interface eth0 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0]: waiting for interface eth0:0 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0]: waiting for interface eth0:1 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0]: waiting for interface eth0:2 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0]: waiting for interface eth1 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0:0]: waiting for interface lo before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0:0]: waiting for interface eth0 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0:0]: waiting for interface eth0:0 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0:0]: waiting for interface eth0:1 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0:0]: waiting for interface eth0:2 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0:0]: waiting for interface eth1 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0:1]: waiting for interface lo before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0:1]: waiting for interface eth0 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0:1]: waiting for interface eth0:0 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0:1]: waiting for interface eth0:1 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0:1]: waiting for interface eth0:2 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0:1]: waiting for interface eth1 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0:2]: waiting for interface lo before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0:2]: waiting for interface eth0 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0:2]: waiting for interface eth0:0 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0:2]: waiting for interface eth0:1 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0:2]: waiting for interface eth0:2 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth0:2]: waiting for interface eth1 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth1]: waiting for interface lo before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth1]: waiting for interface eth0 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth1]: waiting for interface eth0:0 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth1]: waiting for interface eth0:1 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth1]: waiting for interface eth0:2 before doing NFS mounts ... (warning).
if-up.d/mountnfs[eth1]: waiting for interface eth1 before doing NFS mounts ... (warning).
if-up.d/mountnfs[--all]: waiting for interface lo before doing NFS mounts ... (warning).
if-up.d/mountnfs[--all]: waiting for interface eth0 before doing NFS mounts ... (warning).
if-up.d/mountnfs[--all]: waiting for interface eth0:0 before doing NFS mounts ... (warning).
if-up.d/mountnfs[--all]: waiting for interface eth0:1 before doing NFS mounts ... (warning).
if-up.d/mountnfs[--all]: waiting for interface eth0:2 before doing NFS mounts ... (warning).
if-up.d/mountnfs[--all]: waiting for interface eth1 before doing NFS mounts ... (warning).
But all interfaces are up exept lo

Code:
 ip a sh
1: lo: <LOOPBACK> mtu 16436 qdisc noop state DOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:15:17:da:f7:70 brd ff:ff:ff:ff:ff:ff
    inet 172.16.4.18/29 brd 172.16.4.23 scope global eth0
    inet 10.254.253.20/29 brd 10.254.253.23 scope global eth0:0
    inet 192.168.83.5/32 brd 192.168.83.5 scope global eth0:1
    inet6 fe80::215:17ff:feda:f770/64 scope link
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:15:17:da:f7:71 brd ff:ff:ff:ff:ff:ff
    inet 192.168.4.22/24 brd 192.168.4.255 scope global eth1
    inet6 fe80::215:17ff:feda:f771/64 scope link
       valid_lft forever preferred_lft forever
Overcome it only with ifconfig lo down && ifconfig lo up

Need an advice what can cause such a strange situation.
I beleive this is my be because of some sysctl options, but don't know which exactly.
Your help will be very-very appreciated
Thank you!
 
Old 03-23-2014, 08:47 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Hi,

did you see this warning?
Quote:
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces ... (warning).
Why are you trying to "restart" the networking?

Also, what does the lo section of you interfaces file look like? Is it:
Code:
auto lo
iface lo inet loopback
?

Evo2.
 
Old 03-24-2014, 04:24 AM   #3
zlobotron
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you for reply!
lo section in /etc/network/interfaces is as follows:
Code:
# The loopback network interface
auto lo
iface lo inet loopback
Yes I see that
Quote:
did you see this warning?
Quote:
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces ... (warning).
but don’t know alternative if any?

Quote:
Why are you trying to "restart" the networking?
This is another long story The original problem is that all interfaces are down after reboot.

Seems like networking is not starting at all? But it is presented in all default runlevels and i don't see that it is
Quote:
failed
during startup.
I found in bootlog this message:
Quote:
lo interface disabled privacy extensions
May this be a real cause of problem?

Any ideas are welcome!!
 
Old 03-24-2014, 04:46 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Hi,
Quote:
Originally Posted by zlobotron View Post
Thank you for reply!
lo section in /etc/network/interfaces is as follows:
Code:
# The loopback network interface
auto lo
iface lo inet loopback
Looks good to me.

Quote:
but don’t know alternative if any?
Code:
ifup lo
ifup eth0
ifup eth1
etc.

Quote:
This is another long story The original problem is that all interfaces are down after reboot.
Now we're getting somewhere.
Quote:
Seems like networking is not starting at all? But it is presented in all default runlevels and i don't see that it is during startup.
I found in bootlog this message:
May this be a real cause of problem?
I imagine so.

Ok, is this a new problem? If so what else changed? Otherwise is this a new install, and can you post your whole interfaces file? Additionally have you been checking your log files to try to understand what is causing this? Since you suspect sysctl parameters, you might do well to post that configuration too.

Someone else might know exactly what is going on here, but I suspect most of us will need much more information if we are to really understand and solve this.

Cheers,

Evo2.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
can i used web interface to reboot or restart my whole system nikhidet1 Programming 5 02-08-2012 05:21 AM
service network restart - interface RMLinux Red Hat 2 09-08-2008 11:16 PM
problem affter removing sec master Byenary Linux - Software 2 09-15-2005 05:45 PM
FreeBSD how to restart network interface kernelvn *BSD 4 06-17-2005 03:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:58 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