From bb@suse.com Mon Mar 23 23:36:36 1998
From: bb@suse.com
To: users@lists.opensuse.org
Subject: Re: [S.u.S.E. Linux] SIOCADDRT and SIOCSIFADDR errors
Date: Tue, 24 Mar 1998 00:36:36 +0100
Message-ID: <6f6rm4$e97$1@Galois.suse.de>
In-Reply-To: <[S.u.S.E. Linux] SIOCADDRT and SIOCSIFADDR errors>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2373718722006298538=="
--===============2373718722006298538==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Donn Washburn wrote:
>=20
> Hey Groups:
>=20
> I have a complete lack of understanding what is
> wrong with my "eth0" network on 2 machines.
>=20
> First I always set linuxrc up with a network card
> (ne =3D io=3D0x6100 irq=3D11) and it seems that SuSE finds
> that card during normal bootup. So I assume that
> it is loaded in the kernel. It shows up on the
> bootup messages just after mounting the hard drive
> partitions along with Donald Beckers address saying
> it was found.
>=20
> Problem is if I do a "ifconfig /dev/eth0
> 192.168.##.##" I get a error "SIOCSIFADDR: No such
> device"
> Checking my two machines for "l /dev/et*" - > "No
> such file or directory". It appears that SuSE
> didn't make the device drivers (ex. mknod /dev/eth#
> # #).
>=20
> As I recall from version 5.0 SuSE (Linuxrc and Yast)
> created the device driver. "find" is unable to
> locate it.
> It is in "/etc/conf.modules" as "alias eth0 ne"
> which is "options ne io=3D0x6100
> irq=3D11".
>=20
> I can add it using mknod but I am not sure of the
> major/minor number ( I also think of it as a block
> device)
>=20
> Any suggestions? How and/or where did I go wrong?
Hi,
for the network interfaces no pseudo files are needed in /dev.
Do a 'cat /proc/net/dev' to see which network devices are available:
Goldengate:/root # cat /proc/net/dev=20
Inter-| Receive | Transmit
face |packets errs drop fifo frame|packets errs drop fifo colls carrier
lo:8010044 0 0 0 0 8010044 0 0 0 0 0
cisco0: 0 0 0 0 0 0 0 0 0 0 0
cisco1:25116439 0 6088 0 0 29572731 0 0 0 0 0
cisco1:1:25078475 0 0 0 0 29541906 0 0 0 0 0
cisco1:2: 8177 0 0 0 0 0 0 0 0 0 0
cisco1:3: 15 0 0 0 0 0 0 0 0 0 0
cisco1:4: 83 0 0 0 0 0 0 0 0 0 0
eth0:1367773 0 0 0 0 1491726 0 0 0 12217 1
eth0:1: 0 0 0 0 0 0 0 0 0 0 0
You see I have 3 physical devices (cisco0, cisco1 and eth0), one loopback (lo=
) and=20
several virtual devices on top of cisco1 and eth0.
Don't use ifconfig with '/dev/eth*', use i.e. 'ifconfig eth0' to see
or set the device parameters.
Ciao,
BB
--=20
Bodo Bauer S.u.S.E., LLC fon +1-510-835 7873=20
bb(a)suse.de 458 Santa Clara Avenue fax +1-510-835 7875
http://www=
.suse.com> Oakland CA, 94610 USA
--
To get out of this list, please send email to majordomo(a)suse.com with
this text in its body: unsubscribe suse-linux-e
--===============2373718722006298538==--