Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory monitor motherboard music netgear network printer problem ram registry router server slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
I can't get my modem to work on Linux Mandrake9.1

Reply  
Thread Tools
darkelf_18's Avatar
Senior Member with 509 posts.
 
Join Date: Jul 2003
Location: WI
Experience: Intermediate
04-Aug-2003, 03:42 PM #1
I can't get my modem to work on Linux Mandrake9.1
Hi I just got Mandrake installed on a seperate HD then WinXP pro and though every thing went fine installing it I can't get my modem working( I have Dialup so thats my only way ofconnecting to the net) I e-mailed the company(Zoom telephonics) and they gave me instructions on how to get it running but I think they figured that since I switching to linux that I know a bunch of command prompt... Well I dont, so their very confusing command prompt instructins didnt help. Has any one been in my situation and were you able to get out? Can you give me instructions that aren't in command prompt, or if they are can you make it so a "newbie" would understand.
If you can help thanks,
If not ask someone who can.
Thanks,
D.E.
twill's Avatar
Member with 44 posts.
 
Join Date: Jul 2003
Location: IA-US
05-Aug-2003, 08:30 PM #2
D.E.
Do you have those instructions in written form so that someone might be able to translate for you? I can't guarantee that it wouldn't be from a prompt, but we can at least direct you how to do what where.

PS: It would also help to know what model of modem, what brand/model of computer, what desktop manager (KDE, gnome, etc) to help you along in your quest for a working connection.
__________________
I'm kinda like a superhero with no powers or motivation.
twill's Avatar
Member with 44 posts.
 
