LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-11-2003, 09:32 PM   #1
degraffenried13
Member
 
Registered: Sep 2003
Posts: 228

Rep: Reputation: 30
newbie w/ lt modem driver


I have downloaded and unzipped the ltmodem file into /root/temp. It created the files ltmodem.o, ltinst and ltuninst. I was getting an error "cannot create regular file:" "no such file or directory". I then copied ltmodem.o to /lib/modules/2.4.20-8/misc, which got rid of one error, but now I get the error "insmod: ltmodem: no module by that name found". I tried to run minicom anyway, using /dev/ttyS1 as the modem location and it will pretend like it is dialing out, but there won't be any dialing on my phone line.

Being a newbie, I am not sure where to even start. I have just been taking guesses at how to install the drivers and am not sure how to test the modem or where to go from here. Thanks for the help.
 
Old 11-11-2003, 09:39 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"I tried to run minicom anyway, using /dev/ttyS1 as the modem location and it will pretend like it is dialing out, but there won't be any dialing on my phone line. "

First, find out where your modem is. Use minicom to send ATZ to /dev/ttyS0 through /dev/ttyS7 and see which one answers "OK".

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 11-11-2003, 09:53 PM   #3
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Start over clean. Remove the entire ltmodem directory then untar the driver again and start fresh.

From inside the ltmodem directory you only need to issue three commands. If any of the three fail then something is wrong and you need to post the error. The commands are:
./build_module
./ltinst2
./autoload

That's it. If you get any errors post the errors.

NOTE: ./build_module you will have to read alot of info and press <Enter> several times before it finishes. When it's done you should do a ls and see symlinks to your new modules, yes there are 2 modules, lt_modem and lt_serial.
 
Old 11-12-2003, 09:47 AM   #4
degraffenried13
Member
 
Registered: Sep 2003
Posts: 228

Original Poster
Rep: Reputation: 30
"First, find out where your modem is. Use minicom to send ATZ to /dev/ttyS0 through /dev/ttyS7 and see which one answers "OK"."

I apologize for my newbieness, but how to I set up minicom to this? I have found all the settings, but I don't know how to ATZ to a particular device.

Thanks again.

I will try to re-install and start over clean as well.
 
Old 11-12-2003, 10:11 AM   #5
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Actually after you run the commands I mentioned above you will have a device /dev/ttyLT0. This is your modem device and there should be a couple symlinks /dev/modem -> /dev/ttyLT0 /dev/ttySLT0 -> /dev/ttyLT0 NOTE: That if you are using the devfs then the device will be /dev/tty/LT0.

So to make your modem work you should use either /dev/modem with most dialers or /dev/ttySLT0 is for wvdial.
 
Old 11-12-2003, 10:03 PM   #6
degraffenried13
Member
 
Registered: Sep 2003
Posts: 228

Original Poster
Rep: Reputation: 30
Bin/Bash:

After reading your post i went back to my computer and looked at what I had been doing. I noticed that I had 4 files that unzipped from the file I downloaded, none of them being any of the files that were in your post. So I thought well maybe I got the wrong one. I went back to linmodems and found other fiels (not sure where I got the zip file). I downloaded the rpm file for my kernel which is redhat 2.4.20.8..... I typed rpm -i lt*.rpm and there were some errors, but when I tried to run it again to see the errors again said package already installed. Any suggestions of where to go from here.

Thanks
 
Old 11-13-2003, 02:29 AM   #7
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Could you post the errors.

An alternative method would be to build the modules yourself. It's really easy.

Install your kernel-sources rpm.
Download the driver from here.
Unpack and install the driver:

tar xzvf ltmodem-8.26a9.tar.gz
cd ltmodem-8.26a9
su
./build_module
./ltinst2
./autoload

Thats it. You should have devices in /dev

/dev/modem -> /dev/ttyLT0
/dev/ttySLT0 -> /dev/ttyLT0
or if using devfs
/dev/modem -> /dev/tts/LT0
/dev/ttySLT0 -> /dev/tts/LT0

Use /dev/modem for most applications /dev/ttySLT0 is for wvdial compatibility.
 
Old 11-13-2003, 06:21 PM   #8
degraffenried13
Member
 
Registered: Sep 2003
Posts: 228

Original Poster
Rep: Reputation: 30
Here are some of the errors I receive whiel running ./build_module, I would have posted the BLDrecord.txt, but I couldn't figure out how to get the file from linux to windows(which is hooked up to my working modem).:

The first error is: "utils/scanmodem: line 1: gcc: command not found"

The next is: "ls: /usr/src/linux: No such file or directory"
third from ./conf-reports.txt: "configure: error: no acceptable cc found in $PATH"

I don't know if these are substantial errors, but I don't see the ltinst2 file you mentioned so I am assuming there is a problem.

Thanks for any help that can be given.
 
Old 11-13-2003, 06:35 PM   #9
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
"utils/scanmodem: line 1: gcc: command not found"
You need to install the gcc package.

"ls: /usr/src/linux: No such file or directory"
You need to instakk the package kernel-sources.
 
Old 11-13-2003, 08:52 PM   #10
degraffenried13
Member
 
Registered: Sep 2003
Posts: 228

Original Poster
Rep: Reputation: 30
You are a good person /bin/bash: it works.

thanks for your help.
 
Old 11-14-2003, 01:24 PM   #11
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
You are welcome. HTH.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
modem driver for Internal 56Kbps V.92 Data/Fax/Voice Modem sumathi Linux - Hardware 1 08-05-2005 05:12 AM
Newbie unable to extract modem driver to directory in SUSE 9.2 Personal Bish Bash SUSE / openSUSE 6 03-16-2005 10:14 AM
modem driver for RS232 external modem? nnaemekadavid Linux - Hardware 5 05-03-2004 12:58 PM
Newbie needs modem help ... please fredzeppelin Mandriva 2 11-03-2003 08:41 AM
A Complete newbie to linux and having probs installing modem driver :'( XDR Linux - Hardware 2 09-25-2003 05:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration