forums.xandros.com Forum Index forums.xandros.com
Xandros User Forums
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Serial console similar to Hyperterm

 
Post new topic   Reply to topic    forums.xandros.com Forum Index -> Console
View previous topic :: View next topic  
Author Message
Centurion030
Xplorer


Joined: 21 Oct 2008
Posts: 84
Location: Charleston, SC

PostPosted: Mon Feb 09, 2009 8:19 am    Post subject: Serial console similar to Hyperterm Reply with quote

Hi all,

I need to access my Cisco gear via the console port. With WinXP Pro/Win2003, this was though PuTTY or HyperTerm. I know I need to setup my inittab for this. I need mostly pointers on how to do this. I can provide screen shots and command results to help out.

Regards,

James
_________________
Soli Et Deo Gloria

Systems:
Dual-boot Solaris 10 x86 and OCE 4.5 (Desktop)
OCE 4.5 with WinXP Pro on VirtualBox(Dell Inspiron 8200)
Panasonic KX-P7110 as the network printer.
Cisco 2924/2912, 2610,2620,2611
Win2003 Server
Back to top
View user's profile Send private message
Cloudy Wizzard
Xplorer


Joined: 31 Dec 1969
Posts: 110
Location: Lommel, Belgium

PostPosted: Mon Feb 09, 2009 9:13 am    Post subject: Reply with quote

I think you just use telnet
Code:
telnet
open 192.168.123.1


for example (from a console.)

I don't know HyperTerm but this let's you connect, it might not have a nice GUI for the windows lovers but hey this is Linux Laughing