Join Date: Jul 2003
Location: IA-US
05-Aug-2003, 11:54 PM #3
(FIRST PART IS EMAIL RESPONSE FROM darkelf_18)
>This is the message:
>
>Hey sorry I can't post my reply but I wont let me post any replies for some reason, it says I have to register, even though I have and I logged in, so here's my reply. I have a Zoom Modem model number 3025, I use KDE and here is Zooms reply to my question.
>(which by the way I did \ ! /
>disable the COM2) \ ! /
> \!/
>After physically installing your PCI modem enter your CMOS setup and disable COM2 (Serial Port Boot into Linux and log in as root. Then run:
>
>cat /proc/pci
>
>Look at the output and locate the "bus" entry for your modem. You need to locate the IRQ and the base I/O address for the modem. Here is an example of the modem output:
>
>Non-prefetchable 32 bit memory at 0x00000000.
>
>Bus 0, device 17, function 0:
>Communication controller: Unknown vendor Unknown device (rev 0).
>Vendor id=1ac1. Device id=480.
>Medium devsel. Fast back-to-back capable. IRQ 3. Master Capable.
>No bursts.
>Min Gnt=252.Max Lat=14
>Non-prefetchable 32 bit memory at 0xe4000000.
>I/O at 0xb800 [0xb801]
>Note in the output above the IRQ is 3 and the base I/O is 0xb800. This is common for 56K PCI modem with COM2 disabled. Now link the modem to COM2 (/dev/ttyS1):
>
>ln -s /dev/ttyS1 /dev/modem
>
>Add this line to your /etc/rc.d/rc.local file using the IRQ and base I/O address:
>
>setserial /dev/modem uart 16550A port 0x6400 irq 11
>
>Then run rc.local:
>
>. /etc/rc.d/rc.local
>
>You can test your modem by running "minicom" at the command prompt. For example type ATDT18006381483 to dial the phone number. The modem should dial this number. "CTRL-A Q" will quit minicom.
__________________
I'm kinda like a superhero with no powers or motivation.
twill's Avatar
Member with 44 posts.
 
Join Date: Jul 2003
Location: IA-US
05-Aug-2003, 11:58 PM #4
Okay, sounds simple enough. Do you know what desktop environment you're using? probably KDE or Gnome? And do you know if you're running a particular window manager? (i.e. blackbox, enlightenment, window maker, etc)

After this, do you know how to get to a terminal window? If not, I can help but why spend my time trying to explain something you already know right?

After the terminal window, we will need to use 'su' to log in with the root account so you will need the password for root. If you don't know it, we can fix that too.

Once we have those 3 things figured out, then it's just a matter of what commands to type in, in which order and when. Then editing a couple of files and shebang, it should be fixed.
__________________
I'm kinda like a superhero with no powers or motivation.
twill's Avatar
Member with 44 posts.
 
Join Date: Jul 2003
Location: IA-US
06-Aug-2003, 07:37 PM #5
(EMAIL RESPONSE FROM darkelf_18)

1. I'm using KDE and I'm not sure, but I think my window manager is Window
Maker.

2. Yes I do know how to get into a terminal... But which one do you want me
to use? There is three or four to choose from.

3. No, I don't think I know the password for root. What is 'su'?

Also do you know any websites that will let me DL manuals on how to use
command prompt, and Mandrake Linux?
__________________
I'm kinda like a superhero with no powers or motivation.
twill's Avatar
Member with 44 posts.
 
Join Date: Jul 2003
Location: IA-US
06-Aug-2003, 07:59 PM #6
Well, since you already know how to get to a terminal, it doesn't really matter what the manager and environment are.

You can use any terminal, they all should do the trick for us.

If you don't know the root password, we can reset it so that's okay. 'su' is just a program to allow the user to log in as root with root priveledges.

When you start your computer, do you have a LILO prompt or a boot disk for linux?

When the LILO: prompt appears (or boot: prompt if you inserted a boot disk), type 'linux -s' or 'linux single'
(both of these will allow you to log in to the linux single user mode)

When the bash# prompt appears, type 'passwd'

This will then prompt you for a new root password. Press Ctrl+d to restart linux. Make note of this password as it will be root's password when you restart.

Get booted into X and open up a terminal window.

type 'su' and hit enter. Then enter the password for root that you just set previously.
__________________
I'm kinda like a superhero with no powers or motivation.
darkelf_18's Avatar
Senior Member with 509 posts.
 
Join Date: Jul 2003
Location: WI
Experience: Intermediate
06-Aug-2003, 09:31 PM #7
Ok after I enter a password, how do I get my modem working?
l0f33t's Avatar
Junior Member with 26 posts.
 
Join Date: Aug 2003
06-Aug-2003, 11:52 PM #8
Hello,

I think we might have had the same problem with Mandrake. I did with a SupraExpress 56k hardware modem.

Do you have a Windows pc that you can configure and successfully get out to the internet with?

If so this will help in determining if you have the same problem I did or if this is a possible funked up modem/hardware issue. This will also allow you to look at the modem settings on the windows pc.

Have you ever tried the KPPP (Internet Dial-up Tool)? This PPP too is a gui tool that resides within KDE. Click on the K icon on your tool bar>Goto "Networking">"RemoteAccess"> and click on KPPP (Internet Dial-up Tool)

This will run you through a dialup wizard I believe. You'll need to know your "Connect As" name, Your "Login name and password", your Dns server addresses and which serial port your modem is plugged into. DONOT MESS with any other settings. Let the Wizard do everything for you at this point. Things still might not work so just follow along.
I have a Tower Atx case and my serial ports sit one ontop of the other. The top one is almost always default serial 0 (windows pc's) and /dev/ttyS0 (linux/Unix pc's)unless you've messed with the ports manually.
So once you know your ISP info (for certain)(this info needs to correct right down to the spelling) as stated above and you've gone through the wizard you should now have a standard KPPP acount setup now.
Now this is the part where I got messed up. Go back to the KPPP tool and account that you just setup.
So now you should be looking at the KPPP dialog box with your Connect to:
Login ID:
Password:
At the bottom click on "Setup". The first tab is the "Accounts" tab. Make sure this is the same as your "Connect to:" info.
If not then you'll need to click on "NEW" and then "Dialog" and manually put in the information as needed. (hopefully you don't have to worry about this)
Then click on the "Device" tab. If your using Serial 0 where the modem is plugged in then you will need to make sure that this reads /dev/ttyS0
FlowControl: CRTSCTS
Line Termination: CR
Connection Speed: 115200
Use Lock File should already be checked and set at 60s timeout. Leave this alone for now.
Now Goto the "Modem" tab.
"Wait for Dial Tone before Dialing" should be checked.
Set the modem volume all the way up then goto "Modem Commands"
****This is the important part**** (was for me anyways).
On the "No dial tone detection" record what this value is on paper then remove whats in there and put ATX3
On the "Dial String" line just below, record this value on paper and remove whats there and put in ATX3DT. Make sure to of course always click "OK" when leaving dialog boxes. If you clicked OK at this point it will bring you back to the "Modem" tab. Click on "Query Modem" (assuming you have the modem connected to at least the pc"

This is going to tell you two very important things. Is linux able to query/find the modem. Another box will popup with query results. If so this is good. Click close. Click OK, and then Connect. (Assuming you modem is plugged into the phone jack.


Hope this helps. Again, test with a windows pc if you can just to rule out the fact that linux might be doing something different than windows.
__________________
JBanks
twill's Avatar
Member with 44 posts.
 
Join Date: Jul 2003
Location: IA-US
07-Aug-2003, 02:24 AM #9
yee-haw... you're back on the board.

okay, now back to business. You might consider trying what l0f33t has to say first. If he can make the process shorter then so be it.

Otherwise, now at the prompt you'll type in exactly what Zoom said with a couple changes.

type 'cat /proc/pci | more'
This will allow you to page through all the entries at your leisure. Use enter to page down one line at a time and spacebar to page down one whole page at a time. Look for an entry similar to the one that they gave you as an example. It will most likely be a device in the teens somewhere as the lower numbers are generally resources on the motherboard. However, to make sure you have the right one, look for the vendor id 1ac1. This should indicate that it's from Zoom. Make sure you write down what the IRQ and I/O values are, you will need them for later.

type the letter 'q' to exit more once you find that entry. If it's at the end of the list, enter or spacebar will already probably have exited the 'more' mode.

type 'ln -s /dev/ttyS1 /dev/modem'
this will link the modem to Com port 2 just like Zoom said.

then you're going to use the IRQ and I/O port information next
type 'vi /etc/rc.d/rc.local' and hit enter.

in the config file, we are going to add a new line. type 'i' to enter "insert" mode.

hit enter once for a new blank line. now type in the line 'setserial /dev/modem uart 16550A port 0xb800 irq 3' replacing the port and irq with the I/O port and IRQ from the /proc/pci entry you found.

once you have the line entered, hit the escape key to exit 'insert' mode and type this
:wq

This should write the file changes and quit automatically.

Next type './etc/rc.d/rc.local' to run the new rc.local.

Now run their test for minicom or try kppp either. you might just use minicom to test right there at the command prompt since you're there. That way if you don't have it working yet, you're already ready to fix what needs to be fixed.

to get out of 'su' just type 'exit' and hit enter. Then type 'exit' and hit enter to close the terminal.

Any questions yet? *grin*
__________________
I'm kinda like a superhero with no powers or motivation.
l0f33t's Avatar
Junior Member with 26 posts.
 
Join Date: Aug 2003
07-Aug-2003, 02:55 AM #10
Just to let ya know.

My whole problem was my modem logs kept telling me that I it didn't detect a "Dial Tone"
So I plugged my phone into the same jack that the modem was plugged into and ofcourse I got dial tone.


This was my first experience with linux. And its always a learning experience no matter what I try next with this OS. It rocks though. UMMMMM I love it, and then I hate it, then I love it and......then I love it again. Girlfriends jealous...

Anyways I ended up learning allot about the modem commands, what they mean and how to use them. So whether or not you try what I'm explaining or what the others are explaining your going to be a modem guru......

Once your in a postion to actually see some modem log messages you'll have an easier time trouble shooting this. This is why going through the GUI for a nooobiee, such as myself, will save you allot of headace.

My problem was the modem logs kept telling me that I had no dial-tone. But I knew infact that I actually had dial-tone from my phone test. So what I told you to put into the "Dial String" in my intial post tells the modem "Hey", "if you don't here a dial tone, ignore it and dial anyways!!!"

And thats how I fixed my problem.

__________________
JBanks
darkelf_18's Avatar
Senior Member with 509 posts.
 
Join Date: Jul 2003
Location: WI
Experience: Intermediate
08-Aug-2003, 04:31 PM #11
Hey Twill, how do I make a boot disk with linux? Can I just make one with rawwrite or rawwritewin, and if so which image should I use the cd boot image, the harddrive one or the blank one
twill's Avatar
Member with 44 posts.
 
Join Date: Jul 2003
Location: IA-US
09-Aug-2003, 12:07 AM #12
Making a boot disk eh? Yeah, you can use rawrite. What flavor are you working with? Still Mandrake?

And what is the purpose of the boot disk? Are you just needing to be able to boot or do you want to reinstall linux or something entirely different?
darkelf_18's Avatar
Senior Member with 509 posts.
 
Join Date: Jul 2003
Location: WI
Experience: Intermediate
10-Aug-2003, 01:49 AM #13
When I type in, 'cat/proc/pci' nothing happens it just says that no file or directory by that name exists... Does it exist or am I doing something wrong?
twill's Avatar
Member with 44 posts.
 
Join Date: Jul 2003
Location: IA-US
12-Aug-2003, 02:14 AM #14
It looks like you're just typing 'cat/proc/pci with no space between the 'cat' and the '/proc/pci'.

From here on out, if there are any commands I type, I'll try to remember to use the _ for the space. If I forget I apologize ahead of time.
__________________
I'm kinda like a superhero with no powers or motivation.
Bull Terrier's Avatar
Member with 38 posts.
 
Join Date: Mar 2003
12-Aug-2003, 08:30 AM #15
Hey Guys,

Couldn't help but notice your post.
I installed MD 9.0, went to connect to the net, and I got an error message saying pppd unexpectly died.
This was straight after I installed it.
Needless to say, I changed to RedHat, and have not had any probs.
Stay with it though.
It's rewarding and you're not married to MS.
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 06:36 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.