RE: [Linux-decnet-user] dnprogs installation on Red Hat 8.0 (succ ess!)
Brought to you by:
chrissie_c,
ph3-der-loewe
|
From: McVeagh, J. <Joh...@CS...> - 2003-05-21 13:10:48
|
Larry,
Thanks for posting the step by step process for Redhat. I have a related
question.
Did you find that DECnet support was enabled (active) in the kernel or did
you have to load a module (decnet.o)?
John McVeagh
CSX Technology
-----Original Message-----
From: Larry Baker [mailto:ba...@us...]
Sent: Tuesday, May 20, 2003 6:57 PM
To: lin...@li...
Subject: [Linux-decnet-user] dnprogs installation on Red Hat 8.0 (success!)
My Red Hat 8.0 Linux DECnet installation seems to work now (with one minor
annoyance, see below). I used the information in the online HTML man pages
and FAQs as a reference. The steps I followed were:
Download dnprogs-2.23-1.i386.rpm to /usr/local/src
Install the dnprogs RPM:
# cd /usr/local/src
# rpm -Uvh dnprogs-2.23-1.i386.rpm
Ignore the messages about not being user patrick
Answer the questions to define the DECnet network
Optionally configure the DECnet hosts file:
# vi /etc/decnet.conf
Add more hosts, etc.
Optionally configure the DECnet objects file:
# vi /etc/dnetd.conf
Comment out unneeded objects, etc.
Optionally configure the DECnet proxy file:
# vi /etc/decnet.proxy
Add DECnet->Linux userid mappings, etc.
Configure the DECnet startup/shutdown script:
# vi /etc/init.d/decnet
Change "prefix=/usr/local" to "prefix=/usr" (the rpm installation
puts the executables in /usr..., not /usr/local...)
Configure the Ethernet MAC address:
16-bit DECnet address = ( area-no. * 1024 ) + node-no.
Convert 16-bit DECnet address to hex
Swap hex bytes and append to AA:00:04:00
For example, 63.171 = ( 63 * 1024 ) + 171 = 64683 = FCAB
MAC address for 63.171 = AA:00:04:00:AB:FC
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
Add a line specifying the MAC address using the MACADDR keyword
# DECnet host address 63.171
MACADDR=AA:00:04:00:AB:FC
On my system, I also made ifcfg-eth0 executable
# chmod +x /etc/sysconfig/network-scripts/ifcfg-eth0
Update the kernel module database:
# depmod -a
Enable the DECnet service:
# chkconfig --level 345 decnet on
Reboot
# reboot
Try something
# dnping local-host
# dnping remote-host
On my Red Hat 8.0 system, after DECnet is enabled, "ifconfig" no longer
works without an explicit interface argument. This is a minor annoyance,
which I ignore.
Larry Baker
US Geological Survey
|