LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-26-2005, 11:48 PM   #1
kapalka
Member
 
Registered: Mar 2005
Distribution: mepis
Posts: 33

Rep: Reputation: 15
extract modem and printer driver zips


I am working with Mephis and have a z42 printer and Intel 536ep modem

I have drivers for my modem and printer sitting on my desktop. When I right click on their icons, I see several options like: "create gzipped archive, create bzipped archive and create zip archive." Plus
extract to
Extract here
It would appear that if I was in the root directory, that I might be able to use these to create modem and printer files.
If this be true, can anyone tell be the path?
Which create or extract choice?
What do I do then to create the file and move on?
Thanks,
Ron
 
Old 03-27-2005, 02:26 AM   #2
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 835

Rep: Reputation: 43
What are the filenames? You might need to move them elsewhere, extract and install.
 
Old 03-27-2005, 03:37 AM   #3
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
You !should! be able to extract them where they are but it may also require you to be root, assuming you are logged in as a regular user, you know not to login into the desktop as root right.

If it says something about permissions, just open File Manager as root, super user, then extract from within konqueror.

You could also login into a console as root and do it that way. It is text though.

I know, there are too many ways to do things in Linux but at least you have options.

Let us know what you got there.

Later

 
Old 03-27-2005, 11:46 AM   #4
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 835

Rep: Reputation: 43
Dalek,

I agree that it should be possible to extract them from the desktop. However the questioner may not b experienced enough to sort out the possible resulting mess and cope with changing to root in GUI environment.

Hence my suggestion to move the files.
 
Old 03-27-2005, 03:58 PM   #5
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Konqueror, as root, and midnight commander, under settings. That gives you a GUI for what you can use a GUI for and a console, shell, whatever for the command line stuff. I rarely use it but it is pretty cool to have.

He can install from anywhere but the permissions do make it hard to do sometimes. I have Konqueror set to come up with root permissions by default. If I plan to surf the web in some way I just hit the ignore button instead of putting in the password. It then gives me the permissions that are the same as the GUI, which is dale. That's me, Dale.

No matter where the files are, he still has to have permission and know the commands to install or run the file, whatever it is he has anyway. Where is he anyway???

So many options.

Later

 
Old 03-28-2005, 11:07 AM   #6
kapalka
Member
 
Registered: Mar 2005
Distribution: mepis
Posts: 33

Original Poster
Rep: Reputation: 15
Where am I?

Well, I was off and away from home since Sat. night and just now got back to the replies.
Thanks for the info, but maybe I can express my need in another manner that might be easier for you to answer:

I have the following directions that came with the modem driver:

1. login in as root
2. extract the archieve into a directory with
"tar -zxvf<archievename>.tgz
3. cd into the directory it created.
4. type make clean'
5. make 536
6. make install
This will create a /dev/modem device file. This file is used as an interface to modem by all applications: minicom, kppd, efax, etc. Please configure the applications to use /dev/modem if necessary.


Okay. Here is my understanding of each step:
1. I know how to do this
2. How? Do I open something first? Extract it into a directory implies that I have a directory open or a program that is setting one up for me. Please, more detail here.
3. cd means change directory in my dos mind. True? If so, do I just type in the new directory name?
4. Ok
5. ok
6. ok

This is all done at this stage? I just go back to user and try it out?

Thanks,
Ron.
 
Old 03-28-2005, 11:41 AM   #7
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
When you extract the file, it will create a directory, usually with the same name but without the little part on the end. The command tar -zxvf will take care of all that. When you type in cd and the first part of the name, hit tab and it will fill in the rest for you. It saves you some typing. If you have another file that has the same name it will let you type in another letter till you get the right one. Hmmmm. Example, you have this when you do a ls:

linux-2.6.1
linux-2.6.2
linux-2.6.3

You type in lin and hit tab. It will fill in up to the last number, then you fill in the 1, 2 or 3 then hit enter. If you hit tab twice it will list all the possibilities you have, just the ones that match though. If you had a linux.2.4.1 in there it would stop at the 4 to see if you wanted the 4 or the 6. It stops at each intersection until you get there basically. That make any sence.

Sounds like you have pretty good instructions and a pretty good grasp on how to do it to me. That tar command is sort of complicated sometimes. I had to learn a lot when I installed Gentoo. It uses that command a LOT.

Let us know if you have any problems. You can type in man tar if you want to read up on it and see what those options mean. It sort of helps to understand what the heck it is doing. You can use the page up and page down keys to move up and down. Hit the q key to quit.

Oh, just in case, that up arrow key is pretty cool. It remembers the commands you have typed in recently. You sound new to Linux so thought I would share a few neat tips.

Later

 
Old 03-28-2005, 11:58 AM   #8
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 835

