Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
82 views

Debian Jessie server has no internet access

I have a server running Debian 8 Jessie that constantly loses it's internet access for seemingly no reason. The server has two wired connections, the internet access is on eth0 and the internal ...
3
votes
1answer
105 views

Using iptables to redirect all traffic to local webserver

Aloha, I'm trying to redirect all traffic on my wifi router to a local webserver using iptables. I'm not sure i have got the command right and also I want to exclude the router IP (172.16.0.1) from ...
2
votes
1answer
40 views

When is a port considered being used?

I am getting port in use cannot bind on process restarts. I am trying to find out when a port is considered being used? Is it only when in LISTEN mode? Can it also be if a connection is open to the ...
1
vote
1answer
33 views

Connection is not established again after disconnect-connect ethernet cable

I have a situation where I have two devices connected to each other via ethernet interface, problem comes when I disconnect cable and connect them again after some time (it starts to work normally ...
3
votes
1answer
57 views

Why can't my servers talk to each other over direct ethernet connection?

I have two servers running RHEL 7.2. Each have 2 NICs. One NIC talks to a switch, and other is a direct connection between the two servers. One of the servers will be an NFS server, and the second ...
0
votes
1answer
77 views

Does “ip_forward” need to be enabled for any iptables SNAT/DNAT (postrouting/prerouting) rules?

I remember I had to enable ip_forward kernel parameter in the past in order to run SNAT/DNAT rules in iptables successfully. Today I was reading this post: ...
2
votes
0answers
41 views

SSH/web servers in Linux containers improve security?

Scenario: A 'gateway' machine functioning as a router and firewall, connecting a small LAN to the internet. The machine also runs a webserver (hosting a simple website) and an SSH server, providing ...
0
votes
0answers
51 views

How do I install and configure NTP on CentOS 7 from source? (include/ntp_crypt.h errors)

I unpacked the .tar.gz file for the newest NTP. I installed the gcc compiler and libcap devel. I ran the ./configure command with various flags and options. I ran make check and found an error. The ...
0
votes
2answers
141 views

Systemd wait for network interface to be up before running service

I have a couple questions about systemd. I'm having issues consistently getting my script to run once the network interface is up. I have tried Requires and After as seen below but is inconsistent ...
0
votes
1answer
34 views

How do i create create a bridge for virtual machines

so the issue is that i am using hetzner for my server hosting and they suck at making any working tutorial. i have purchased a /29 subnet block. 136.243.229.24 / 29 - subnet 136.243.6.76 - main ...
0
votes
0answers
28 views

Same Wifi network and two devices connected: one works, the other only sporadically

I would be happy to receive a hint about the nature of my problem: When I connect my Laptop running Kubuntu Linux (4.2.0-19-generic #23~14.04.1-Ubuntu SMP) to a certain Wifi network, I get ping times ...
1
vote
2answers
42 views

Percentual dynamic bandwidth control

Does anyone know a tool that can percentually divide the currently available bandwidth? We're on a GPRS connection on which the available bandwidth changes frequently. What I want to achieve is the ...
0
votes
1answer
103 views

CentOS 6.7: 'No address associated with name' as 'hostname --fqdn' output

please, before read this question, I would pray you to consider that I'm a Linux newbie and that I really need a help. I apologize in advance if the question will be trivial or stupid, I will search ...
0
votes
0answers
33 views

How do I get a manifest to run from my Puppet Master server to a Puppet Agent node?

I am trying to run a Puppet manifest for the first time on two new servers. But I keep getting errors. I recently set up two CentOS v7 servers. They have passwordless SSH between them. Ports 22, ...
2
votes
2answers
71 views

Block Internet access, but not network access for a user

Hi I would like to block one user on all of the linux machines (Debian Wheezy) from being able to surf the internet, chat and email. However they are using linux based Rip stations for large format ...
1
vote
2answers
97 views

host can't ssh guest, but guest can

This is a follow-up question from: Make virtualbox get a different IP address than my laptop. I ended up with these /etc/hosts files on both my laptop running Ubuntu 14.04 (the host) and my virtualbox ...
0
votes
1answer
113 views

Make virtualbox get a different IP address than my laptop

I am trying to setup a 2-node Hadoop cluster (following this guide), where the master is going to be my Ubuntu laptop and the slave a virtualbox running ubuntu. I also read about networking in ...
0
votes
0answers
44 views

Network not working after wake on lan

I just installed a fresh copy of CentOS 7 on my server at home, it worked great until I used etherwake to wake the server up. After doing so the network no longer works, I'm not sure if this is a ...
0
votes
0answers
110 views

How do I interpret iperf3 results?

I don't want to do anything crazy - just measure the download and upload speed for a client to a server. On the server I ran: iperf3 -s On the client I ran: iperf3 -c IP_ADDESS These are my ...
1
vote
0answers
49 views

CentOS 6 - Order of network interfaces when running “ip address show” command

I have installed CentOS 6.7 on new HP Gen9 server and decided to rename interfaces using udev so they are in order eth0-7 from left to right when looking at servers back (originally interfaces were in ...
1
vote
1answer
134 views

SSH/SCP Connection problem | Lost connection

We are unable to ssh or scp to a particular host, SSH Connection hangs for a while and then gets disconnected and we get this error "Lost connection" All the hosts are CentOS 6.7 Openssh version ...
0
votes
1answer
256 views

Ubuntu 15.10 Network Interfaces Name

I have just installed (fresh-installation) over VMware Workstation 10 an Ubuntu 15.10 64-bit virtual machine. Here, network interfaces names have been changed from 'ethX' to 'enXXXX'. My target is ...
2
votes
0answers
28 views

Removing Incorrect WINS record

So I have a Ubuntu 14.04 server that I'm trying to get to run as a Domain Controller for a set of Windows machines. I've set up a Bind9 DNS and it works fine, pinging the nameserver gives the correct ...
0
votes
2answers
57 views

How to find the domain name of a server?

I'm having trouble finding the domain name of my school's server, I read another question similar to this but their commands didn't work. I tried to use nslookup and then when I was prompted I ...
1
vote
1answer
36 views

Can I create a fake eth0 mapped to an existing interface?

I have a bit of software that is hard coded to open eth0. My system assigned the name enp0s25 to my ethernet connection. I could go through the code and replace all instances of eth0; I'm just hoping ...
0
votes
2answers
51 views

Disable the wireless network adapter in arch

I am running arch on a notebook, but I do not need the wireless connection. Nevertheless the adapter is continuously running, even if it is not necessary. Is it possible to disable it temporarily? And ...
0
votes
1answer
49 views

How do I apply a manifest from a Puppet Master server to a Puppet Agent node server?

I installed Puppet Agent on a CentOS 7 server. I installed Puppet Master on a different CentOS 7 server. I'm using the free version of Puppet on both servers. The Puppet Agent server requested a ...
0
votes
1answer
54 views

linux how to config route etc/network/interfaces?

how to config route in etc/network/interfaces ? i want add 3 route in eth0 and eth1 i have try to configure like this: auto lo iface lo inet loopback auto eth0 iface eth0 inet static ...
1
vote
1answer
70 views

Using wpa_supplicant to select an access point

I have two access points in my home, and I connect to either one of them depending on which one I need. One runs behind a Tor router, the other is my normal access point. Can I use wpa_supplicant to ...
1
vote
0answers
58 views

Why is my rsync slow?

I run a rsync job transferring about 45 million files/approximately 1.8 TB data (a Mac OS X Time Machine backup) over a 100 MBit connection. I use rsync 3.1.1 from MacPorts (I first tried the built ...
0
votes
0answers
55 views

set up UPnP/SMB on Ubuntu?

I have a Ubuntu 15.10 machine and I want to use my Desktop to stream videos from my laptop to my iPad in VLC, which is possible when my PC is booted into windows, I would like to do the same in ...
1
vote
1answer
32 views

How to return the nearest DNS IP based upon requesting client's IP?

To achieve a faster internet experience, one aspect that can be optimized is to ensure a client is making use of a nearby DNS, rather than something on the opposite side of the world that might ...
0
votes
0answers
51 views

Centos 7 persistent static routes for any interface

I am trying to set up some static routes in a CentOS 7 box. The official RHEL says it is possible to add files in /etc/sysconfig/network-scripts/route-interface. This approach works, however I need ...
0
votes
1answer
84 views

CentOS 6.7: network is unreachable after a new clean installation

I have a new clean installation of CentOS 6.7, it is not on a VM, but on a dedicated notebook. During the installation procedure I've configured my WiFi connection and have added it on eth0 ...
1
vote
0answers
13 views

Create Network Interface That Redirects All Traffic to Actual Interface

I would like to create a network interface on my Arch Linux host for a VM to use (probably QEMU) so I can use iptables to firewall all network traffic in/out of the VM. The interface should send all ...
0
votes
1answer
186 views

Gnome Boxes: proper network configuration?

I've got a problem with Gnome Boxes: I've 2 machines, cloned 1 from other, with CentOS. Both machines get same IP addr on Gnome Boxes, so when I boot 2nd, 1st gets disconnected from network, and ...
0
votes
1answer
39 views

Use NIC bonding with independent switches

I'm using Debian and would like to setup a HA network with a few servers. This is my configuration: -----sw1--------------sw2------------ host1 / / \ \ / srv1 ...
3
votes
0answers
34 views

Configuring a Linux Wi-Fi access point to redirect a one-word URL to http://192.168.42.1:8888

've created a Wi-Fi access point on a Linux box (thanks to hostapd). I'm trying to make it easy for clients to access the Freenet service that's running on said box. Ideally, the user would be able ...
0
votes
1answer
37 views

Old IPv6 address does not disappear using another router

My computer connects to a router via an ethernet cable. I have then an global address IPv6 for example : a::face/64. Here is my network configuration at the auto-configuration mode : auto eth0 iface ...
3
votes
1answer
242 views

How can I bridge two interfaces with ip/iproute2?

I know how to create a bridge using brctl, but I have been advised not to use this anymore, and to use iproute2 or ip instead(since brctl is deprecated presumably). Assuming this is good advice, how ...
0
votes
0answers
70 views

ntfsclone on network no space left on device

I've got a clientmachine where I'm using a livecd to boot and backup the whole hard drive (1,8 GB is full, it has only 1 partition: NTFS as its a windows PC) onto a remote server (windows server [with ...
4
votes
2answers
147 views

Why does ping run forever by default in Linux? [closed]

What was the rationale for the design decision to make ping's default behavior to ping forever? For example, the following basic usage will ping address 127.0.0.1 forever: $ ping 127.0.0.1 ...
1
vote
1answer
46 views

Linux server able to wget but not able to ping

A proxy server was added using export http://link:port/. I try to ping google.com and there is no response, the DNS is able to resolve an IP. wget of google.com works. routes: Destination ...
3
votes
1answer
48 views

Network Manager does not handle switching between networks by default

I have to transition between different networks quite often using a laptop and various docking stations. If I remove my laptop from a certain network and place it again on the same network then no ...
0
votes
2answers
49 views

Cannot add route

Followed an excellent thread on configuring network settings. Looks like I got the address right (10.10.150.10/24) as I can ping my local interface (10.10.150.10), and the upstream router's address ...
0
votes
0answers
198 views

Macbook Pro Retina 2015 Wifi problems on Kali

I have successfully installed Kali 2.0 on my Macbook Pro retina 2015 model running El Cap via dual boot. I do have some experience with ubuntu etc, and thought I'd try Kali for multiple reasons. ...
6
votes
3answers
140 views

Why doesn't Linux allow user-level network port permissions? [closed]

Every once in a while, I'll search for how to do user-level permissions for network port access in Linux and come up rather dry. For example, if you have a machine that runs a critical process that ...
3
votes
2answers
108 views

How many processes can listen on a specific port?

How many processes can listen on a specific port such as 80 ? and how the child processes of some application can use the same port to listen on ? Is there any difference between listening on a port ...
0
votes
0answers
40 views

How to access network?

I'm using internet in firefox and it works well. But I could not access network in software manager, synaptic package manager and in terminal. Can anyone help me? Just today I have installed ...
1
vote
0answers
30 views

How to advertise a service on a port

I want to run a service(a server typically) on a host and it should advertise to other machines in the network. Let's say I'm running a ReST service which provides the temperature based on location ...