I agree with the statement that sudo service network-manager stopsudo RM/var/lib/NetworkManager can be used in 10.04. statesudo service network-manager startsudo gedit/etc/NetworkManager/nm-system-settings.conf to change false to truesudo service network-manager restart and above commands will cause the IFUP and ifdown commands to be unavailable, execute the following command can be changed back, (the icon is not lost after I change it back) sudo gedit/etc/NetworkManager/nm-system-settings.conf change true to falsesudo service network-manager restart or right-click the upper panel --- add to panel --- Select notification area --- add and Use System menu --" preference -- network connection, drag the mouse to the Panel or the desktop to add a network connection editor. You can only edit the network port, but add a notification area, yes, you can more easily see the network connection status and select which port to connect to the network
The following are my solutions. I have used terminal input: 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 interfaceauto loiface lo Inet loopback comment out the following lines to show 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
(Original address:I have collected this information from Baidu. I suggest you take a look at this link:HTtp: // zhidao.baidu.com/question/195613570.html? Push = related)