USB Ethernet Adapter help
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. Quote:
Code:
ifconfig eth2 192.168.1.102 netmask 255.2255.255.0 up I then proceed to input: Code:
/sbin/route add defulat gw 192.168.1.1 To check the adapter can connect to the router I type: Code:
ping 192.168.1.1 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. |
Yep. You need to put the nameserver (DNS server) in /etc/resolv.conf.
For example, my /etc/resolv.conf contains: Code:
nameserver 192.168.0.1 |
Thank you for the quick reply.
Quote:
|
Then simply create one with only that as the contents.
|
Quote:
|
No problem. Glad we got you up and running. To use DHCP, simply install dhcpcd or dhclient. I prefer dhcpcd, but to each their own.
|
All times are GMT -5. The time now is 05:16 AM. |