How to fix the disappearance of Ubuntu10.04 Network logo

Source: Internet
Author: User
I agree with the statement of "sudoservicenetwork-managerstopsudorm/var/lib/NetworkManager. statesudoservicenetwork-managerstartsudogedit/etc/Networ...

 

 

I agree with the sub-night's suggestion that it is feasible to try it in 10.04.

Sudo service network-manager stop

Sudo rm/var/lib/NetworkManager. state

Sudo service network-manager start

Sudo gedit/etc/NetworkManager/nm-system-settings.conf

Change false to true.

Sudo service network-manager restart

 

The above commands will cause the ifup and ifdown commands to be unavailable. you can execute the following commands to change them back (the icons I changed back are not lost)

Sudo gedit/etc/NetworkManager/nm-system-settings.conf

Change true to false.

Sudo service network-manager restart

 

Or

Right-click the upper panel-add to panel-select notification area-add

 

 

And use

"System" menu -- "preferences --" network connection ", dragging the mouse to the panel or desktop

Only the network connection editor can be added and only network ports can be edited,

By using the Add notification area, you can more easily see the network connection status and select which port to connect to the network. The following is my solution.

Open the terminal and enter:

Sudo gedit/etc/network/interfaces

 

After opening the file, you will see

 

# This file describes the network interfaces available on your system

# And how to activate them. For more information, see interfaces (5 ).

 

# The loopback network interface

Auto lo

Iface lo inet loopback

 

Comment out the following lines to display the nerworkmanager icon.

# The primary network interface

 

# Auto eth0

# Iface eth0 inet static

# Address 192.168.x.x

# Netmask 255.255.255.0

# Network 192.168.1.0

# Broadcast 192.168.1.255

# Gateway 192.168.x.x

# Dns-* options are implemented by the resolvconf package, if installed

# Dns-nameservers 192.168.x.x

# Dns-serch example.org

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.