karen2205: Me with proper sized mug of coffee (Default)
Karen ([personal profile] karen2205) wrote2005-11-22 05:48 pm

Debian + modem again

Cutting for wibbling at myself

I had one of these 'oh so that's how it works' moments last night. I was struggling to get slmodem-2.9.10.tar.gz to extract to somewhere where debian has permission to write. I could type 'tar zxvf- slmodem-2.9.20.tar.gz' at a command prompt and it wouldn't be able to find the file to extract. I could type the same instructions when in /cdrom and it'd try to extract the file to the CD and *then* it clicked. I had to give it some instructions to tell it to extract from CD to my home directory - hence tar xvzf /media/cdrom/slmodem-2.9.10.tar.gz as provided by [livejournal.com profile] diffrentcolours in a comment works and I understand why it works.

Having got that far, I tried to 'make' the file, only to be told that 'make' was a comand not recognised by bash.

Sought assistance in IRC. Went back to copy down error messages by hand. Realised what it was complaining about as I was writing - it couldn't find the files that were on the installation CD. Inserted the CD and tried apt-cdrom as it suggested. Got a help page and had another of these 'ahh, that might work' and tried apt-cdrom add -a and it worked! I repeated the process with both sides of both DVDs (binary and source) and then tried 'apt-get install make' and 'apt-get install less' and 'apt-get install sudo' and it all worked!

apt-get update still produces error messages (which I've written down at home and not here), but I think I know how I'm going to fix that.

(note to self - read man sudo again and make self a superuser. install irssi-text and ssh.)

Now have a couple of things to try to make the modem work - I'm loathe to try running 'make' on the downloaded smartlink drivers because the instructions (http://www.smlink.com/objects/Linux_instruction.txt) say '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 ...
'

and I don't understand what that means. What are my local linux kernel header files? And where would they be?

Alternatively, there seem to be Debian specific packages that do what the drivers I've already got do, but specifically written for Debian so might be better.

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org