Killed my internet connection on kali [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-3
down vote

favorite













This question already has an answer here:



  • Why is Kali Linux so hard to set up? Why won't people help me?

    5 answers



I tried doing something from the internet and failed big time. Also i killed my internet connection. Every time i try to ping google, this is what i get enter image description here



i tried to change wlan0mon to wlan0 and ran some commands i saw on the internet



iwconfig gives me this enter image description here



ifconfig gives me thisenter image description here







share|improve this question













marked as duplicate by Rui F Ribeiro, Jeff Schaller, Timothy Martin, mattdm, G-Man Jun 15 at 4:28


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.










  • 4




    "doing something from the internet" - undo that?
    – EightBitTony
    Jun 14 at 11:48






  • 1




    I tried doing something from the internet and failed big time. Also i killed my internet connection. --- What did you try doing from the internet that failed big time? How did you kill the internet connection?
    – Timothy Martin
    Jun 14 at 18:39










  • i did try to switch wlan0mon to wlan0 ran some commands i saw on the internet
    – Pranav Devgun
    Jun 14 at 19:37











  • What commands I saw on the internet did you use EXACTLY? In order to understand what may have gone wrong, specific answers are needed, please.
    – Timothy Martin
    Jun 14 at 20:48














up vote
-3
down vote

favorite













This question already has an answer here:



  • Why is Kali Linux so hard to set up? Why won't people help me?

    5 answers



I tried doing something from the internet and failed big time. Also i killed my internet connection. Every time i try to ping google, this is what i get enter image description here



i tried to change wlan0mon to wlan0 and ran some commands i saw on the internet



iwconfig gives me this enter image description here



ifconfig gives me thisenter image description here







share|improve this question













marked as duplicate by Rui F Ribeiro, Jeff Schaller, Timothy Martin, mattdm, G-Man Jun 15 at 4:28


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.










  • 4




    "doing something from the internet" - undo that?
    – EightBitTony
    Jun 14 at 11:48






  • 1




    I tried doing something from the internet and failed big time. Also i killed my internet connection. --- What did you try doing from the internet that failed big time? How did you kill the internet connection?
    – Timothy Martin
    Jun 14 at 18:39










  • i did try to switch wlan0mon to wlan0 ran some commands i saw on the internet
    – Pranav Devgun
    Jun 14 at 19:37











  • What commands I saw on the internet did you use EXACTLY? In order to understand what may have gone wrong, specific answers are needed, please.
    – Timothy Martin
    Jun 14 at 20:48












up vote
-3
down vote

favorite









up vote
-3
down vote

favorite












This question already has an answer here:



  • Why is Kali Linux so hard to set up? Why won't people help me?

    5 answers



I tried doing something from the internet and failed big time. Also i killed my internet connection. Every time i try to ping google, this is what i get enter image description here



i tried to change wlan0mon to wlan0 and ran some commands i saw on the internet



iwconfig gives me this enter image description here



ifconfig gives me thisenter image description here







share|improve this question














This question already has an answer here:



  • Why is Kali Linux so hard to set up? Why won't people help me?

    5 answers



I tried doing something from the internet and failed big time. Also i killed my internet connection. Every time i try to ping google, this is what i get enter image description here



i tried to change wlan0mon to wlan0 and ran some commands i saw on the internet



iwconfig gives me this enter image description here



ifconfig gives me thisenter image description here





This question already has an answer here:



  • Why is Kali Linux so hard to set up? Why won't people help me?

    5 answers









share|improve this question












share|improve this question




share|improve this question








edited Jun 14 at 19:45
























asked Jun 14 at 11:13









Pranav Devgun

11




11




marked as duplicate by Rui F Ribeiro, Jeff Schaller, Timothy Martin, mattdm, G-Man Jun 15 at 4:28


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by Rui F Ribeiro, Jeff Schaller, Timothy Martin, mattdm, G-Man Jun 15 at 4:28


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









  • 4




    "doing something from the internet" - undo that?
    – EightBitTony
    Jun 14 at 11:48






  • 1




    I tried doing something from the internet and failed big time. Also i killed my internet connection. --- What did you try doing from the internet that failed big time? How did you kill the internet connection?
    – Timothy Martin
    Jun 14 at 18:39










  • i did try to switch wlan0mon to wlan0 ran some commands i saw on the internet
    – Pranav Devgun
    Jun 14 at 19:37











  • What commands I saw on the internet did you use EXACTLY? In order to understand what may have gone wrong, specific answers are needed, please.
    – Timothy Martin
    Jun 14 at 20:48












  • 4




    "doing something from the internet" - undo that?
    – EightBitTony
    Jun 14 at 11:48






  • 1




    I tried doing something from the internet and failed big time. Also i killed my internet connection. --- What did you try doing from the internet that failed big time? How did you kill the internet connection?
    – Timothy Martin
    Jun 14 at 18:39










  • i did try to switch wlan0mon to wlan0 ran some commands i saw on the internet
    – Pranav Devgun
    Jun 14 at 19:37











  • What commands I saw on the internet did you use EXACTLY? In order to understand what may have gone wrong, specific answers are needed, please.
    – Timothy Martin
    Jun 14 at 20:48







4




4




"doing something from the internet" - undo that?
– EightBitTony
Jun 14 at 11:48




"doing something from the internet" - undo that?
– EightBitTony
Jun 14 at 11:48




1




1




I tried doing something from the internet and failed big time. Also i killed my internet connection. --- What did you try doing from the internet that failed big time? How did you kill the internet connection?
– Timothy Martin
Jun 14 at 18:39




I tried doing something from the internet and failed big time. Also i killed my internet connection. --- What did you try doing from the internet that failed big time? How did you kill the internet connection?
– Timothy Martin
Jun 14 at 18:39












i did try to switch wlan0mon to wlan0 ran some commands i saw on the internet
– Pranav Devgun
Jun 14 at 19:37





i did try to switch wlan0mon to wlan0 ran some commands i saw on the internet
– Pranav Devgun
Jun 14 at 19:37













What commands I saw on the internet did you use EXACTLY? In order to understand what may have gone wrong, specific answers are needed, please.
– Timothy Martin
Jun 14 at 20:48




What commands I saw on the internet did you use EXACTLY? In order to understand what may have gone wrong, specific answers are needed, please.
– Timothy Martin
Jun 14 at 20:48










2 Answers
2






active

oldest

votes

















up vote
2
down vote













If ping reports name or service not known I would guess that you have a problem with your dns service. Have you tried to ping an ip instead of "google.com"? You can find out the coresponding ip to an website by tools like



http://www.hcidata.info/host2ip.cgi






share|improve this answer





















  • that works but my firefox still does not work
    – Pranav Devgun
    Jun 14 at 19:35










  • So this strongly suggests that your DNS is not answering. The DNS configuration is stored at "/etc/resolv.conf" you could execute “nameserver 8.8.8.8” >> /etc/resolv.conf which will append the current configuration with the google public DNS. (You could choose any DNS server but I would recommend this for testing purposes). To further diagnoe what went wrong before executing the command.
    – Beny Benz
    Jun 14 at 21:06

















up vote
0
down vote













Check the output of ip link. See if the interface is down. If so, you can run ip link set INTERFACE up and try again. Try using nmtui and see what it says when you try to activate a network with it. If no networks show up, then that means the interface is down. If it errors there is another problem.



According to your picture, you are on a network, so hopefully these aren’t the problem. Try connecting elsewhere in case it is not the computer, or try something other than ping and see what happens.






share|improve this answer























  • root@kali:~# ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether fa:d9:b5:88:e8:43 brd ff:ff:ff:ff:ff:ff 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 link/ether 50:2b:73:dc:90:dd brd ff:ff:ff:ff:ff:ff this is what i get after ip link
    – Pranav Devgun
    Jun 14 at 19:40










  • Is this a computer where you are able to try other Wifi networks, eg not a desktop? It sounds like it’s connecting just fine. What was the thing that messed it up in the first place? That’s critical
    – Sir Platypus
    Jun 14 at 21:31

















2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote













If ping reports name or service not known I would guess that you have a problem with your dns service. Have you tried to ping an ip instead of "google.com"? You can find out the coresponding ip to an website by tools like



http://www.hcidata.info/host2ip.cgi






share|improve this answer





















  • that works but my firefox still does not work
    – Pranav Devgun
    Jun 14 at 19:35










  • So this strongly suggests that your DNS is not answering. The DNS configuration is stored at "/etc/resolv.conf" you could execute “nameserver 8.8.8.8” >> /etc/resolv.conf which will append the current configuration with the google public DNS. (You could choose any DNS server but I would recommend this for testing purposes). To further diagnoe what went wrong before executing the command.
    – Beny Benz
    Jun 14 at 21:06














up vote
2
down vote













If ping reports name or service not known I would guess that you have a problem with your dns service. Have you tried to ping an ip instead of "google.com"? You can find out the coresponding ip to an website by tools like



http://www.hcidata.info/host2ip.cgi






share|improve this answer





















  • that works but my firefox still does not work
    – Pranav Devgun
    Jun 14 at 19:35










  • So this strongly suggests that your DNS is not answering. The DNS configuration is stored at "/etc/resolv.conf" you could execute “nameserver 8.8.8.8” >> /etc/resolv.conf which will append the current configuration with the google public DNS. (You could choose any DNS server but I would recommend this for testing purposes). To further diagnoe what went wrong before executing the command.
    – Beny Benz
    Jun 14 at 21:06












up vote
2
down vote










up vote
2
down vote









If ping reports name or service not known I would guess that you have a problem with your dns service. Have you tried to ping an ip instead of "google.com"? You can find out the coresponding ip to an website by tools like



http://www.hcidata.info/host2ip.cgi






share|improve this answer













If ping reports name or service not known I would guess that you have a problem with your dns service. Have you tried to ping an ip instead of "google.com"? You can find out the coresponding ip to an website by tools like



http://www.hcidata.info/host2ip.cgi







share|improve this answer













share|improve this answer



share|improve this answer











answered Jun 14 at 13:50









Beny Benz

213




213











  • that works but my firefox still does not work
    – Pranav Devgun
    Jun 14 at 19:35










  • So this strongly suggests that your DNS is not answering. The DNS configuration is stored at "/etc/resolv.conf" you could execute “nameserver 8.8.8.8” >> /etc/resolv.conf which will append the current configuration with the google public DNS. (You could choose any DNS server but I would recommend this for testing purposes). To further diagnoe what went wrong before executing the command.
    – Beny Benz
    Jun 14 at 21:06
















  • that works but my firefox still does not work
    – Pranav Devgun
    Jun 14 at 19:35










  • So this strongly suggests that your DNS is not answering. The DNS configuration is stored at "/etc/resolv.conf" you could execute “nameserver 8.8.8.8” >> /etc/resolv.conf which will append the current configuration with the google public DNS. (You could choose any DNS server but I would recommend this for testing purposes). To further diagnoe what went wrong before executing the command.
    – Beny Benz
    Jun 14 at 21:06















that works but my firefox still does not work
– Pranav Devgun
Jun 14 at 19:35




that works but my firefox still does not work
– Pranav Devgun
Jun 14 at 19:35












So this strongly suggests that your DNS is not answering. The DNS configuration is stored at "/etc/resolv.conf" you could execute “nameserver 8.8.8.8” >> /etc/resolv.conf which will append the current configuration with the google public DNS. (You could choose any DNS server but I would recommend this for testing purposes). To further diagnoe what went wrong before executing the command.
– Beny Benz
Jun 14 at 21:06




So this strongly suggests that your DNS is not answering. The DNS configuration is stored at "/etc/resolv.conf" you could execute “nameserver 8.8.8.8” >> /etc/resolv.conf which will append the current configuration with the google public DNS. (You could choose any DNS server but I would recommend this for testing purposes). To further diagnoe what went wrong before executing the command.
– Beny Benz
Jun 14 at 21:06












up vote
0
down vote













Check the output of ip link. See if the interface is down. If so, you can run ip link set INTERFACE up and try again. Try using nmtui and see what it says when you try to activate a network with it. If no networks show up, then that means the interface is down. If it errors there is another problem.



According to your picture, you are on a network, so hopefully these aren’t the problem. Try connecting elsewhere in case it is not the computer, or try something other than ping and see what happens.






share|improve this answer























  • root@kali:~# ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether fa:d9:b5:88:e8:43 brd ff:ff:ff:ff:ff:ff 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 link/ether 50:2b:73:dc:90:dd brd ff:ff:ff:ff:ff:ff this is what i get after ip link
    – Pranav Devgun
    Jun 14 at 19:40










  • Is this a computer where you are able to try other Wifi networks, eg not a desktop? It sounds like it’s connecting just fine. What was the thing that messed it up in the first place? That’s critical
    – Sir Platypus
    Jun 14 at 21:31














up vote
0
down vote













Check the output of ip link. See if the interface is down. If so, you can run ip link set INTERFACE up and try again. Try using nmtui and see what it says when you try to activate a network with it. If no networks show up, then that means the interface is down. If it errors there is another problem.



According to your picture, you are on a network, so hopefully these aren’t the problem. Try connecting elsewhere in case it is not the computer, or try something other than ping and see what happens.






share|improve this answer























  • root@kali:~# ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether fa:d9:b5:88:e8:43 brd ff:ff:ff:ff:ff:ff 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 link/ether 50:2b:73:dc:90:dd brd ff:ff:ff:ff:ff:ff this is what i get after ip link
    – Pranav Devgun
    Jun 14 at 19:40










  • Is this a computer where you are able to try other Wifi networks, eg not a desktop? It sounds like it’s connecting just fine. What was the thing that messed it up in the first place? That’s critical
    – Sir Platypus
    Jun 14 at 21:31












up vote
0
down vote










up vote
0
down vote









Check the output of ip link. See if the interface is down. If so, you can run ip link set INTERFACE up and try again. Try using nmtui and see what it says when you try to activate a network with it. If no networks show up, then that means the interface is down. If it errors there is another problem.



According to your picture, you are on a network, so hopefully these aren’t the problem. Try connecting elsewhere in case it is not the computer, or try something other than ping and see what happens.






share|improve this answer















Check the output of ip link. See if the interface is down. If so, you can run ip link set INTERFACE up and try again. Try using nmtui and see what it says when you try to activate a network with it. If no networks show up, then that means the interface is down. If it errors there is another problem.



According to your picture, you are on a network, so hopefully these aren’t the problem. Try connecting elsewhere in case it is not the computer, or try something other than ping and see what happens.







share|improve this answer















share|improve this answer



share|improve this answer








edited Jun 14 at 18:33


























answered Jun 14 at 16:31









Sir Platypus

433




433











  • root@kali:~# ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether fa:d9:b5:88:e8:43 brd ff:ff:ff:ff:ff:ff 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 link/ether 50:2b:73:dc:90:dd brd ff:ff:ff:ff:ff:ff this is what i get after ip link
    – Pranav Devgun
    Jun 14 at 19:40










  • Is this a computer where you are able to try other Wifi networks, eg not a desktop? It sounds like it’s connecting just fine. What was the thing that messed it up in the first place? That’s critical
    – Sir Platypus
    Jun 14 at 21:31
















  • root@kali:~# ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether fa:d9:b5:88:e8:43 brd ff:ff:ff:ff:ff:ff 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 link/ether 50:2b:73:dc:90:dd brd ff:ff:ff:ff:ff:ff this is what i get after ip link
    – Pranav Devgun
    Jun 14 at 19:40










  • Is this a computer where you are able to try other Wifi networks, eg not a desktop? It sounds like it’s connecting just fine. What was the thing that messed it up in the first place? That’s critical
    – Sir Platypus
    Jun 14 at 21:31















root@kali:~# ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether fa:d9:b5:88:e8:43 brd ff:ff:ff:ff:ff:ff 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 link/ether 50:2b:73:dc:90:dd brd ff:ff:ff:ff:ff:ff this is what i get after ip link
– Pranav Devgun
Jun 14 at 19:40




root@kali:~# ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether fa:d9:b5:88:e8:43 brd ff:ff:ff:ff:ff:ff 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 link/ether 50:2b:73:dc:90:dd brd ff:ff:ff:ff:ff:ff this is what i get after ip link
– Pranav Devgun
Jun 14 at 19:40












Is this a computer where you are able to try other Wifi networks, eg not a desktop? It sounds like it’s connecting just fine. What was the thing that messed it up in the first place? That’s critical
– Sir Platypus
Jun 14 at 21:31




Is this a computer where you are able to try other Wifi networks, eg not a desktop? It sounds like it’s connecting just fine. What was the thing that messed it up in the first place? That’s critical
– Sir Platypus
Jun 14 at 21:31


Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay