Skip site navigation (1)Skip section navigation (2)
Date:      27 Sep 1997 15:15:48 +0800
From:      dwhite@gdi.uoregon.edu (Doug White)
To:        questions@freebsd.org
Subject:   Re: Help!
Message-ID:  <60ibr4$s8r$1@FreeBSD.csie.NCTU.edu.tw>

next in thread | raw e-mail | index | archive | help
On Thu, 25 Sep 1997, Andrew E. Stevens wrote:

>    While trying to set up a gateway today, my /dev/de0 device (ethernet
> card) somehow lost its device characteristics. 

Network interfaces don't have device special files, or in English, /dev/
directory entries, i.e. /dev/de0 doesn't really exist.  It looks like you
copied the /COPYRIGHT file to /dev/de0 as a test, and when you cat it back
out, surprise, you get the original file back :-) 

It doesn't make much sense to `cat' a file down an Ethernet, it has to be
chopped up into packets and you have to specify a port and destination and
all that stuff which makes Ethernet work.  

> The same thing happened to /dev/null a couple of months ago, but since
> things seemed to function normally, I ignored it. 

Perhaps you had some corruption in your /dev/ directory.  You can usually
fix errant devices by running /dev/MAKEDEV <device> as root.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?60ibr4$s8r$1>