Multi-Tech Systems MT9234MU manual Prepare the Kernel Sources

Page 35

Appendix B – Linux Installations

Prepare the Kernel Sources

This step may or may not be necessary, depending on how your Linux distribution installs the kernel sources.

Log in as root and do the following:

Command

Explanation

 

 

1. cd /usr/src/linux-<version>

Change to the source directory.

 

 

2. make mrproper

Clean up any old files.

 

 

3. Use either of these commands:

Make a configuration file to match your

 

running kernel.

make oldconfig

for Red Hat

-OR-

 

make cloneconfig

for SUSE

 

For other distributions these same

 

commands might work, or you might need

 

to find a config file in /boot or in a configs

 

directory, copy it to .config, and run "make

 

oldconfig".

 

 

4. make prepare

To prepare the kernel sources for your

 

machine.

 

 

If you have built your own kernel, the kernel sources will already be installed and prepared. If you are using a kernel that came with a Linux distribution, it can sometimes be difficult to get the kernel sources correctly installed and prepared, since each Linux distribution handles kernel sources slightly differently.

For example, if you get errors about the wrong kernel version, you may have installed the wrong kernel sources, or you may need to edit the kernel version in the top level Makefile of the kernel sources. If you get errors about a missing usb-serial.h, you may only have the kernel headers installed. If you have trouble getting the full kernel sources installed and prepared, you can copy the correct version of usb- serial.h to drivers/usb/serial in the kernel headers directory and then the other kernel sources are not needed.

If you have difficulties, look carefully at the error messages when installing the TGZ or RPM packages. Those messages should give you an indication of just what the error is.

Multi-Tech Systems, Inc. MT9234MU User Guide (S000409C)

35

Image 35
Contents MultiMobileUSB Trademarks WarrantyRevision Date Description PatentsContents Introduction FeaturesProduct Description You Supply Telecom Safety WarningsShipping Package Contents CE Mark Technical SpecificationsAbout AT Commands SafetyLine Connection InstallationSetup USB ConnectionIntroduction Install the Modem DriverChoose Browse my computer for driver software advanced Select Install this driver software anyway Page Installation of the Modem Page Installing the Modem Driver in Windows Server 2008, XP Installation Page Multi-Tech Systems, Inc. MT9234MU User Guide S000409C Installation Page Click Continue Anyway Example Country/Region AT Command Country Code Configuring the Modem for Your CountryInternet Connection Connecting to the InternetFront Panel Changing the Remote Escape Character Remote ConfigurationBasic Procedure Changing the Setup PasswordIndustry Canada Appendix a Regulatory ComplianceFCC Part 15 Class B Statements FCC Part 68 TelecomCanadian Limitations Notice New Zealand Telecom Warning Notice EMC, Safety, and R&TTE Directive ComplianceInternational Modem Restrictions South African Notice Introduction Appendix B Linux InstallationsInstallation in Computers Using the Linux 2.4 Kernel Prepare the Kernel Sources Installation StepsInstall the Kernel Sources Command ExplanationThis command builds the driver package Load the TI USB Driver Build and Install the TI USB Driver from the TGZ PackageDevice Files Command Uninstalling the TI USB Driver for 2.4 kernel versionsInstallation in Computers Using the Linux 2.6 Kernel Prepare the Kernel Sources This command builds the driver package Load the TI USB 3410/5052 Driver Uninstalling the TI USB Driver for 2.6 kernel versions Patching and Rebuilding the Kernel Installing the Hotplug ScriptsInstalling udev Rules Installing the Firmware Images Appendix C Waste Electrical Electronic Equipment 依照中国标准的有毒有害物质信息 Appendix D C-ROHS HT/TS Substance ConcentrationAppendix E Ascii Conversion Ascii Conversion ChartMT9234MU Index