Solved

Ubuntu: 2 options of Restart?

Posted on 2011-09-11
1
338 Views
Last Modified: 2012-06-27
Hi,

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

tjie
0
Comment
Question by:tjie
1 Comment
 
LVL 18

Accepted Solution

by:
TobiasHolm earned 500 total points
Comment Utility
Hi!

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:
ifconfig
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
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now