Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
"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".
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.