Author Topic: [SOLVED]: Modem Driver - Cannot build  (Read 1253 times)

Offline Timothy

  • PCLinuxOS Tester
  • Full Member
  • *******
  • Posts: 67
[SOLVED]: Modem Driver - Cannot build
« on: October 09, 2011, 04:33:43 PM »
Hi Everyone,

I bought a USB modem for dialup... we don't have high-speed at the cottage [:-((

The modem comes with a selection of pre-built driver modules for fedora, mandriva, SUSE and another distro but not PCLinuxOS.  The driver disk includes the source files with build instruction, but when I try to build it I receive this message stream:

WARNING: the kernel version () defined in /lib/modules/2.6.38.8-pclos3.bfs/build/include/linux/version.h
does not match the currently running kernel (2.6.38.8-pclos3.bfs) The cause of this problem is an incorrect kernel source path.
Please check that /lib/modules/2.6.38.8-pclos3.bfs/build points to the right tree.
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-2.6.38.8-pclos3.bfs was found.
Would you like to try using it (in a temporary kernel tree)? [yes]

Unable to prepare temporary kernel tree


Does anyone have input how to correct / work around this?

The modem works just fine under Windoze, and that IRKS.

Thanks for any help,
Timothy.
« Last Edit: October 17, 2011, 06:34:44 PM by Timothy »
Timothy
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe":  Albert Einstein.

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Modem Driver - Cannot build
« Reply #1 on: October 09, 2011, 04:57:20 PM »
Hi Everyone,

I bought a USB modem for dialup... we don't have high-speed at the cottage [:-((

The modem comes with a selection of pre-built driver modules for fedora, mandriva, SUSE and another distro but not PCLinuxOS.  The driver disk includes the source files with build instruction, but when I try to build it I receive this message stream:


Hi,
I think you need to install the kernel development or source package:
kernel-devel-2.6.38.8-pclos3.bfs-1-1pclos2011
or
kernel-source-2.6.38.8-pclos3-1-1pclos2011

Quote

WARNING: the kernel version () defined in /lib/modules/2.6.38.8-pclos3.bfs/build/include/linux/version.h
does not match the currently running kernel (2.6.38.8-pclos3.bfs) The cause of this problem is an incorrect kernel source path.
Please check that /lib/modules/2.6.38.8-pclos3.bfs/build points to the right tree.
The cause of this is usually a missing or unconfigured kernel source tree (and sometimes an incorrect directory or symbolic link).


It's difficult to give you further instructions without knowing the specified requirements.

Please verify that kernel-devel is installed, or try the following command from a root account:
ls -ld /lib/modules/2.6.38.8-pclos3.bfs/build

AS

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11588
  • ----IOFLU----
Re: Modem Driver - Cannot build
« Reply #2 on: October 09, 2011, 05:21:08 PM »
Timothy:

Look in /lib/modules/2.6.38.8-pclos3.bfs to see if there are two links named build and source. If they are not there, create them, as root, both pointing to /usr/src/kernel-devel-2.6.38.8-pclos3.bfs.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Timothy

  • PCLinuxOS Tester
  • Full Member
  • *******
  • Posts: 67
Re: Modem Driver - Cannot build
« Reply #3 on: October 09, 2011, 05:38:32 PM »
I've actually upgrade to 2.6.38.8-pclos3.pae.bfs... more than 4Gig of RAM.  Development files are installed, source files are not.

ls -ld /lib/modules/2.6.38.8-pclos3.pae.bfs/build returns:
lrwxrwxrwx 1 root root 45 Oct  9 17:23 /lib/modules/2.6.38.8-pclos3.pae.bfs/build -> /usr/src/kernel-devel-2.6.38.8-pclos3.pae.bfs/

The links to build and source both exist in /lib/modules/2.6.38.8-pclos3.pae.bfs.
Timothy
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe":  Albert Einstein.

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3992
Re: Modem Driver - Cannot build
« Reply #4 on: October 10, 2011, 06:20:49 AM »
The first thing to do is to establish you actually need to build the drivers. Many of them are already available in the kernel or in pclos.

What happens if you simply open PCC and attempt to set up the network connection?
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline Timothy

  • PCLinuxOS Tester
  • Full Member
  • *******
  • Posts: 67
Re: Modem Driver - Cannot build
« Reply #5 on: October 10, 2011, 07:04:43 PM »

What happens if you simply open PCC and attempt to set up the network connection?


Worth a try, but no... definitely not plug-n-play.  Maybe I'll go check out the Linuxant site.

Oh Windoze, I love you...  [:-((
Timothy
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe":  Albert Einstein.

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: Modem Driver - Cannot build
« Reply #6 on: October 10, 2011, 07:44:11 PM »
pcc?

kppp is what he needs if he is going to use a dial up modem

if it is a 3G modem, not sure why he needs to do all this

it is true that some comes now with linux drivers but never seen one working or needing it
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 723
Re: Modem Driver - Cannot build
« Reply #7 on: October 11, 2011, 03:06:03 AM »
pcc?

Yes, you can configure USB modems in PCC.
PCC->Network & Internet->Set Up A New Network Interface->Analog telephone modem OR GPRS/Edge/3G depending on type
You can use KPPP as well but it has fewer "provider templates" so you often need to enter values manually.

if it is a 3G modem, not sure why he needs to do all this

Correct, it should just use the usbserial module but he didn't tell us what make/model of modem so it's hard to be sure.

When talking about these sorts of devices it helps to provide the output from "lsusb" command run in a terminal.

I would also like to see the output from "tail -50 /var/log/syslog" taken just after plugging the modem in.


« Last Edit: October 11, 2011, 03:15:38 AM by TerryN »
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10664
  • MLUs Forever!
Re: Modem Driver - Cannot build
« Reply #8 on: October 11, 2011, 04:22:10 AM »
Did ye miss this?  :D  :D

Quote
Hi Everyone,

I bought a USB modem for dialup... we don't have high-speed at the cottage [:-((


What happens if you simply open PCC and attempt to set up the network connection?


Worth a try, but no... definitely not plug-n-play. 

That did not address the question .....  if people are to try to help then much more info is needed.
« Last Edit: October 11, 2011, 04:23:47 AM by Just18 »
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3992
Re: Modem Driver - Cannot build
« Reply #9 on: October 11, 2011, 05:04:57 AM »
Sorry, missed the dial-up bit. Yes, you will need to build the driver.

Head over to the advanced users' section for advice on doing that. You will need to provide lots of info; in particular, the error messages when each build fails.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline Timothy

  • PCLinuxOS Tester
  • Full Member
  • *******
  • Posts: 67
Re: Modem Driver - Cannot build
« Reply #10 on: October 17, 2011, 04:55:32 PM »
The modem is a Zoom 56K V.92 USB Mini External Data/Fax Modem, Model 3095F.  It's supposedly a hardware modem with a Digital Call Progress interface.  The USB ID is 0803:3095.

I've done some searching and found a few posts that suggest re-configuring/re-building the kernel, but that may be a little heavy duty for my level of experience.

I've also found a free Linuxant driver (http://www.linuxant.com/drivers/dgc/install.php).  I'm going to give that a shot and I'll post the results.

Thanks for the replies so far.

Timothy
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe":  Albert Einstein.

Offline Timothy

  • PCLinuxOS Tester
  • Full Member
  • *******
  • Posts: 67
[SOLVED]: Modem Driver - Cannot build
« Reply #11 on: October 17, 2011, 06:34:11 PM »
Went to Linuxant, downloaded cnxtinstall.run, made executable and ran as root.

Driver installed, everything working.  Too easy.

Thank-you, Linuxant.
Timothy
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe":  Albert Einstein.

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: [SOLVED]: Modem Driver - Cannot build
« Reply #12 on: October 17, 2011, 06:36:32 PM »
 :o

great news!
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan