PDA

View Full Version : Me trying to install my linux modem drivers again



James Busby
06-03-2004, 05:54 PM
Ok, This time I got my Kernel source. I went through the steps. But then when I go through he drakconnect wizard, it says my modem isnt supported by the system(mandrake 9.2).

Heres what I did. It says it can't some stuff, but I can't understand it.

[root@localhost Documents]# tar -zxvf Intel-v92ham-453.tgz
Intel-v92ham-453/
Intel-v92ham-453/coredrv/
Intel-v92ham-453/coredrv/clmmain.c
Intel-v92ham-453/coredrv/coredrv.c
Intel-v92ham-453/coredrv/rts.c
Intel-v92ham-453/coredrv/task.c
Intel-v92ham-453/coredrv/uart.c
Intel-v92ham-453/coredrv/wwh_dflt.c
Intel-v92ham-453/coredrv/makefile
Intel-v92ham-453/coredrv/hamcore.lib
Intel-v92ham-453/hamboot
Intel-v92ham-453/haminst
Intel-v92ham-453/inc/
Intel-v92ham-453/inc/hamdefs.h
Intel-v92ham-453/inc/hamcore.h
Intel-v92ham-453/inc/rts.h
Intel-v92ham-453/inc/uart.h
Intel-v92ham-453/inc/wwh_dflt.h
Intel-v92ham-453/inc/tasker.h
Intel-v92ham-453/inc/sys_ver.h
Intel-v92ham-453/license.txt
Intel-v92ham-453/makefile
Intel-v92ham-453/readme.txt
Intel-v92ham-453/serialdrv/
Intel-v92ham-453/serialdrv/gpl.txt
Intel-v92ham-453/serialdrv/clmdrvr.c
Intel-v92ham-453/serialdrv/makefile
Intel-v92ham-453/hamregistry
Intel-v92ham-453/config_check
[root@localhost Documents]# cd /home/james/Documents/Intel-v92ham-453
[root@localhost Intel-v92ham-453]# make clean
cd coredrv; make clean
make[1]: Entering directory `/home/james/Documents/Intel-v92ham-453/coredrv'
rm -f *.o *~ core
make[1]: Leaving directory `/home/james/Documents/Intel-v92ham-453/coredrv'
cd serialdrv; make clean
make[1]: Entering directory `/home/james/Documents/Intel-v92ham-453/serialdrv'
rm -f *.o *~ core
make[1]: Leaving directory `/home/james/Documents/Intel-v92ham-453/serialdrv'
rm -f *.o
rm -f *.o
[root@localhost Intel-v92ham-453]# make ham
Module precompile check
Current running kernel is: 2.4.22-10mdk
/lib/modules... autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: No such file or directory
autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: No such file or directory
version.h matches running kernel
cd coredrv; make \
"PSTN_DEF=-DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX" \
ham;
make[1]: Entering directory `/home/james/Documents/Intel-v92ham-453/coredrv'
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o coredrv.o coredrv.c
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o clmmain.o clmmain.c
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o rts.o rts.c
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o task.o task.c
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o uart.o uart.c
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o wwh_dflt.o wwh_dflt.c
ld -r coredrv.o clmmain.o rts.o task.o uart.o wwh_dflt.o hamcore.lib -o hamcore.o
make[1]: Leaving directory `/home/james/Documents/Intel-v92ham-453/coredrv'
cp coredrv/hamcore.o .
cd serialdrv; make \
"PSTN_DEF=-DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX" \
ham;
make[1]: Entering directory `/home/james/Documents/Intel-v92ham-453/serialdrv'
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -c -o clmdrvr.o clmdrvr.c
ld -r clmdrvr.o -o ham.o
make[1]: Leaving directory `/home/james/Documents/Intel-v92ham-453/serialdrv'
cp serialdrv/ham.o .
[root@localhost Intel-v92ham-453]# make install
bash haminst
running kernel 2.4.22-10mdk
installing hamregistry, used for persistant storage
installing ham module
installing hamcore module
mandrake hamboot script
starting module and utilities
rm: cannot remove `/dev/ham': Operation not permitted
done
[root@localhost Intel-v92ham-453]#

Thanks in advance all, especially mr Chill;)

James Busby
07-03-2004, 11:05 AM
bump..............................page 3 already?

b1naryb0y
07-03-2004, 12:54 PM
You need to properly install the kernel headers first.

You can find a good step by step guide on how to do this here (http://linmodems.technion.ac.il/compiling.html).

After following the instructions you should end up with these files that you were missing.

/boot/vmlinuz.autoconf.h
/boot/vmlinuz.version.h

James Busby
07-03-2004, 01:08 PM
Thank you very much B1naryb0y.

b1naryb0y
07-03-2004, 01:36 PM
If you have no luck compiling your own driver, you can go here (http://members.smartnet.ba/vedran/rpm/) and download a binary driver in RPM format.

James Busby
07-03-2004, 07:25 PM
Ooh, Thanks dude.

What does the i586 in the filename mean? I was going to get linux drivers for my geforce 2 graphics card, but got confussous figuring out what one im ment to get because of the numbers in the file name like i586. What does that number mean?

b1naryb0y
07-03-2004, 08:29 PM
i586 means that the compiled code has been optimised for a Pentium MMX processor or higher.

i386 = 386, AMD 386
i486 = 486, AMD 486 and equivalents
i586 = First Generation Pentiums MMX, 66Mhz to 233Mhz
i686 = PentiumII/III/IV, Celeron, AMD Athlon, Duron etc

Jen C
07-03-2004, 08:45 PM
> i586 means that the compiled code has been optimised
> for a Pentium MMX processor or higher.

Just to add to that, you can use RPM's that have been optimised for lower processors on a higher processor, but not vice versa.

So, you can use a i386 on basically any machine but you can only use a i686 on computers that are of that class or higher.

James Busby
07-03-2004, 09:08 PM
FINALLY!! I connected to the net with linux.
I installed the driver no prob. I go through the wizard, and then it says "your modem isnt supported by the system"!!!!. I get pissed off. I go through the wizard again exept this time I uncheck auto detect. Then this time I select Normal modem connection instead of Win modem. Then Yay, It detectected my modem. I enter my details, and test connect, but it doesnt work(I GET REALLY PISSED). Then blah blah blah, this time I restarted PC when I installed driver again, and go through the wizard again, then restarted again, then blah blah blah long story short, IT WORKED!!! All this time I didnt even have windem...

Thanks for all your help ppl :)