[wplug] basic ethernet help

Alexandros Papadopoulos apapadop at alumni.carnegiemellon.edu
Tue Sep 21 13:10:41 EDT 2004


On Tuesday 21 September 2004 19:22, Mark Haney wrote:
<snip>
> I think the PC card (Linksys EtherFast Integrated CardBus PC Card) is
> being recognized and the correct driver loaded. If I do an lsmod
> command I can see the tulip driver, and if I do an ifconfig -a
> command I see the eth0 interface.

Excellent - this means that the network card is recognized and ready to 
use.

> How do I set up the networking? Is there somewhere I can look under
> Windows to get the correct settings? I think Windows is using DHCP,
> because when I go to Control Panel -> Network and look at the TCP/IP
> settings of my ethernet card there are no IP addresses specified
> anywhere that I can see, and there is a box checked that says "Use
> DHCP for WINS Resolution". Do I need to install some sort of DHCP or
> ethernet package on Debian for things to work correctly?

# apt-get update && apt-get install dhcpcd

Once it's installed, it prints the following information:

Setting up dhcpcd (1.3.22pl4-17) ...

To start dhcpcd at boot time you must add lines like

auto eth1
iface eth1 inet dhcp

to /etc/network/interfaces.

So this is exactly what you must do. As root, edit the 
file /etc/network/interfaces. It should look similar to this:

########/etc/network/interfaces#########
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp
########/etc/network/interfaces#########

On next boot, the machine should broadcast for a DHCP address and get 
one automagically. Post again with details if it doesn't.

> Sorry for my cluelessness! This is my first experience with ethernet.

Hey, we've all been there! :-)
For more information on what the stuff you just put in that 
configuration file means:
$ man interfaces

Hope this helps

-A


More information about the wplug mailing list