HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: stty settings and xmodem
Operating System - HP-UX
1833758
Members
2864
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-23-2006 03:47 AM
05-23-2006 03:47 AM
stty settings and xmodem
I have two server with the exact same modem on each server. xmodem transfers work fine on one but not the other. I believe it has to do with an stty setting. Small files work fine (under 1024) but files larger than 1024 fail. The last thing that gets sent is 9B 1E which I believe is a greater than (>) and record separator (RS). After the 9B 1E I get a 15 (NAK) and the transmission tries to send the same last block of data and then the transmission fails.
I believe it has to do with an stty setting but I'm not sure which one. The following stty settings are different between the two servers
working server not working
eof = ^A eof = ^D
parenb -parenb
cs7 cs8
hupcl -hupcl
-clocal clocal
-ignbrk ignbrk
ignpar -ignpar
istrip -istrip
icrnl -icrnl
ixon -ixon
ixany -ixany
isig -isig
icanon -icanon
echo -echo
echok -echok
opost -opost
onlcr -onlcr
tab3
Which one(s) would I change? Would just issuing the stty -isig < /dev/tty2a1 make the change permanent?
I believe it has to do with an stty setting but I'm not sure which one. The following stty settings are different between the two servers
working server not working
eof = ^A eof = ^D
parenb -parenb
cs7 cs8
hupcl -hupcl
-clocal clocal
-ignbrk ignbrk
ignpar -ignpar
istrip -istrip
icrnl -icrnl
ixon -ixon
ixany -ixany
isig -isig
icanon -icanon
echo -echo
echok -echok
opost -opost
onlcr -onlcr
tab3
Which one(s) would I change? Would just issuing the stty -isig < /dev/tty2a1 make the change permanent?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 04:12 AM
05-23-2006 04:12 AM
Re: stty settings and xmodem
You need to set cs8 (8bit characters).
You also need to disable parity.
stty -parity should do it.
xmodem should switch to raw mode, but if it doesn't you may also need to set it.
You also need to disable parity.
stty -parity should do it.
xmodem should switch to raw mode, but if it doesn't you may also need to set it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 04:13 AM
05-23-2006 04:13 AM
Re: stty settings and xmodem
You need to set cs8 (8bit characters).
You also need to disable parity.
stty -parity should do it.
xmodem should switch to raw mode, but if it doesn't you may also need to set it.
If the modem has parity enabled, then it will
interfer. Consider using ckermit if so.
You also need to disable parity.
stty -parity should do it.
xmodem should switch to raw mode, but if it doesn't you may also need to set it.
If the modem has parity enabled, then it will
interfer. Consider using ckermit if so.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 04:35 AM
05-23-2006 04:35 AM
Re: stty settings and xmodem
Bill, the server that has the cs7 is the one that works everytime. The server with cs8 fails at the same point every time. The modem init string that I'm using in both cases is AT&F1E0Q0V1
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP