Re: sucess story! upgrade from RH4.2 -> RH6.0

1999-08-17 Thread Hamish Moffatt

On Mon, Aug 16, 1999 at 06:51:03AM -0600, Karl F. Larsen wrote:
> 
>   Netrom is broke Thomas. Use your old netromd in Red Hat 6 and it
> will work fine. If you use "listen" use a su - root xterm. Another
> problem...:-)

I don't think listen should let normal users observe all traffic --
tcpdump doesn't let normal users observe all ethernet traffic
for the same reason. So this is not a problem. It's just different
from before.


Hamish
-- 
Hamish Moffatt   Mobile: +61 412 011 176 [EMAIL PROTECTED]
Rising Software Australia Pty. Ltd.http://www.risingsoftware.com/
Phone: +61 3 9894 4788Fax: +61 3 9894 3362USA: 1 888 667 7839



Re: sucess story! upgrade from RH4.2 -> RH6.0

1999-08-17 Thread Richard Adams

> 
> Hi
> 
>  I've just upgraded my whole setup from RH4.2, to RH6.0. Using the new
> libax25, ax25-tools etc.
> 
>  So far everything seems to run ok, except netrom ports. Somehow programs
> fail to see that the netrom devices are active...
> 
>  To get this far, I've had to patch a couple of files :
> 
>  in libax25 kernel_netrom.h is missing the definition of SOL_NETROM, after
> browsing some sources i found out that this should be 259, so I added a
> #define SOL_NETROM 259 to the file...
> 
>  in ax25_tools, the axctl program has an error, i removed the line near
> the bottom of the file, saying ax25_ctl.digi_count, as digi_count doesn't
> appear in the ax25_ctl struct...
> 
>  Is the above fixes ok?? Or have i messed up big time, by adding/deleting
> something in those files?
> 
> 
>  In FBB i added a couple of defines for SOL_NETROM and SOL_AX25 to
> drv_sock.c (i tried to include kernel_netrom.h and kernel_ax25.h, but then
> the compiler just barfs about a lot of redefines).
> 
> So now the setup is :
>  RH6.0, kernel 2.2.11-ac3
>  xfbb 701a
>  libax25 v.0.0.6
>  ax25-tools 0.0.4
>  ax25-apps 0.0.3
>  clx 4.06

I had the same problems here, however netrom will not put received nodes
into /proc/net/nr_nodes or neigh.

I get in the log;
netromd[1052]: netromr: SIOCADDRT: Invalid argument

Of cource it could be me not RTFM'ing enought.

> 
> 
> Thomas Mørch
> licensed ham, with callsign OZ2AFO. License category: CEPT-1
> 
> If God had intended man to smoke He would have set him on fire.
> 


-- 
Regards Richard.
[EMAIL PROTECTED]



Re: sucess story! upgrade from RH4.2 -> RH6.0

1999-08-16 Thread Karl F. Larsen


Netrom is broke Thomas. Use your old netromd in Red Hat 6 and it
will work fine. If you use "listen" use a su - root xterm. Another
problem...:-)


On Mon, 16 Aug 1999, Thomas M. wrote:

> Hi
> 
>  I've just upgraded my whole setup from RH4.2, to RH6.0. Using the new
> libax25, ax25-tools etc.
> 
>  So far everything seems to run ok, except netrom ports. Somehow programs
> fail to see that the netrom devices are active...
> 
>  To get this far, I've had to patch a couple of files :
> 
>  in libax25 kernel_netrom.h is missing the definition of SOL_NETROM, after
> browsing some sources i found out that this should be 259, so I added a
> #define SOL_NETROM 259 to the file...
> 
>  in ax25_tools, the axctl program has an error, i removed the line near
> the bottom of the file, saying ax25_ctl.digi_count, as digi_count doesn't
> appear in the ax25_ctl struct...
> 
>  Is the above fixes ok?? Or have i messed up big time, by adding/deleting
> something in those files?
> 
> 
>  In FBB i added a couple of defines for SOL_NETROM and SOL_AX25 to
> drv_sock.c (i tried to include kernel_netrom.h and kernel_ax25.h, but then
> the compiler just barfs about a lot of redefines).
> 
> So now the setup is :
>  RH6.0, kernel 2.2.11-ac3
>  xfbb 701a
>  libax25 v.0.0.6
>  ax25-tools 0.0.4
>  ax25-apps 0.0.3
>  clx 4.06
> 
> 
> Thomas Mørch
> licensed ham, with callsign OZ2AFO. License category: CEPT-1
> 
> If God had intended man to smoke He would have set him on fire.
> 
> 

