Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

2
votes
1answer
25 views

Which process is sending my data out of my computer?

Using vnstat, I observed a lot of uploading from my computer and I don't know which process is sending data out of my computer. Is there a tool to get stats on how much data a process consumed during ...
2
votes
1answer
674 views

How to forward Remote-Desktop Port across interfaces using ufw?

Machine A has two network interfaces: Network eth0: 10.10.20.0/24 Network wlan0: 192.168.1.145/24 Machine A has 192.168.1.145 as Default Gateway, and also a route to pass 172.16.0.0/16 to ...
3
votes
1answer
43 views

WPA supplicant dropping/disconnecting NIC in hotel wifi

TL;DR WPA Supplicant intermittently fails on my Raspberry Pi 3 when using a USB Wifi dongle. It appears to do this when "reconnecting" to or changing access points in the hotel. WPA GUI states: ...
3
votes
2answers
26 views

How can I auto-close dropped SSH connections?

When I work on my server remotely, sometimes my SSH connections get dropped due to network issues. When I re-connect to my server, the dropped sessions remain open. I can see them when I run w. I'm ...
0
votes
0answers
819 views

Compile network card driver on debian

I buy a new network card , D-Link DGE-528T. My OS is Debian(Jessie) kernel : 3.16.0-4-amd64 but it can't detect the new network card, so I must to compile driver by myself. follow README file. ...
29
votes
5answers
23k views

How can I limit the bandwidth used by a process?

I have a CentOS 5.7 server that will be backing up its files nightly. I am concerned that visitors to the various sites that the server hosts will experience degraded performance while the backup is ...
9
votes
1answer
247 views

Cloned system + network interfaces

I'm currently in a little bit of a pickle. I've made an image of my system and I have given it to someone to run. They have successfully flushed their system with the image and are running it. The ...
9
votes
4answers
8k views

Traffic stats per network port

I have two machines with two applications that talk to each other on few network ports (TCP and UDP). I want to count traffic that they send and receive. I need not only overall count but stats per ...
22
votes
6answers
46k views

CentOS no network interface after installation in VirtualBox

I have Ubuntu 12.10 on which i installed virtual box on which I setup centos 6.4 i386. On Ubuntu I have: 3.5.0-17-generic kernal running. On virtual box I install centos 6.4 and everything works ...
0
votes
1answer
757 views

SSH to Linux Container from Other Machine

I am trying to learn about Linux Containers and this is my first encounter with servers, ssh and many other things that I do not know the terms yet. I create five different containers and authorized ...
1
vote
0answers
10 views

Resolve NetBIOS Names via Samba 4.4

Through StackExchange, we knew how to configure Linux to resolve NetBIOS names, and I have configured my system in those ways. (I have installed winbind, configured my /etc/nsswitch.conf correctly and ...
1
vote
1answer
17 views

how to change all the hostnames reported by hostname --all-fqdns?

Running hostname -A reports two host names: an incorrect one that doesn't even resolve to my server and a correct one. $ hostname -A notmyhostname.notmydomain.com myhostname.mydomain.com The ...
0
votes
0answers
16 views

Trouble Creating Virtual_IP for PaceMaker + Corosync - CentOS 7

Ok so I have gotten fairly far into the configuration successfully, the two nodes have authenticated each other and all is well, but when I try to add the virtual_ip it never starts. What i've used ...
2
votes
1answer
36 views

How go generate a valid and random MAC address?

You probably know that MAC address can be generated, for instance, in the following way: macaddr=$(dd if=/dev/random bs=1024 count=1 2>/dev/null|md5sum|sed ...
0
votes
0answers
23 views

Can't ssh into my server from another computer

I used to be able to ssh into my server from other computers. But I stupidly messed up my remote connection setup a couple weeks back (I don't remember what I did...) and now I can't ssh into my ...
0
votes
1answer
1k views

Laptop connected to wifi but no internet

For some reason my wifi has decided to stop working. I can connect to APs, I can have excellent signal strength, but I can't actually load any web pages or ping anything. I know it's my laptop because ...
1
vote
2answers
16k views

How to set up an Internet Connection in Linux Mint?

My machine has wired Internet connection with Windows 7 OS. In connection properties I see service name : ispone obtain IP address automatically obtain DNS server address automatically How do I ...
1
vote
1answer
49 views

VMWare vSphere packet loss

I have a Dell Blade Enclosure with 14 blades and ESXi 5.5 on it. On blade 7 and 14 I have round about 65 % packet loss when I ping the ESXi Management interface. On all other blades there is no packet ...
2
votes
1answer
13 views

How do I configure Docker containers to have unique IP addresses that are not the default ones?

How do I configure Docker containers to have unique IP addresses that are not the default ones? The Docker containers will run Apache or some web service. These Docker containers will share one host ...
2
votes
0answers
15 views

How do I get Consul to work so I can get Docker Overlay to work?

I am running CentOS 7 with Docker. I am trying to install Consul on the Docker server. Consul is unzipped. The binary file works for showing the version. I ran this: echo $CONSUL_RPC_ADDR This ...
25
votes
4answers
80k views

How can I find available network interfaces?

This is in regard to linux, but if anyone knows of a general *nix method that would be good. I booted a system yesterday with an ethernet cable plugged in. "NetworkManager" is not installed, so once ...
5
votes
4answers
5k views

Elementary OS shows WiFi networks, but won't connect

In the top bar, clicking the network icon shows a list of networks. My school's network, which on Windows I would connect to, and then visit a login page in Chrome in order for it to work, shows on ...
7
votes
1answer
4k views

unable to restart networking daemon

When I type sudo service networking restart, I am getting error as shown below: edward@computer:~$ sudo service networking restart stop: Job failed while stopping start: Job is already running: ...
1
vote
0answers
48 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 ...
0
votes
1answer
45 views

CentOS “service network restart” FAILED - where is the error log?

In CentOS, I ran the following command. But it doesn't give me explicit errors to investigate. How can I troubleshoot further or find the errors? service network restart
1
vote
1answer
316 views

OpenVPN not showing easy-rsa

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -Uvh epel-release-6-8.noarch.rpm I did yum install openvpn in the guide then did the following: mkdir -p ...
0
votes
0answers
26 views

Unprotected Windows Shares Still Requiring Password in Linux Mint

I am trying to access my windows shares from linux mint. I have 2 windows computers (both Win 10) and my laptop on Linux Mint. My office PC is password protected and can access those files from my ...
1
vote
0answers
20 views

Home directory does not mount on kernel update

My home directory will not mount on booting with new linux kernel. Previously, my home directory has been mounted automatically from a network device. I updated my kernel to 4.6.0 from the git ...
1
vote
1answer
832 views

Using Metasploit with 3G USB modem

I have a computer with Linux BackTrack 5 as host and Windows XP as guest on virtual box. I am using Host-Only-Adapter to create virtual LAN and to share USB modem internet as well so that both host ...
1
vote
0answers
17 views

The domain and search options in resolv.conf [duplicate]

Let's say you have a resolv.conf file that's something like this. nameserver 192.168.0.7 nameserver 192.168.0.8 domain somedomain.local Then let's say you just changed it to this. nameserver ...
25
votes
2answers
71k views

ifconfig command not found

I've just installed CentOS7 as a virtual machine on my mac (osx10.9.3 + virtualbox) .Running ifconfig returns command not found. Also running sudo /sbin/ifconfig returns commmand not found. I am root. ...
2
votes
2answers
891 views

I can ping internal to outside but not from outside to internal (Static IP)?

I have a static IP provided by the administrator of my Linux CentOS 6.5. The problem is that while I can ping this machine, connect to it and use it to access the internet from within my network, I ...
3
votes
1answer
5k views

multiple default gateways for alias interfaces (SOLVED)

Alias interfaces defined in /etc/network/interfaces cannot have multiple default gateways. Unfortunately I would like to use the same interface to access 2 different nets, and I need to define 2 ...
3
votes
2answers
57 views

Basic network via command line

I am using Fedora 23. Using the file explorer I "found" this page It shows where I can access other networks, I can click on them, and log in... My questions is: Is there an equivalent place ...
0
votes
1answer
188 views

Manual network setting on Solaris 10

I am using Solaris 10 on VirtualBox. While installing I chose to assign IP manually. IP address: 192.168.1.46 Subnet: 255.255.255.0 Gateway: 192.168.1.1 Now when I ping my Solaris machine with ...
1
vote
0answers
9 views

What does TCPRcvCoalesce, TCPAutoCorking and TCPHystartTrainCwnd in netstat mean?

We have some RHEL7 Apache reverse proxies that experienced a performance degradation event. After a few hours, restarting Apache restored performance to normal levels. We are trying to determine the ...
4
votes
2answers
2k views

NAT and source IP filtering in PF, using OpenBSD >= 4.7

I just read a book about PF (The Book Of PF, No Starch), but there's one question not answered by it. If I have a gateway machine using two interfaces, $int_if and $ext_if, and I NAT the packages ...
0
votes
0answers
19 views

iptables forward all traffic to 2 different interfaces

I'm currently using dnsmasq to create a small Debian box as a DHCP and DNS cache server. Until today, I had just 2 interfaces (eth0, eth1). One connected to my WAN (eth0) and one connected to my LAN ...
4
votes
1answer
4k views

Understand the Route table

I just setup the OpenVPN and it is working as expected. However, the routing table of the client is confusing me to no end. Here is the route table: # route -n Kernel IP routing table Destination ...
0
votes
0answers
51 views

IPSEC help using Strongswan on CENTOS 6.6

I have been tasked with setting up an IPSEC tunnel to our remote data provider. They require my Phase 2 traffic to be PAT'd behind a public address. I am using strongswan 5.3.2 on CentOS 6.6 on a ...
0
votes
0answers
29 views

service network fail [closed]

I was trying to make my IP static on CentOS but I got this error. I tried restarting the network etc but I get the same problem. At this point I am very confused because I have a long time without ...
0
votes
1answer
33 views

Bridge 2 wifi connections

I have set up Ubuntu desktop on my laptop with an internal wifi card and an external USB WiFi dongle. Both WiFi interfaces work. I'd like to make one into an access point, and the other into the ...
0
votes
0answers
6 views

Protection of peripheral and core network [closed]

What is the best way to protect core network and peripheral network? What are the best practices and technologies used in banking industry and healthcare industry?
1
vote
3answers
3k views

Split DNS (bind9), match-clients any doesn't work?

I've been fighting with this for the last few days. A few of my entries have external and internal IP's. My internal network is 10.0.0.0/8. When I nslookup pc1.clase.net internally it responds with ...
1
vote
2answers
598 views

Route everything through VPN except SSH on Port 22

I have a Server and I want to setup a VPN on it to route all traffic. Of course I dont want to block myself out when establishing the OpenVPN connection (already did that..) so I want the Port 22 to ...
1
vote
2answers
859 views

No Default Gateway route for bond0 / Slave eth* interface gets IP assigned

I have set up a 4-NIC bond on my Debian Wheezy box. After a fresh boot, the system has LAN access, but cannot resolve outside host names or access outside IPs. It seems that this is because the bond0 ...
0
votes
1answer
2k views

No IP address on VMware running centos 7

I just now installed Cent OS 7 on my VMware 8 and I am not able to connect it to a network. I checked the VM network and its mapped to the physical NIC. The same setting work like charm on my CentOS ...
0
votes
2answers
35 views

Force an application to use a specific connection

So my Mint 17 has 2 connections (wired and wireless) when both connected by default the wired is used, what I want to do is keep wireless for file download and general Internet usage, and use the ...
2
votes
4answers
43 views

How to know which ports are listened by certain PID?

I have a PID of certain process listening some port(s) on my OS X and I need to know which port(s) is listened by this process. How can I do it? I know I can use lsof to know which process is ...
2
votes
1answer
13 views

How can I find out the ownership of a tap interface?

I can set up a persistent Linux tap interface and make it owned by a specific user and group with one of these: tunctl -u someuser -g somegroup -t example.tap ip tuntap add dev example.tap mode tap ...