Oh, there is a Putty for Linux but I don't know if it's available for Xandros (it's installable on Debian etch though).
_________________
Back to top
View user's profile Send private message Visit poster's website
Centurion030
Xplorer


Joined: 21 Oct 2008
Posts: 84
Location: Charleston, SC

PostPosted: Mon Feb 09, 2009 8:07 pm    Post subject: Reply with quote

Hi!

Telnet won't work. I need plain serial 9600 8N1 access to get to the Cisco console ports. Here are some results on my system:

xandroslaptop:~# dmesg | grep tty
[ 28.369286] console [tty0] enabled

xandroslaptop:/dev# ls -al | grep -i tty
crw------- 1 root tty 5, 1 2009-02-09 19:43 console
crw-rw-rw- 1 root tty 5, 2 2009-02-09 19:55 ptmx
crw-rw-rw- 1 root tty 5, 0 2009-02-09 19:42 tty
lrwxrwxrwx 1 root root 4 2009-02-09 14:42 tty0 -> vc/0
lrwxrwxrwx 1 root root 4 2009-02-09 14:42 tty1 -> vc/1

lrwxrwxrwx 1 root root 4 2009-02-09 14:42 tty2 -> vc/2

lrwxrwxrwx 1 root root 4 2009-02-09 14:42 tty3 -> vc/3

lrwxrwxrwx 1 root root 4 2009-02-09 14:42 tty4 -> vc/4

xandroslaptop:/dev# dmesg | grep ttyS
xandroslaptop:/dev#

I can run cutecom, but when I try to open the device: /dev/ttyS0 I get an error. From what I am looking at, is my system not even recognizing the built-in serial port of the laptop?

Regards,

James
_________________
Soli Et Deo Gloria

Systems:
Dual-boot Solaris 10 x86 and OCE 4.5 (Desktop)
OCE 4.5 with WinXP Pro on VirtualBox(Dell Inspiron 8200)
Panasonic KX-P7110 as the network printer.
Cisco 2924/2912, 2610,2620,2611
Win2003 Server
Back to top
View user's profile Send private message
russoje
Xplorer


Joined: 03 Jul 2006
Posts: 59

PostPosted: Mon Feb 09, 2009 9:20 pm    Post subject: Reply with quote

I think minicom is what your looking for.
Back to top
View user's profile Send private message
Centurion030
Xplorer


Joined: 21 Oct 2008
Posts: 84
Location: Charleston, SC

PostPosted: Mon Feb 09, 2009 10:39 pm    Post subject: Reply with quote

I do have minicom installed-and alot of other terminal emulators including PuTTY for Linux and Win (under Wine).

However, the serial port is not listed. My laptop has a 16550C UART. What do I need to do to enable this?

I did download serial-5.05.tar.gz but I have not extracted or installed it yet.

Regards,

James
_________________
Soli Et Deo Gloria

Systems:
Dual-boot Solaris 10 x86 and OCE 4.5 (Desktop)
OCE 4.5 with WinXP Pro on VirtualBox(Dell Inspiron 8200)
Panasonic KX-P7110 as the network printer.
Cisco 2924/2912, 2610,2620,2611
Win2003 Server
Back to top
View user's profile Send private message
jimallyn
Site Admin
Site Admin


Joined: 31 Jan 2003
Posts: 8195
Location: Wenatchee, Washington, USA

PostPosted: Tue Feb 10, 2009 1:35 am    Post subject: Reply with quote

There's a console program called setserial that is used to enable and set up the serial ports. I don't know a thing about it, but maybe you can view the manual for it and perhaps figure it out. In a console, type 'info setserial' or 'man setserial'. Sorry I can't be of more assistance than that. Oh, it is sometimes possible to disable to the serial ports and other hardware in the BIOS setup. Make sure you haven't disabled the serial port.
_________________
I refuse to live in a country like this - and I'm not leaving. - Michael Moore
Back to top
View user's profile Send private message
Centurion030
Xplorer


Joined: 21 Oct 2008
Posts: 84
Location: Charleston, SC

PostPosted: Tue Feb 10, 2009 10:45 pm    Post subject: Reply with quote

Hi Jim,

Thanks for the advice. It seems my system is not even showing the COM ports-ditto for my desktop setup.

I get this when I try setserail:

xandroslaptop:~# setserial /dev/ttyS0 port 0x3f8 irq4 uart 16550A skip_test
/dev/ttyS0: No such file or directory

The BIOS does have COM1 enabled.

Any hints?

Regards,

James
_________________
Soli Et Deo Gloria

Systems:
Dual-boot Solaris 10 x86 and OCE 4.5 (Desktop)
OCE 4.5 with WinXP Pro on VirtualBox(Dell Inspiron 8200)
Panasonic KX-P7110 as the network printer.
Cisco 2924/2912, 2610,2620,2611
Win2003 Server
Back to top
View user's profile Send private message
jimallyn
Site Admin
Site Admin


Joined: 31 Jan 2003
Posts: 8195
Location: Wenatchee, Washington, USA

PostPosted: Tue Feb 10, 2009 10:52 pm    Post subject: Reply with quote

Centurion030 wrote:
Any hints?


No. Really my only knowledge of setserial is of its existence, and I've seen others suggest its use for things like this. Sorry I can't be any more help.
_________________
I refuse to live in a country like this - and I'm not leaving. - Michael Moore
Back to top
View user's profile Send private message
Doctore
Xandrosianschwing


Joined: 13 Jun 2006
Posts: 2697
Location: Finland

PostPosted: Wed Feb 11, 2009 3:54 am    Post subject: Reply with quote

Did some comparision (with the same hardware).
Serial ports are recognized in "XD 4.2" (2.6.18SMP),
but not in "XD 4.5" (2.6.24SMP). Could it be a bug,
or is it done by purpose?

Try to ask "Xandros Support" about this issue:
http://support.xandros.com/support_terms.php
_________________
Linux User #432929
Visit our sites :
http://www.pcds.fi/
http://www.djn.fi/
Back to top
View user's profile Send private message Visit poster's website
Centurion030
Xplorer


Joined: 21 Oct 2008
Posts: 84
Location: Charleston, SC

PostPosted: Wed Feb 11, 2009 9:11 am    Post subject: Reply with quote

That may explain everything.

I did send a support request about this.

More to come...

James
_________________
Soli Et Deo Gloria

Systems:
Dual-boot Solaris 10 x86 and OCE 4.5 (Desktop)
OCE 4.5 with WinXP Pro on VirtualBox(Dell Inspiron 8200)
Panasonic KX-P7110 as the network printer.
Cisco 2924/2912, 2610,2620,2611
Win2003 Server
Back to top
View user's profile Send private message
Centurion030
Xplorer


Joined: 21 Oct 2008
Posts: 84
Location: Charleston, SC

PostPosted: Wed Feb 11, 2009 11:12 am    Post subject: Reply with quote

So much for that.....


Subject [xandros.com #157797] Serial ports supported in OCE 4.5?
From Thomas via RT <support@tickets.xandros.com>
Date Wednesday, February 11, 2009 10:28
To james.krych@us.army.mil
Received from tickets.xandros.com ([142.46.212.34]) by ipmx08.int.ps1.us.army.mil with ESMTP; Wed, 11 Feb 2009 15:28:43 +0000
Received by TICKETS.xandros.com (Postfix, from userid 33) id AFBA510868; Wed, 11 Feb 2009 10:28:44 -0500 (EST)
Reply-to support@tickets.xandros.com
In-reply-to <20090211140918.24E2524A38@supportforums.xandros.com>
References <RT-Ticket-157797@tickets.xandros.com> <20090211140918.24E2524A38@supportforums.xandros.com>
Message-id <rt-3.6.5-25481-1234366124-83.157797-7-0@tickets.xandros.com>
Precedence bulk
X-RT-Loop-Prevention xandros.com
RT-Ticket xandros.com #157797
Managed-by RT 3.6.5 (http://www.bestpractical.com/rt/)
RT-Originator tsurve@xandros.com
MIME-version 1.0
Content-type text/plain; charset=utf-8
Content-transfer-encoding 8bit
X-RT-Original-Encoding utf-8
Date Wed, 11 Feb 2009 10:28:44 -0500

Hi,
We are sorry to inform you that we officially dont provide any support
for Open Circulated/Trial Editions of Xandros

For troubleshooting your problem you can visit our forums site at

http://www.forums.xandros.com

Or you can buy the support from the shop

http://shop.xandros.com/products_new.php

For more details on Support please refer following link

http://supporttest.xandros.com/support_product_offerings.php

This our official support portal. The trial edition customers can post
their queries on Xandros forums which is continuosly monitored and
answered by Xandros Employees and other Xandros users as well. To set a
priority for the paid customers this practice has been adopted.

--
Thanks and Regards,
Thomas,
Xandros/Scalix Support Team,
Xandros Corporation.
www.xandros.com
_________________
Soli Et Deo Gloria

Systems:
Dual-boot Solaris 10 x86 and OCE 4.5 (Desktop)
OCE 4.5 with WinXP Pro on VirtualBox(Dell Inspiron 8200)
Panasonic KX-P7110 as the network printer.
Cisco 2924/2912, 2610,2620,2611
Win2003 Server
Back to top
View user's profile Send private message
Centurion030
Xplorer


Joined: 21 Oct 2008
Posts: 84
Location: Charleston, SC

PostPosted: Mon Feb 23, 2009 10:40 pm    Post subject: Reply with quote

Resolved with a CablestoGo USB to Serial adapter, model#26886.

James
_________________
Soli Et Deo Gloria

Systems:
Dual-boot Solaris 10 x86 and OCE 4.5 (Desktop)
OCE 4.5 with WinXP Pro on VirtualBox(Dell Inspiron 8200)
Panasonic KX-P7110 as the network printer.
Cisco 2924/2912, 2610,2620,2611
Win2003 Server
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.xandros.com Forum Index -> Console All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group