problem detecting ethernet card

Kurt Granroth plug-discuss at granroth.org
Sun Oct 9 14:03:18 MST 2005


On Oct 8, 2005, at 10:49 PM, Siri Amrit Kaur wrote:
> On Saturday 08 October 2005 10:41 pm Jay kindly wrote:
>> On Sat, 8 Oct 2005, Siri Amrit Kaur wrote:
>>> In Vector, based on Slackware, I was able to put "modprobe
>>> eepro100" into /etc/rc.d/rc.modules and the settings held after a
>>> reboot. What would be an equivalent file or command to use in
>>> Debian?
>>
>> # echo "eepro100" >> /etc/modules
>
> Do I put # echo "eepro100" into /etc/modules?
> Or is that something I do on the command line?
> Does the # comment-out something?

For the record, there are a few generally used conventions for things
like this.  If, for instance, you see something like:

# /etc/init.d/server start

This is something that you run at a prompt.  The '#' means that you
must be running this as root.  Everything that follows is what you
need to type.

I admit that this can be a mite confusing for newbies since the '#'
character is also the delimiter for comment lines in many config
files.  Over time, though, you'll recognize things like 'echo' and
'>>' being shell constructs and since '/etc/modules' is a file, it
pretty much HAS to be a command prompt.

There is a variation of the above that you'll often see:

$ touch this-file

This is also something that you run at a prompt.  In this case,
though, the '$' tells you that you should be running it as a normal
user and not as root.

Kurt


More information about the PLUG-discuss mailing list