Help - Search - Members - Calendar
Full Version: Need Some Modem Guidance
Linuxhelp > Support > Technical Support
smith727
[COLOR=blue]I bought this modem with a linux driver and can't figure out how to get it working under red hat 9.
I am a total Newbie and need walked through this. Help please. This is what the instructions say:

[COLOR=black]NetoDragon V.92 56K Modem
June 27, 2002


NetoDragon V.92 56K Modem Linux Driver
--------------------------------------


Introduction
============

This is NetoDragon V.92 56K Modem for Linux version 2.6. It provides
full-featured 56K Voice Fax Modem.


Features
========

Modem: V.90, V.34, V.32bis, V.23, V.22, V.21, Bell 103/212.
Flow control: V.42, MNP 2-4.
Compression: V.44, V.42bis, MNP5.
Fax: Class 1.
Voice: ADPCM voice compression, Digital Answering Machine.


Requirements
============

CPU: Intel Pentiumi II, Celron. AMD K6, Cyrix 400MHz or higher.
Memory: 64MB (may work also with 32MB).
OS: Linux 2.4 series.


Supported Hardware
==================

NetoDragon PCI modem cards


Installation
============

1. Unpack tar.gz package file:

$ gzip -dc slmdm-2.6.X_netodragon.tar.gz | tar xf -

2. 'cd' to package directory:

$ cd slmdm-2.6.X_netodragon

3. Review and edit (if need) 'Makefile'.

Note: Probably you will want 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.

Logo in as superuser :

# make install-amr

It will install:
- modem kernel modules slmdm.o (modem core), slfax.o (fax)
into '/lib/modules/<kernel-version>/misc' directory
(standard linux modules' directory).
- hardware specific kernel module slamrmo.o into
'/lib/modules/<kernel-version>/misc'
directory (standard linux modules' directory).
- country settings data file 'country.dat' into directory '/etc'.

Also it will:
- create character tty device entry '/dev/ttySL0' with major
number 212 and symbolic link 'dev/modem'.
- config you '/etc/modules.conf' file in order to provide
possibility for loading the modem modules into kernel on demand
automatically by kmod, when you are going to use them.


6. Config modem country.

You can configure you current country by using module parameters
'country' or 'country_code'.
Add 'options' directive line to file '/etc/modules.conf':

options slmdm country=<MyCountry>

, for example

options slmdm country=USA

, or use module parameter while module loading:

# modprobe slmdm country=<MyCountry>

Use 'slver -c' to see list of all supported countries and their
codes (utility 'slver' may be found in package directory).

Note: Command ATI7 shows installed country setting.

7. Using the modem.

Installation will automatically create character tty device entry
'/dev/ttySL0' with major number 212 and symbolic link '/dev/modem'.
Use one of them as modem device for your dialing application.

8. Uninstallation.

In package directory just type:

# make uninstall


Getting Started
===============

After successful installation and configuration modules will be loaded on
demand if you are using 'kmod' in linux kernel.

Also you can load modules by hand:

# modprobe slamrmo


Troubleshooting
===============

If you get an error message during installation/configuration or loading
the modules like 'slmdm.o: unresolve symbols ...' it may mean that
package was prepared for different linux kernel version that you have.
Run command 'slver -k' (may be found in package directory) to see what
version of linux kernel was used for preparing package.

Unfortunately it is no so flexible currently (we are working about it) to
support all versions of linux kernel. So try to obtain appropriate release
of the modem package or upgrade kernel.


Customization
=============

Look at 'editme.c' file in package directory.
hughesjr
What do you need help with (where are you stuck)?

Basically, copy the driver to your hard drive, untar it.

I would use the command:

tar -xvzf slmdm-2.6.X_netodragon.tar.gz

(that completes step 1)...

Before you continue, you must have the Kernel Source package installed ... check to see if you have it installed with this command:

rpm -qa | grep kernel

If the output has a package named kernel-source xxxxx then you're ready, if not, install kernel source from the cd like this:

Click Menu - System Settings - Add/Remove Applications

Click the boxes for Development Tools and Kernel developement. If you use up2date (or apt-get) to keep your system updated, do an update now...

-------------------------------------------------
Now you are ready to continue form step 2 .... in step 3 when you edit the Makefile, this is what you want to change the variable KERNEL_INCLUDES= to:

KERNEL_INCLUDES=/usr/src/linux-2.4

If that doesn't work then try KERNEL_INCLUDES=/usr/src/linux-2.4/include

You can either edit the file, or do it like this:

make KERNEL_INCLUDES=/usr/src/linux-2.4

if the make finishes and the last line is not an error, continue ... otherwise do the command make clean and try again with this command:

make KERNEL_INCLUDES=/usr/src/linux-2.4/include

(I would edit the the file Makefile and add the value instead of passing it in...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.