Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
Kernel: Version 2.0x
You want to access your internal modem or your internal terminal adapter.
We will only refer to modems in the following description. However the same procedure also applies to internal terminal adapters.
The following article only deals with the configuration of the hardware, not with the configuration of the connection to the provider. Information about the latter topic can be found e.g. in the manual.
PCI based serial interfaces or modems do need at least a kernel of version 2.0.36. The kernel must be compiled with the option PCI serial support, wich is disabled by default. Casually the kernel must be activated by invoking Lilo. Then the PCI based serial devices must me diplayed during boot process. If required, the boot script /sbin/init.d/serial must be modified.
/dev/ttyS2
(if the two usual onboard serial
interfaces were not switched off).
dmesg
) only represent
the default values as assumed by the kernel, e.g.
[...] Serial driver version 4.13 with no serial options enabled tty00 at 0x03f8 (irq = 4) is a 16550A tty01 at 0x02f8 (irq = 3) is a 16550A tty02 at 0x03e8 (irq = 4) is a 16550A [...]This output has nothing to do with the values, that are actually used by the interface.
BTW : Another way to determine the assumed ressources for the serial interface is the command
setserial
, e.g. (as 'root') :
# setserial /dev/ttyS2 /dev/ttyS2, UART: 16550A, Port: 0x03e8, IRQ: 4The modem cannot be accessed, if these values don't fit with those that are actually used.
setserial
can also be used to set the assumed values to another value.
E.g., if the modem uses IRQ 5 but the kernel assumes (as is shown in the example above) IRQ 4, the command
setserial /dev/ttyS2 irq 5can be used to correct the value. This command must however be executed every time you boot the machine. This can be done by adding the command to
/sbin/init.d/serial
according to your needs.
Further information about setserial
can be found in the man page of that program (man setserial
).
minicom
(package minicom)
and (to a certain extent) cu
(package uucp) can be used. If the configuration of the modem was succesful, the command
ATZshould result in the answer
OKin both programs. Please make sure that
minicom
accesses the correct port. cu
is called with
the port as command line argument :
cu -l /dev/ttyS2
cu
can be terminated with the command
kill -HUP [ProcessNumberCu]from another window/console.
See also:
Keywords: PPP, CHAT, CIS, MODEM, LOGIN, INTERNAL, TERMINAL, ADAPTER
Categories:
Hardware
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch