Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I bought a Best Data 56K eternal modem (serial) today to try and solve this whole connection problem after a winmodem decided to throw a fit.
I have to be missing something, because things just aren't working.
I hooked up the modem and all, and fired up kppp. Kppp can query the modem just fine and everything seems great, but when I try to connect it freezes at "initializing modem" and eventually appears to segfault.
I noticed the modem commands section was void of entries, so poking around I tried putting in some values that were in the modem commands section of the winmodem in for the serial modem. After trying to connect it dialed and started making its noises, but disconnected partway through.
This is on a fresh 2005.0 Gentoo installation (without internet access, so no sync-ing or updating has been done).
If anyone could guide me towards getting it working I'd really appreciate it.
Edit: Also should mention, the cd labels the modem as a "56SX-92"
Well, if you got it to dial then you've pretty much gotten over the hard part. Sounds like a handshake issue. Using the winmodems init string might work but here is a general string for your modem:
There are probably many others depending on your ISP. Have you tried some other POP's (numbers), in your area. Also try adding some comma's ",,,," after the number kppp is dialing. This drops the v.90 protocol which could be an issue. If it connects (most likely a lower cps rate), then try to find a string to enable the k56Flex protocol. It's not used much anymore but who knows what your ISP is using.
I would contact your ISP as well and see if they may have a specific Init string for your modem.
Ok, I've made more progress than ever, I just need a little help on filling out the rest of these. I managed to get it to dial and show up asking for a login on the log window. For the record I used ATZ1 for my init string, and ATDT for the dial string.
I need commands for the fields:
No dial tone detection :
Busy response :
No dial tone response :
Hangup String : (Might be ATH??)
Answer string :
Ring response :
Answer response :
Escape string : (Maybe +++ ??)
Escape response :
If anyone has any idea on these, I would really appreciate it.
Thanks for the commands and whatnot. I still ended up at the same place though, at least the list is complete.
What it does is connect most of the way now, and in the log window it goes until it displays "Login:". From there it just sits and does nothing, eventually appears to reset, the dialing window changes back to Initializing and the log displays ATZ1 after login (Login: ATZ1, like if it were using that for a username).
To check things out, I followed the procedure in the modem terminal kppp provides:
then eventually it gives me:
So I enter the username, then it promted for the password, guess what I entered for that.
Got logged in, it seemed to assign me an IP.
Though, mozilla couldn't seem to access anything, so I closed down shop with +++ATH.
As for the last few things you mentioned, everything is set except for DNS, which is on auto as it was on the other modem that works.
Under "Configure" button should have the account you setup. Under "edit" should have the IP DNS etc... Most ISP's use Dynamic IP but you will need a DNS server to connect. They don't use server assigned or DHCP.
What ISP are you using. I may be able to find the logon info for you?
Yes, I was using the terminal in the configure options menu, but only to check if it would log in to see where the hold up was happening from.
Do I really need to set a DNS server even though I've connected before in windows and linux without touching anything to do with DNS?
Also, perhaps I can find the problem at its root, what might someone think could be the reason all of this information and configuration wasn't automatically entered as it seems it was supposed to be? Maybe if what went wrong there was fixed it might solve everything easier.
Yes, normaly the AT commands and response are automatically put there by Kppp when the modem is queried, however, I don't think you have to clear everything and start over.
As for the DNS, I don't know how you were connecting in windows. Using your ISP's software you would not need to setup the DNS and other information. That is why thet create their own software so people wont have to do that. If you were connecting using DUN (Dial-Up-Networking) then you would have to enter that information.
Kppp is kind of like using DUN in windows. Without a DNS server you may be able to connect but your browser would not know how to convert the WWW addresses we use to IP numbers computers use.
What ISP are you using? There Home page support can tell you what Authentication they use and what the DNS servers are... as well as the mail (POP3) and news (NNTP) servers it uses.
I have the exact same modem as you..and so far..it's worked well with the linspire distro. . Is your modem connected to the COM1 serial port ? If so, at least in linspire..you have to select /dev/ttyS0 in the modem device field for your modem to work properly. On the installation cd that your modem came with, in the manual on the cd, there are specific instructions how to set up the modem using linux. I hope this helps.