Installing USB Modem Drivers HELP!
Hi
I am a new users to Linux and have just installed Mandrake 9.0. I have downloaded the drivers for my modem but i am having trouble installing them. As i follow the instructions is says that i have to include the location of my Kernel Header Files. Well, quite frankly, i have no idea where these are.
Can anyone possibly tell me what the hell i am looking for.
Cheers.
P.S. Here is an excerpt of the the instructions
"1. Unpack tar.gz package file:
$ gzip -dc slmodem-2.8.X.tar.gz | tar xf -
2. 'cd' to package directory:
$ cd slmodem-2.8.X
3. Review and edit (if need) 'Makefile'.
Note: You will need linux kernel header files in order to build
the modem driver.
Note: Probably you will need to correct in Makefile path to your
local linux kernel header files:
KERNEL_INCLUDES=/path/to/linux/include
Another way is to pass command line the parameter while
running 'make':
$ make KERNEL_INCLUDES=/path/to/linux/include ...
4. Run 'make' command to compile package:
$ make
5. Install. As 'root' user run:
# make install
It will install:
- modem kernel modules slmodem.o (modem core) and hardware specific
kernel modules slamrmo.o, slusb.o into
'/lib/modules/<kernel-version>/misc' directory (standard linux
modules' directory).
- character tty device nodes '/dev/ttySL0-3' with major number 212.
There are possibility to use old version 2.7 style commands:
# make install-amr (, or 'make install-usb' for USB modems)
This will install all as usual and also:
- config modules autoloading (by editing file '/etc/modules.conf')
- create symbolic link '/dev/modem' to first modem device node
'/dev/ttySL0'.
6. Config modem country.
Use AT+GCI=<T.35 country code> command to setup country.
Also you can configure default country by using module parameters
'country'. Add 'options' directive line to file '/etc/modules.conf':
options slmodem country=<MyCountry>
, for example
options slmodem country=USA
, or use module parameter while module loading:
# modprobe slmodem country=<MyCountry>
See file 'country.list' to see list of supported countries and their
codes (the file 'country.list' may be found in package directory).
Note: Command ATI7 shows currently installed country setting.
7. Using the modem.
Installation will create character tty device entries
'/dev/ttySL0' - '/dev/ttySL3' with major number 212.
Use one of them as modem device for your dialing application.
8. Uninstallation.
In package directory just type:
# make uninstall
"
thanks.
|