Network settings and PCMCIA

Source: Internet
Author: User

Network settings and PCMCIA have many available methods to handle PCMCIA network interface settings (for 2.4 and 2.6 kernels ). For 32-bit PCI (carloud) PCMCIA NICs: ifupdown is controlled by hotplug in Woody and Sarge. You need to enable hotplug locally to control ifupdown, add the triggering network settings in the file/etc/network/interfaces. For a 16-bit isa pcmcia nic: ifupdown is controlled by hotplug and loaded by pcmcia-cs. In Woody and Sarge, we recommend that you add an exit 0 line at the beginning of the/etc/pcmcia/network file to cancel ifupdown control of pcmcia-cs by default. At the same time, you must enable the ifupdown control by using hotplug in the file/etc/network/interfaces, the ing section described in section 10.8.2. By default, pcmcia-cs uses the configuration file/etc/pcmcia/network to control ifupdown. However, Woody and Sarge use this method by default. Pcmcia-cs controls underlying tools through special code in/etc/pcmcia/network. I do not agree to use these special codes in Woody and Sarge. edit/etc/pcmcia/network. opts to enable these special codes. For 16-bit cards, the recommended processing method fully utilizes the support of the 2.4 kernel Hot Plug-In subsystem for PCMCIA. The PCMCIA Nic can be hot-plugged. Therefore, any service that needs to obtain the network through the PCMICA card should be set to start after the card is inserted and stop when the card is removed. This is usually done by arranging the service to stop at ifup and ifdown. However, some people have persuaded themselves to use the code plug-in for their pcmcia nic: They have inserted the NIC before the system starts, during the boot process, you need to use this card to obtain network services. If you are a type of person, to ensure that the Network Adapter has been set before starting these servers, you need to do the following: Set CARDMGR_OPTS = "-f" in/etc/default/pcmcia ", force cardmgr to run on the foreground. Modify/etc/rc ?. D/S20pcmcia name, which is similar to/etc/rc ?. D/S12pcmcia. These are only suitable for 16-bit PCMCIA cards. Note! If you use a 16-bit PCMICA card, the software package pcmcia-cs still needs it. The package includes the cardmgr daemon to manage sockets and load driver modules. We just don't want it to call the network setup program through/etc/pcmcia/network. To make cardmgr work properly, you may need to edit/etc/pcmcia/config. opts to set 16-bit resources for the pcmcia card.

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.