- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Kermit - cannot input anything when connected
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2002 05:42 AM
тАО05-21-2002 05:42 AM
Kermit - cannot input anything when connected
I am trying to connect to A Vodafone messaging centre from Kermit - settings etc below. If I make the connection manually, e.g. modem none and type 'at' commands myself, I have no problems. However, if I try and do it interactively, I can connect ok, I get the prompt from the remote host but am then unable to type anything to send back and the connection times out. Generally I use CDE via Reflections but I have also tried it from a non CDE character interface too with no success. I have RTFM'd the manual but cannot find anything helpful. Does anybody have any suggestions, pretty please?
Many thanks
Keely
C-Kermit 6.0.192 runnng on K580 HP-UX 11.0 External Diamond modem configured to use software flow control AT&K4 not drop DTR AT&D2 and detect carrier AT&C1.
Kermit settings/commands are:
set modem unknown (using hayes cannot connect)
set line /dev/ttyd0p7
set speed 9600
set parity even
set flow xon/xoff
set modem command init at&z\{13}
set dial timeout 200
set dial display on
dial atdt9nnnnnnnnn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2002 06:03 AM
тАО05-21-2002 06:03 AM
Re: Kermit - cannot input anything when connected
A couple of things to try:-
On the connection that works immediatly before connect enter:_
show com
and note the settings.
Do the same on the other connection and compare.
I would also be inclined to set the modem to hayes.
HTH
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2002 06:19 AM
тАО05-21-2002 06:19 AM
Re: Kermit - cannot input anything when connected
The show comm for both is exactly the same;
Communications Parameters:
Line: /dev/ttyd0p7, speed: 9600, mode: local, modem: none
Terminal bits: 7, parity: even, duplex: full, flow: xon/xoff, handshake: none
Carrier: auto, lockfile: /var/spool/locks/LCK..ttyd0p7
Escape character: 28 (^\)
Carrier Detect (CD): Off
Dataset Ready (DSR): Off
Clear To Send (CTS): Off
Ring Indicator (RI): Off
Data Terminal Ready (DTR): On
Request To Send (RTS): Off
Communications Parameters:
Line: /dev/ttyd0p7, speed: 9600, mode: local, modem: unknown
Terminal bits: 7, parity: even, duplex: full, flow: xon/xoff, handshake: none
Carrier: auto, lockfile: /var/spool/locks/LCK..ttyd0p7
Escape character: 28 (^\)
Carrier Detect (CD): Off
Dataset Ready (DSR): Off
Clear To Send (CTS): Off
Ring Indicator (RI): Off
Data Terminal Ready (DTR): On
Request To Send (RTS): Off
I have tried setting the modem type to both hayes and hayes-high-speed. I get the connect 9600 message from the modem but am then unceremoniously dumped straight back to the kermit prompt with the message 'communications disconnected'.
I have also tried fiddling around with the terminal settings, eg echo and duplex all to no avail.
I confess to being baffled.
Cheers
Keely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2002 07:06 AM
тАО05-21-2002 07:06 AM
Re: Kermit - cannot input anything when connected
Looking at where you are connecting "ttyd0p7".
This looks like the internal modem port on a K class ?
Are you using the predictive modem?
If so try the speed at 2400.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2002 07:13 AM
тАО05-21-2002 07:13 AM
Re: Kermit - cannot input anything when connected
Yes it is the same port. It can be configured for either the internal or external modem using the Ctrl B command at the console. In this case I have configured it for the external modem.
Definitely not using the internal modem after reading other forums warning not to touch it with the preverbial barge pole!
Regards
Keely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2002 07:20 AM
тАО05-21-2002 07:20 AM
Re: Kermit - cannot input anything when connected
If I understand correcty - from the console all ok, but from a telnet not?
Am I correct?
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2002 07:27 AM
тАО05-21-2002 07:27 AM
Re: Kermit - cannot input anything when connected
Keely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2002 07:38 AM
тАО05-21-2002 07:38 AM
Re: Kermit - cannot input anything when connected
What I was trying to get/understand was the difference from working to not working.
Are you trying a connect manually and all ok and from a script not?
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2002 07:46 AM
тАО05-21-2002 07:46 AM
Re: Kermit - cannot input anything when connected
Sorry misunderstood what you meant. I have attahed a file which shows what I have been doing.
First part is me typing all the commands direct to the modem, second part is trying to use kermit to do some of it. I have put it all in a script too but this fails at pretty much the same point.
Thanks for your suggestions so far. Most appreciated.
Regards
Keely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2002 11:37 PM
тАО05-21-2002 11:37 PM
Re: Kermit - cannot input anything when connected
Some things come to mind,
1. The working connection has "none" on modem and the not working "unknown", have you tried defining a modem for each connection?
2. Is your script carrying the same environmental variables as your session that works.
3. I have just tried a connection and sent a message to you, all I set was line and speed and it works OK. My kermit is the same version as yours running on 11.00.
4. I also have noticed that you are dialing with a 9 prefix - can you get a normal land line to try from as your internal system could effect your connection.
Also:-
Give it a try with just:-
Kermit
set line /dev/ttyd0p7
set speed 9600
c (short for connect)
atdt907785499999
(ETC)
HTH
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2002 11:54 PM
тАО05-21-2002 11:54 PM
Re: Kermit - cannot input anything when connected
Got your messages fine. Not in the office today - dreaded exams. Will try tomorrow.
Thanks
Keely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2002 11:58 PM
тАО05-21-2002 11:58 PM
Re: Kermit - cannot input anything when connected
When you get the connection , check in the modem that CD is glowing continously . if
flickers frequently. Telephone Line might
be noisy and causing data corruption.
connect a telephone to that line and listen
to the dial-tone and check whether it is heard
clearly or with noise signals.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2002 02:10 AM
тАО05-22-2002 02:10 AM
Re: Kermit - cannot input anything when connected
one thing I can see is that you use the command:
dial atdt907785499999
instead of the usual
dial 907785499999
Try that and tell us more...
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2002 12:23 AM
тАО05-23-2002 12:23 AM
Re: Kermit - cannot input anything when connected
Hope you are ok this morning.
Your suggestion
Kermit
set line /dev/ttyd0p7
set speed 9600
c (short for connect)
atdt907785499999
(equivalent of modem none) does not work here. I cannot connect properly unless flow is set to xon/xoff and parity set to even, then all is hunky dory and I can send the message.
The problem occurs as soon as I try to specify modem type, hence trying to get kermit to do the connect. Having tried both the Hayes options and a couple of others to no avail, the closest I have got is with modem set to unkwnown, at least it then connects and I get the right prompts, I just can't type in the number or message.
I haven't really been using a script as I wanted to get it working from the command line (ha ha) before I script it properly. Unfortunately, I don't have a direct line I can use, but I guess the switchboard is not the problem else I would never get a successful connection.
Thanks
Keely
ps
U.SivaKumar and Thomas, the phone line is fine as I can connect ok, and you have to dial atdt99999 if you do not specify a modem as the dial string is not set. Thanks anyway.
Do not fear, I will assign your points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2002 02:24 AM
тАО05-23-2002 02:24 AM
Re: Kermit - cannot input anything when connected
Good morning to you.
These are the setting from a K class running 11.00 and the same kermit as you:-
[/] C-Kermit>show com Communications Parameters:
Line: /dev/ttyd1p11, speed: 9600, mode: local, modem: usrobotics
Terminal bits: 7, parity: none, duplex: full, flow: rts/cts, handshake: none
Carrier: auto, lockfile: /var/spool/locks/LCK..ttyd1p11
Escape character: 28 (^\)
Carrier Detect (CD): Off
Dataset Ready (DSR): On
Clear To Send (CTS): On
Ring Indicator (RI): Off
Data Terminal Ready (DTR): On
Request To Send (RTS): Off
These work fine on my system.
Questions:-
1. What modem are you using.
2. I am still concerned about using your internal phone network as these can have strange effects on comms. If you can "Borry" a normal tel line and test.
HTH
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2002 03:21 AM
тАО05-23-2002 03:21 AM
Re: Kermit - cannot input anything when connected
What term setting are you using?
My "OK" connection is wy60.
I am trying to eliminate all possibilities.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2002 03:55 AM
тАО05-23-2002 03:55 AM
Re: Kermit - cannot input anything when connected
It is sorted. I think it must have been inconsistencies with either error-correction of data compression. I have borrowed the supra modem settings and all is ok. Typical it was about the last one I tried.
Thank you so much for all your time and efforts. It really is much appreciated.
Enjoy the rest of the day.
Cheers
Keely