LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-05-2006, 12:49 AM   #1
pal_1969
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Rep: Reputation: 0
trouble configuring modem


I recently bought mandriva linux 2006 and up till now have found it very friendly. I am having one problem and that is configuring my modem. It is a sm56 modem and I have downloaded and installed the linux driver for it and inserted the mandriva cd's when asked to. I have provided the information needed such as my username and password and so on and have set the IP, DNS, and Gateway parameters to automatic. Up to this point everything looks fine but when I test my connection it tells me it was not able to connect and to reconfigure it. After many tries I finally installed another modem and I still get the same message. that it was not able to connect and to reconfigure it. Could someone please tell me what I am doing wrong so I can finally configuure it right.

Thanks

Last edited by pal_1969; 07-05-2006 at 12:52 AM.
 
Old 07-05-2006, 02:16 AM   #2
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
Hello.

I'll take a crack at it, but I don't think I have enough information yet. I need to know (1) the EXACT error message that it gives you, (2) what the driver and module are called, and where you got them, and (3) what you are using for your modem device (e.g. /dev/modem, /dev/ttyS1, etc.).

Post that information and I'll do what I can.

--Dane
 
Old 07-05-2006, 04:08 PM   #3
pal_1969
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Original Poster
Rep: Reputation: 0
The error message that it gives me is the following. "the system does not seem to be connected to the internet. Try to reconfigure your connection." The modem I have is a motorola sm56 pci and the driver I got was from their website.

At this website they have 2 drivers that are for mandrake 10.0 and 9.2. I have tried to install both but only the one for mandrake 10.0 does a succesful install. The name of this driver is sm56-06.05.02-2.mdk10 263-7.i586.rpm.

As for what I am using for my modem device I dont get any of that on the screen when i am configuring it. I just go into the linux control center which takes me thru some simple steps, which pretty much seems like the configuration tool under windows. I type in my login info and password and for authentication it is set to pap/chap by default but I have tried them all by now and none seems to work.

Thanks for trying to help
 
Old 07-05-2006, 05:26 PM   #4
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
Does it seem to dial out before you get the error? (Can you hear it making the dialing/buzzing/beeping sounds if you turn the modem speaker on?) Exactly at which point do you get the error--during connect, after connect, when you open a web browser, etc.?

If it is dialing out and staying connected, then it may be as simple as setting the route default to the modem device. Please try to connect and give me the output of "route". You might have to do this as root.

Also do "lsmod | grep sm56", and if that shows nothing, do (as root) "modprobe sm65" and try the lsmod command again. This will make sure that you have the proper driver (module) installed into RAM. If it wasn't initially installed, try connecting again after you have installed it (with the modprobe command). You might have to reconfigure your modem after you have modprobed the driver.

I read on the web that there may also be a "sm56setup" command installed with the driver. Give that a try. (You will probably have to run it as root.) Also, check out this site:

http://www.pcquest.com/content/linux.../101071110.asp

Hope that helps.

--Dane
 
Old 07-06-2006, 03:35 PM   #5
pal_1969
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Original Poster
Rep: Reputation: 0
when i try the ismod command it tells me command not found. grep command it just goes to the next line but does nothing else. modprobe command tells me the following. fatal: error inserting sm56 (/lib/modules 12.6.12-12mdk/kernel/drivers/char/sm56.ko) invalid module format.
 
Old 07-06-2006, 05:23 PM   #6
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
OK. The "l" in the "lsmod" command is a lowercase "L". "grep" is used in conjunction with that command to help you quickly find the sm56 module. The "|" (pipe) character is what you get when you hold SHIFT and press "\" (backslash).

The "invalid module format" error indicates that yes, the module is present, but it's not for the kernel you're using. The solution: compile the module from source code. You're going to need to install the kernel headers (and possibly the kernel source) for the kernel you're running, the standard C/C++ libraries, a C/C++ compiler (gcc/g++, respectively), binutils, and probably a few other things. To get the driver, go here:

http://www.sm56.tk/

There's a link at the top of the page that will allow you to skip the ad. Then go to the downloads section and download the gcc3 version (sm56-gcc3.tar.gz). The instructions are pretty straight-forward, but you NEED the above-mentioned compilers, libraries, etc. in order for it to work. Since I don't use Mandrake (Mandriva) anymore, you're kind-of on your own for getting the necessary dependencies. Try using the package manager to search for something like "make" or "gcc" or "libc".

Give that a shot and let me know how it goes.

--Dane
 
Old 07-16-2006, 04:01 PM   #7
pal_1969
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Original Poster
Rep: Reputation: 0
hi, Dane sorry i had not answered your last message before. I tried what u have told me to do but I just have not been able to make it work. I finally got tired of trying to make the modem work and moved on to the dsl/cable connection. I took my computer to a friends house to connect it with the cable connection he has and it worked instantly. I had absolutely no problems and got surfing with firefox and konkeror. I have since installed a wireless pci card which was detected instantly and so i had to do nothing to configure it. Mandriva did all of this automatically. I havent used it yet but i will soon.

Thanks for all your help.
 
Old 07-16-2006, 07:31 PM   #8
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
Hello.

I'm glad that you found a working solution (or at least a workaround) to your problem. Winmodems are notoriously hard to make work on Linux, and the fact that you're using a binary distribution (as opposed to source-based like Slackware or Gentoo) can make it a bit tricky to compile drivers.

Have a good one.

--Dane
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A little trouble with configuring X orange400 Linux - Software 3 05-12-2006 04:41 PM
trouble installing modem Intel modem module kholdstayr Linux - Networking 0 07-17-2005 10:25 AM
Configuring modem for Fedora Core 1 (ltwin modem) robroy911 Linux - Hardware 0 08-02-2004 07:47 AM
Trouble configuring ISAPnP modem and ESS soundcard. buddha Linux - Newbie 0 09-12-2003 10:37 AM
having trouble configuring x krackerroot Linux - Newbie 3 09-11-2003 10:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration