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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-05-2006, 12:49 AM
|
#1
|
LQ Newbie
Registered: Jun 2006
Posts: 4
Rep:
|
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.
|
|
|
07-05-2006, 02:16 AM
|
#2
|
Member
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881
Rep:
|
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
|
|
|
07-05-2006, 04:08 PM
|
#3
|
LQ Newbie
Registered: Jun 2006
Posts: 4
Original Poster
Rep:
|
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
|
|
|
07-05-2006, 05:26 PM
|
#4
|
Member
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881
Rep:
|
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
|
|
|
07-06-2006, 03:35 PM
|
#5
|
LQ Newbie
Registered: Jun 2006
Posts: 4
Original Poster
Rep:
|
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.
|
|
|
07-06-2006, 05:23 PM
|
#6
|
Member
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881
Rep:
|
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
|
|
|
07-16-2006, 04:01 PM
|
#7
|
LQ Newbie
Registered: Jun 2006
Posts: 4
Original Poster
Rep:
|
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.
|
|
|
07-16-2006, 07:31 PM
|
#8
|
Member
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 01:46 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|