Best wishes 

 - Karl F. Larsen, [EMAIL PROTECTED]  (505) 524-3303  -



Re: sucess story! upgrade from RH4.2 -> RH6.0

1999-08-16 Thread Thomas M.

On Mon, 16 Aug 1999, Tomi Manninen OH2BNS wrote:

> On Mon, 16 Aug 1999, Thomas M. wrote:
> 
> >  To get this far, I've had to patch a couple of files :
> > 
> >  in libax25 kernel_netrom.h is missing the definition of SOL_NETROM, after
> > browsing some sources i found out that this should be 259, so I added a
> > #define SOL_NETROM 259 to the file...
> 
> This one is ok. Though there are other errors in that file so you will
> find that many netrom tools won't work.

 Ok, i'll drop the netrom part until it works then (not a crucial part of
our network) Although the netrom tools do compile just fine. I can
initialize the netrom interfaces, netromd (aparently) runs ok, only
problem is that ax25d and other programs, can't bind to the netrom ports
correctly...

> >  in ax25_tools, the axctl program has an error, i removed the line near
> > the bottom of the file, saying ax25_ctl.digi_count, as digi_count doesn't
> > appear in the ax25_ctl struct...
> 
> There is no error in axctl. Zeroing ax25_ctl.digi_count is crucial to
> axctl's function, in fact with kernels older than 2.2.11 you can crash the
> kernel big time if it's not properly initialized...

Ok, I've had a look at ax25.h in the kernel includes, and took the
definition from this file, and copied it over to kernel_ax25.h in
libax25, i figured that since it's a 'link' to the kernel it had to be the
same as the one in the kernel includes...
 

> The problem is that the kernel_*.h "compatibility headers" are broken.
> Patch sent. Waiting for something to happen.

 When will this patch appear?? 

Thomas Mørch
licensed ham, with callsign OZ2AFO. License category: CEPT-1

If God had intended man to smoke He would have set him on fire.




sucess story! upgrade from RH4.2 -> RH6.0

1999-08-16 Thread Thomas M.

Hi

 I've just upgraded my whole setup from RH4.2, to RH6.0. Using the new
libax25, ax25-tools etc.

 So far everything seems to run ok, except netrom ports. Somehow programs
fail to see that the netrom devices are active...

 To get this far, I've had to patch a couple of files :

 in libax25 kernel_netrom.h is missing the definition of SOL_NETROM, after
browsing some sources i found out that this should be 259, so I added a
#define SOL_NETROM 259 to the file...

 in ax25_tools, the axctl program has an error, i removed the line near
the bottom of the file, saying ax25_ctl.digi_count, as digi_count doesn't
appear in the ax25_ctl struct...

 Is the above fixes ok?? Or have i messed up big time, by adding/deleting
something in those files?


 In FBB i added a couple of defines for SOL_NETROM and SOL_AX25 to
drv_sock.c (i tried to include kernel_netrom.h and kernel_ax25.h, but then
the compiler just barfs about a lot of redefines).

So now the setup is :
 RH6.0, kernel 2.2.11-ac3
 xfbb 701a
 libax25 v.0.0.6
 ax25-tools 0.0.4
 ax25-apps 0.0.3
 clx 4.06


Thomas Mørch
licensed ham, with callsign OZ2AFO. License category: CEPT-1

If God had intended man to smoke He would have set him on fire.



Re: sucess story! upgrade from RH4.2 -> RH6.0

1999-08-16 Thread Tomi Manninen OH2BNS

On Mon, 16 Aug 1999, Thomas M. wrote:

>  To get this far, I've had to patch a couple of files :
> 
>  in libax25 kernel_netrom.h is missing the definition of SOL_NETROM, after
> browsing some sources i found out that this should be 259, so I added a
> #define SOL_NETROM 259 to the file...

This one is ok. Though there are other errors in that file so you will
find that many netrom tools won't work.

>  in ax25_tools, the axctl program has an error, i removed the line near
> the bottom of the file, saying ax25_ctl.digi_count, as digi_count doesn't
> appear in the ax25_ctl struct...

There is no error in axctl. Zeroing ax25_ctl.digi_count is crucial to
axctl's function, in fact with kernels older than 2.2.11 you can crash the
kernel big time if it's not properly initialized...

The problem is that the kernel_*.h "compatibility headers" are broken.
Patch sent. Waiting for something to happen.

-- 
--- Tomi Manninen / [EMAIL PROTECTED] / OH2BNS @ OH2RBI.FIN.EU ---