Alternatives to minicom During Remote Access?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Alternatives to minicom During Remote Access?
# 1  
Old 09-26-2014
Alternatives to minicom During Remote Access?

Hey All,

I am trying to find something similar to minicom, but it needs the ability to be ran during a remote dialup session on the remote
device's side.

If I dial into the remote server (*using minicom) and then try to run minicom on the remote server I get the following:
Code:
# minicom cisco_console
No cursor motion capability (cm)

Basically, I will be connecting to a remote PC using a dialup USB Modem (*remote PC also has USB Modem, which I dial-in to),
and then once connected I need the ability to connect to ttyUSB0 (*which is attached to a Cisco router's Management port). When
I'm physically at the router device I use minicom, but I've just found out that you get an error if you try to use it during a remote dialup
session, which is initiated through minicom by dialing the remote PC/Server...

Since it seems that I CAN run minicom if I connected to the remote server using SSH, I was wondering if there was either a
different program I can dialup to the remote PC with other then minicom, OR if there was another program I could use once I've
dialed into the other PC (*after using minicom to connect to the remote server)..? Does that make sense?

Any thoughts or suggestions would be greatly appreciated!

EDIT: I also just tried to use the screen command and got an error as well...
Code:
# screen /dev/ttyUSB0
Clear screen capability required.


Thanks in Advance,
Matt

Last edited by mrm5102; 09-26-2014 at 01:19 PM..
# 2  
Old 09-26-2014
What is TERM set to when you get these warnings? Setting something like TERM="vt100" on the remote end before you run anything else may allow it to run, but whether it'll work properly or not I can't say.
# 3  
Old 09-26-2014
Hey Corona, thanks for the reply, much appreciated!

When I'm connected through dialup (*which is when I get that error) I see this below, for TERM:
Code:
# env | grep TERM
TERM=dumb

Ok, so I set TERM="vt100" and then re-ran minicom. This time it loaded without any errors, but the behavior is very erratic.
Re-writing over text on the same line, half cut-off words, weird spacing, etc... And eventually it just stopped either excepting my
input altogether or I just can't see what I'm typing anymore...

So I then tried screen (*after having to re-dial into the server because minicom killed my session) and screen works ALOT
better then minicom does in this instance. Screen also isn't perfectly formatting the terminal window, but it is definitely usable...
So it seems that the screen command is my best option so far (*after first setting TERM="vt100" of course)... Awesome!

This kind of reminds me when I was writing a script that I wanted to use the top command in and was having issues because top
wanted to update the terminal screen constantly and all that, but I think I remember there being an option that made it simply
reprint out the output continuing on down the terminal window, instead of just updating that terminal window by re-writing over
what was already on-screen... I was kind thinking that maybe there was something like that out there which would just continue
printing on down the terminal window instead of updating the terminal window and moving the cursor around the screen, but
I didn't see any options in the minicom or screen commands like that...

But if I don't find something other then screen in this instance, I think it could suffice...

Thanks AGAIN for your reply, you definitely got me pointed in the right direction!!

Thanks,
Matt
# 4  
Old 09-26-2014
Quote:
Originally Posted by mrm5102
Ok, so I set TERM="vt100" and then re-ran minicom. This time it loaded without any errors, but the behavior is very erratic.
Re-writing over text on the same line, half cut-off words, weird spacing, etc... And eventually it just stopped either excepting my
input altogether or I just can't see what I'm typing anymore...
It's set to the wrong kind of terminal, then. What terminal are you using?
# 5  
Old 09-26-2014
On what side? I thought it was vt100 since that is what we set TERM to?

If I go over to the other PC that I'm dialing into (*I have the remote PC that I'm dialing into physically with me while
I'm testing trying to figure this out)
and if I open a terminal window and check TERM I get:
Code:
# env | grep TERM
xterm

Is that what you were looking for?

Thanks Again,
Matt
# 6  
Old 09-26-2014
Quote:
Originally Posted by mrm5102
On what side? I thought it was vt100 since that is what we set TERM to?
The "thing" you are typing in, I see, is an XTERM.

VT100 is an old Sun terminal which ended up being a de-facto standard. XTERM, Linux VGA consoles, and lots of others emulate its basic features. It was as good a guess as any.

You are forwarding one terminal (i.e. serial port) through another, that's going to be unavoidably glitchy I think. The farthest terminal will catch some things, the nearer terminal will catch others... If you could make a PPP link instead, you could ssh into your server then run minicom just as if you were really there.

Last edited by Corona688; 09-26-2014 at 02:49 PM..
# 7  
Old 09-26-2014
Hey Corona, thanks again for the reply!

Hummm... Ok, that stinks....

My only "requirement" for this is that I have to use dialup. Just quickly reading the intro at this link http://www.tldp.org/HOWTO/text/PPP-HOWTO
I can see that Point-to-Point Protocol can be used with modems/phone lines, etc, so that is good... Since I haven't ever used PPP before I guess
I'll have to try and find a good tutorial for using ppp. Is there any command's MAN pages I should take a look at that you know of off the top
of your head?

If I check in my PATH variable for anything ppp related I see the following:
*FYI, "findPath" is a simple script I wrote a while back that searches env's PATH variable for anything matching the REGEX/Argument...

Code:
# findPath ppp

    Command: findPath
Search Type: REGEX

    Searching in: /usr/lib/mpi/gcc/openmpi/bin
        *NO MATCHES FOUND!

    Searching in: /sbin
        *NO MATCHES FOUND!

    Searching in: /usr/sbin
        *FOUND MATCHES!
            ▪ pppd
            ▪ pppdump
            ▪ pppoe-discovery
            ▪ pppstats
            ▪ rcsmpppd
            ▪ smpppd
            ▪ smpppd-dhcp
            ▪ smpppd-ifcfg

    Searching in: /usr/local/sbin
        *NO MATCHES FOUND!

    ....more output from other dirs with no matches.....

Maybe something not in the output above that I could download?

Thanks Again,
Matt
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX Remote Access

Hello, I'd like to start my question with, is it possible to display the CDE of an AIX device with remote connection from Windows 7? We normally use the Exceed application for this, though I need to connect to the device with VPN connection. With Exceed it goes through TCP, with VPN its UDP,... (2 Replies)
Discussion started by: kobee24
2 Replies

2. Homework & Coursework Questions

Remote Access vs Local Access

Dear Friends, This is not a problem , it's a course work (UNIX scenario).... As part of it I am searching Remote Attacks and find points as 1. Exploiting a listening service 2. Routing through Unix system that is providing security between 2 or more networks 3. User initiated Remote execution... (1 Reply)
Discussion started by: anespa
1 Replies

3. Solaris

Remote Access to Application

Hi All, I have an application which I wanted to install on one solaris server instead of installing it on 6 solaris servers and then users should be able to access this application via one of those 6 servers. I think NFS is one of the option. Is there any other way we can invoke this application... (6 Replies)
Discussion started by: sam101
6 Replies

4. Red Hat

remote kde access

Hi, How can i get the kde desktop/console screen on a on PC. Do we have a kde is client or so ? I have exceed installed on my windows pc but i do not know how to get the same screen as the console of the server. Thanks in advance ! ---------- Post updated at 05:21 PM ---------- Previous... (2 Replies)
Discussion started by: uxadmin007
2 Replies

5. Solaris

How do I disable Remote Access ?

During the Solaris 10 installation, I answered "Yes" at the "Activate Remote Access" screen - or something like that. I know this is a security issue and I want it disabled now. How can I disable remote access ? Thanks. (4 Replies)
Discussion started by: chinezu'
4 Replies

6. Shell Programming and Scripting

remote server access

hi everybody, im kinda a new to scripting.... i have attached an image in this post... my goal is to extract data from the remote servers (server1,2,3 as in figure) to the server residing locally.... the criterias are: * I should not pass the password across the remote servers. *... (1 Reply)
Discussion started by: mercuryshipzz
1 Replies

7. UNIX for Dummies Questions & Answers

FTP - remote access

Hi All, I want to ftp a file from Windows 2000 to Unix. The file is present in a remote server which has been mapped to one of my drives. I am not able to connect to that directory. I am getting an error saying ?Invalid command 550 //hbxs02/shared No such file or directory. The... (0 Replies)
Discussion started by: shashi_kiran_v
0 Replies

8. Solaris

Remote Access

Hi We access all our SPARC/x86 servers (Solaris 8,9 & 10) using ssh. I am looking for a open source tool that allows me to get the GUI on to my laptop. I tried with x-org and some other applications like Hummingbird. Encountered problems with license issues and CPU compatability of my laptop. ... (2 Replies)
Discussion started by: chrs0302
2 Replies

9. UNIX for Dummies Questions & Answers

Remote access to Intranet

I am currently running my company's intranet on Linux Mandrake using Apache web server with the pages written in PHP. We currently have users who dial into the network who have access to the intranet, I need to find a way of stopping access to the user to certain pages when they dial in. Is there a... (1 Reply)
Discussion started by: robsebastian
1 Replies

10. UNIX for Dummies Questions & Answers

Need help to access/mount so to access folder/files on a Remote System using Linux OS

Hi I need to access files from a specific folder of a Linux system from an another Linux System Remotely. I know how to, Export a folder on One SCO System & can access the same by using Import via., NFS in the Sco Unix SVR4 System using the scoadmin utility. Also, I know to use mount -t ... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies
Login or Register to Ask a Question