Solved

getting linux to reconize ttyS1 or (Com 2)

Posted on 2000-05-11
10
377 Views
Last Modified: 2010-04-20
linux 6.0
i wasn't paying attention to what i was doing and i deleted ttyS1 and was wondering if anyone knew how to get linux to realixe that its there
the device is a actiontec modem
and ive tried to setserial but nothing
i really don;t believe its a PnP
but it is PCI based
i've tried many things so if any one has and info it would help me much
0
Comment
Question by:johnny1234
10 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2803101
You'd be well advised to check http://www.o2.net/~gromitkc/20000510a.html to be sure that your particular modem is usable. A number of the Actiontec PCI modems are WinModems, but there are a couple that aren't.
0
 

Expert Comment

by:hv
ID: 2803416
johnny, here is an extract of what I get
when I do a "man ttys" on a linux redhat 6.something system. It's hopefully sufficient to make you capable of reinventing your lost ttyS1 node.

TTYS(4)             Linux Programmer's Manual             TTYS(4)

NAME
       ttys - serial terminal lines

DESCRIPTION
ttyS[0-3] are character devices for the serial terminal lines.
They are typically created by:

mknod -m 660 /dev/ttyS0 c 4 64 # base address 0x03f8
mknod -m 660 /dev/ttyS1 c 4 65 # base address 0x02f8
mknod -m 660 /dev/ttyS2 c 4 66 # base address 0x03e8
mknod -m 660 /dev/ttyS3 c 4 67 # base address 0x02e8
chown root:tty /dev/ttyS[0-3]

FILES
       /dev/ttyS[0-3]

SEE ALSO
       mknod(1), chown(1), getty(1), tty(4)


Concerning recognition of your modem in
linux: Do you have also windows on your system, and if so does the modem work
ok and with which values for irq etc.?

0
 
LVL 2

Accepted Solution

by:
modulus earned 100 total points
ID: 2806015
Hi johnny1234,

I am assuming from your post that all was working beforehand and that there was no doubt that the modem worked before.  If so then what you need is:
cd dev; ./MAKEDEV -v ttyS0

MAKEDEV is a script to create devices.  It's located on my RH6.1 boxes at /dev/MAKEDEV and you can find more info with:
man 8 MAKEDEV

However the command above should do the trick.

Best wishes,
modulus
0
 
LVL 2

Expert Comment

by:modulus
ID: 2807479
Sorry mean that to be a comment.
modulus
0
 

Author Comment

by:johnny1234
ID: 2807772
thanks so much
and modulas yes i've set up a dual boot with win98 se and there is no difference in the irq or
I/O val's why do you ask????
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 2

Expert Comment

by:modulus
ID: 2807811
Hi johnnny1234,

the question about the windows and irq came from "hv".  The suggestion to use MAKEDEV came from me "modulus".  I think that the reason that "hv" was asking about windows and irq was that he thought that your modem just didn't work in linux (so I guess he figured that if your modem worked in windows then at least it wasn't broken and that you could find out your irq from windows and use that to set it in linux), whereas your problem was that you had accidentally deleted /dev/ttyS0 and wanted to recreate it.

best wishes,
modulus

ps. did you use MAKEDEV?
0
 
LVL 2

Expert Comment

by:tzanger
ID: 2810731
99 times out of 100 PCI modems are WinModems and are thus unusable under Linux.  However, you may wish to check out http://www.linmodems.org and see if they can help you at all.  

I haven't been there in a while but they may actually have them talking now.  I know they can dial and such.  :-)
0
 

Author Comment

by:johnny1234
ID: 2813039
thanks tzanger, i'll check it out
0
 
LVL 2

Expert Comment

by:modulus
ID: 2814401
Johnny1234,

I no longer understand what you are asking.  Am I correct in the following assumptions:
1. Your modem was working fine
2. You did rm -f /dev/ttyS1
3. You now want to make your modem work again?

or is it that:

1. You are installing a new modem and have not yet got it to work
2. You accidentally deleted /dev/ttyS1?

Best wishes,
modulus
0
 

Author Comment

by:johnny1234
ID: 2830467
thanks for all your help but i got it working again
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Guacamole cut and paste issue 3 47
change time in cron 4 67
Centos 7 User to Start Apache, MariaDB, LDAP 5 30
Install Predefined Certificate on Ubunto 4 17
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now