/etc/init.d/networking restart is deprecated?


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu /etc/init.d/networking restart is deprecated?
# 1  
Old 11-02-2011
/etc/init.d/networking restart is deprecated?

After I set IP , I want to make it work, so I ran "/etc/init.d/networking restart"


but it says it's deprecated:

Code:
 Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces

So I want to know how to make my setup work correctly.

Thanks in advance!
# 2  
Old 11-04-2011
Try to Down interface and up again ! using ifdown and ifup
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Red Hat

Restart service xinit.d or init.d ?

Hello How do I restart init.d ?? (centos 6.5) Thanks (2 Replies)
Discussion started by: mnnn
2 Replies

2. UNIX for Dummies Questions & Answers

Trouble with deprecated files

I apologize if I am "over-posting" in this forum; I know little about this stuff and I have several software programs that I must install. I have found this forum to be extremely helpful. Anyways, I am trying to install ZThreads on my computer (Mac OS X 10.7.3). When I run "make" it returns with: ... (1 Reply)
Discussion started by: Tyler_92
1 Replies

3. Red Hat

init-script failing because of /etc/rc.d/init.d/functions

I encountered a problem on one of our database servers. OS: CentOS 5.5 final Kernel: 2.6.18-238.5.1.el5.028stab085.2 (OpenVZ kernel) We wrote some DB-Start/Stop-scripts ("/db2/admin/scripts_dba/start_services.ksh" and ".../stop_services.ksh") to start the database instances. (Database... (1 Reply)
Discussion started by: bakunin
1 Replies

4. UNIX for Advanced & Expert Users

/etc/init.d/exim4 restart

I have restarted the exim4 process. It prints the following things. $ /etc/init.d/exim4 restart * Stopping MTA for restart /usr/sbin/update-exim4.conf: non-ascii value sugumar_imp.tar write.sql virtualbox-3.1_3.1.8-61349~debian~lenny_i386.deb etc... ...done. * Restarting MTA ... (1 Reply)
Discussion started by: ungalnanban
1 Replies

5. UNIX for Advanced & Expert Users

Problem on init 0, execution is the same with init 6

Hi, I am experiencing a weird thing on my SUNFIRE machine with Solaris 9 OS. When I do init 0 to shutdown the machine to go to ok prompt, what it did was shutdown and reboot like an init 6 command do. I did check the corresponding rc scripts that were involved with init 0 and compared with rc... (2 Replies)
Discussion started by: Yenthanh
2 Replies

6. Linux

How to I change init levels after typing init 1

Dear all, I typed in init 1 on my redhat box as root and according to wikipedia (http://en.wikipedia.org/wiki/Runlevel): 1 Single-User Mode Does not configure network interfaces, start daemons, or allow non-root logins So now I can't connect back to it. How do I change the init back to 3?... (8 Replies)
Discussion started by: z1dane
8 Replies

7. UNIX for Dummies Questions & Answers

/etc/init.d/networking

Hi all, What should i do to make the following work: # /etc/init.d/networking restart Setting up IP spoofing protection: rp_filter. Reconfiguring network interfaces...No support for INET6 on this system. Failed to bring up lo. done. Thanks & Regards Gauri (0 Replies)
Discussion started by: gauri
0 Replies

8. UNIX for Advanced & Expert Users

Init 6 & Init 0 problem

Hi Expert, I have encountered some problem with my SUN system. Everytime when i issue command #init 6 OR #init 0 it just logout and prompt for login again instead of rebooting the server when run init 6 and system shutdown when run init 0.. I can only reboot the system using reboot ... Was... (6 Replies)
Discussion started by: sc2005
6 Replies
Login or Register to Ask a Question