Latem Posted July 8, 2004 Report Share Posted July 8, 2004 (edited) Hello, I just got Mandrake 10 recently, and I have Conexant SoftK56 (HSF) PCI Modem, and I definitly dont want to pay for drivers that come freely even with windows. I've searched all over the net on how to get it working, and found lots of information. For example some files/info I've found: hsflinmodem5.03.27.tar.gz - a bunch of .o files that need to be unarchived and built I think. it has french instruction. hcfpcimodem-0.99lnxtbeta03042700.tar.gz - appearantly the last freely available drivers (full) from Linuxant. hsfcompat_24-1.0d.tar.gz + http://www.olitec.com/pub/PCI_56K_V2_K2.2.17.tar.gz - as described here But nowhere did I find a dinitive and sure description of what to do and what to download, that I know will work. So if anyone knows exactly what needs to be done to get Conexant modems to work, can we please make up a nice post describing what needs to be done for different Mandrake and Kernel versions, and what files to use. And make the post a sticky? I am willing to host files as much as I can afford bandwith wise on my webspaces. One of them I think I have next to unlimited bandwidth... Just a proposal I think would help the whole community. Latem Edited July 8, 2004 by Latem Quote Link to comment Share on other sites More sharing options...
tyme Posted July 8, 2004 Report Share Posted July 8, 2004 try the corresponding src.rpm here: http://aslan.no-ip.com/~iphitus/linux/content.php?content.6 you will need to rebuild it with: rpmbuild filename.src.rpm and you'll need kernel-source installed urpmi kernel-source Quote Link to comment Share on other sites More sharing options...
Latem Posted July 8, 2004 Author Report Share Posted July 8, 2004 thanks for the reply. when I do rpmbuild <filename>.src.rpm on that .src.rpm file it says the rpm does not appear to be a specfile. what does this mean? Also if I look at the hardware wizard thingy, it lists my modem under Modems: Vendor: Conexant Interface (or whatever): PCI Bus: 14f1:2045 Location on Bus: 2:4:0 Description: HSF 56k Data/Fax/Voice/Spkp (w/ Handset) Modem (Worldwide SmartDAA) Module : Hsf:www.linmodems.org Media Class: COMMUNICATION_OTHER And if I run the configuration tool (the connect to internet wizard) it asks how I want to connect (modem, Cable, ...) and I click modem, next, it asks me for which modem. There are two radio buttons one for Conexant modem, and the other for Manual configuration. when I select the Conexant and press next a msg box comes up saying "We are sorry we support kernel 2.4 or above" even though I have 2.6 If i select manual config, then I can select the different COMs. I also tried using KPPP to connect using /dev/modem and ttyS0 - ttyS1. On modem and ttyS0 it just stays at "Initializing modem." on the other it says "modem busy". Any help is very much appreaciated. Latem Quote Link to comment Share on other sites More sharing options...
DragonMage Posted July 8, 2004 Report Share Posted July 8, 2004 I'm afraid Conexant's beta drivers only works on kernel 2.4. So in order to use it, you need to install kernel 2.4 and its kernel-source. Kernel 2.4 should be available in the Mandrake 10 CDs, however, as far as I know, you need to download the kernel-source for kernel 2.4 manually. Quote Link to comment Share on other sites More sharing options...
bvc Posted July 8, 2004 Report Share Posted July 8, 2004 rpmbuild --rebuild <name>.src.rpm Quote Link to comment Share on other sites More sharing options...
scoopy Posted July 8, 2004 Report Share Posted July 8, 2004 I still happen to have the Mandrake RPM I used with my Conexant winmodem filed away... don't know if it would be of any use now-a-days ??? (7.5 MB) hsflinmodem-4.06.06.02mbsibeta02041300-1_mandrake.i586.rpm Quote Link to comment Share on other sites More sharing options...
bvc Posted July 9, 2004 Report Share Posted July 9, 2004 I'm afraid Conexant's beta drivers only works on kernel 2.4. So in order to use it, you need to install kernel 2.4 and its kernel-source. Kernel 2.4 should be available in the Mandrake 10 CDs, however, as far as I know, you need to download the kernel-source for kernel 2.4 manually. I don't recall, was it that the driver wouldn't build? didn't work after build/install? wouldn't config after install? iph's link is screwy, so use this link; http://aslan.no-ip.com/~iphitus/downloads/drivers/ Quote Link to comment Share on other sites More sharing options...
bvc Posted July 9, 2004 Report Share Posted July 9, 2004 (edited) null Edited August 3, 2004 by bvc Quote Link to comment Share on other sites More sharing options...
Latem Posted July 9, 2004 Author Report Share Posted July 9, 2004 Thanks for the feedback all. I did rpmbuild -- rebuild thing: [root@localhost Linux]# rpmbuild --rebuild hsflinmodem5.03.27mbsibeta021226001.src.rpmInstalling hsflinmodem5.03.27mbsibeta021226001.src.rpm warning: user marc does not exist - using root Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.51190 + umask 022 + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf hsflinmodem-5.03.27mbsibeta02122600 + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/hsflinmodem-5.03.27mbsibeta02122600.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd hsflinmodem-5.03.27mbsibeta02122600 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.51190 + umask 022 + cd /usr/src/RPM/BUILD + cd hsflinmodem-5.03.27mbsibeta02122600 + make --quiet --no-print-directory all + cp /usr/src/RPM/SOURCES/100498D_RM_HxF_Released.pdf . + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.59275 + umask 022 + cd /usr/src/RPM/BUILD + cd hsflinmodem-5.03.27mbsibeta02122600 + rm -rf /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root + make --quiet --no-print-directory ROOT=/var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root install ../modules/kernelcompiler.sh: unable to find compiler matching /proc/version: ../modules/kernelcompiler.sh: gcc version 2.96 ../modules/kernelcompiler.sh: set CC variable manually in modules/common.mak 4069 blocks 674 blocks 0 blocks To complete the installation and configuration of your HSF modem, please run "hsfconfig" (or "/var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root/usr/sbin/hsfconfig") + /usr/lib/rpm/brp-mandrake Cleaning files...done Compressing files...done Stripping files...done Relativisation of symlinks...done Clean perl...done Building libraries symlinks...done Processing files: hsflinmodem-5.03.27mbsibeta02122600-1 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.74360 + umask 022 + cd /usr/src/RPM/BUILD + cd hsflinmodem-5.03.27mbsibeta02122600 + DOCDIR=/var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root/usr/share/doc/hsflinmodem-5.03.27mbsibeta02122600 + export DOCDIR + rm -rf /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root/usr/share/doc/hsflinmodem-5.03.27mbsibeta02122600 + /bin/mkdir -p /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root/usr/share/doc/hsflinmodem-5.03.27mbsibeta02122600 + cp -pr BUGS CHANGES CREDITS FAQ INSTALL LICENSE README /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root/usr/share/doc/hsflinmodem-5.03.27mbsibeta02122600 + exit 0 Finding Provides: /usr/lib/rpm/filter.sh ' ' /usr/lib/rpm/find-provides Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires(pre): /bin/sh Requires(post): /bin/sh Requires(preun): /bin/sh Requires: pciutils Processing files: hsflinmodem-doc-5.03.27mbsibeta02122600-1 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1748 + umask 022 + cd /usr/src/RPM/BUILD + cd hsflinmodem-5.03.27mbsibeta02122600 + DOCDIR=/var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root/usr/share/doc/hsflinmodem-doc-5.03.27mbsibeta02122600 + export DOCDIR + rm -rf /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root/usr/share/doc/hsflinmodem-doc-5.03.27mbsibeta02122600 + /bin/mkdir -p /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root/usr/share/doc/hsflinmodem-doc-5.03.27mbsibeta02122600 + cp -pr 100498D_RM_HxF_Released.pdf /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root/usr/share/doc/hsflinmodem-doc-5.03.27mbsibeta02122600 + exit 0 Finding Provides: /usr/lib/rpm/filter.sh ' ' /usr/lib/rpm/find-provides Using BuildRoot: /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root to search libs Finding Requires: /usr/lib/rpm/filter.sh ' ' /usr/lib/rpm/find-requires /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root i586 Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root Wrote: /usr/src/RPM/RPMS/i586/hsflinmodem-5.03.27mbsibeta02122600-1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/hsflinmodem-doc-5.03.27mbsibeta02122600-1.i586.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.16588 + umask 022 + cd /usr/src/RPM/BUILD + cd hsflinmodem-5.03.27mbsibeta02122600 + rm -rf /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.16588 + umask 022 + cd /usr/src/RPM/BUILD + rm -rf hsflinmodem-5.03.27mbsibeta02122600 + exit 0 But it didn't seem to do anything. Am I suppose to do something afterwards? I also tried your RPM bvc, and installed it but nothing seems to have changed. The modem description in the Hardware wizard thing is still the same. What did/am I doing wrong? Maybe I am not setting KPPP right? Specifically, I am not sure about the type of authentication I am suppose to use. I've tried usually PAP/CHAP, but also Script and PAP once. Which one am I suppose to use. Can I find this out from windows somewhere maybe? I've looked and couldnt find it. Also Should "Query modem" in KPPP return anything? All the fields come back empty for me. when connectiong what are the different stages of the process. First I think I get "Looking for modem..." (I think, it goes by way to fast); then "Modem ready." and then "Initializing modem..." but it just stays there. So do I still dont have my modem working, or am I doing something wrong with connecting maybe? I've never used modem with Linux before. Only used Linux @ work with broadband connection and the inernet always worked w/o any necessary set-up. Now I finally got Linux at home, so I am not familiar with some aspects of it that a "home user" may use. Thanks for your help, Latem Quote Link to comment Share on other sites More sharing options...
bvc Posted July 9, 2004 Report Share Posted July 9, 2004 (edited) This may seem like a shallow answer, but please understand, it's very involved and I do not want to write another book :D Search the board>More Options>conexant,my_exact_name,any date you'll find enough to keep you busy for quite a while. Then post back if you need help! :bvc: Edited July 9, 2004 by bvc Quote Link to comment Share on other sites More sharing options...
DragonMage Posted July 9, 2004 Report Share Posted July 9, 2004 I'm afraid Conexant's beta drivers only works on kernel 2.4. So in order to use it, you need to install kernel 2.4 and its kernel-source. Kernel 2.4 should be available in the Mandrake 10 CDs, however, as far as I know, you need to download the kernel-source for kernel 2.4 manually. I don't recall, was it that the driver wouldn't build? didn't work after build/install? wouldn't config after install? iph's link is screwy, so use this link; http://aslan.no-ip.com/~iphitus/downloads/drivers/ It usually build correctly, you can even install the rpm, but it wouldn't install the driver. Usually, the configuration command gives you a bad error afterward. This is why I dumped my Conexant HCF modem and got an external serial modem after I upgraded my desktop to Mandrake 10. (Remember, third world nation, almost no broadband to speak about, so modem is important). Quote Link to comment Share on other sites More sharing options...
Latem Posted July 10, 2004 Author Report Share Posted July 10, 2004 Ok I think I understand what I am suppose to do and whats happening. First I did rpmbuild --rebuild on the src.rpm file. Then I did rpm -ivh on the 2 rpms the previous command made in /usr/src/RPM/RPMS/i586 Then I ran hsfconfig, however it asked for my kernel source location. I am guessing this needs to recompile my kernel? I tried /usr/src/linux-2.6.3-7mdk: Where is the linux source build directory that matches your running kernel?[/lib/modules/2.6.3-7mdk/build] /usr/src/linux-2.6.3-7mdk WARNING: missing file /usr/src/linux-2.6.3-7mdk/include/linux/modversions.h The cause of this problem is usually a missing or misconfigured kernel source tree (and sometimes an incorrect directory or symbolic link). First, ensure that the proper kernel source and compiler packages from your distribution vendor and/or the community are installed. The Linux kernel can then be reconfigured by running "make menuconfig" under the kernel source directory (usually /usr/src/linux). Verify that the proper options for your system are selected, and that CONFIG_SMP ("Symmetric multi-processing support" under "Processor type and features") is disabled, as this driver is presently designed to work on single-processor machines. Then compile and install your new kernel (for more information about this procedure, see the README file under the kernel source directory), reboot the system using the new kernel, and re-run "hsfconfig". What path am I suppose to use? /usr/src/linux just points to the previously mentioned folder. Also isn't recompiling the kernel a little extreme? I guess I just need reassurance that this wont completely break my install. Am I on doing all this right? Thanks for all your help, Latem Quote Link to comment Share on other sites More sharing options...
bvc Posted July 10, 2004 Report Share Posted July 10, 2004 do you have a build symlink in /lib/modules/2.6.3-7 If so what does it point to? To find out do; file /lib/modules/2.6.3-7/build You are doing it right. It is not going to compile your kernel. It is suppose to install the kernel module in /lib/modules/2.6.3-7 Quote Link to comment Share on other sites More sharing options...
Latem Posted July 10, 2004 Author Report Share Posted July 10, 2004 (edited) the only contents in /lib/modules for me are folders 2.4.25-2mdk and 2.6.3-7mdk In 2.6.3-7mdk there's a folder "build" that's a link to /usr/src/linux-2.6.3-7mdk as well a folder "kernel" and a bunch of modules.xxxxxxx, files. EDIT: I found the header file it was looking for in /usr/include/linux I am guesssing I had the right path (/usr/src/linux) so should I just copy the header file there and try again. Or do I need to mess with configuring the kernel? Latem Edited July 10, 2004 by Latem Quote Link to comment Share on other sites More sharing options...
Latem Posted July 10, 2004 Author Report Share Posted July 10, 2004 This is my modeversions.h (in /usr/include/linux): #error "======================================================="#error "You should not include /usr/include/{linux,asm}/ header" #error "files directly for the compilation of kernel modules." #error "" #error "glibc now uses kernel header files from a well-defined" #error "working kernel version (as recommended by Linus Torvalds)" #error "These files are glibc internal and may not match the" #error "currently running kernel. They should only be" #error "included via other system header files - user space" #error "programs should not directly include <linux/*.h> or" #error "<asm/*.h> as well." #error "" #error "To build kernel modules please do the following:" #error "" #error " o Have the kernel sources installed" #error "" #error " o Make sure that the symbolic link" #error " /lib/modules/`uname -r`/build exists and points to" #error " the matching kernel source directory" #error "" #error " o Now copy /boot/vmlinuz.version.h to" #error " /lib/modules/`uname -r`/build/include/linux/version.h" #error "" #error " o When compiling, make sure to use the following" #error " compiler option to use the correct include files:" #error "" #error " -I/lib/modules/`uname -r`/build/include" #error "" #error " instead of" #error "" #error " -I/usr/include/linux" #error "" #error " Please adjust the Makefile accordingly." #error "=======================================================" Maybe this is something new in 2.6, and the hsfconfig, is trying to do it the 2.4 way? Latem Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.