Questions tagged [internet]

Global system of interconnected computer networks that use the Internet protocol suite (TCP/IP) and various routing protocols (such as BGP and others).

419 questions
45
votes
5 answers

Create wireless access point and share internet connection with nmcli

How can I create a Wi-Fi hotspot with the command line tool nmcli and share/bridge the ethernet internet connection with the wireless access point? Furthermore, how can I start this automatically at boot? Is this possible with nmcli?
BuZZ-dEE
  • 2,033
  • 2
  • 18
  • 21
35
votes
3 answers

Blocking Websites with /etc/hosts

There's a website, www.example.com, that I tried to block myself from accessing because it wastes too much of my time. So I configured my /etc/hosts file. I added the following lines, to block the website on both IPv4 and IPv6: 127.0.0.1…
Newb
  • 1,062
  • 2
  • 12
  • 19
33
votes
9 answers

Shell Scripting: Proper way to check for internet connectivity?

I found scripts that say they check for internet connectivity. Some check the IP address if the interface is up BUT it does not check for internet connectivity. I found some that uses ping like this: if [ 'ping google.com -c 4 | grep time' != "" ];…
Aloha
  • 2,021
  • 1
  • 14
  • 22
28
votes
3 answers

Serve Internet to remote machine via SSH session?

The machine via which I'm SSHing to the remote/host machine (same network/LAN) has access to the Internet but the host doesn't. Running updates and installing packages on the host gets quite inconvenient because then I have to start a proxy locally…
Bleeding Fingers
  • 971
  • 3
  • 12
  • 23
23
votes
6 answers

Why can't I ping Google?

I can't ping google.com (unknown host). But I can ping IP addresses. I tried to ping the IP address of Google but it doesn't work. resolv.conf nameserver 8.8.8.8 nameserver 209.139.209.33 ifconfig -a eth0 Link encap:Ethernet HWaddr…
az93
  • 857
  • 4
  • 9
  • 9
22
votes
5 answers

ping displays "Name or service not known"

I am running Arch Linux on a Raspberry Pi. Suddenly: I am unable to ping to a website. I am unable to access a website from the browser. I have two more computers (all running Arch Linux) connected to the Internet, where I can ping and use the…
15 Volts
  • 1,969
  • 2
  • 19
  • 34
21
votes
3 answers

Can't access select https sites on Linux over PPPoE

My internet connection used to be a direct LAN connection to my provider. Back then, everything would load fine on both Windows and Ubuntu (dual boot). However, a while ago they started needing me to dial (PPPoE) using a username and password.…
Mussnoon
  • 353
  • 1
  • 2
  • 11
15
votes
2 answers

Hotspot and Internet access together — why not?

If I try to set up a hotspot in GNOME, I get the following message: If you have a connection to the Internet other than wireless, you can use it to share your internet connection with others. Switching on the wireless hotspot will disconnect you…
user16538
  • 1,723
  • 3
  • 12
  • 9
15
votes
4 answers

Get my country by IP in bash

I want to use the name of the country where I am now in a bash script. I can get the external IP using next command: curl ifconfig.me But how can I get my country name?
Radu Rădeanu
  • 1,763
  • 2
  • 22
  • 46
13
votes
1 answer

anonymous url navigation in command line?

Is there any way to anonymize http requests through the command line? In other words, is it possible to wget a page without the requester's IP showing up?
Dervin Thunk
  • 3,429
  • 4
  • 23
  • 21
13
votes
3 answers

No DNS resolution after upgrade from ubuntu 14.04 to 16.04

I upgraded ubuntu 14.04 to ubuntu 16.04 and I have a problem with the internet connection. Specifically, DNS after update stopped working. For debugging purposes I set the only DNS 8.8.8.8, but name resolution still doesn't work. The output of nmcli…
user3430764
  • 343
  • 1
  • 2
  • 9
13
votes
3 answers

How to restrict internet access for a particular user on the lan using iptables in Linux

Let's say there are two users on the LAN, A and B. How do I restrict user A from internet access using iptables rules and saving the rules so that after reboot, they are still effective. Suppose also that I want to grant that user access at some…
Marwan Tanager
  • 515
  • 2
  • 5
  • 9
11
votes
2 answers

Merging two internet connections from two network interfaces in order to obtain double speed

I have two network interfaces (one wired & one wireless). I have two internet accounts too (each 256 kBps; one from a modem that I use as wired connection & the other from a wireless network). Is it possible to connect to both networks and merge…
Ariyan
  • 2,056
  • 3
  • 27
  • 36
10
votes
2 answers

Linux program to look into what you're downloading

Is there a linux program that allows you to look into your current download traffic? Something that can list all the addresses I am currently connected to and downloading from.
Soyuz
  • 367
  • 1
  • 2
  • 9
10
votes
3 answers

Terminal commands equivalent to NetworkManager's "Use as Hotspot" option

I'm making a gui application which will control my laptop in order to make it act as a wifi hotspot. I may change distributions so I want to find a solution which will work generally for all distributions. I am currently doing this on Fedora…
Daniel
  • 659
  • 1
  • 9
  • 23
1
2 3
27 28