Multitech MT9234MU User Manual page 33

Multimobile usb v.92 portable usb modem
Hide thumbs Also See for MT9234MU:
Table of Contents

Advertisement

To verify that you have matching kernel sources, run "uname -r" to get the version of the running kernel.
Then check for the directory /usr/src/linux-<version>, /lib/modules/<version>/source,
/lib/modules/<version>/build, or /usr/src/linux-<stripped_version>, where stripped_version has the extra
version information removed. In these directories look for the files include/linux/autoconf.h, .config, and
drivers/usb/serial/usb-serial.h.
If you do not find the correct kernel source directory, you must find and install the kernel sources from
other media.
Preparing 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
1. cd /usr/src/linux-<version>
2. make mrproper
3. Use either of these commands:
make oldconfig
-OR-
make cloneconfig
4. make prepare
If you built your own kernel, the kernel sources are already 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.
MultiMobile USB User Guide MT9234MU User Guide
Explanation
Change to the source directory.
Clean up any old files.
Make a configuration file to match your
running kernel.
for Red Hat
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".
To prepare the kernel sources for your
machine.
APPENDIX B – INSTALLING ON LINUX
33

Advertisement

Table of Contents
loading

Table of Contents