Rep: Reputation: 43
Try this.

As a normal user, use your file manager (Konqueror or whatever) to move the file off your desktop into another directory.

I suggest you create /opt/downloads and then store downloaded files in subdirectories of this directory. Works well for me. So create /opt/downloads/modem and drag the file into here.

Now double click on the file or right click and select "extract here" . It will extract itself either into yet another subdirectory (install or whatever) or in the same directory. If necessary move into the directory it created.

Next: Tools, Open Terminal, and you're in a DOS type screen.

Depending on your distro you might or might not be running File Manager as root. Have a look at the prompt. If it doesn't say root then enter su. Type in the root password.

Carry on at step 4. ie make clean. This "cleans up" things - should not be necessary with a freshly extracted archive as it should be clean. However it only takes a few seconds to run.

Step 5: make 536. This is the actual compilation. A lot of messages will flash past. Don't worry about the odd error or warning message. However any error message at the end of the process IS important. Otherwise no news is good news. At this point you have compiled the application for your system.

Step 6: make install. This now installs the application, putting various files in the correct places. Hint: Documentation will probably be in /usr/share/doc/<536 or whatever the program calls itself>

That's it!

This should work for any install you do. Extract in the graphical interface and then drop into a shell for the makes.
 
Old 03-28-2005, 12:00 PM   #9
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 835

Rep: Reputation: 43
Dalek posted while I was typing. (probably got faster fingers :-) )

My method does not nullify what he said. It just keeps you in the GUI longer,
 
Old 03-28-2005, 12:20 PM   #10
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Quote:
Originally posted by davcefai
Dalek posted while I was typing. (probably got faster fingers :-) )

My method does not nullify what he said. It just keeps you in the GUI longer,
I doubt I am a faster typer, see sig. I must have gotten there faster.

One good thing about Linux though, plenty of different ways to do something.

Later

 
Old 03-28-2005, 03:04 PM   #11
kapalka
Member
 
Registered: Mar 2005
Distribution: mepis
Posts: 33

Original Poster
Rep: Reputation: 15
one more error

I think I have everything ready except for an error message concerning kernel source.
My kernal is 2.6.7
the instructions here say to use terminal and type in urpmi kernal source
which I assum means the command line would look like #urpmi 2.6.7 or urpmi kernal 2.6.7
or some variation, none of which seem to work.
Sorry that I am having to come back so ofen, just learning the hard way!
Thanks for all the help

Last edited by kapalka; 03-28-2005 at 03:07 PM.
 
Old 03-28-2005, 05:20 PM   #12
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
What is the error it is giving? This is pretty common though.

Come back as often as you need to. We'll do the best we can.

Later

 
Old 03-28-2005, 05:37 PM   #13
kapalka
Member
 
Registered: Mar 2005
Distribution: mepis
Posts: 33

Original Poster
Rep: Reputation: 15
error

Error is simple: "command not found"

Since I am back home, I will go mess with it again and see if I have any better luck, try a few things then check back.
Thanks,
Ron

The instructions that I had were for Mandrake. They mostly work, but there was one that indicated that I needed to know the kernel source headers. It does not say when I shoudl or where I should install them.

Basically it siad to use urpmi kernal source. After messing with that all day, "command not found", I descovered that Mepis does not use urpmi, instead had kpackage.
Fun
Anyway, I can fine the kernel just fine, but I will be dang to know what to do with that information.
When I try to open the driver with
Make 536 it does fine but ends with error 1 ***[check] , lib/modules...autoconf.h does not exist.

Make install also has error 1, cannot start Intel536.ko, no such file.

I assume this is all about the kernel source?

Should I just get an external modem?
Bad day
Ron

Last edited by kapalka; 03-28-2005 at 10:37 PM.
 
Old 03-28-2005, 11:53 PM   #14
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 835

Rep: Reputation: 43
It looks like you don't have the kernel source installed. Look for /usr/src/linux.

I don't know how kpackage works but you should be able to install the kernel source off your linux CDs. This is vital for any compilation to work.

Command not found makkes me wonder. You need gcc installed too.
 
Old 03-29-2005, 02:43 AM   #15
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Is this something like dependancy hell? Sure looks like it, smells like it too.

Later

 
  


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
extract modem and printer zips kapalka Linux - Newbie 1 03-27-2005 04:00 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
Audio driver for ASUS board and HP 1150 Laser PRinter Driver ccatindia Linux - Hardware 1 05-11-2004 04:20 AM
Success with OpenOffice1.1 and Zips larwana LinuxQuestions.org Member Success Stories 0 03-16-2004 06:03 PM
how do i make redhat recognize my printer new printer driver Kilahchris Linux - General 2 03-04-2003 06:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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