LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 06-07-2003, 03:59 PM   #1
scagman
Member
 
Registered: Jun 2003
Location: Newcastle on Tyne UK
Distribution: Suse 9.2 profesional
Posts: 63

Rep: Reputation: 15
Question problem setting up modem in Mandrake 9.1


At the grand old age of 50 I've decided to take up Linux (mainly cos of my dislike for MS). I've just installed Mandrake 9.1 and everything is working spot on except for my modem. I have a PCTel HSP56 MR modem in. My ethernet card is being recognised. When trying to set up my net connection I get the message "/etc/resolv.conf missing or can't be read" - now I have to admit I ain't got a clue what this means or how to fix it, I mean, I know it's a file but that's my limit. Can anyone point me in the right direction? Thanks in advance
 
Old 06-07-2003, 05:08 PM   #2
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
"grand old age", uh? *chuckle*, I ain't far behind you, *sniffle*...

found this link: http://pctelcompdb.sourceforge.net/display.php note the second item in the listing appears to be your modem and states that it works with this driver: http://linmodems.technion.ac.il/pcte...l-0.9.6.tar.gz

getting this working will be a satisfying learning experience and fun to boot!

ps: don't worry about the /etc/resolv.conf thing at this point, it's purpose is to point the system to somewhere where it can resolve host names, take a look at your /etc/hosts file for local name resolution if you like. for internet name resolution you'll need the ip of a dns server and if you're using dialup internet that's going to be your provider's nameserver and should be set up for you when you dial-in.

Last edited by akaBeaVis; 06-07-2003 at 05:13 PM.
 
Old 06-08-2003, 11:16 AM   #3
scagman
Member
 
Registered: Jun 2003
Location: Newcastle on Tyne UK
Distribution: Suse 9.2 profesional
Posts: 63

Original Poster
Rep: Reputation: 15
Question

thanks for the links man, I have the driver tar file and unzipped it. Unfortunately I don't really know how to instal/configure it. I've tried to suss it out from other things I've found in the forums but to be honest it's all a bit of a mystery to me at this stage - you just get too lazy using Windows and never bother trying to suss out how things work. I really want to go down this path to get my brain activated again. If anyone can explain it in simple terms (think 'thick', lol) I'll be most grateful, thanks.
scag
 
Old 06-08-2003, 11:40 AM   #4
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
Just so's we're on the same page here, after re-reading your original post, I'm not sure I understood you completely: your problem is with your modem and dialing up your isp? or is your problem is with your networking?

as far as the modem driver source goes, (and this will become a familiar routine if you download very much source) go to a terminal window, eg: start Konsole, and become root by typing su, then your root password (no characters will echo, this is normal). Then, cd to the directory you unzipped, as an aside, I like to unpack these kinds of things under /usr/local/src, this isn't necessarily a convention, but it's a good idea to keep all your "locally" compiled source directories somewhere together, after a while it's hard to remember, especially at your age, what was part of the distro and what was added by you . Anyway, after the cd you'll want to type ls to see if there's a readme or installation instructions file, this should always be your first step in order to understand how the developers intend for you to build the source and see if there are any issues specific to your platform. I could go on and give you the rest of the commands as I have downloaded this source and compiled it, (just to see if there's any "gotcha's"), but then that would ruin a valuable learning experience . It compiled fine on my mandrake 9.0 installation, of course if you get any errors, post and we'll fix them.
 
Old 06-08-2003, 07:35 PM   #5
scagman
Member
 
Registered: Jun 2003
Location: Newcastle on Tyne UK
Distribution: Suse 9.2 profesional
Posts: 63

Original Poster
Rep: Reputation: 15
Well I got as far as insmod pctel but came up against this -:
'The module you are trying to load (lib/module/2.4.21-013 mdk/misc/pctel.0) was compiled with a gcc version 2 comiler while the kernel you are running wsa compiled with a gcc version 3. This is known not to work.
Contact your module supplier - only they can help you.
Now I have a vague idea what that means but no ideas about how to go about solving the prob. I really need some help now - (I'm actually really pleased that I managed to get as far as this)
Any ideas??

Last edited by scagman; 06-11-2003 at 07:16 PM.
 
Old 06-11-2003, 06:37 PM   #6
scagman
Member
 
Registered: Jun 2003
Location: Newcastle on Tyne UK
Distribution: Suse 9.2 profesional
Posts: 63

Original Poster
Rep: Reputation: 15
just ignore this post - I thought I had something to add but when I read it back to myself it was meaningless - I reckon an early night is needed, c'ya later

Last edited by scagman; 06-11-2003 at 07:21 PM.
 
Old 06-12-2003, 06:29 PM   #7
fishyfire
LQ Newbie
 
Registered: Jun 2003
Posts: 4

Rep: Reputation: 0
Unhappy

I used 'insmod -f ptserial' and 'insmod -f pctel' in super user mode to force the module installs. The messages log seems to show a successful install. Now I can't find the modem with MCC.
 
Old 06-12-2003, 07:03 PM   #8
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
Scagman, I have a couple of questions for you, and indeed you have done well if you've got the module compiled and installed:

1. how did you end up with a module named pctel.O (note the capital rather than lowercase "O"), or is that a typo and it's actually "pctel.o"? or is this a module from an .rpm file?
2. can you type "/usr/bin/gcc -version", (no quotes) at the console and post the response?
3. if you compiled the driver yourself, how did it go?

fish:
can you try using modprobe, rather than insmod, modprobe should be able to pull in any other modules which are needed as well, insmod just inserts the one module. make sure you modprobe -r the existing inserted module first.

Last edited by akaBeaVis; 06-12-2003 at 07:05 PM.
 
Old 06-12-2003, 07:55 PM   #9
scagman
Member
 
Registered: Jun 2003
Location: Newcastle on Tyne UK
Distribution: Suse 9.2 profesional
Posts: 63

Original Poster
Rep: Reputation: 15
Smile

it's a typo (I think - I'll have to check) Once a sat down and stared at the screen for a while - and with help from the forum - I finally sussed out how ./configure etc worked. I just need to work out how to get the damn thing right now -lol- I'll get back to you tomorrow night and let you know how it goes. Thanks to everyone for all the advice etc
 
