Subject: list of compiled in support

How does one tell if a kernel has compiled in support for ipx?

Michael Martinez
System Administrator (Contractor)
Information Systems and Technology Management
CSREES - United States Department of Agriculture
(202) 720-6223


2002-07-08 20:54:43

by Richard B. Johnson

[permalink] [raw]
Subject: Re: list of compiled in support

On Mon, 8 Jul 2002, Martinez, Michael - CSREES/ISTM wrote:

> How does one tell if a kernel has compiled in support for ipx?
>
> Michael Martinez
> System Administrator (Contractor)
> Information Systems and Technology Management
> CSREES - United States Department of Agriculture
> (202) 720-6223
>

You can tell if it supports ipx, but you can't tell if it supports
it because you loaded a module or because it was compiled in.


`ls /proc/net/ipx*` will show.......

ipx ipx_interface ipx_route

... if you've got ipx enabled (somehow).

To find if it's enabled by a module, then you can then do:

`lsmod | grep ipx` if you found it was enabled.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).

Windows-2000/Professional isn't.

2002-07-09 09:54:08

by Alan

[permalink] [raw]
Subject: Re: list of compiled in support

> How does one tell if a kernel has compiled in support for ipx?

Open an AF_IPX socket

Subject: RE: list of compiled in support

Okay. this would require a little C code right? is there a shell command
line tool I could use instead?

Michael Martinez
System Administrator (Contractor)
Information Systems and Technology Management
CSREES - United States Department of Agriculture
(202) 720-6223


-----Original Message-----
From: Alan Cox [mailto:[email protected]]
Sent: Tuesday, July 09, 2002 6:20 AM
To: [email protected]
Cc: [email protected]
Subject: Re: list of compiled in support


> How does one tell if a kernel has compiled in support for ipx?

Open an AF_IPX socket

2002-07-09 12:50:49

by Thunder from the hill

[permalink] [raw]
Subject: RE: list of compiled in support

Hi,

On Tue, 9 Jul 2002, Martinez, Michael - CSREES/ISTM wrote:
> Okay. this would require a little C code right? is there a shell command
> line tool I could use instead?

What exactly is your intention? IPX networking from a shell script?

Regards,
Thunder
--
(Use http://www.ebb.org/ungeek if you can't decode)
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
N--- o? K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
e++++ h* r--- y-
------END GEEK CODE BLOCK------

Subject: RE: list of compiled in support

great, thanks

Michael Martinez
System Administrator (Contractor)
Information Systems and Technology Management
CSREES - United States Department of Agriculture
(202) 720-6223


-----Original Message-----
From: Richard B. Johnson [mailto:[email protected]]
Sent: Monday, July 08, 2002 5:01 PM
To: Martinez, Michael - CSREES/ISTM
Cc: '[email protected]'
Subject: Re: list of compiled in support


On Mon, 8 Jul 2002, Martinez, Michael - CSREES/ISTM wrote:

> How does one tell if a kernel has compiled in support for ipx?
>
> Michael Martinez
> System Administrator (Contractor)
> Information Systems and Technology Management
> CSREES - United States Department of Agriculture
> (202) 720-6223
>

You can tell if it supports ipx, but you can't tell if it supports
it because you loaded a module or because it was compiled in.


`ls /proc/net/ipx*` will show.......

ipx ipx_interface ipx_route

... if you've got ipx enabled (somehow).

To find if it's enabled by a module, then you can then do:

`lsmod | grep ipx` if you found it was enabled.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).

Windows-2000/Professional isn't.

Subject: RE: list of compiled in support

No, no. Just simply find out whether my kernel supports ipx. And if it does
support it, then to disable it, without recompiling the kernel, perhaps by
removing ipx entries from /etc/services.

Michael Martinez
System Administrator (Contractor)
Information Systems and Technology Management
CSREES - United States Department of Agriculture
(202) 720-6223


-----Original Message-----
From: Thunder from the hill [mailto:[email protected]]
Sent: Tuesday, July 09, 2002 8:53 AM
To: Martinez, Michael - CSREES/ISTM
Cc: 'Alan Cox'; [email protected]
Subject: RE: list of compiled in support


Hi,

On Tue, 9 Jul 2002, Martinez, Michael - CSREES/ISTM wrote:
> Okay. this would require a little C code right? is there a shell command
> line tool I could use instead?

What exactly is your intention? IPX networking from a shell script?

Regards,
Thunder
--
(Use http://www.ebb.org/ungeek if you can't decode)
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
N--- o? K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
e++++ h* r--- y-
------END GEEK CODE BLOCK------

2002-07-09 13:21:58

by jbradford

[permalink] [raw]
Subject: Re: list of compiled in support

Can't you just

grep ipx System.map

??? Or am I being thick again? :-/

> No, no. Just simply find out whether my kernel supports ipx. And if it does
> support it, then to disable it, without recompiling the kernel, perhaps by
> removing ipx entries from /etc/services.
>
> Michael Martinez
> System Administrator (Contractor)
> Information Systems and Technology Management
> CSREES - United States Department of Agriculture
> (202) 720-6223
>
>
> -----Original Message-----
> From: Thunder from the hill [mailto:[email protected]]
> Sent: Tuesday, July 09, 2002 8:53 AM
> To: Martinez, Michael - CSREES/ISTM
> Cc: 'Alan Cox'; [email protected]
> Subject: RE: list of compiled in support
>
>
> Hi,
>
> On Tue, 9 Jul 2002, Martinez, Michael - CSREES/ISTM wrote:
> > Okay. this would require a little C code right? is there a shell command
> > line tool I could use instead?
>
> What exactly is your intention? IPX networking from a shell script?
>
> Regards,
> Thunder
> --
> (Use http://www.ebb.org/ungeek if you can't decode)
> ------BEGIN GEEK CODE BLOCK------
> Version: 3.12
> GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
> N--- o? K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
> e++++ h* r--- y-
> ------END GEEK CODE BLOCK------
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

2002-07-09 14:20:21

by Horst H. von Brand

[permalink] [raw]
Subject: Re: list of compiled in support

"Martinez, Michael - CSREES/ISTM" <[email protected]> said:
> No, no. Just simply find out whether my kernel supports ipx. And if it does
> support it, then to disable it, without recompiling the kernel, perhaps by
> removing ipx entries from /etc/services.

Deleting entries from /etc/services and such won't disable anything, just
make it a triffle more dificult to use.

If you want to disable it, do so. If it isn't there, it will complain.
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513

2002-07-09 16:17:16

by Alan

[permalink] [raw]
Subject: Re: list of compiled in support

> No, no. Just simply find out whether my kernel supports ipx. And if it does
> support it, then to disable it, without recompiling the kernel, perhaps by
> removing ipx entries from /etc/services.

If IPX is compiled into the kernel then you can't disable it from the kernel.
You can certainly check what ipx tools are installed and make sure those are
not activated - but thats really distro specific - most don't ship any IPX
using apps.

Alan

Subject: RE: list of compiled in support

Or maybe:

strings /proc/kernel/ksyms | grep ipx

Michael Martinez
System Administrator (Contractor)
Information Systems and Technology Management
CSREES - United States Department of Agriculture
(202) 720-6223


-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Tuesday, July 09, 2002 9:30 AM
To: [email protected]
Cc: [email protected]
Subject: Re: list of compiled in support


Can't you just

grep ipx System.map

??? Or am I being thick again? :-/

> No, no. Just simply find out whether my kernel supports ipx. And if it
does
> support it, then to disable it, without recompiling the kernel, perhaps by
> removing ipx entries from /etc/services.
>
> Michael Martinez
> System Administrator (Contractor)
> Information Systems and Technology Management
> CSREES - United States Department of Agriculture
> (202) 720-6223
>
>
> -----Original Message-----
> From: Thunder from the hill [mailto:[email protected]]
> Sent: Tuesday, July 09, 2002 8:53 AM
> To: Martinez, Michael - CSREES/ISTM
> Cc: 'Alan Cox'; [email protected]
> Subject: RE: list of compiled in support
>
>
> Hi,
>
> On Tue, 9 Jul 2002, Martinez, Michael - CSREES/ISTM wrote:
> > Okay. this would require a little C code right? is there a shell command
> > line tool I could use instead?
>
> What exactly is your intention? IPX networking from a shell script?
>
> Regards,
> Thunder
> --
> (Use http://www.ebb.org/ungeek if you can't decode)
> ------BEGIN GEEK CODE BLOCK------
> Version: 3.12
> GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
> N--- o? K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
> e++++ h* r--- y-
> ------END GEEK CODE BLOCK------
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>