Network connection management for Ubuntu

Source: Internet
Author: User
A long time ago, setting up a wireless network did not work, now make up for the holiday.

I'm using Ubuntu 7.10.

The X driver must be installed correctly.


The relationship between X programs:
Ifconfig, Iwconfig, IP, route, wpa_supplicant these are the underlying programs.

Network manager, Network-admin, Ifup, Ifdown is a higher-level call, they may call the underlying program, or implement the functionality of the underlying program, and may have extensions.

If you want to make network settings, in root mode.

X can view these through man:
interfaces, Wpa_supplicant, wpa_supplicant.conf, Ifconfig, Ifup, Ifdown, Iwconfig

The x/etc/network/interfaces settings are valid for Ifup, Ifdown, and Network-admin are set to set up the network connection. System Services (service networking) is actually the implementation of this file settings. Network Manager has a Nm-applet general in the tray has an icon, its manual configuration option is actually called Network-admin

Network Manager does not use the settings file/etc/network/interfaces, and network manager does not work if the file is set.

If the/etc/network/interfaces is set up and you want to manage the connection with network manager, you can remove the interface settings except lo in the interfaces file

* Last setup was unsuccessful because network manager needs my ndiswrapper driver to load ahead of time and add one line to the/etc/modules file: NDISwrapper. If you use Network-admin, the previous settings in the modules file must be deleted because NDISwrapper is in the/etc/modprobe.d/ NDISwrapper has been set up for more detailed ndiswrapper information view here (en, no translation)

* In fact, there are a lot of tools to set up the connection, such as WICD

* Generally speaking network Manager is sufficient for connection settings, and if you want to manually set up, it is best to uninstall network manager to avoid conflicts:
sudo aptitude purge Network-manager network-manager-gnome

Set words, see Manual is almost, copy someone else's code, wrong don't know why

* Other: Find the answer to find the fastest or to the product responsible for the site, check its documentation. Like Ubuntu wiki, Debian User manual, reference.

A long time ago, using a different site to record different information, found that this is inconvenient, and sometimes to connect the relevant information to know the key, or to integrate.

Hardware lookup:
Lsusb
Lspci
Lshw
LSHW-C Network

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.