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.
|
|
01-26-2005, 05:58 PM
|
#1
|
Member
Registered: Aug 2003
Location: NY
Distribution: Debian
Posts: 119
Rep:
|
Externel Serial modem is slow
I just bought an external 56K serial modem (Best Data 56SX92) to replace my old, crappy internal pci winmodem because it liked to randomly disconnect me. But, my new modem (I tell KPPP the device is ttyS0) is significantly slower: 0.5KB/s, instead of a normal 4.0KB/s. Could this be a kernel misconfiguration? Any insights or suggestions are appreciated!
-Thanks
|
|
|
01-26-2005, 06:54 PM
|
#2
|
Moderator
Registered: Aug 2002
Posts: 26,112
|
It might be a misconfiguration. Using minicom or gcomm app you can see the modem's setup via the at&v command. Does the modem manual happen to list the at commands? Is ttyS0 configured for the highest baud rate?
|
|
|
01-26-2005, 07:13 PM
|
#3
|
Member
Registered: Aug 2003
Location: NY
Distribution: Debian
Posts: 119
Original Poster
Rep:
|
I can connect to the modem (but not with minicom, with KPPP's built in console.) 'AT &V' prints a whole bunch of numbers which I can't make sense of. The manual has some basic modem commands, and tells me that 'AT +MS=V92' will set the speed to 56K, and use the V.92 standard...where would I add this (preferably with
KPPP)? How do I set the serial port's baud rate? Should I set it to 56000? Thanks for the info!
|
|
|
01-26-2005, 08:13 PM
|
#4
|
Moderator
Registered: Aug 2002
Posts: 26,112
|
Does kppp have any device settings? Set the baud rate to 115200.
There should be a modem tab to configure any at commands to send to the modem. It has been a long time since I've had to mess with modem settings.
|
|
|
01-26-2005, 09:06 PM
|
#5
|
Member
Registered: Aug 2003
Location: NY
Distribution: Debian
Posts: 119
Original Poster
Rep:
|
It does have device settings, and 115200 is an option, but so is 460800, which is higher. Is there a reason I shouldn't use 460800? KPPP also gives me the option of specifying a second initialization string, I set this to 'AT +MS="V92"', but the manual all recommends sending '+MR=2'...how do I combine these two?
Thanks so very much for all the help!
|
|
|
01-26-2005, 09:15 PM
|
#6
|
Moderator
Registered: Aug 2002
Posts: 26,112
|
The baud rate depends on the modem capablilities. Try and see.
Its been such a long time since I've played with modem settings I will have to check to make sure.
|
|
|
01-26-2005, 09:21 PM
|
#7
|
Member
Registered: Aug 2003
Location: NY
Distribution: Debian
Posts: 119
Original Poster
Rep:
|
Hmm, I tried putting AT +MS=V92' in my initialization2 string, it didn't help, the modem was still slow. Also, should I be using software flow control, hardware flow control, or none? For reference, the AT set for my model is at http://www.bestdata.com/tech/v.92CommandReference.pdf
Thanks in advance!
|
|
|
02-04-2005, 09:28 AM
|
#8
|
Member
Registered: Jan 2005
Location: Santa Barbara, CA
Distribution: Ubuntu Hoary/Debian 3.1/RHEL-WS3/DSL 1.1
Posts: 66
Rep:
|
Likosin,
Have you had any luck? I have the same problem. My external TrendNET-560X modem was working fine until I re-installed Debian Sarge. Now I can't get it to go over 9600 baud. I've tried setting the baud rate with wvdialconf then editing /etc/wvdial.conf, also I've tried the modem tabs in kppp and GNOME-ppp. Still wvdial reports CONNECT 9600 and it is slow as heck.
|
|
|
02-04-2005, 02:42 PM
|
#9
|
Member
Registered: Aug 2003
Location: NY
Distribution: Debian
Posts: 119
Original Poster
Rep:
|
Unfortunately, I've gone back to using my fast-but-unstable internal modem. I'll play with my external one some more, I'll let you know if I am in any way successful. If you come across anything else, please let me know.
Thanks!
|
|
|
02-04-2005, 10:22 PM
|
#10
|
Member
Registered: Aug 2003
Location: NY
Distribution: Debian
Posts: 119
Original Poster
Rep:
|
Well, I think i got it working, I finally payed attention to one of michaelk's posts above, and set the rate to 115200 instead of 460800...now it works fine. Let me know if this helps!
|
|
|
02-07-2005, 09:20 AM
|
#11
|
Member
Registered: Jan 2005
Location: Santa Barbara, CA
Distribution: Ubuntu Hoary/Debian 3.1/RHEL-WS3/DSL 1.1
Posts: 66
Rep:
|
Likosin,
As it turns out, the init string set up by wvdialconf by default was not correct for my modem. I had to get rid of the FCLASS=0 string and everything is working fine now. FYI- here is a great site for modem inf - including init commands.
modemhelp.net/quickref.shtml
|
|
|
All times are GMT -5. The time now is 04:13 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
|
|