Setting Media Type problem...

Setting Media Type problem...

Post by Andreas Schweitz » Fri, 08 Dec 2000 04:00:00




>but when I put this in my hostname.xl0 file, I get an error on boot that
>says media xxx  bad value..

If this is the context of hostname.xl0, it's missing the
broadcast address:

Quote:>hostname.xl0=
>inet #.#.#.# #.#.#.# media 10baseT mediaopt full-duplex

try
inet #.#.#.# #.#.#.# #.#.#.# media 10baseT mediaopt full-duplex
or
inet #.#.#.# #.#.#.# NONE media 10baseT mediaopt full-duplex

Does it help, if I say, it works for me ... ;-) ?

Andreas

--
                       Andreas Schweitzer
             http://dilbert.physast.uga.edu/~andy/
        This post is brought to you by VIM, slrn and FreeBSD

 
 
 

Setting Media Type problem...

Post by Tim » Fri, 08 Dec 2000 04:00:00


thank you, I thought that NONE was talking about the media types in the
examples...  Also, I discovered that putting the media options on a new
line also works.

Tim



> >but when I put this in my hostname.xl0 file, I get an error on boot that
> >says media xxx  bad value..

> If this is the context of hostname.xl0, it's missing the
> broadcast address:

> >hostname.xl0=
> >inet #.#.#.# #.#.#.# media 10baseT mediaopt full-duplex

> try
> inet #.#.#.# #.#.#.# #.#.#.# media 10baseT mediaopt full-duplex
> or
> inet #.#.#.# #.#.#.# NONE media 10baseT mediaopt full-duplex

> Does it help, if I say, it works for me ... ;-) ?

> Andreas

> --
>                        Andreas Schweitzer
>              http://dilbert.physast.uga.edu/~andy/
>         This post is brought to you by VIM, slrn and FreeBSD


 
 
 

Setting Media Type problem...

Post by Tim » Sat, 09 Dec 2000 03:16:03


Hi,
        I am putting together a firewall and my network cards don't seem to
want to let me set ythe media type in the hostname.xl0 and hostname.fxp0
files.
I can set the cards up using the ifconfig command and they work fine:

ifconfig xl0 inet #.#.#.# netmask #.#.#.# media 10baseT mediaopt
full-duplex

but when I put this in my hostname.xl0 file, I get an error on boot that
says media xxx  bad value..

hostname.xl0=
inet #.#.#.# #.#.#.# media 10baseT mediaopt full-duplex

What am I doing wrong?  The man pages seem to tell me I am doing it
correctly.  Is this a syntax error or a bug?

Tim

 
 
 

1. setting the media type for an ethernet card without ifconfig

I have a very old redhat 5.1 gnu/linux system whose ethernet card has
both bnc and an aui connectors.  The bnc connector works, but i'd
like to switch to using the aui.

So somehow i need to inform the hardware that i'll be using a
different connector.

I'd like to use /sbin/ifconfig, but the version of ifconfig on the
machine (1.24, net-tools 1.33, kernel 2.0.32) does not support a
`type' argument, and even if it did, i don't know if the device driver
would know what to do.

So how else can i do it?

The machine is a legacy system so i don't want to touch any of the
hardware internals, and i don't want to do anything outside of
userland to the software.

People back in the old days must have had some way to change the
media type of their ethernet cards?

Thanks in advance for any suggestions.  (And thanks to John-Paul
Stewart, Hactar, and Michael Meissner for earlier advice on getting
the external hardware connections lined up this far.)

dan

2. Squid +Linux +Transparent Proxy

3. Slow Cable Modem\Setting NIC media type

4. samba denies access to winME

5. Unable to set media type and duplex with 3c59x.o driver and a 3c595 card

6. ADSL - one computer only

7. how to set the duplex and media type for my network card

8. Unix HEX editor

9. Setting Network media type?

10. Q: Linksys LNE10/100TX NIC with 82c169 problems: Wrong media type?

11. Lilo boot problem: doesn't boot dos (invalid media type)

12. CDRW/cdrecord media/type determination problem...

13. weird CD problem: "Wrong medium type"