Solved

Ubuntu: 2 options of Restart?

Posted on 2011-09-11
1
346 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 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

 Database Backup and Recovery Best Practices

Join Percona’s, Architect, Manjot Singh as he presents Database Backup and Recovery Best Practices (with a Focus on MySQL) on Thursday, July 27, 2017 at 11:00 am PDT / 2:00 pm EDT (UTC-7). In the case of a failure, do you know how long it will take to restore your database?

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Fine Tune your automatic Updates for Ubuntu / Debian
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…
Suggested Courses

630 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