LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 10-19-2003, 02:19 AM   #1
sourlinux
Member
 
Registered: Oct 2003
Location: Humboldt
Distribution: Mandrake 9.1,Windows 98 SE,Free BSD
Posts: 30

Rep: Reputation: 15
/dev/ttyS4 setting for modem


I had this posted in Hardware, but no one could help me. So I'm posting it here in hopes that someone can help me. I've been using linux for less than a week, and still can't get online from my install.


The main thing is how do I get /dev/ttyS4 to show up on the Device dropdown list?

I've been working with this since thursday. Had a Zoom modem, now I have a US Robotics model 5610b that is Linux compatible. still trying to get online with it.
I'm using a Mandrake 9.1 distru. this is what I have done so far with no luck.

Ran "cat /proc/pci" got these results:
bus 1 device 11 function 0:
IRQ 10
I/o at 0xxf8 [0xxccff]

ran "wvdialconf /etc/wvdial.conf" got a lot of tests on speed and got this: found modem on /dev/ttys4

tried this next "setserial /dev/ttys4 irq 10 port 0xccf8 uart 16550a" and then I got no error or anything just went to the next line on :root.

Tried a qwery on the modem and when it showed all the ati boxes they were all blank. It says that the modem is ready but it just never connects. In devices I dont' see a /dev/ttys4 setting either. these are just things I've tried from other fourm threads that I've found today. I know this modem works with linux I just don't know the command lines past what I've tried so far.

Thanks MP


 
Old 10-19-2003, 08:31 AM   #2
UnTamed
Member
 
Registered: Dec 2002
Location: Qc, Canada
Distribution: CRUX
Posts: 317

Rep: Reputation: 30
ln -s /dev/ttyS4 /dev/modem ...now use /dev/modem in whatever app that has a dropdown list and no ttyS4 in the options
...but it shouldn't be required for wvdial.
Just make sure you have something similar to this in your wvdial.conf
Code:
[Dialer Defaults]
Modem = /dev/ttyS4
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 +FCLASS=0
ISDN = 0
Modem Type =  Analog Modem
Phone = <your isp's>
Username = <your account>
Password = <your account>
Then just type wvdial in a console to connect to the net.

p.s. if wvdial found your modem on ttyS4, the serial port was already set, no need to set it manually with setserial.
 
Old 10-19-2003, 11:53 AM   #3
sourlinux
Member
 
Registered: Oct 2003
Location: Humboldt
Distribution: Mandrake 9.1,Windows 98 SE,Free BSD
Posts: 30

Original Poster
Rep: Reputation: 15
I was just coming back to ask about wvdial. I went into a text editor to try to put in my phone number, username, password, but the editor won't let me save the new document. I tried to change the permissions in chmod with not luck either. I feel like I'm really close, but a few things are keeping me from connecting. Probably my being new at this.
Thaks for your reply. If you could let me know how to get over this last little thing. Then wvdial will work.
 
Old 10-19-2003, 01:55 PM   #4
sourlinux
Member
 
Registered: Oct 2003
Location: Humboldt
Distribution: Mandrake 9.1,Windows 98 SE,Free BSD
Posts: 30

Original Poster
Rep: Reputation: 15
What do you know I figured it out. I didn't go with wvdial. I finally got online with this simple command "ln -sf /dev/ttyS4 /dev/ttyS1" . I knew that the modem was being found at ttyS4, but in the device dropdown menu ttyS1 was the only one that would get a Qwery for the modem. So I just pointed it toward that. Now I'm writing this from my Linux install. Its got me Giddy!! LOL.
Anyway could someone tell me why I had to do this. I'm not sure why I had to point my modem to that port or what ever it was. I just kinda stumbled across it, and want to understand what I did completely.
Peace
 
  


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
KPPP not seeing /dev/ttyS4 modem Joe47 Linux - Newbie 7 02-12-2004 08:07 PM
setserial /dev/ttyS4 (settings) bmike1 Linux - Software 1 08-07-2003 05:07 PM
USR 5610B ttys4 and /dev/modem in MDK 9.1 Flak Pyro Linux - Hardware 1 07-12-2003 08:40 AM
accidentaly deleted /dev/ttyS4 DAChristen29 Linux - Hardware 2 07-03-2003 05:34 PM
changeing /dev/modem to ttyS4?? mitchellh87 Linux - General 3 02-05-2003 11:43 AM


All times are GMT -5. The time now is 02:29 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration