Re: [Linux-decnet-user] More on Ubuntu 10.10 and DECnet
Brought to you by:
chrissie_c,
ph3-der-loewe
|
From: Larry B. <ba...@us...> - 2011-06-28 20:38:29
|
Gary,
I have only been casually following your e-mail thread. You might
have to take care of two issues to get your DECnet up and running.
These instructions apply to dnprogs-2.47.tar.gz.
1) Set the proper MAC address. I edit the ifcfg-eth0 configuration
file to specify a MAC address. On CentOS:
> Configure the Ethernet MAC address in /etc/sysconfig/networking/
> devices/ifcfg-eth0:
>
> # vi /etc/sysconfig/networking/devices/ifcfg-eth0
>
> # Set MAC address for DECnet host address 54.145
> MACADDR=AA:00:04:00:91:D8
> # Disable MAC address check in TCP/IP startup
> #HWADDR=00:E0:81:2E:9E:70
2) Enable multicast reception for the interface. The exact command to
do this may vary from Linux to Linux. On CentOS:
> Edit the DECnet startup/shutdown script, /etc/init.d/decnet:
>
> #daemons="dnetd phoned"
> daemons="dnetd"
>
> echo -n $"Starting DECnet: "
>
> NODE=`grep executor /etc/decnet.conf| awk '{print $2}'`
> echo "$NODE" > /proc/sys/net/decnet/node_address
> NAME=`grep executor /etc/decnet.conf| awk '{print $4}'`
> echo "$NAME" > /proc/sys/net/decnet/node_name
> CCT=`grep executor /etc/decnet.conf | awk '{print $6}'`
> echo "$CCT" > /proc/sys/net/decnet/default_device
> $prefix/sbin/setether $NODE $CCT $extra_interfaces
>
> for i in $CCT $extra_interfaces
> do
> ip link set dev $i allmulticast on
> done
>
> for i in $daemons
Larry Baker
US Geological Survey
650-329-5608
ba...@us...
On 28 Jun 2011, at 1:25 PM, Gary Lee Phillips wrote:
> I got a chance today to try it.
>
> The machine for test was a netbook running Ubuntu 10.10 (Maverick
> Meerkat). The kernel version was 2.6.35-8-generic-pae.
>
> I did not try to make DECnet work over the wireless interface (yet)
> but connected a standard 10base-T cable to a LAN hub.
>
> I installed three packages from the Ubuntu repository:
> libdnet
> dnet-common
> dnet-progs
>
> One might expect these to have been brought up to date, but apparently
> they do not function in the same way on 10.10 as they do on 10.04,
> which is in fact what I heard here.
>
> The main problem I could see was that the MAC address of the ethernet
> interface was not altered to the appropriate DECnet address. Of
> course, nothing worked.
>
> As root, I did this:
>
> ifconfig eth0 down
> ifconfig eth0 hw ether aa:00:04:00:0b:0a
> ifconfig eth0 up
>
> This set up the MAC address to match my configured Phase IV address
> of 1.11.
>
> With this one change, I found that everything I tried seemed to work,
> including dnping, dndir, dntype, dntask, and dnlogin. The only
> difficulties I encountered were with proxy on the remote VAX nodes,
> and I believe I have to reboot those before they will recognize new
> proxies added to the UAF.
>
> Incoming connections initiated by the remote VAX nodes were being
> rejected, possibly because dnetd hadn't been stopped and restarted,
> but connections initiated by the laptop seemed to work as they should.
>
> I will look into this further, and see what it might take to convert
> the existing /etc/init.d/decnet script to the upstart format. Things
> are busy, I'm not sure how soon I'll have that working.
>
> --Gary
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously
> valuable.
> Why? It contains a definitive record of application performance,
> security
> threats, fraudulent activity, and more. Splunk takes this data and
> makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Project Home Page: http://linux-decnet.wiki.sourceforge.net/
>
> Linux-decnet-user mailing list
> Lin...@li...
> https://lists.sourceforge.net/lists/listinfo/linux-decnet-user
>
|