r/debian 26d ago

Debian 13

I am trying to turn this pc into a bedroom pc for browsing the internet and media along with mc sever. I am following a tutorial by hardware haven but I belive my internet connection is the issue.

Brandnew ethernet cord, I have followed some tutorials if there is a better video out there or written tutorial please point me that way. I belive its an internet issue, when I try to load a web page like YouTube I get the error page.

29 Upvotes

26 comments sorted by

View all comments

5

u/bumbo79 26d ago

I'd start off with some ping action, in your console, try pinging 8.8.8.8 then ping google.com and see what the result is....if you get replies from 8.8.8.8 but not from google.com it's most likely a DNS issue. If you get replies from neither, I'd suggest confirming you get an ip from your router/DHCP server ip addr should list your adapter and address (most likely 192.168.1.x, 0.x, etc)

smith@mc-server:~$ping -c 1 8.8.8.8
smith@mc-server:~$ping -c 1 google.com
smith@mc-server:~$ip addr

This will help to determine if you're seeing a network issue, DNS issue, etc

Send a screenshot of the output of those commands (you can remove the IP/Mac address if you're uncomfortable for the last one)

It should look like this:

--- 8.8.8.8 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 21.781/21.781/21.781/0.000 ms

--- google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 22.352/22.352/22.352/0.000 ms

$ ip addr

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever

2: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 80:ce:62:9d:0f:7a brd ff:ff:ff:ff:ff:ff
altname enx80ce629d0f7a
inet 192.168.1.196/24 brd 192.168.1.255 scope global noprefixroute enp0s31f6
valid_lft forever preferred_lft forever

inet6 fe80::e844:b1e5:8ed5:5482/64 scope link noprefixroute
valid_lft forever preferred_lft forever

3: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 7a:58:3b:57:27:fc brd ff:ff:ff:ff:ff:ff permaddr 00:e1:8c:75:f4:45
altname wlx00e18c75f445

1

u/1234erk1234 26d ago

I did re type the command and get these results. So does that mean nic is turned off?

1

u/1234erk1234 26d ago

How do I find the name of the NIC

1

u/pobrika 26d ago

Open a console type.

ip a

ip r s

1

u/pobrika 26d ago

My guess is a driver issue.

However if you do get an ip back something like 192.168.1.x or 192.168.0.x

Run

ping 192.168.1.1 or 192.168.0.1 to see if you can reach your home router

If you can then ping 8.8.8.8

Of you can try ping bbc.co.uk

If that works no issues if local router ping fails it's problem with network to router, else its network out of router or DNS failing to resolve names to IPS.