Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
2answers
22 views

Collecting network information

I need to collect information about the network usage of each process. Nethogs presents the data I need in real time, I am trying to save the output to a file in order parse it and plot the data. ...
0
votes
1answer
24 views

Determine which network interface to use based on target IP

Say I have two network interfaces, eth1 and eth2, both of them connected to a different ISP. How can I instruct linux to use eth1 for all traffic to the IP 111.222.111.222 while eth2 is used for all ...
0
votes
0answers
9 views

YAST is trashed and wirless networking stopped

Running openSUSE 12.2 Mantis for some time with no problem until now.It will not load up wireless network and YAST appears trashed, with this error message anytime I try to fix it. "terminate called ...
1
vote
0answers
9 views

How do I specify an alternative bridge interface (not br0) when using qemu-bridge-helper

By following the instructions found at http://wiki.qemu.org/Features/HelperNetworking I can configure qemu with qemu-bridge-helper, however, I can't figure out how to pass a bridging interface option ...
0
votes
1answer
14 views

what is the meaning of “-m state --state RELATED,ESTABLISHED”? [duplicate]

I found this rules on iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT what is the meaning of -m state --state RELATED,ESTABLISHED ? and why without this rule ,I can not ping ...
0
votes
0answers
9 views

Some Issues on External IP Port Forwarding in Django Server

I want to run a home server. I managed to make my local IP address static, then created port-forwarding as below (which is enabled): However, when I make it on 80, it forwards to modem management ...
1
vote
1answer
22 views

Connecting to WPA network in FreeBSD

For whatever reason I am having a very annoying time just trying to connect to a network in FreeBSD. So the question is how would someone manually connect to a wireless WPA network in FreeBSD 11.0? ...
1
vote
0answers
17 views

Setting up bridged adapter for Arch guest, Windows host [on hold]

I've tried many things that I've found online but I'm stumped. I'm using VirtualBox, my guest OS is Arch, kernel version 4.4.1-2, my host is Windows 10. When I set it to have NAT adapter, I get it ...
0
votes
2answers
71 views

Share my Windows 7 C folder with another Ubuntu Linux 15.10 Lenovo desktop computer

I would like to share my Windows 7 C folder with another Ubuntu Linux 15.10 Lenovo desktop computer. The following URL describes how to do this procedure. ...
0
votes
1answer
25 views

ssh RPi from PC - How to share internet connection?

I have Raspberry Pi connected with PC on eth0 port. I am using eth0 to ssh RPi. I have web application on RPi that requires Internet access. Now, I set static ip to RPi (192.168.1.50) and to PC ...
1
vote
1answer
15 views

Using iptables instead of ARP resolution

Due to a particular network configuration, I would like to associate MAC addresses to outgoing Ethernet frames using iptables instead of the ordinary ARP resolution, or at least have the ability to ...
0
votes
1answer
10 views

Host to Jail networking with vimage

I've got iocage jails with vnet=on (vimage virtualized networking) I've got a bridge1 with several jails' interfaces as members (vnet1:1, vnet1:2, etc) these can pass packets between each other. ...
0
votes
2answers
48 views

Command to detect if internet connection is wired or wireless

I would like a command to check if my internet connection is wired or wireless. I am using Arch Linux. I am doing this to display a different icon in lemonbar for different network configurations.
0
votes
1answer
26 views

I have no local IP on my CentOS 7.1 dedicated server

problem I've installed net tools and whenever I run ifconfig -a I come up with 2 network interfaces. Here is an example. [root@81756 /]# ifconfig -a eno1: ...
0
votes
1answer
22 views

How do I setup MAC spoofing in Fedora?

I would like to setup MAC spoofing in Fedora, similar do what Tails does to their Debian. Any idea how? Thanks
0
votes
0answers
11 views

How do I properly configure networking for a KVM virtual machine?

I have a remote dedicated server on which I have installed KVM. When trying to create my first virtual machine I am unable to ssh to the machine. I assumed that I needed another ip address so I ...
1
vote
3answers
25 views

Understanding, and viewing, how ports are allocated by ssh tunnels?

I was trying to figure out a small problem with connecting to vnc through an SSH tunnel today where one of the possible issues was that someone else was already tunneled to the port. Without going ...
1
vote
0answers
30 views

“link is not ready” error, vanishing network interfaces

I recently had a weird problem when trying to use airmon-ng. Here is its description: First, I plug in my USB WLAN adapter, and type ifconfig. Everything goes well and I see all interfaces are ...
2
votes
1answer
30 views

How to connect two VMs with different IP ranges to access each other?

Using KVM I have created four VMs, I have two public Ip addresses for my VMs, I know that I can assign these IPs to two of the VMs and connect them to internet by bridging my host's physical interface ...
0
votes
3answers
49 views

How to set the Default gateway

I'm trying to configure the network interface on embedded linux using ifconfig: ifconfig eth0 192.168.0.101 netmask 255.255.255.0 but I don't know how to add the default gateway as an ifconfig ...
0
votes
0answers
13 views

KVM network packet loss to guest

I am running a server with Debian 8.3, uname output Linux x 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux I am using KVM to run a virtual machine with CentOS ...
1
vote
2answers
75 views

How do I check if an IP-address or a network is contained in other network in Bash?

I need to check if an IP-address or a network is contained in other network, e.g. if '10.1.2.3' is in '10.0.0.0/8' or if '10.1.2.0/24' is in '10.0.0.0/8'. Currently I use python for this, e.g.: if [ ...
0
votes
1answer
36 views

Linux Source Routing, Strong End System Model / Strong Host Model?

Can a multihomed Linux machine implement a true Strong ES Model? Specific Use Case I have a system with five different interfaces, each connected to the same subnet, thus the same gateway to the ...
0
votes
1answer
35 views

How do I set up passwordless authentication with non-root users?

Using two CentOS 7 servers, I set up passwordless authentication with root users. It works fine. I tried to use the same method (with .pub and authorized_key files) with other local users. But these ...
0
votes
1answer
20 views

Creating Encrypted Tunnel Between 2 Lans

I have 2 LANs and one of them is connected to the internet and I need to connect them together. Normally, a single cat6 cable is enough for connection however, this cable is going through a public ...
1
vote
1answer
25 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
49 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
26 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
18 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
39 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
23 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: ...
1
vote
0answers
24 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
28 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
42 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
30 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
17 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 ...
2
votes
2answers
31 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
25 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
13 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
48 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
62 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
51 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
27 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
20 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
26 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 ...
2
votes
1answer
65 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
52 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
18 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
44 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
24 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 ...