LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices



Reply
 
Search this Thread
Old 03-26-2009, 07:02 AM   #1
snids
LQ Newbie
 
Registered: Mar 2009
Location: Bangalore,INDIA
Distribution: OpenSuse
Posts: 4

Rep: Reputation: 0
Unhappy Console Automation


Hi All,

I have a hardware which runs linux. I get the console of it, on a PC's COM / ttyS. I can login to the linux device using that and use it.
I want to know if i can automate the logging (From PC using any scripting application/programming) and run any command in the linux Device. also don't want to make any changes in the device. No SSH is supported.

Thanks in Advance,
Snids
 
Old 03-26-2009, 07:22 AM   #2
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
http://pexpect.sourceforge.net/pexpect.html
 
Old 03-30-2009, 03:04 AM   #3
snids
LQ Newbie
 
Registered: Mar 2009
Location: Bangalore,INDIA
Distribution: OpenSuse
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs up

Hi,
You gave me one stop solution!!! that's what i exactly wanted,It was my first question in the forum.
Thanks a lot.
Regards,
snids
 
Old 03-30-2009, 03:18 AM   #4
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
Glad it helped!
 
  


Reply

Tags
automation, console


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automation Problems ritam_bkp Linux - Software 10 09-26-2008 10:01 AM
Firefox automation pixellany Linux - Software 3 07-12-2007 01:43 AM
automation bong.mau Programming 2 09-06-2005 04:26 PM
Cdogg Automation goofyheadedpunk Linux - General 1 01-03-2005 07:56 PM
Pan automation - how? technobeast Linux - Software 0 07-12-2004 04:37 AM


All times are GMT -5. The time now is 01:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration