LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-23-2006, 10:35 PM   #1
Amazing Tater
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
trying to install linmodem drivers, have no internet access


I have a minimal install of Debian sarge 2.4.27-1-386 and no internet connection. I'm trying to get a linmodem driver installed, but I can't figure out how to compile it. There's no make command that I can find. The driver came with a file called makefile, but I can't figure out how to run it.

I'm also running WinXP; would it be possible to download onto Windows a package (or whatever) that would let me compile, then copy it into Debian and install it from the command line? Or something like that...I'm new to Linux and command lines in general, and I'd appreciate any help. Thanks!
 
Old 04-24-2006, 11:54 AM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
First of all, if there's no make command, you need to install the package build-essential from your CD. From the command line apt-get install build-essential should prompt you to put in your CD. This will install make, gcc, and other tools you'll need to compile from source.

As to downloading a package from windows, first you'd have to tell me what modem you're using. There is a chance that your modem isn't supported by linux. In which case you're better off spending $15 US on an external SERIAL modem. These are hardware modems that don't need drivers. Linux can just use standard serial calls out the serial port to get them to connect.
 
Old 04-24-2006, 06:57 PM   #3
Amazing Tater
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Okay, I have gcc-3.3-base, and I have a driver (hsflinmodem-5.03.27lnxtbeta03042700)...I don't know how to compile it. I tried "make" and "make install", but it says they aren't commands. I have the driver in /home. Where should it be, and what commands should I use to compile it? If I need "make", how do I get it (apt-get install build-essential didn't work, but I think I have all the packages from the CD). Also, how do I display a list of the packages so that they all fit on the screen? I tried piping to "less"; it says it's not a command.
 
Old 04-24-2006, 07:14 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
What is the output of echo $PATH? I think you probably don't have the right directory in your path. If you type whereis make you should see it listed as /usr/bin/make

Last edited by pljvaldez; 04-24-2006 at 07:15 PM.
 
Old 04-24-2006, 07:23 PM   #5
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Also, if I'm not mistaken, this is a driver from linuxant, correct? Did you download the source (tar.gz) or the debian binary (deb)?

If you downloaded the deb file (http://www.linuxant.com/drivers/hsf/..._i386.deb.zip), you should just have to unzip it and then dpkg -i hsfmodem_7.47.00.00full_i386.deb.

Also, just so you're aware (maybe you are) that the free version of these drivers limit your modem speed to 14.4k (not 56k, like your modem is capable). So even if you get it working, you either have to pay to get a key that will unlock the 56k or just buy an external serial hardware modem as I mentioned above.

Last edited by pljvaldez; 04-24-2006 at 07:25 PM.
 
Old 04-24-2006, 07:50 PM   #6
Amazing Tater
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
The oputput of echo $PATH is /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/x11

When I type whereis make, I get make:

I just realized that I have to configure gcc, but I'm not sure how to do it. I'm reading a lot of documentation, and I'm getting a little confused.

I got the driver at a website called int21.de; it says it's the last free Conexant driver, and that it won't work with kernel 2.6. Since I have 2.4, I thought I'd try it until I can afford an external modem.
 
Old 04-25-2006, 07:49 PM   #7
Amazing Tater
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Okay, I went and got the driver from the Linuxant website, instead of trying to compile the other one. It said it wouldn't install without the kernel header, but it is working (actually, I'm in Windows, and my connection speed is 40.0 kbps...faster than it's ever been). The driver was a .zip, and gunzip wouldn't unzip it, so I unzipped it with Winrar and copied it into /home.

How do I dial in Debian? I don't have a desktop yet, and I don't have wvdial.
 
Old 04-26-2006, 11:37 AM   #8
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I changed from dialup a couple years ago. But I feel like I used to use pon to dial and poff to hangup. I want to say that I ran the command pppconfig to get it all set up.

Aha! From google, here's the manpage for pppconfig. There appears to be a listing of the files at the bottom in the event that this command isn't present on your system.
 
Old 04-27-2006, 12:58 AM   #9
Amazing Tater
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
All right, I have pppconfig, and I'm pretty sure I got it set up correctly. I used plog, and got this:

Debian pppd [1238]: pppd started by root, uid 0
Debian chat [1239]: can't get terminal parameters: input output error

Then it says the connect script failed. When I use pon, nothing happens, no sound or anything. Sooo...It's not recognizing my modem? The driver's not installed right?

I don't know if the driver is installed completely. I mean, the modem is working in Windows, so the driver must be in, right? But in Debian, it says it's not completely installed, and that I need the kernel headers, which I can't find.
 
Old 04-27-2006, 11:17 AM   #10
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
The windows driver and the Debian driver are completely different. Just because the windows one is working doesn't mean the Debian one is. Okay, if installing the binary doesn't work (see post #5 above), then to download the kernel headers, you just need to apt-get them. What is the output of uname -r (should be something like 2.4.xxx-blah-blah).

Hmmm. Maybe a problem here, but how many of the CD's did you use? Not sure if the kernel headers are on the first CD or not (or on your minimal install CD for that matter). Try apt-cache search kernel-headers-2.4 and see if it was on your CD...

Last edited by pljvaldez; 04-27-2006 at 11:20 AM.
 
Old 05-12-2006, 01:50 PM   #11
operator10001
Member
 
Registered: Mar 2006
Distribution: debian sarge
Posts: 222

Rep: Reputation: 30
it's easier than that! here are 2 ways:
1. apt-get update
apt-get upgrade
apt-get install <packname> from debian.
2. apt-get install alien
alien <packname> from smartlink.
hope this helps
operator
 
  


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
New install now will not access internet Stimz Linux - Newbie 8 09-14-2005 04:14 AM
Help installing drivers for smartlink linmodem. goathunter Linux - Newbie 5 07-24-2005 05:07 PM
gentoo install without internet access ChaseCrum Linux - Distributions 2 08-26-2004 02:46 PM
Debian that does NOT require internet access to install. Lechium Linux - Newbie 3 07-29-2004 06:37 AM
I can't install my linmodem Shadow Of Death Linux - Hardware 4 01-02-2003 04:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:02 PM.

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