I'm trying to get my Linksys USB100TX ethernet adapter to work so I can download apt-get packages from the debian server but I can't seem to the ethernet adapter to connect to the internet.
When I plug the USB eth in debian automatically detects it.
ohci_hcd 0000:00:02.0: wakeup
usb 1-2: new full speed USB device using address 5
eth2: Linksys USB100TX
So, to connect to my router I proceed to type:
ifconfig eth2 192.168.1.102 netmask 255.2255.255.0 up
(Although I would rather have the eth adapter get its own ip address, etc. through the router's DHCP, but I don't know how to make the adapter do that yet)
I then proceed to input:
/sbin/route add defulat gw 192.168.1.1
for the default gateway.
To check the adapter can connect to the router I type:
and it shows the adapter is pinging correctly.
But when I try to ping a website:
I get unknown host.
I feel like I'm missing some steps, can someone help me fill the gaps please? Thank you very much.