LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-10-2003, 10:54 PM   #1
leighk000
LQ Newbie
 
Registered: Dec 2003
Location: Adelaide, Australia
Distribution: Mandrake 9.0
Posts: 1

Rep: Reputation: 0
Unhappy 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.
 
Old 12-11-2003, 01:06 AM   #2
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
If you haven't already installed the glibc-devel rpm you can download it here. Be careful when installing this as I've heard upgrading glibc stuff can cause problems. I'm not sure because I don't run an rpm based distro but this is what I came up with after some googling. After you install this rpm you should be able to compile your driver. Good luck!
 
Old 06-23-2004, 11:23 AM   #3
arson
LQ Newbie
 
Registered: Jun 2004
Location: Guatemala
Distribution: Mandrake 9.2
Posts: 9

Rep: Reputation: 0
did it work?

I´m having the same proble with mandrake 9.2 I used the scanModem utility; reda that the slmodem usually work so I tried to install it and got a whole lot of errors. I guess, because the path to the kernel is wrong, but in the readme file I also read that I need the kernel-source pakage, what ever that is. Did you get it to install? Xan you hel me?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB External Modem Drivers Faqirullah Linux - Networking 2 03-07-2007 02:43 AM
USB Cable Modem Drivers ??? Rashaverak Linux - General 11 07-27-2005 10:38 PM
linspire usb modem drivers allaniain Linux - Hardware 2 04-13-2005 01:20 PM
usb modem drivers not detected zafissa Linux - Hardware 3 08-22-2004 09:26 AM
I need drivers for a USB Modem Hub ultimate1 Linux - Hardware 1 05-21-2004 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration