I have been working on this new freshly installed Debian machine for quite some time now trying to get the network going so I have internet. During the installation process for the network configuration I said I'll "configure it later" as it couldn't do it on its own. So here I am.
I have seen and tried this question + answer, but no luck
Let's get to it.
I am unable to ping anything and I can't do "apt-get" and it's frustrating as hell.
My /etc/network/interfaces
looks like this:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
My /etc/resolv.conf contains:
nameserver 192.168.1.1
I am extremely stuck and don't know the next course of action as I cannot find a way to figure this out. Any help is highly appreciated.
Thanks
EDIT
This is my ifconfig -a
when I'm plugged in using an ethernet cable.
eth0 Link encap:Ethernet HWaddr 2c:60:0c:82:76:d7
inet addr:192.168.1.73 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2e60:cff:fe82:76d7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5417 errors:0 dropped:0 overruns:0 frame:0
TX packets:1539 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7425280 (7.0 MiB) TX bytes:152728 (149.1 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:103 errors:0 dropped:0 overruns:0 frame:0
TX packets:103 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9013 (8.8 KiB) TX bytes:9013 (8.8 KiB)
ip link set eth0 up
and check the resultip link show dev eth0
.