How do I compile Conexant softmodem driver? [SOLVED]
- sling-shot
- Posts: 109
- Joined: Fri 19 Aug 2005, 07:01
- Location: India
How do I compile Conexant softmodem driver? [SOLVED]
I am trying to get a D-Link internal modem working. It comes with driver software as a .tar.gz file which they say can be installed after extracting using the "make install" command. But the problem is Bash says no such command.
The original post which probably was posted in the wrong thread is here http://www.murga.org/~puppy/viewtopic.p ... 5&start=17
Any insights ?
The original post which probably was posted in the wrong thread is here http://www.murga.org/~puppy/viewtopic.p ... 5&start=17
Any insights ?
Last edited by sling-shot on Mon 31 Oct 2005, 21:29, edited 1 time in total.
I am a nobody. Nobody is perfect. So I am perfect.
STATUS:Trying to begin life in Linux World.
STATUS:Trying to begin life in Linux World.
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
compile your own driver
Om Shanti
You in India? Maybe you know my Guru? Shri Olli Octopus?
Now then. They expect you to compile your own driver . . . the audacity of it. Did you have to solder the modem together?
The driver is probably quite small - upload it here. Please ask if you need help. Someone can then compile it for you . . . Or maybe someone will volunteer and you can contact them directly. Otherwise you need to set yourself up (extra download) to compile programs from and in Puppy . . .
Gosh . . . just remembered what happened to Olli . . . there were few fish that day you understand . . . got hungry - Guru got eaten
http://www.cyber-shaktipat.org/relax/arc/
You in India? Maybe you know my Guru? Shri Olli Octopus?
Now then. They expect you to compile your own driver . . . the audacity of it. Did you have to solder the modem together?
The driver is probably quite small - upload it here. Please ask if you need help. Someone can then compile it for you . . . Or maybe someone will volunteer and you can contact them directly. Otherwise you need to set yourself up (extra download) to compile programs from and in Puppy . . .
Gosh . . . just remembered what happened to Olli . . . there were few fish that day you understand . . . got hungry - Guru got eaten
http://www.cyber-shaktipat.org/relax/arc/
- sling-shot
- Posts: 109
- Joined: Fri 19 Aug 2005, 07:01
- Location: India
To compile a package just download the usr_devx.sfs file from Ibiblio (Look at the puppy download page) and put it at the same location where your pup001 file is.
It includes all the tools for compiling and making applications.
For the full explanation look at the wikki: http://www.goosee.com/puppy/wikka/Compiling
It includes all the tools for compiling and making applications.
For the full explanation look at the wikki: http://www.goosee.com/puppy/wikka/Compiling
- sling-shot
- Posts: 109
- Joined: Fri 19 Aug 2005, 07:01
- Location: India
- sling-shot
- Posts: 109
- Joined: Fri 19 Aug 2005, 07:01
- Location: India
[rarsa]
I will do that a week from today.
[MU]
Thanks. I uploaded the file over to xmailharddrive.com/beta.
[Lobster]
The file can be downloaded by login in using instructions here http://www.murga.org/~puppy/viewtopic.php?t=3080
Compiling it myself is currently out of question because of difficulty in getting the 40+MB file needed.
Waiting..............
I will do that a week from today.
[MU]
Thanks. I uploaded the file over to xmailharddrive.com/beta.
[Lobster]
The file can be downloaded by login in using instructions here http://www.murga.org/~puppy/viewtopic.php?t=3080
Compiling it myself is currently out of question because of difficulty in getting the 40+MB file needed.
Waiting..............
I am a nobody. Nobody is perfect. So I am perfect.
STATUS:Trying to begin life in Linux World.
STATUS:Trying to begin life in Linux World.
http://noforum.de/dotpups/hfsmodem.pup (900 kb)
Install, maybe best is to restart the computer then (as some files are extracted to /etc).
Then run
hsfconfig
I hope I found all files the compiler created.
Here is the output, in case I oversaw something:
# make install
rpm: No such file or directory
rpm: No such file or directory
rpm: No such file or directory
rpm: No such file or directory
make[1]: Entering directory `/root/jpatch/hsflinmodem-4.06.06.02/inf'
install -m 644 linux_athens.inf linux_hsfi.inf linux_hsf.inf linux_intel_smartmc .inf linux_smarthsf.inf /etc/hsf/inf
make[1]: Leaving directory `/root/jpatch/hsflinmodem-4.06.06.02/inf'
make[1]: Entering directory `/root/jpatch/hsflinmodem-4.06.06.02/inf2bin'
install -m 755 hsfinf2bin /usr/sbin/hsfinf2bin
make[1]: Leaving directory `/root/jpatch/hsflinmodem-4.06.06.02/inf2bin'
make[1]: Entering directory `/root/jpatch/hsflinmodem-4.06.06.02/firm2bin'
install -m 755 hsffirm2bin /usr/sbin/hsffirm2bin
install -m 644 cnxykf.hex /etc/hsf
make[1]: Leaving directory `/root/jpatch/hsflinmodem-4.06.06.02/firm2bin'
make[1]: Entering directory `/root/jpatch/hsflinmodem-4.06.06.02/scripts'
install -m 755 hsfconfig hsfstop /usr/sbin
install -m 755 hsfsysid /usr/bin
make[1]: Leaving directory `/root/jpatch/hsflinmodem-4.06.06.02/scripts'
make[1]: Entering directory `/root/jpatch/hsflinmodem-4.06.06.02/modules'
rm -rf "/usr/lib/hsf/config.mak" "/usr/lib/hsf/imported" "/usr/lib/hsf/modules"
mkdir -m 755 -p /usr/lib/hsf/modules
(cd .. && find config.mak imported -depth -print | cpio -pdm /usr/lib/hsf)
3664 blocks
find . \( -name '*.[ch]' -o -name '*.mak' -o -name '[Mm]akefile' \) -print | cpi o -pdm /usr/lib/hsf/modules
558 blocks
find binaries -depth -print | cpio -pdm /usr/lib/hsf/modules
0 blocks
make[1]: Leaving directory `/root/jpatch/hsflinmodem-4.06.06.02/modules'
install -m 444 LICENSE /usr/lib/hsf
To compile, I had to replace "cpio" from busybox with cpio from Mandrake 9.2.
Mark
Install, maybe best is to restart the computer then (as some files are extracted to /etc).
Then run
hsfconfig
I hope I found all files the compiler created.
Here is the output, in case I oversaw something:
# make install
rpm: No such file or directory
rpm: No such file or directory
rpm: No such file or directory
rpm: No such file or directory
make[1]: Entering directory `/root/jpatch/hsflinmodem-4.06.06.02/inf'
install -m 644 linux_athens.inf linux_hsfi.inf linux_hsf.inf linux_intel_smartmc .inf linux_smarthsf.inf /etc/hsf/inf
make[1]: Leaving directory `/root/jpatch/hsflinmodem-4.06.06.02/inf'
make[1]: Entering directory `/root/jpatch/hsflinmodem-4.06.06.02/inf2bin'
install -m 755 hsfinf2bin /usr/sbin/hsfinf2bin
make[1]: Leaving directory `/root/jpatch/hsflinmodem-4.06.06.02/inf2bin'
make[1]: Entering directory `/root/jpatch/hsflinmodem-4.06.06.02/firm2bin'
install -m 755 hsffirm2bin /usr/sbin/hsffirm2bin
install -m 644 cnxykf.hex /etc/hsf
make[1]: Leaving directory `/root/jpatch/hsflinmodem-4.06.06.02/firm2bin'
make[1]: Entering directory `/root/jpatch/hsflinmodem-4.06.06.02/scripts'
install -m 755 hsfconfig hsfstop /usr/sbin
install -m 755 hsfsysid /usr/bin
make[1]: Leaving directory `/root/jpatch/hsflinmodem-4.06.06.02/scripts'
make[1]: Entering directory `/root/jpatch/hsflinmodem-4.06.06.02/modules'
rm -rf "/usr/lib/hsf/config.mak" "/usr/lib/hsf/imported" "/usr/lib/hsf/modules"
mkdir -m 755 -p /usr/lib/hsf/modules
(cd .. && find config.mak imported -depth -print | cpio -pdm /usr/lib/hsf)
3664 blocks
find . \( -name '*.[ch]' -o -name '*.mak' -o -name '[Mm]akefile' \) -print | cpi o -pdm /usr/lib/hsf/modules
558 blocks
find binaries -depth -print | cpio -pdm /usr/lib/hsf/modules
0 blocks
make[1]: Leaving directory `/root/jpatch/hsflinmodem-4.06.06.02/modules'
install -m 444 LICENSE /usr/lib/hsf
To compile, I had to replace "cpio" from busybox with cpio from Mandrake 9.2.
Mark
- sling-shot
- Posts: 109
- Joined: Fri 19 Aug 2005, 07:01
- Location: India
[MU]
This is what i did...
STEP 1
I copied the .pup from floppy (where it was stored off the net) into /root/my-documents
STEP 2
I clicked on the .pup in the ROX file manager.
DotPup replied "File integrity OK;hfsmodem.pup
Clicked on Unzip.
Clicked "Run the installer"
Clicked "No" to "Delete the .pup?"
STEP 3
rebooted
STEP 4
opened rxvt typed "hfsconfig" result "Bash : command not found"
typed "hsfconfig"
This was the output
at this point i typed ENTER not knowing what to do
and this is the result
How do i proceed from here?
This is my modem information (got by using windows programme downloaded off LINUXANT site.)
And this is the complete list of files on that driverCD
------------------------------------------
Hmmmmmm...............
This is what i did...
STEP 1
I copied the .pup from floppy (where it was stored off the net) into /root/my-documents
STEP 2
I clicked on the .pup in the ROX file manager.
DotPup replied "File integrity OK;hfsmodem.pup
Clicked on Unzip.
Clicked "Run the installer"
Clicked "No" to "Delete the .pup?"
STEP 3
rebooted
STEP 4
opened rxvt typed "hfsconfig" result "Bash : command not found"
typed "hsfconfig"
This was the output
Code: Select all
Linux HSF softmodem drivers, version 4.06.06.02
No pre-built HSF modules are available for your exact kernel:
Linux-2.4.29-i686-unknown-unknown-MODVERS
Assuming that a C compiler and proper kernel header files are present
on your system, we will now attempt to re-compile the modules.
Where is the directory of C header files that match your running kernel?
[/usr/src/linux]
and this is the result
Code: Select all
WARNING: missing file /usr/src/linux/include/linux/autoconf.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".
This is my modem information (got by using windows programme downloaded off LINUXANT site.)
Code: Select all
NUMBER OF MODEMS FOUND = 1
MODEM #1:
PCI CONFIGURATION INFORMATION READ:
VENDOR ID : 14F1
DEVICE ID : 2F00
SUBVENDOR ID : 14F1
SUBDEVICE ID : 2004
REVISION ID : 01
DEDUCED INFORMATION:
VENDOR NAME : CONEXANT
DEVICE NAME : HSF CHURCHILL DATA/FAX
SUBVENDOR NAME : ACTIONTEC, ZOLTRIX, ACEEX, TAICOM OR ASUS --
HTTP://WWW.ACTIONTEC.COM/, HTTP://WWW.TAICOM.COM,
HTTP://WWW.ASUS.COM.TW/COMPANY/.
FOR 14F1/ICH GO TO -- DELL-HTTP://SUPPORT.DELL.COM
/US/EN/INDEX.ASP
MODEM TYPE : HSF
WINXP INBUILD SUPPORT : YES
And this is the complete list of files on that driverCD
Code: Select all
Volume in drive G is PTICA52001-
Volume Serial Number is D9C8-9200
Directory of G:\Driver\Linux
. <DIR> 06-16-03 3:35p .
.. <DIR> 06-16-03 3:34p ..
INSTALL 3,454 01-28-02 8:26a INSTALL
HSFLIN~8 RPM 880,535 01-28-02 8:26a hsflinmodem-4.06.06.02-1.i586.rpm
HSFLI~10 RPM 888,895 01-28-02 8:26a hsflinmodem-4.06.06.02-1.src.rpm
HSFLI~12 GZ 901,120 01-28-02 8:26a hsflinmodem-4.06.06.02.tar.gz
HSFMO~14 ZIP 1,071,286 02-03-05 9:19a hsfmodem-7.18.00.02oem-1.i386.rpm.zip
HSFMO~16 GZ 1,082,763 02-03-05 9:20a hsfmodem-7.18.00.02oem.tar.gz
HSFMO~18 DEB 1,085,442 02-03-05 9:20a hsfmodem_7.18.00.02oem_i386.deb
7 file(s) 5,913,495 bytes
2 dir(s) 0 bytes free
Hmmmmmm...............
I am a nobody. Nobody is perfect. So I am perfect.
STATUS:Trying to begin life in Linux World.
STATUS:Trying to begin life in Linux World.
The version of the drivers you are trying to compile is one of the older free versions. The latest free version is 5.03.27 (the dotpup for that is available at http://www.murga.org/~puppy/viewtopic.php?t=2258 and the source from http://www.int21.de/conexant/).
When compiling the 5.03.27 version I had to modify the oscompat.h file in order for it to compile with newer versions of gcc --I'll get back to you on what I had to change. You may not have that problem with the hsfmodem-7.18.00.02oem.tar.gz file from your driver cd.
In order to compile the driver you will need the kernel source, I note sure if that is included with the development package for puppy.
~~~~~~~
The package provided by MU contains precompiled modules and the source for recompilation, which is probably the reason its asking you to recompile the drivers. Additionaly, I don't see the file /etc/nvram.bin. This is a key file --at least in version 5.x.x and above.
I don't think it would work, but it would be intersting to see if getting the /etc/nvram.bin (provided there is one) from MU would make a difference. Otherwise you have three options, which in order of preference are:
1. Try my dotpup - tested successfully, can be redistrubuted, no speed limitations, newer than the version you are currently trying, adequate for dialup connectivity, less features than the newer 7.x.x versions.
2. Provide me the source for your drivers and I can compile them for you. If the version 7.x.x license is restrictive I would have email the compiled drivers to you.
3. Download the kernel source and compile the newer version if you have a key or one is not required. If you require a key you will be limited to 14.4kbs until you enter it. The original license from linuxant (not sure if this is the same for yours) prevents redistribution. Linuxnant is the company responsible for current development of the conexant winmodem drivers.
NB. I'm currently working on a few other packages for puppy and may not be able to compile the drivers for you until next week.
BTW. wrt "the drivers being dangerous" see http://www.murga.org/~puppy/viewtopic.php?p=19448#19448
When compiling the 5.03.27 version I had to modify the oscompat.h file in order for it to compile with newer versions of gcc --I'll get back to you on what I had to change. You may not have that problem with the hsfmodem-7.18.00.02oem.tar.gz file from your driver cd.
In order to compile the driver you will need the kernel source, I note sure if that is included with the development package for puppy.
~~~~~~~
The package provided by MU contains precompiled modules and the source for recompilation, which is probably the reason its asking you to recompile the drivers. Additionaly, I don't see the file /etc/nvram.bin. This is a key file --at least in version 5.x.x and above.
I don't think it would work, but it would be intersting to see if getting the /etc/nvram.bin (provided there is one) from MU would make a difference. Otherwise you have three options, which in order of preference are:
1. Try my dotpup - tested successfully, can be redistrubuted, no speed limitations, newer than the version you are currently trying, adequate for dialup connectivity, less features than the newer 7.x.x versions.
2. Provide me the source for your drivers and I can compile them for you. If the version 7.x.x license is restrictive I would have email the compiled drivers to you.
3. Download the kernel source and compile the newer version if you have a key or one is not required. If you require a key you will be limited to 14.4kbs until you enter it. The original license from linuxant (not sure if this is the same for yours) prevents redistribution. Linuxnant is the company responsible for current development of the conexant winmodem drivers.
NB. I'm currently working on a few other packages for puppy and may not be able to compile the drivers for you until next week.
BTW. wrt "the drivers being dangerous" see http://www.murga.org/~puppy/viewtopic.php?p=19448#19448
- sling-shot
- Posts: 109
- Joined: Fri 19 Aug 2005, 07:01
- Location: India
[jcoder24]
Downloaded and installed your dotpup. Upon running the HSF/HCF modem config it told me the same thing about Linux kernel i just pressed enter and finally got the message modem successfully installed.
One more thing soon as i started the config a blue screen showed me "14f1" and "2f00" and asked me to remember these and enter them later when asked but i was never asked for it!
And i did not have to enter anything.
Now to GkDial...
I setup an account and dial... i can hear the modem dialing but finally just disconnected...
No success...
Dont know what to do. [Writing this by connecting from Win98]
--------------
And yes that DISCLAIMER was what had spooked me
Downloaded and installed your dotpup. Upon running the HSF/HCF modem config it told me the same thing about Linux kernel i just pressed enter and finally got the message modem successfully installed.
One more thing soon as i started the config a blue screen showed me "14f1" and "2f00" and asked me to remember these and enter them later when asked but i was never asked for it!
And i did not have to enter anything.
Now to GkDial...
I setup an account and dial... i can hear the modem dialing but finally just disconnected...
No success...
Dont know what to do. [Writing this by connecting from Win98]
--------------
And yes that DISCLAIMER was what had spooked me
I am a nobody. Nobody is perfect. So I am perfect.
STATUS:Trying to begin life in Linux World.
STATUS:Trying to begin life in Linux World.
If you answer yes to the following questions and everything is detected you wouldn't need to enter anything. Sometimes it don't go that smoothly and you end up having to enter them any way --that's why I recommend answering no.sling-shot wrote: One more thing soon as i started the config a blue screen showed me "14f1" and "2f00" and asked me to remember these and enter them later when asked but i was never asked for it!
Should we attempt to automatically configure your hardware? [yes]
Is the modem presently installed in your system? [yes]
Since the modem is dialing the drivers are probably working. See here for futher instructions http://www.murga.org/~puppy/viewtopic.php?p=11857#11857sling-shot wrote: Now to GkDial...
I setup an account and dial... i can hear the modem dialing but finally just disconnected...
- sling-shot
- Posts: 109
- Joined: Fri 19 Aug 2005, 07:01
- Location: India
Even these questions did not pop up...!!!jcoder24 wrote: If you answer yes to the following questions and everything is detected you wouldn't need to enter anything. Sometimes it don't go that smoothly and you end up having to enter them any way --that's why I recommend answering no.
Should we attempt to automatically configure your hardware? [yes]
Is the modem presently installed in your system? [yes]
I am a nobody. Nobody is perfect. So I am perfect.
STATUS:Trying to begin life in Linux World.
STATUS:Trying to begin life in Linux World.
Ok, I just remembered that I had put in a check for the file '/etc/hsf/config'. If the file exists it skips the configuration. You prob. had one from the MU package installation. Try removing all of the files installed by both MU and my packages, reinstall and try again.sling-shot wrote:Even these questions did not pop up...!!!
If it fails we will need to see your log files.
- sling-shot
- Posts: 109
- Joined: Fri 19 Aug 2005, 07:01
- Location: India
By clean install do you mean with a new pup00X file? If not try a new pup00X file and reinstall.sling-shot wrote:Even a clean install failed.
Now where do i find those log files which i can post?
For the log information do the following
source: http://www.murga.org/~puppy/viewtopic.php?p=11857#11857jcoder24 wrote:run wvdialconf /etc/wvdial.conf
edit /etc/wvdial.conf
uncomment (delete the semicolon at the beginning of the line) the phone, username and password lines and enter your ISP dialup number, your username and your password respectively.
note the time and then run wvdial
this should allow you to see what errors are showing up.
if it still fails to dial your isp check the lines of /var/log/messages for anything after the time you start wvdial and attach it to your next post. There may also be a /etc/ppp/connect-errors, you can attach that as well.
- sling-shot
- Posts: 109
- Joined: Fri 19 Aug 2005, 07:01
- Location: India
Exactly. WvDial threw up something like Telephone number not correct or so. I am in India. Is it because the keyboard i selected is US and it thinks it is USA or something like that....?jcoder24 wrote:By clean install do you mean with a new pup00X file? If not try a new pup00X file and reinstall.sling-shot wrote:Even a clean install failed.
Now where do i find those log files which i can post?
Anyway will post what i get now.
I am a nobody. Nobody is perfect. So I am perfect.
STATUS:Trying to begin life in Linux World.
STATUS:Trying to begin life in Linux World.
- sling-shot
- Posts: 109
- Joined: Fri 19 Aug 2005, 07:01
- Location: India
- sling-shot
- Posts: 109
- Joined: Fri 19 Aug 2005, 07:01
- Location: India