[openbeosnetteam] Re: no such device

  • From: <info@xxxxxxxxxxxxxx>
  • To: <openbeosnetteam@xxxxxxxxxxxxx>
  • Date: Thu, 6 May 2004 14:19:07 -0500

Both of them are there.  Surely there is a way to troubleshoot this and
figure out what is going on.  Again, both of the cards that I have work
under BONE and NetServer, but neither one will take an IP under OpenBeOS.

$ ls -lR /dev/net/
/dev/net:
total 0
crw-r--r--   1 peder    users      0,   0 May  6 10:24 api
drw-r--r--   1 peder    users           0 May  6 10:24 ec9xx
drw-r--r--   1 peder    users           0 May  6 10:24 eepro100
crw-r--r--   1 peder    users      0,   0 May  6 10:24 server

/dev/net/ec9xx:
total 0
crw-r--r--   1 peder    users      0,   0 May  6 10:24 0

/dev/net/eepro100:
total 0
crw-r--r--   1 peder    users      0,   0 May  6 10:24 0


-------------------------

$ cd Desktop/OpenBeos/current/distro/x86.R1/beos/bin/

$ ls
arp  ifconfig  libnet.so  libnetapi.so  ping  pppconfig  route  traceroute

$ ./ifconfig /dev/net/eepro100/0 192.168.240.77 netmask 255.255.255.0
warning: SIOCGIFFLAGS: error -2147454965 [No such device]

$ ls -lR /dev/net/eepro100/
/dev/net/eepro100:
total 0
crw-r--r--   1 peder    users      0,   0 May  6 10:24 0
$




----- Original Message ----- 
From: "Bruno G. Albuquerque" <bga@xxxxxxxxxxxxx>
To: <openbeosnetteam@xxxxxxxxxxxxx>
Sent: Thursday, May 06, 2004 12:55 PM
Subject: [openbeosnetteam] Re: no such device


> Nope, biut keep in mind using just the interface name is *WRONG* for
> ethernet drivers. You *MUST* use the complete path. The "No Such Device"
> error means exactly that... The device does not exist. Check your /dev
> hierarchy to see what is bein published for the eepro100 network card ("ls
> -l /dev/net" should show you).
>
> -Bruno
>
> > Still the same message.  If I try it with the ec9xx card such as
> > "ifconfig /dev/net/ec9xx/0 192.168.1.10", I get a General OS Error.  IF
> > I try "ifconfig ec9xx 192.168.1.10" or "ifconfig ec9xx0 192.168.1.10", I
> > get No Such Device.  Anything I try with the eepro100 gives me "no such
> > device". Both cards are working and work fine in BONE and NetServer.
> > Both cards are disabled in BONE.  This is a brand new jam from two days
> > ago (jam
> > install-networking) from a clean system.
> >
> > Any other thoughts or ideas on how to troubleshoot this?
> >
> >
> > ----- Original Message -----
> > From: "Waldemar Kornewald" <Waldemar.Kornewald@xxxxxx>
> > To: <openbeosnetteam@xxxxxxxxxxxxx>
> > Sent: Wednesday, May 05, 2004 2:23 AM
> > Subject: [openbeosnetteam] Re: no such device
> >
> >
> >> ifconfig /dev/net/ec9xx/0 192.168.1.10 netmask 255.255.255.0
> >>
> >> Gives me a "General OS Error"
> >
> > Maybe you could try
> >
> > ifconfig ec9xx0 192.168.1.10 netmask 255.255.255.0
> >
> > or the same without an explicit netmask (this one is chosen
> > automatically, I think).
> >
> > Bye,
> > Waldemar
>
>
>
>
>


Other related posts: