The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] simh+Quasijarus success
@ 2004-08-11 10:26 Sergey Lapin
  2004-08-11 11:15 ` José R. Valverde
  0 siblings, 1 reply; 3+ messages in thread
From: Sergey Lapin @ 2004-08-11 10:26 UTC (permalink / raw)


Hi, all!!!
Still trying to implement multi-user unix-learning environment.

So, I run simh with Quasijarus, when I telnet to port, that is redirected 
from serial, it automatically picks up unused line, that is fine, and 
eleminates a need for reconfiguration.

But there is something interesting: I want to implement possibility to 
allow outgoing connections from emulated VAX. As I understand, 4.3BSD  
supports SLIP protocol. And I can get SLIP working through emulated serial 
line. So, the problem is:

1. How it was used to setup SLIP lines in 4.3BSD? :)
2. The other end - will slirp package work in such case?

All the best, and thanks for all help,

S.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [TUHS] simh+Quasijarus success
  2004-08-11 10:26 [TUHS] simh+Quasijarus success Sergey Lapin
@ 2004-08-11 11:15 ` José R. Valverde
  2004-08-11 11:34   ` Sergey Lapin
  0 siblings, 1 reply; 3+ messages in thread
From: José R. Valverde @ 2004-08-11 11:15 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2686 bytes --]

On Wed, 11 Aug 2004 14:26:51 +0400 (MSD)
Sergey Lapin <slapin at drevlanka.ru> wrote:
ething interesting: I want to implement possibility to 
> allow outgoing connections from emulated VAX. As I understand, 4.3BSD  
> supports SLIP protocol. And I can get SLIP working through emulated serial 
>
Again, you don't need to. Just configure IP as usual using an emulated
Ethernet card. E.g. add to the SIMH configuration:

set xq mac=01-02-03-04-05-06
at xq0 eth0

Then boot as usual. When the system comes up, it will recognize an ethernet
card that you can configure as you want. E.g. on boot a message

qe0: delqa, hardware address 01:02:03:04:05:06

will appear in the system log, and you can use a /etc/netstart script like
the one that follows to configure the net:

- ------------------------- 8< cut here 8< -----------------------
#!/bin/sh -
#
#       @(#)netstart    1.1 (Berkeley) 1/10/99

routedflags=-q
rwhod=NO

# myname is my symbolic name
# my-netmask is specified in /etc/networks
#
#hostname=myname.my.domain
hostname=quasijarus.drevlanka.ru# should be the actual internet name of the emulated machine
mynetmask=81.211.111.250	# should be an actual valid IP address
mygateway=81.211.111.1		# should be the real IP of the gateway you use

hostname $hostname

ifconfig imp0 inet $hostname
ifconfig de0 inet $hostname netmask $mynetmask
ifconfig qe0 inet $hostname netmask $mynetmask
ifconfig lo0  inet localhost
route add $hostname localhost 0
hostid $hostname
route add default $mygateway 0
- ------------------------- 8< cut here 8< -----------------------

That should do the trick: now if you have a valid spare IP address to assign
the emulated machine, and use it above, your emulated system will behave like
any other Internet host.

Oh, and of course you will want to have a valid /etc/resolv.conf file so
users in the emulated host can resolve names,like e.g.

domain drevlanka.ru
nameserver 195.161.9.196
nameserver 81.211.111.254

See the manual and FAQ for SIMH for more details on what's going on and other
possible alternatives.

The same goes for 2.11BSD, which takes half the amount of space that 4.3BSD
does, and ultrix-3.1 which takes even less yet. E.g. from my setups here:

# du -sk 2.11bsd 4.4bsd ultrix-3.1
325328  2.11bsd
608952  4.3bsd
20524   ultrix-3.1

Which is to say, may be you will be better off using Ultrix-3.1, which BTW
also includes vi, more and much more... In this case just edit the /etc/rc
file to set the appropriate parameters to ifconfig and default route.

				j
-- 
	These opinions are mine and only mine. Hey man, I saw them first!

			    José R. Valverde

	De nada sirve la Inteligencia Artificial cuando falta la Natural


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [TUHS] simh+Quasijarus success
  2004-08-11 11:15 ` José R. Valverde
@ 2004-08-11 11:34   ` Sergey Lapin
  0 siblings, 0 replies; 3+ messages in thread
From: Sergey Lapin @ 2004-08-11 11:34 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1709 bytes --]

On Wed, 11 Aug 2004, [ISO-8859-15] JosИ R. Valverde wrote:

> On Wed, 11 Aug 2004 14:26:51 +0400 (MSD)
> Sergey Lapin <slapin at drevlanka.ru> wrote:
> ething interesting: I want to implement possibility to 
> > allow outgoing connections from emulated VAX. As I understand, 4.3BSD  
> > supports SLIP protocol. And I can get SLIP working through emulated serial 
> >
> Again, you don't need to. Just configure IP as usual using an emulated
> Ethernet card. E.g. add to the SIMH configuration:
> 
> set xq mac=01-02-03-04-05-06
> at xq0 eth0
> 
> Then boot as usual. When the system comes up, it will recognize an ethernet
> card that you can configure as you want. E.g. on boot a message
> 
> qe0: delqa, hardware address 01:02:03:04:05:06
> 
> will appear in the system log, and you can use a /etc/netstart script like
> the one that follows to configure the net:
[skip]

I have no SPARE address. And this thing entirely should be avoided there 
for 2 reasons
1. This is colocated host, ISP has a policy on no MAC address/IP address 
tweaking. Non-standard services are too expensive and should be avoided at 
all costs.

2. This is not dedicated box, hosting email services and www. Not loaded, 
but critical in sence, that services should work.

> # du -sk 2.11bsd 4.4bsd ultrix-3.1
> 325328  2.11bsd
> 608952  4.3bsd
> 20524   ultrix-3.1
> 
> Which is to say, may be you will be better off using Ultrix-3.1, which BTW
> also includes vi, more and much more... In this case just edit the /etc/rc
> file to set the appropriate parameters to ifconfig and default route.

I think about emulating all these systems because of educational nature of 
the project.., Also, maybe free shells for people :)

S.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-11 11:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-11 10:26 [TUHS] simh+Quasijarus success Sergey Lapin
2004-08-11 11:15 ` José R. Valverde
2004-08-11 11:34   ` Sergey Lapin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).