Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > Can't echo to router /dev/ttyS0 after reload/quit!

Reply
Thread Tools

Can't echo to router /dev/ttyS0 after reload/quit!

 
 
BOK
Guest
Posts: n/a
 
      07-27-2003
I have this shell script, that runs:
1. write erase
2. reload
3. answers "no" for the configuration dialog question
4. enable
5 some more commands..

All the writings to the router are echo $1 > /dev/ttyS0.
After step 3, the script commands no longer reach the router!
I have to enter minicom, press Enter, and quit minicom (without "quit"
command. only CTRL-A-q).
It seems as if i enter minicom, type "quit" (and get the "press return
to get started" print), and exit minicom without hitting enter, I
encounter the same problem.
btw, echo-ing "enters" doesn't do the job either.

Does anyone have a clue?!

i'm using a cisco 26xx with ios 12.2.
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up a router with 29 Global IPs, BUT can't ping router internal interface from server or server interface from router war_wheelan@yahoo.com Cisco 1 12-14-2005 03:31 PM
Overloaded "echo" command in perl within system (backtick, exec) call Leszek Dubiel Perl 3 05-12-2004 11:43 AM
Cisco IOS 12.2 - Enabling ICMP echo + echoreply on eth0 Yvick Miossec Cisco 2 02-05-2004 01:19 AM
Basic question: Pix & ICMP echo replies Jesper Jenssen Cisco 3 11-21-2003 11:09 PM
echo echo echo craig judd Computer Support 1 09-23-2003 08:53 PM



Advertisments