Re: [Linux-decnet-user] problems with decnet on SUSE 10
Brought to you by:
chrissie_c,
ph3-der-loewe
|
From: Angela B. <am...@jb...> - 2007-06-13 17:06:25
|
It sounds to me as if the call to setether in /etc/init.d/decnet is
getting the wrong eth device, which it should get from /etc/decnet.conf.
You should not try to set the MAC address by any other means than by this
call to setether.
I have Linux Decnet running on Suse 10.0 but the following may be of some
help:
I could not get it to work by editing any /etc/sysconfig/network/ifcfg-eth
files. These should not be touched.
I had to add
ifconfig $CCT allmulti in the /etc/init.d/decnet as follows:
echo -n $"Starting DECnet: "
NODE=`grep executor /etc/decnet.conf| awk '{print $2}'`
echo "$NODE" > /proc/sys/net/decnet/node_address
CCT=`grep executor /etc/decnet.conf | awk '{print $6}'`
echo "$CCT" > /proc/sys/net/decnet/default_device
$prefix/sbin/setether $NODE $CCT $extra_interfaces
ifconfig $CCT allmulti
Make sure /etc/decnet.conf refers to the correct eth device, in your case
eth0. This is used by /etc/init.d/decnet as the parameter to setether to
change the MAC address. Don't try to alter
/etc/sysconfig/network/ifcfg-eth* to set the MAC address.
I hope this helps. It is the fruit of a lengthy but ultimately
successful struggle to get decnet working.
Angela Bayley
On Wed, 13 Jun 2007 kei...@uk... wrote:
>
>
>
> I am encountering a problem when trying to implement Decnet on a SUSE 10
> system.
>
> The kernel version is 2.6.16, therefore I assume it has appropriate
> decnet support included, so I haven't attempted any patch updates.
>
> I have followed all the instructions as detailed for loading DECnet on
> SuSE 9.3, from the "DECnet for Linux FAQ: Distributions", namely:
>
> 1) Downloaded and installed dnprogs-2.27-1.SUSE.i586.rpm
> 2) Created link for fal
> 3) edited /etc/init.d/decnet file for daemons to start
> 4) edited /etc/decnet.conf to declare executor/node names
> 5) edited /etc/dnetd.conf to modify objects
> 6) edited /etc/decnet.proxy for remote proxies
> 7) Copied and modified file ifcfg-eth0 (eth0 is the correct interface) to
> include the new address for the card
> 8) Updated kernel database
> 9) enabled decnet service
> 10) rebooted machine.
>
> After startup, the dnetd process is running but with no activity.
>
> The eth0 HWADDR is changed to reflect the new address entered into file
> ifcfg-eth0
>
> However, in the /var/log/boot.msg file the following message fragment
> appears:
>
> Starting DECnet...SIOCGIFINDEX: No such device
> SIOCGIFFLAGS: No such device
> /usr/sbin/setether: line 68: echo: write error: No such device
> done
>
> Not suprisingly, no commands work, ie after issuing eg dndir, the cursor
> just sits waiting
>
> What am I doing wrong??
>
>
>
|