LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-11-2003, 01:16 AM   #1
jugOlguin
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
modem trouble on rh9


i installed rh9 on my system and i'm having trouble installing the drivers for my Intel v.92 HaM modem.
i followed the link to developer.intel.com and found the driver (rpm), but unfortunately, this was for kernel 2.4.18-2, and i'm on 2.4.20-4.
So, i went to linmodems.org, where i found a page where are the uncompiled drivers, but when i try to compile them following the instructions from the readme file, like this
make clean
make all
make install
an error occurs as there is no module.o anywhere
please help me. thanks
 
Old 10-11-2003, 01:29 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

You need the kernel-source RPM installed.

It's on disk 2 of the installer disks. Install that (rpm -Uvh kernel-source.......RPM), then try to recompile the drivers.

If that fails, then I've got the drivers on my website - and i know they work with RH9. (But again, you'll need the kernel-source RPM installed).

http://www.ilikejam.dsl.pipex.com
 
Old 10-11-2003, 08:25 PM   #3
jugOlguin
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
i made a mistake in the previous post. the "original" drivers requires kernel version 2.4.18-14.
So, as the kernel update didn't work i went to your page and downloaded the drivers. this time it seemed to work fine, but when i rebooted, there where a couple of errors messages and the hamboot failed. then, as i logged in as root, i executed the minimun commands to get my modem running
insmod -f hamcore.o
i got a message saying this was compiled in gcc 2.X, while my kernel was in gcc 3.X. is this a problem? where can i get gcc 3.X ?
anyway, it forced it to work and it seemed fine
then i introduced
insmod -f ham.o
again the same problem, but forced it to work.
here i got a message that the device was busy
help, please
 
Old 10-12-2003, 12:53 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
This is a bit strange.

RedHat uses gcc 3.2.2 out of the box, and that's what the kernels are compiled with AFAIK.

Type in gcc --version at the command line, and tell me what version number you get.

I'm slightly puzzeled by your kernel version number - redhat 9 comes with 2.4.20-8 out of the box, but you say you're running 2.4.20-4. Your kernel may have been compiled with gcc 2.x.x, and that's were the problem lies.

You could try re-installing the kernel and kernel-source RPMs from your redhat CD to solve the problem if your kernel has been compiled with a different gcc.

Dave
 
Old 10-12-2003, 03:21 PM   #5
jugOlguin
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
sorry again. yes, my kernel is 2.4.20-8
regarding gcc
[root@localhost root]# gcc --version
gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Copyright (C) 2002 Free Software Foundation, Inc.
Esto es software libre; vea el c├│digo para las condiciones de copia. NO hay
garant├_a; ni siquiera para MERCANTIBILIDAD o IDONEIDAD PARA UN PROP├ôSITO EN PARTICULAR (i have the spanish version)

thnks
 
Old 10-12-2003, 06:04 PM   #6
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
I'm afraid I'm out of ideas.

The only thing I can think of is if you download the latest drivers from the Intel site:

http://downloadfinder.intel.com/scri...7&DwnldID=5976

See if they're any better.

It could be that your modem uses a slightly diferent chipset than the one those drivers are for, so I would try

http://downloadfinder.intel.com/scri...port_intel.asp

And see if you can find the particular chipset your modem uses in the 'Networking and Communications' -> 'Modems' menu.

Dave

Last edited by ilikejam; 10-12-2003 at 06:21 PM.
 
Old 10-14-2003, 08:10 AM   #7
raging potato
LQ Newbie
 
Registered: Oct 2003
Location: Ireland
Distribution: Redhat 9.0
Posts: 12

Rep: Reputation: 0
Hello

I am a complete and utter newbie to Redhat 9

Downloaded and installed it last weekend, but alas it doesn't support my modem.

Which is why i am writing, I have the same modem as jugOlguin, i downloaded the latest drivers from the Intel website.
But I haven't a Scooby how to install them.

I require a spoon feeding excercise in setting them up.

Would you be so kind as to oblige?

I really don't know where to start.

Your patience and/or advice on this matter would be most appreciated.

Cheers
 
Old 10-14-2003, 08:41 AM   #8
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
OK, it goes like this: (this is how most things you download get installed from source code)
You MUST have the kernel-source installed (see above)

0 Open a terminal.
1 Go to the folder where you downloaded the intel-v92ham-453.tgz file
2 Do $tar xvzf Intel-v92ham-453.tgz This will unpack the compressed file.
3 cd into the directory that's just been unpacked (Intel-v92ham-435)
4 Do $make clean (probably not necessary, but a goog idea - it gets rid of any rubbish lying around)
5 Do $make ham (this compiles the driver)
6 Do su (this will ask you for your root password, if you're not already logged in as root)
7 Do #make install (this will install the driver)
8 Reboot (you will see things like ham registry coming up during the startup sequence)

Hit me back if there's any problems

Dave

EDIT:

Once you've unpacked the file (step 3) you'll have to change some bits of two of the files.

In haminst look for the following:

elif [ -a /etc/redhat-release ]; then
{
if [ -a ./hamregistry.bin ]; then
{
mv -f /etc/hamregistry.bin /etc/hamregistry.bak
cp ./hamregistry.bin /etc/hamregistry.bin
}
else
{
rm -f /etc/hamregistry.bin
}
fi
echo installing hamregistry, used for persistant storage
install -o root -g root -m 110 hamregistry /usr/sbin
echo installing ham module
install -o root -g root -m 664 ham.o ${CharModDir}/ham.o
echo installing hamcore module
install -o root -g root -m 664 hamcore.o ${CharModDir}/hamcore.o

echo redhat hamboot rc2.d and rc3.d scripts
install -o root -g root -m 110 hamboot /etc/rc.d/init.d
ln -s -f /etc/rc.d/init.d/hamboot /etc/rc.d/rc2.d/S99hamboot
ln -s -f /etc/rc.d/init.d/hamboot /etc/rc.d/rc3.d/S99hamboot
ln -s -f /etc/rc.d/init.d/hamboot /etc/rc.d/rc5.d/S99hamboot
}

Every occurence of '-g root' should be replaced with '-g users'

In hamboot look for a line that says:

group="root"

and change to

group="users"

This is to ensure that you can still use the modem even if you're not logged in as root (which you shouldn't be for everyday stuff)

Dave

Last edited by ilikejam; 10-14-2003 at 09:05 AM.
 
  


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
trouble installing modem Intel modem module kholdstayr Linux - Networking 0 07-17-2005 10:25 AM
trouble shutting down rh9 linus johann Linux - Newbie 8 04-25-2005 11:22 AM
Another Winmodem trouble in RH9 MouseHunter Linux - Hardware 0 12-20-2004 03:28 AM
Trouble connecting my RH9 box to cable modem ikuomanero Linux - Networking 5 04-17-2004 01:41 AM
USR 56k ext modem in RH9/Gnome - finds wrong modem . . . . emuub Linux - Networking 1 10-22-2003 03:01 PM


All times are GMT -5. The time now is 06:49 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