1.1.59->1.3.20, ifconfig, route stopped working

1.1.59->1.3.20, ifconfig, route stopped working

Post by Martin Viss » Sat, 26 Aug 1995 04:00:00



Hi,

I've tried to upgrade my kernel from 1.1.59 to 1.3.20 so that I can start
plaing with Appletalk support. The kernel seems to come OK but when
/etc/rc.d/rc.inet1 tries to iconfig and route it gets some SIGIOADDR or
something not being available. Does this mean I need to recompile ifconfig
and route? They are
probably left from Slackware 2.1 or something. If this IOCTL has changed
when did this happen?

Martin

--
            : Martin Visser
    /\/\    : BHP Steel - Slab & Plate Products Division
   / / /\   : Engineering Technology - Computer Systems
  / / /  \  : PO Box 1854 Wollongong NSW 2500, AUSTRALIA
 / / / /\ \ : A.C.N. 000 019 625
 \ \/ / / / : Phone     +61-42-753852
  \  / / /  : Fax       +61-42-754141


            : WWW   (Work) http://wwwet.sppdwol.bhp.com.au/people/mvisser
            :       (Home) http://www.ozemail.com.au/~mvisser

 
 
 

1.1.59->1.3.20, ifconfig, route stopped working

Post by Michael Morris » Sat, 26 Aug 1995 04:00:00


: Hi,

: I've tried to upgrade my kernel from 1.1.59 to 1.3.20 so that I can start
: plaing with Appletalk support. The kernel seems to come OK but when
: /etc/rc.d/rc.inet1 tries to iconfig and route it gets some SIGIOADDR or
: something not being available. Does this mean I need to recompile ifconfig
: and route? They are
: probably left from Slackware 2.1 or something. If this IOCTL has changed
: when did this happen?

Read the README file in linux/net.  You need to upgrade you networking software.

 
 
 

1.1.59->1.3.20, ifconfig, route stopped working

Post by Martin Viss » Sat, 26 Aug 1995 04:00:00




> Hi,

> I've tried to upgrade my kernel from 1.1.59 to 1.3.20 so that I can start
> plaing with Appletalk support. The kernel seems to come OK but when
> /etc/rc.d/rc.inet1 tries to iconfig and route it gets some SIGIOADDR or
> something not being available. Does this mean I need to recompile ifconfig
> and route? They are
> probably left from Slackware 2.1 or something. If this IOCTL has changed
> when did this happen?

I've found the net-tools-1.20 stuff which probably does what I want, however
route.c barfs on symbols like RTF_UP, etc. Which header are these supposed
to be in? (They don't appear to be in kernel 1.3.20 )

route.c
<snip>
                if (iflags & RTF_UP)
                        strcat(flags, "U");
                if (iflags & RTF_GATEWAY)
                        strcat(flags, "G");
                if (iflags & RTF_HOST)
                        strcat(flags, "H");
                if (iflags & RTF_REINSTATE)
                        strcat(flags, "R");
                if (iflags & RTF_DYNAMIC)
                        strcat(flags, "D");
                if (iflags & RTF_MODIFIED)
                        strcat(flags, "M");

<snip>

--
            : Martin Visser
    /\/\    : BHP Steel - Slab & Plate Products Division
   / / /\   : Engineering Technology - Computer Systems
  / / /  \  : PO Box 1854 Wollongong NSW 2500, AUSTRALIA
 / / / /\ \ : A.C.N. 000 019 625
 \ \/ / / / : Phone     +61-42-753852
  \  / / /  : Fax       +61-42-754141


            : WWW   (Work) http://wwwet.sppdwol.bhp.com.au/people/mvisser
            :       (Home) http://www.ozemail.com.au/~mvisser

 
 
 

1.1.59->1.3.20, ifconfig, route stopped working

Post by Dave Fenwic » Wed, 30 Aug 1995 04:00:00


All:

I have had the exact same problem as mentioned here.  My 1.2.x kernel
worked fine with my network software/driver combinations.  When I
upgraded (:-)) to 1.3.x, ifconfig says:

SIOCSIFFLAGS: Try again

I chalked it up to having a completely untested new system (hardware
and all - I upgraded to a Pentium P100 w/PCI bus + Tulip ethernet) but
now you guys are saying its the system software and not the kernel.  I've
downloaded everything I thought was the problem, but no luck.  Now I'll
go and get the newer NetTools and try that.  You can get them from:

ftp://ftp.linux.org.uk/pub/linux/Networking/PROGRAMS/NetTools

I'll tell you if I have any luck.

--

Senior Systems Engineer                           (202) 761-4442 x119
Simulation Technologies, Inc.                      FAX (202) 761-5352

 
 
 

1.1.59->1.3.20, ifconfig, route stopped working

Post by Dave Fenwic » Wed, 30 Aug 1995 04:00:00


All:

Don Becker (The God of Ethernet) was right on the money when he said my
SIOCSIFFLAGS problem was an IRQ problem.  Going back in and checking my
PCI BIOS, I discovered the only IRQ available to the PCI bus was IRQ 9,
so the SCSI and Ethernet cards decided to share IRQ 9.  I noticed it
the bazillion times I booted, but just didn't think about it.  Once I
went in and reconfigured the available IRQs in the BIOS, everything worked
fine.

Just one more thing put on my resume...

--

Senior Systems Engineer                           (202) 761-4442 x119
Simulation Technologies, Inc.                      FAX (202) 761-5352

 
 
 

1.1.59->1.3.20, ifconfig, route stopped working

Post by Martin Viss » Sat, 02 Sep 1995 04:00:00




> : Hi,

> : I've tried to upgrade my kernel from 1.1.59 to 1.3.20 so that I can start
> : plaing with Appletalk support. The kernel seems to come OK but when
> : /etc/rc.d/rc.inet1 tries to iconfig and route it gets some SIGIOADDR or
> : something not being available. Does this mean I need to recompile ifconfig
> : and route? They are
> : probably left from Slackware 2.1 or something. If this IOCTL has changed
> : when did this happen?

> Read the README file in linux/net.  You need to upgrade you networking

software.

Thanks Mike, In my second post I did indicate that I found the NetTools stuff.
However it looks as if it doesn't include all the includes (like <linux/route.h>

Anyway I'm getting closer ;-)

Martin

--
            : Martin Visser
    /\/\    : BHP Steel - Slab & Plate Products Division
   / / /\   : Engineering Technology - Computer Systems
  / / /  \  : PO Box 1854 Wollongong NSW 2500, AUSTRALIA
 / / / /\ \ : A.C.N. 000 019 625
 \ \/ / / / : Phone     +61-42-753852
  \  / / /  : Fax       +61-42-754141


            : WWW   (Work) http://wwwet.sppdwol.bhp.com.au/people/mvisser
            :       (Home) http://www.ozemail.com.au/~mvisser