Solved

Ubuntu: 2 options of Restart?

Posted on 2011-09-11
1
343 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
ID: 36521684
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

830 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