Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Netbooting from the Apollo emulator

71 views
Skip to first unread message

supervinx

unread,
Jul 3, 2012, 9:03:46 AM7/3/12
to

I built the mess0146 based emulator, changed my scripts, and the earlier
installations booted up nicely.

Now I've some doubt left.

make -n net and make net

create a new virtual interface tap-mess--0

/sbin/ifconfig tap-mess--0 192.168.2.99 up
/sbin/route del -net 192.168.2.0 netmask 255.255.255.0 dev tap-mess--0
/bin/sh -c "echo 1 > /proc/sys/net/ipv4/conf/tap-mess--0/proxy_arp"
# dn3500
/sbin/route add -host 192.168.2.30 dev tap-mess--0
/sbin/arp -Ds 192.168.2.30 tap-mess--0 pub

Externally (from the Linux host) I should see 192.168.2.99.

Must I set the Apollo node to 192.168.2.30 ip address or change the Makefile ?
To which address must I set the gateway into DomainOS ?
From the internal net (192.168.1.0) how it's seen the Apollo node ? Which IP ?

If I don't set at all tunctl, and set the node IP to an address internal to my
network (say 192.168.1.0, Linux host 1.10, Apollo 1.4) can I connect to every IP
(except the host) in my net ?

The main purpose is to use the Emulator to netboot diskless nodes, using addresses
falling in my net address space (192.168.1.0)


--
http://www.supervinx.com/Retrocomputer

Hans Ostermeyer

unread,
Jul 3, 2012, 11:58:38 AM7/3/12
to
On 07/03/12 15:03, supervinx wrote:
>
> I built the mess0146 based emulator, changed my scripts, and the earlier
> installations booted up nicely.
>
> Now I've some doubt left.
>
> make -n net and make net
>
> create a new virtual interface tap-mess--0
>
> /sbin/ifconfig tap-mess--0 192.168.2.99 up
> /sbin/route del -net 192.168.2.0 netmask 255.255.255.0 dev tap-mess--0
> /bin/sh -c "echo 1> /proc/sys/net/ipv4/conf/tap-mess--0/proxy_arp"
> # dn3500
> /sbin/route add -host 192.168.2.30 dev tap-mess--0
> /sbin/arp -Ds 192.168.2.30 tap-mess--0 pub
>
> Externally (from the Linux host) I should see 192.168.2.99.
>
> Must I set the Apollo node to 192.168.2.30 ip address or change the Makefile ?
> To which address must I set the gateway into DomainOS ?
> From the internal net (192.168.1.0) how it's seen the Apollo node ? Which IP ?
>
> If I don't set at all tunctl, and set the node IP to an address internal to my
> network (say 192.168.1.0, Linux host 1.10, Apollo 1.4) can I connect to every IP
> (except the host) in my net ?

In your shell the environment variable UID seems to be undefined (in
openSUSE 12.1 /usr/bin/sh is a link to /bin/bash and UID is my user id).

To bypass the problem run make with UID set to your user id, e.g. 1234

$ make -n net UID=1234

This will select tap-mess-1234-0 as tap device and your problems should
be solved.

>
> The main purpose is to use the Emulator to netboot diskless nodes, using addresses
> falling in my net address space (192.168.1.0)

Bad news: I just tried this myself and found that booting a 425t from
the emulation with Domain/OS 10.4.1.2 will fail (with crash_status
80110007 - remote node failed to respond to request). And this is
probably true for SR10.3 or SR10.4 as well.

Diskless booting SR10.2 from the emulation worked long time ago; but I
have not yet verified this with MESS 0.146.

--
Hans Ostermeyer
0 new messages