View Full Version : [ubuntu] xterm to tty?

June 30th, 2009, 07:00 AM
I have a 4 port Serial card connected to some switch console ports.
I installed setserial
did a setserial -bg /dev/ttyS*

03:00.0 Serial controller: Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 0 (Uart) (prog-if 06)
Subsystem: Siig Inc Device 2050
Flags: medium devsel, IRQ 17
I/O ports at bc00 [size=32]
Memory at fe8ff000 (32-bit, non-prefetchable) [size=4K]
I/O ports at b880 [size=32]
Memory at fe8fe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: serial

03:00.1 Bridge: Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 1 (Disabled)
Subsystem: Siig Inc Device 0000
Flags: medium devsel, IRQ 10
I/O ports at b800 [size=32]
Memory at fe8fd000 (32-bit, non-prefetchable) [size=4K]
I/O ports at b480 [size=32]
Memory at fe8fc000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>

How do I xterm to these puppies?
Why is access denied?

bam@mingus:/dev$ sudo xterm /dev/ttyS0
[sudo] password for bam:
No absolute path found for shell: /dev/ttyS0


June 30th, 2009, 07:51 AM
install minicom.

sudo apt-get install minicom


sudo nano /etc/minicom/minirc.dfl

June 30th, 2009, 08:29 AM
Thanks -- that's working!

'nother question... since I have 4 ttys, how do I edit the minirc.dfl to reflect all of them?
or maybe the question should be, is there a way to create 4 or so tty connections to different devices simultaneously?


June 30th, 2009, 10:01 AM
Got it. I just need to create multiple config files -- one for each device and do..
minicom -o minicom.router1

Playing with launchers now.