Ubuntu: 2 options of Restart?

Posted on 2011-09-11
Medium Priority
Last Modified: 2012-06-27

1) I have a linux workstation in the enterprise environment (Ubuntu workstation 10.04.3)

2) This workstation will get the IP address from DHCP server

3) When configuring, I have to do RESTRARTING
- The first one I use --> sudo /etc/init.d/networking restart
- The 2nd one, I use the GUI
  * From the menu line (Aplication  Places  System ...)
  * At the Extreme right, there is an icon "like Circle"; i click this I icon, and select Restart

4) It seems there is a different between the FIRST and the SECOND restart above
5) When I do the restart with the SECOND option (using the GUI)
- for some other reasons, the Default Gateway of this workstation is "gone by the wind" .....it is gone .....so other machines (in the different LAN)  can not ping to this linux workstation

6) But when I do the Restart using the firs option, the Default Gateway is given back --> so other machines from different LAN will be able to connect to this workstation

7) My questions: I need the clarification and confirmation from linux experts please

First: what is the name of the "above icon" (which location is at the extreme of the menu bar; it looks like "circle")

Second: Is there any differences of the first and the second of the mentioned RESTART above? Confirm and give a little bit of explanation please

8) Thank you

Question by:tjie
1 Comment
LVL 18

Accepted Solution

TobiasHolm earned 2000 total points
ID: 36521684

When you use your method #1 you just restart the network, but with method #2 you restart the entire computer.

What's the output of this command:
Before you do a reboot, and what's the output of the same command after a computer reboot?

Ref: https://help.ubuntu.com/10.04/serverguide/C/network-configuration.html

Regards, Tobias

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
This article explains how to use the rsync command to create backups and sync data across hosts. Rsync is a very useful command that is often used to copy data, make backups, migrate hosts, and bridge the gap between site staging and production envi…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question