Re: ethernet card (hamm)

1998-02-28 Thread Carey Evans
Jonas Bofjall <[EMAIL PROTECTED]> writes:

> Now I can't get networking to actually work. I can't ping anything except
> the loopback (127.0.0.1) and my own IP address. Does the latter mean that
> my network card works or does the packet never leave the machine?

It could be a configuration error.  The packet never leaves your
machine for your own address anyway.  Can you look at the back of the
card and see any lights flashing in time with the ping packets?  Does
the entry for the card in /proc/interrupts increase?  Can another
machine ping yours?  Does "tcpdump" show any network traffic?  Does
/proc/net/arp show any other addresses when you try to ping them?

> `route' displays:
> Destination  GatewayGenmask  Flags Metric Ref  Use Iface
> localnet *  255.255.0.0  U 0  02   eth0
> 127.0.0.0*  255.0.0.0U 0  01   lo
> default0.0.0.0  UG1  00   eth0
> Where `' is the correct IP of my gateway (I choose not to write 
> it down here of various reasons). It takes rather long time before the
> third entry shows up, not minutes perhaps but many seconds.

This could be because it's trying to look up the name in DNS.  How
about "netstat -rn"?

Is 255.255.0.0 the correct netmask for your network?  I don't think
there are many class B networks around.

> `ifconfig eth0' has the right IP, Bcast and Netmask -- but the wrong base
> IO address. It says 0x230 and the module when loaded says 0x220.

I think this is just what the SMC Ultra card does.  Have a look at
/proc/ioports.

> How do I proceed to locate the actual problem? (I mean: how do I find out
> if the hardware is malfunctioning, if the module doesn't work with my card
> or if there's a configuration problem?)

The module usually won't load if it's incompatible.

-- 
 Carey Evans  http://home.clear.net.nz/pages/c.evans/

  GNU GPL: "The Source will be with you... always."


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ethernet card (hamm)

1998-02-26 Thread Jean Pierre LeJacq
On Thu, 26 Feb 1998, Jonas Bofjall wrote:

> Now I can't get networking to actually work. I can't ping anything except
> the loopback (127.0.0.1) and my own IP address. Does the latter mean that
> my network card works or does the packet never leave the machine?
> 
> `ifconfig eth0' has the right IP, Bcast and Netmask -- but the wrong base
> IO address. It says 0x230 and the module when loaded says 0x220. However,
> when I try `ifconfig eth0 io_addr 0x220' it answers `SIOCSIFMAP: Operation
> not supported'.
> 
> How do I proceed to locate the actual problem? (I mean: how do I find out
> if the hardware is malfunctioning, if the module doesn't work with my card
> or if there's a configuration problem?)

If you have the original disk available for the ethernet card, they
usually have a ms-dos based configuration utility to test the card and
set ports and irqs.  Also take a look at the /usr/src/kernel-source
under your module for the ethernet card and there may be documentation
on options you can pass when loading the module.

-- 
Jean Pierre



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


ethernet card (hamm)

1998-02-26 Thread Jonas Bofjall
I have decided to install something unixish on an old 486/33 which just
sits in the lab, which has a crashed MSwin311 installation and no one uses
it. I don't have much info on hardware but I've figured out most of it. The
network card has `SMC' printed on it so I choose the first SMC driver (I
think its called `ultra') and it detects the network card at 0x220 IRQ 10.

I installed hamm and it went very smoothly to just after the base disks
unpacking, where the machine locked up. Or at least I think it locked up,
it just sat silently with no `dialog box' on screen and appearently did
nothing for ten minutes, so I rebooted. I think this was the `configuring
modules' phase of installation. I just skipped this step and went on with
the configuration and installation of LILO.

Now I can't get networking to actually work. I can't ping anything except
the loopback (127.0.0.1) and my own IP address. Does the latter mean that
my network card works or does the packet never leave the machine?

`route' displays:
Destination  GatewayGenmask  Flags Metric Ref  Use Iface
localnet *  255.255.0.0  U 0  02   eth0
127.0.0.0*  255.0.0.0U 0  01   lo
default0.0.0.0  UG1  00   eth0
Where `' is the correct IP of my gateway (I choose not to write 
it down here of various reasons). It takes rather long time before the
third entry shows up, not minutes perhaps but many seconds. What does the
flags, metric, ref and use columns mean? I've compared the values with
other working installations so I suppose they are correct.

`ifconfig eth0' has the right IP, Bcast and Netmask -- but the wrong base
IO address. It says 0x230 and the module when loaded says 0x220. However,
when I try `ifconfig eth0 io_addr 0x220' it answers `SIOCSIFMAP: Operation
not supported'.

How do I proceed to locate the actual problem? (I mean: how do I find out
if the hardware is malfunctioning, if the module doesn't work with my card
or if there's a configuration problem?)

  // Jonas <[EMAIL PROTECTED]> [2:201/262.37]



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .