Visit Our UNIX and Linux User Community

A little difficult: investigate Xenix and slattach problem

Thread Tools Search this Thread
Operating Systems Linux A little difficult: investigate Xenix and slattach problem
# 1  
Old 10-12-2018
A little difficult: investigate Xenix and slattach problem

I know Xenix is a little outdated, and is dangerous to use on network.
But this is a virtual machine, and I like to play retrocomputing sometime.
The question is..why ftp over slip doesn't work?

I've set this Xenix vm on libvirt

<domain type='kvm' id='5' xmlns:qemu=''>
  <memory unit='KiB'>16384</memory>
  <currentMemory unit='KiB'>16384</currentMemory>
  <vcpu placement='static'>1</vcpu>
    <type arch='x86_64' machine='pc-i440fx-2.12'>hvm</type>
    <boot dev='hd'/>
      <hidden state='on'/>
  <cpu mode='custom' match='exact' check='full'>
    <model fallback='forbid'>486</model>
    <feature policy='require' name='x2apic'/>
    <feature policy='require' name='hypervisor'/>
  <clock offset='localtime'/>
    <disk type='file' device='floppy'>
      <driver name='qemu'/>
      <target dev='fda' bus='fdc'/>
      <alias name='fdc0-0-0'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw'/>
      <source file='/home/user/.local/share/libvirt/images/xenix.raw'/>
      <target dev='hda' bus='ide'/>
      <alias name='ide0-0-0'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw'/>
      <source file='/home/user/.local/share/libvirt/images/xenix2.img'/>
      <target dev='hdd' bus='ide'/>
      <alias name='ide0-1-1'/>
      <address type='drive' controller='0' bus='1' target='0' unit='1'/>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    <controller type='fdc' index='0'>
      <alias name='fdc0'/>
    <controller type='ide' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    <controller type='usb' index='0' model='piix3-uhci'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    <serial type='pty'>
      <source path='/dev/pts/1'/>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      <alias name='serial0'/>
    <console type='pty' tty='/dev/pts/1'>
      <source path='/dev/pts/1'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    <console type='pty'>
      <source path='/dev/pts/3'/>
      <target type='virtio' port='1'/>
      <alias name='console1'/>
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0' state='disconnected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    <input type='mouse' bus='ps2'>
      <alias name='input0'/>
    <input type='keyboard' bus='ps2'>
      <alias name='input1'/>
    <graphics type='spice' port='5900' autoport='yes' listen='' keymap='it'>
      <listen type='address' address=''/>
      <gl enable='no' rendernode='/dev/dri/renderD128'/>
      <model type='vga' vram='16384' heads='1' primary='yes'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <qemu:arg value='-L'/>
    <qemu:arg value='pc-bios'/>

Xenix works only with 3com network cards unavaliable on qemu
So I use the old slip protocol
On linux I make this

a)Ip forwading
echo 1 1>/proc/sys/net/ipv4/ip_forward

slattach -s 19200 -d -p slip /dev/pts/1

c)ifconfig on host
ifconfig sl0 dstaddr netmask mtu 576 up

iptables -A FORWARD -i sl0 -o bridge0 -j ACCEPT
iptables -A FORWARD -i bridge0 -o sl0 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT

On xenix side
a)Create slip
mkdev slip


shutdown 0

c)Create tcp

mkdev tcp 
/etc/tcp stop
/etc/tcp start
route add default  0

Now the problem coming!

Rlogin work?

And ping?
Yes from internal to external

And ftp?
If I transfer a text file empty work perfect.
But when I try binary...

ftp> put "La bionda-I wanna be your lover.mp3"
local: La bionda-I wanna be your lover.mp3 remote: La bionda-I wanna be your lover.mp3
227 Entering Passive Mode (192,168,7,2,4,30)
150 Opening BINARY mode data connection for La bionda-I wanna be your lover.mp3.


Wireshark said


