Im trying to install conexant modem drivers. i can install the .deb; but when i run dgcconfig to build driver modules and complete the installation, it says its missing version.h due to unconfigured kernel. To run make menuconfig in the kernel directory. On another forum someone said i needed kernel-source. So here are the steps i took:
Reinstalled ubuntu
installed kernel-headers kernel-devel build-essential kernel-source
apt-get install kernel-source gives me tar.bz2 with two folders debian and debian.master in usr/src/linux-source-3.13.0/
run tar xjf linux-source-3.13.0.tar.bz2
extracts to usr/src/linux-source-3.13.0/linux-source-3.13.0
run sudo make -j2 in that directory
Says to run oldconfig
run sudo oldconfig
writes .config file
Instal dgcmodem driver
installs
runs dgcconfig
Same output as before:
Code:dan@dan-VirtualBox:/usr/src/linux-source-3.13.0/linux-source-3.13.0$ sudo dgcconfig Conexant DGC USB modem driver, version 1.13 If you need assistance or more information, please go to: http://www.linuxant.com/ When reporting a problem for the first time, please send us the file generated by "dgcconfig --dumpdiag". No pre-built modules for: Ubuntu-14.04.2 linux-3.16.0-30-generic i686-SMP Trying to automatically build the driver modules... (this requires a C compiler and proper kernel sources to be installed) Where is the linux source build directory that matches your running kernel? [/lib/modules/3.16.0-30-generic/build] WARNING: missing file /lib/modules/3.16.0-30-generic/build/include/linux/version.h The cause of this is usually a missing or unconfigured kernel source tree (and sometimes an incorrect directory or symbolic link). However, proper /boot/config-3.16.0-30-generic was found. Would you like to try using it (in a temporary kernel tree)? [yes] Unable to prepare temporary kernel tree 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. 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 "dgcconfig". dan@dan-VirtualBox:/usr/src/linux-source-3.13.0/linux-source-3.13.0$
How do i properly install kernel-source so dgcconfig can build the modem modules? I was told to run "make -j(# of cpu cores, in my case -j2)" in /usr/src/linux-(version) but the only folders in /usr/src/ are linux-headers-(version) and linux-source-(version)
Help is appreciated, i've been trying to install these drivers for quite awhile



Adv Reply

Bookmarks