Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Ubuntu: 2 options of Restart?

Posted on 2011-09-11
1
Medium Priority
?
347 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 18

Accepted Solution

by:
TobiasHolm earned 2000 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

Google Certified Professional - Cloud Architect

This course (1 of 3) is designed to help students who are interested in Google Cloud Platform (GCP) to become familiar with the platform, navigate the console and learn its capabilities. It will also prepare students for the Google Cloud Architect certification exam.

Question has a verified solution.

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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…
Suggested Courses

722 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