What can it be?
# 2  
Old 10-12-2018
Xenix only supports 11.3 file names. Maybe try renaming the file to iwannabe.mp3 before transferring.
# 3  
Old 10-12-2018
Originally Posted by jgt
Xenix only supports 11.3 file names. Maybe try renaming the file to iwannabe.mp3 before transferring.
Now i'm uploading file "pup.mp3" way.

Previous Thread | Next Thread
Test Your Knowledge in Computers #30
Difficulty: Medium
Microsoft was founded in 1971.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Difficult problem: Complex text file manipulation in bash script.

I don't know if this is a big issue or not, but I'm having difficulties. I apoligize for the upcoming essay :o. I'm writing a script, similar to a paint program that edits images, but in the form of ANSI block characters. The program so far is working. I managed to save the image into a file,... (14 Replies)
Discussion started by: tinman47
14 Replies

2. UNIX for Dummies Questions & Answers

Backup Hard Disk Xenix System V

Hey all, At my work we have an installation that runs on a Xenix System V coupled with a PLC. Now I have to take a backup of the complete Hard Disk from the PC but have no idea how to manage this. Could someone help me and tell me which steps I have to take. Thanx. (8 Replies)
Discussion started by: sideshow bob
8 Replies

3. UNIX for Dummies Questions & Answers

difficult problem with function declaration

Hello, I have a problem with the declaration of a function. This is how I declare the function : c:63: void foo(threadpool *tp,void (*func)(void*), (void*)arg); Inside main, I call it like this: main(){ .......... threadpool y; c:104: ... (4 Replies)
Discussion started by: garag11
4 Replies

4. SCO

SCO Xenix AR command ?

Hi I am looking for sco xenix ar command under sco unix. please help me ! (4 Replies)
Discussion started by: javad1_maroofi
4 Replies

5. SCO

Xenix Problems - No space on dev 1/40

Hello - I'm a newbie to these forums. Please excuse me if I am posting in the wrong area. My dilemma. The HD on our ancient Xenix system apparently is full. I receive the "no space on dev 1/40" prompt. This occurred after I attempted to purge some unwanted files. This system runs our small... (1 Reply)
Discussion started by: gmbrickley
1 Replies

6. UNIX for Advanced & Expert Users

adding additional drive to sco the is xenix

I am taking an old xenix drive and installing it in a recent SCO Build Server. I have gone through the process of running mkdev hd twice since the drive is a SCSI then proceed to run mkdev fs and when I attempt to add one of the shown partitions I get the following: fsck: cannot determine... (1 Reply)
Discussion started by: justenglabs
1 Replies

7. SCO

Help! Playing with Xenix!

Hey everyone! I'm trying to retrieve old files from my Xenix computers. So the option I've now come down to is to load up a second harddrive and do a doscp of my tar'd backup file. Now, How do I go about this? I am not a unix user myself so I'm not quite sure. I need help! I have a VERY short... (1 Reply)
Discussion started by: Slaughter
1 Replies

8. SCO

Problem with dinosaur's kernel - Xenix 386 2.3.4

After booting from the N1 floppy I see: kernel: WARNING: No floating point emulator found in /etc/emulator (0 Replies)
Discussion started by: eugrus
0 Replies

9. UNIX for Advanced & Expert Users

Difficult Filtering Problem

Sir, I have a file containing say 1000 lines that contain 100 paragraphs of 10 lines each separated by blank lines.I have to match a pattern or a string "hdfhasdjkasdhs" and print the complete paragraphs containing these strings.I can do this with the help of line editor ex,but how can I use... (1 Reply)
Discussion started by: Piyush
1 Replies

10. UNIX for Dummies Questions & Answers

Modem problems on SCO Xenix

Randomly receive the following message: "Can not open line tty1a device busy error 16" and "/etc/getty/t60 tty1a" What is causing this error message ? (1 Reply)
Discussion started by: jbartok
1 Replies

Featured Tech Videos