Old 06-19-2003, 06:59 PM   #10
scagman
Member
 
Registered: Jun 2003
Location: Newcastle on Tyne UK
Distribution: Suse 9.2 profesional
Posts: 63

Original Poster
Rep: Reputation: 15
Angry

This is now driving me crazy, I've been goin' 'round in circles trying to load this bloody driver. I really wanna sort it out now - even tho' I intend to buy a proper modem pretty damn soon. I'm still getting errors - everything appears ok until I try insmod pctel and insmod ptserial. Then I'm getting the module you are trying to load is compiled with a gcc version 3 compiler2 etc etc. Now this means little to me so any help will be gratefully received. Thanks
 
Old 06-19-2003, 07:06 PM   #11
fishyfire
LQ Newbie
 
Registered: Jun 2003
Posts: 4

Rep: Reputation: 0
You may need/ want to recompile your kernel. I ran into the same problem and am currently working on trying to reconfigure the kernel.
 
Old 06-20-2003, 02:24 AM   #12
scagman
Member
 
Registered: Jun 2003
Location: Newcastle on Tyne UK
Distribution: Suse 9.2 profesional
Posts: 63

Original Poster
Rep: Reputation: 15
My God!! recompile the kernel? I'm struggling as it is just trying to load a driver - I'm sorry to say that I'm more of a point and click man and it's hard to break the microsoft habit,lol. At least I'm actually learning something this way.
I'll check out the help sites, faqs etc and give it a go and then I'll get back to let you know how I got on
 
Old 06-21-2003, 04:43 PM   #13
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
Well, if all else fails consult the source.... Here's what I found:
http://pctelcompdb.sourceforge.net/v...s.php?id_no=60
before jumping on that link, let me boil it down for you: basically, that guy got the same error, so he used insmod -f pctel.o instead of plain insmod, it forces the module to be loaded regardless of warnings. he says it works, he doesn't seem to mention whether you need to do this with the ptserial or not, but if it complains about ptserial, then use insmod -f on that also. hope this helps.

ps: here's another link which will help you to make this a permanent change if it works for you:
http://linmodems.technion.ac.il/gcc3.html

Last edited by akaBeaVis; 06-21-2003 at 05:17 PM.
 
Old 06-21-2003, 06:57 PM   #14
scagman
Member
 
Registered: Jun 2003
Location: Newcastle on Tyne UK
Distribution: Suse 9.2 profesional
Posts: 63

Original Poster
Rep: Reputation: 15
thanks again, I'll give it a go - thanks for links. I'm determined to get this sorted then I'm gonna go out and buy me a modem, lol. I've certainly learnt a lot this past week.
 
Old 06-21-2003, 07:28 PM   #15
scagman
Member
 
Registered: Jun 2003
Location: Newcastle on Tyne UK
Distribution: Suse 9.2 profesional
Posts: 63

Original Poster
Rep: Reputation: 15
Back again. It appeared to work - I cheered - my modem still wasn't recognised - I wept buckets!!
I've tried everything but still nothing seems to get the bloody thing ringin'. Any more ideas? please
 
  


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
Setting up PC as router, eth1 problem talking to modem NeXuS_2006 Linux - Networking 6 01-17-2005 02:23 PM
Mandrake Modem Problem MentatMM Linux - Newbie 3 07-27-2004 11:11 PM
Mandrake 9.1 -- ISA Modem problem harrkev Mandriva 1 08-26-2003 04:00 PM
Modem problem on Mandrake 9.1 andy_g_gray Linux - Hardware 10 08-01-2003 11:06 AM
modem and scanner problem with mandrake 9 benzina Linux - Hardware 1 12-08-2002 05:25 PM


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