Questions tagged as ['ip']
Set up pi with a static IP (10.0.0.180/24) following https://ubuntu.com/tutorials/how-to-install-ubuntu-on-your-raspberry-pi Raspberrypi4 -4 with 8g
At boot it displays
eth0 IP 10.0.0.180
eth0 IP 10.0.0.55
10.0.0.55 seems to be from my router dhcp. Gateway & Nameserver are as I setup in network-config file. In the tutorial, it suggest I have to replace "dhcp4 : true" Do I have to set dhcp4 : ...
I have 2 network adapters in my computer, I want to redirect all (internet) web traffic to only one network, how can I do this?
I would like to ensure that all web requests go through a specific network.
Failed to run '"/opt/ros/melodic/_setup_util.py" ': return code 132
Failed to run '"/home/aoc/catkin_ws/devel/_setup_util.py" ': return code 132
Failed to run '"/home/aoc/lidar_ws/devel/_setup_util.py" ': return code 132
When I open the terminal those lines show.
Then I use sudo apt update command
, I saw these errors;
Err:2 http://packages.ros.org/ros/ubuntu bionic/main amd64 ros-melodic-joint-qualific ...
I have a brand new machine and get this error after every reboot.
$ ping google.com
ping: google.com: Temporary failure in name resolution
$ cat /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 127.0.0.53
search fios-router.home
I fixed it this morning by doing this.
ifconfig // get all devices
ip addr flush dev enp53s0
ip addr flush dev ipv6leakintrf0
ip addr flush dev lo
ip a ...

If you run something like ss -tunlp
(or netstat -tunlp
) you get a list of listening ports.
The standard format should be <host>:<port>
, eg. 127.0.0.3:5000
.
But you also see 0.0.0.0:<port>
and [::]:<port>
. What do these 2 mean?
In particular, if you see [::]:22
or 0.0.0.0:22
or *:22
, does that mean anyone can ssh into that machine?
I want to run a service on a custom port (e.g. jenkins on 8080) and I prefer to access it via browser with a name I can remember, e.g. http://localhost:jenkins
which will be an alias for http://localhost:8080
- Is such a thing possible?
- If so, will it be only an HTTP thing, or all network protocols will know of this alias?
- Also, if (1) is true, is this feature supported on other OS (centos, windows ...
For some reason my internet won’t connect and kubuntu is giving me the error:
ip configuration not available
I don’t know how to solve the problem and if anyone does please help.
I'm running a Linux router box that I'm playing around with. It's just a standard PC. Do any of you know HOW to achieve "IP Source Guard" functionality in Ubuntu ? I'm thinking something like described here: https://www.juniper.net/documentation/us/en/software/junos/security-services/topics/concept/port-security-ip-source-guard.html
I think it should be possible without reinventing the wheel, but I can' ...

We have an embbeded Linux device product which supports the built-in network switch. The device has 2 ethernet ports. By using "daisy chain", 2 or more devices can be chained together. The Device2 is able to have networking as it's connected to Device1 which is connected to the router1.
\ /
+---------+ +---------+
| Router1 |--------| Device1 |
+---------+ +--| | ...

Is it possible to disable IPv4 on a per-process basis?
I would like that a specific process only uses IPv6 for resolving DNS and then for making TCP connections, but without disabling IPv4 for the whole machine or for any of the network interfaces.
I am a fairly new user working through the set-up of a dual boot on my PC. The Windows OS is able to reach all websites, and I am using the same connection. (Ethernet into a wireless adapter). The pings tested all reach a Server Not Found page in browser.
Output of reddit ping
ping www.reddit.com
ping: connect : Network is unreachable
Output of google ping
PING google.com(yyz12s06-in-x0e.1e100.net ( ...
I have not used ubuntu much, only when I have to deploy a web. Right now I am trying to deploy a python django web, but I have an issue with ip address.
So, I tried python manage.py runserver
at first, and it gave timed-out errors. Server address, which I was told by my supervisor and which I can only access via putty, is xxx.yy.zzz.aaa. When I tried to deploy my python django web specifically to this a ...
I have a bunch of Docker containers running on my Ubuntu server. Each one is accessible within the local area network via IP address and port.
Is there any way to setup a local DNS server for each one so I don't have to keep entering in the IP and port? For example http://container1
will take me to http://10.1.1.2:7000
?
Or can this only be done via the router?
Skip this paragraph if you don't want to hear about me. I am not a network engineer, I am not a software engineer. I am a video editor. I maintain a small network of storage servers, and have for quite a while. I have picked up a good bit of networking along the way, and have friends who work in the field (and yes I've asked them about this). I also have never posted to a forum like this before, so ...
I need to have access to all IPs of an /26 block assigned to my Ubuntu 20.4 server.
Already tried setting the block with netplan
, but I only have access to the first IP in it.
I've tried with ip
too, but I need to setup each address manually with the command ip addr add <ip> dev <interface>
and this is not reliable, imagine setting up an bigger IP block.
What is the proper way of sett ...
I am new in ubuntu.
When installing Ubuntu, I set the network settings manually and manually set up the IP and DNS server in installation wizard , but now I after installation complete can not change the settings (especially DNS) in installed ubuntu. In other words, I do not know where these settings are stored. I tried different solutions but none of them worked. Can you guide me? Thanks
OS : ubuntu ...
I've followed official Canonical Community tutorial about setup basic Lamp Web Server stack to host WordPress sites (For local development). I tweaked it so it could work well with files permissions. It works fine on local machine, but I also need to test my websites on mobile devices too...
I don't have domain yet, I'm using IP Address instead (For testing purposes). How can I configure Apache Web ...
We are checking if there is static public IP which is not changed frequently for the ubuntu automatic updates in Azure VM to configure the same in allowed outbound traffic in NSG.
I would like to setup my PXE server to attribute a correct IP-address, only for clients requesting network boot.
Therefor I've configured my network adapter with 2 IP addresses on a different range. 192.168.1.19 is the general network that broadcast on /24
For the PXE server boot I'm trying to use another set of IP's to separate it from the rest of the network configuration. The server has therefor ...
I'm new to ubuntu .. i tried to connect pc remotely using ssh and checked firewall to allow port 22
work .. i used this command to cnnect
ssh user@111.111.111.111
but got
ssh: connect to host 111.111.111.111 port 22: Connection timed out
i could connect the server with ip local but public ip address not
i checked ping 111.111.111.111
in the client
and got
PING 111.111.111.111 (111.111.111.111) 5 ...

New to Ubuntu, I logged into my institution's remote server having generated a private/public key pair. I was set up with a username after sending the administrator the public key. I should have been able to log in by using ssh myusername@servername
but I can only log in if I replace the servername with the IP address, ssh myusername@xxx.xx.x.xx
Now, wanting to upload a file I tried:
scp ~/myfile.rds myus ...
Is there some file in the Linux-Ubuntu filesystem that contains the internal IP of the machine running it? Ideally, is the output provided by the following command
hostname -I
saved somewhere in the filesystem?
(thanks to How do I find my internal ip address?)
I have a weird problem
I have two networks (Site A) and (Site B) connected via a cisco router
Site A has pcs like A1, A2, A3 Site B has pcs like B1, B2 (Windows Server) , B3 (Ubuntu 18.04.5)
All pcs can ping to each other and all is fine.
If I change the ip of B2 to be anything else in the subnet all pcs can ping to each other and all is fine.
If however I change the ip of B3 to be anything else, a ...
I'm using OpenVPN and it only works when my network interface MTU is 1200, I can change MTU to 1200 with this command with no problem:
ip link set dev eno1 mtu 1400
But as you know it's temporary, when I go to settings/network and change MTU, it will take effect and it is permanent but if I set it to any value below 1280 it will not take effect and when running this command, I see it's not going below ...
First of all hello y'all.
I've been working on a docker server for my company with several containers. One of them is an apache container with proxy enabled in order to proxy reverse the adress of the other containers removing the port. For example myip:3000
would be grana.my.domain.
the redirection is working properly on the dns server.
When i was setting up the server, i had an specific ip in order to ...
I'm using Ubuntu Server 20.04 LTS baremetal, with the latest version of vsftpd
. I have a very small FTP server at home, but I'm facing the following issue:
If I set the local IP on pasv_address
(pasv_address=192.168.0.15
), I can connect locally, but not externally. If I set my external IP on pasv_address
, I can't connect locally.
Is there any way to be able to use the FTP server, both LAN and WAN? ...

I would like to give a user the rights to be able to create a virtual can bus without having to be sudo. The command I want to execute is ip link add dev vcan0 type vcan
For this I have used sudo visudo
and then added the line "user" ALL=(ALL) /usr/bin/ip link add dev vcan0 type vcan
, where "user"
is the user I want to give access.
However this does not seem to work. The user still needs to use su ...