ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Grigory Batalov" <grisxa@mail.ru>
To: community@altlinux.ru
Subject: Re: [Comm] dosemu-1.1.4-alt3 & modem
Date: Wed, 22 Jan 2003 19:43:28 +0300
Message-ID: <20030122194328.35f85bea.grisxa@mail.ru> (raw)
In-Reply-To: <20030122174806.7ca19bc2.grisxa@mail.ru>

On Wed, 22 Jan 2003 17:48:06 +0300
Grigory Batalov <grisxa@mail.ru> wrote:

>   Правильный способ настройки модема в dosemu-1.1.4-alt3

  Нет, даже вот так:

  В ~/.dosemurc прописать:

$_com1 = "/dev/ttyS2"
$_ttylocks = "/var/lock/serial"

 где
/dev/ttyS2       - устройство в Линуксе
/var/lock/serial - директория для LOCK-файлов

  Настройки по умолчанию для $_com1 ... $_com4 таковы:

* COM1 default is base 0x03F8, irq 4, and device /dev/cua0
* COM2 default is base 0x02F8, irq 3, and device /dev/cua1
* COM3 default is base 0x03E8, irq 4, and device /dev/cua2
* COM4 default is base 0x02E8, irq 3, and device /dev/cua3

  А вот если требуются настройки, отличные от указанных,
  тогда уже используется форма:

$_com1 = "/dev/ttyS2 base 0x3e8 irq 4"

 где
base 0x3e8 - базовый порт в _dosemu_
irq 4      - прерывание в _dosemu_

  Тогда получим модем на COM1, базовый адрес - 0x3e8,
 прерывание - 4. Поскольку устройством модема и директорией
 /var/lock/serial владеет группа uucp, пользователь должен
 входить в эту группу. Других привелегий (suidroot) не требуется.
  Описанное проверено в терминалке от Norton Commander 5.0 на
 модеме USR Sportster 56k.
  Установка $_ttylocks = "/var/lock/serial" будет сделана
 в следующем релизе dosemu-1.1.4-altX.

-- 
 Grigory Batalov.


      reply	other threads:[~2003-01-22 16:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-22 14:48 Grigory Batalov
2003-01-22 16:43 ` Grigory Batalov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030122194328.35f85bea.grisxa@mail.ru \
    --to=grisxa@mail.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git