Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
25 views

How Would I Appropriated Add this Route?

I've got an ASUS RT-AC66u running an OpenVPN server working fine. But on my debian server I have to add a route or else I get no responses. Just curious if there is a way to add the route to the ...
3
votes
2answers
45 views

Measure network consumption per program and month

I'm looking for a permanently-running monitor which can emit a monthly (or daily, etc) bandwidth report, in a per-program manner. Example desired output: Bandwidth consumption: last 30 days ...
0
votes
2answers
1k views

Route wlan0 to openVPN tunnel and rest to eth0

I'm having problems to create route/iptables rules for following configuration: I have an openVPN server (tun type) running on my raspberry machine at home At work i have company pc (behind proxy) ...
0
votes
0answers
29 views

Alfa Network Atheros AR9271 not works under Debian

I'm trying to use the Alfa network Atheros AR9271 but not works, when I execute the following command lsusb I got: Bus 001 Device 035: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n I ...
1
vote
0answers
24 views

I cannnot connect to guest os(protostar) through ssh from host-pc (linux mint)

I'm trying to connect a to guest machine (protostar) through ssh from my host PC (Linux Mint). I'm using VirtualBox. I tried: setting up hostonlyadapters. setting up NAT Networking. ...
0
votes
0answers
41 views

Problem configuring static IP on centos 7, 6…,

I have 4 static IP addresses, I already used 143.4.198.0 and 143.4.198.1 (for Ubuntu server and it works pretty fine) I wanted to install Centos 6 or 7 I made the same conf like before I have a VM ...
1
vote
1answer
30 views

Initializing fully connected ssh network

I have five Linux machines with a service account on each under the same name. They all have a subnet connection to each other (192.168.1.{1,2,3,4,5}). I have a script that parses /etc/hosts and adds ...
1
vote
0answers
39 views

qemu-system-arm problems adding second NIC/bridge

I am running Qemu under a host with two bridge interfaces and would simply like to bridge them to guest NICs. All of this works fine when bridging one NIC either by creating a bridge manually or using ...
0
votes
1answer
24 views

How to visualize bridge and port connections in Linux?

I have complex setup of Linux bridges, OVS bridges, veths pairs etc in a Debian host. Is there a tool that will produce a image of which is connected to what and which port's traffic is egressed ...
0
votes
1answer
35 views

How to add ovs interface back to init namespace from custom one?

Am creating an internal interface tap1 in ovs & add it to a custom namespace ns1. ip netns add ns1 ovs-vsctl --may-exist add-port br0 tap1 ip link set tap1 netns ns1 after am done using the ...
1
vote
1answer
35 views

Packets not moving through linux ethernet bridge

I am trying to set up a debian 8.3 machine with eth0 and eth1 bridged, but I can't get packets to traverse the bridge. Currently, eth0 is connected to a LAN with many other hosts, including a DHCP ...
1
vote
1answer
129 views

ping on linux vs ping on mikrotik

I have ubuntu server 14.04, with two network cards (LAN and WAN). I made a masquerate for WAN card. I have internet access from a host within the Lan of router. I do a ping to 8.8.8.8 and try to ...
0
votes
0answers
24 views

Message: network connection could not be established - but network is working

Upon system start and directly after logon to the system into the GNOME 3 evironment there is a message pops up (next to the clock), that says that the network connection could not be established. The ...
0
votes
2answers
74 views

SSH always connects to the same IP address [closed]

No matter what the host is, SSH keeps trying to connect to 162.13.177.241. Command ssh -v user@host Output debug1: Connecting to 162.13.177.241 [162.13.177.241] port 22. My /etc/hosts file is ...
1
vote
1answer
632 views

How to troubleshoot high kernel time (high network usage; high interrupts)

I've noticed that I have high kernel time when doing a lot of network traffic in Linux. I also noticed that 45% of my CPU is spent doing interrupts. How can I further troubleshoot this?
2
votes
0answers
14 views

Why does `ping -M do -s 8000` still work between hosts with different MTU values?

I have two hosts: alice (192.168.0.1, mtu 9000) bob (192.168.0.2, mtu 1500) They are directly connected with a cat 6 cable, with no switch in between. Why is it that I can still ping bob from ...
2
votes
0answers
15 views

ipv6 rule priority duplication

When I add ipv4 policy rules using ip rule add the resultant rules get added to the end of the policy table with decrementing priority from 32767 eg: # ip rule add lookup 8 # ip rule add lookup 9 ...
1
vote
0answers
55 views

Is there a utility that allows to create structured data from tcpdump hexdumps?

Sometimes I have to use tcpdump to troubleshoot problems with networking protocols that tcpdump does not know how to parse. Is there a utility that could read tcpdump packets in hex dump format and ...
0
votes
0answers
16 views

Boot Kali Linux into forensic mode; hangs loading network interfaces

When I boot my Kali Live CD (2016.1) in forensic mode, it gets to the point of auto-log in for root, and then immediately tries to start loading the network interfaces eth0 and wlan0. When neither ...
3
votes
0answers
35 views

How do I run a systemd oneshot service whenever my system gets a new IPv6 address?

I would like to run a systemd oneshot service whenever my system gets a new IPv6 address assigned to it from the network router (this would be on boot, and periodically throughout its uptime). ...
0
votes
0answers
25 views

Centos static route

I have a load generator running on a Centos client and I need to alter the routing table on that client to send all traffic destined to a particular server(192.168.7.215) through a WAN ...
1
vote
1answer
55 views

My Network Adaptor is present, but using the command 'lshw' shows that the 'device is not claimed'. How to claim this driver/device?

I recently installed Linux Mint on my Dell Inspiron 3551 and everything works fine, except the WiFi network adaptor. I do not have an Ethernet port in my laptop and have to heavily rely on WiFi (I ...
0
votes
0answers
24 views

ip link up with empty line

case: # eth0.cfg The primary network interface auto eth0 iface eth0 inet static address IP-1 netmask 255.255.255.255 broadcast IP-1 post-up ip addr add 192.168.100.254/24 dev ...
-2
votes
2answers
3k views

How to know ip camera address

I have ip camera with static ip address preset. How can I know it ip using linux? I connect camera direct to my notebook. My system is Linux machine 3.5.7-gentoo #2 SMP ifconfig eth0 eth0: ...
0
votes
0answers
16 views

What are the consequences of adding a network interface to a bridge?

Context: I have a headless computer/server with 2 network interfaces (e.g. eth0, eth1) running CentOS 7. eth0 faces the world/Internet. A laptop is connected to eth1, and accessing the internet ...
2
votes
3answers
102 views

KeepAliveD Documentation

I am looking for a consolidated documentation for KeepAlieD. My apologies if this is not the right place to ask this question. However, even after extensive googling for 2 days, i could not find a ...
4
votes
4answers
22k views

does the gateway have to be on the subnet?

I was looking at bringing up an interface like this in /etc/network/interfaces (this is on debian), with the gateway outside the subnet: iface eth0 inet static address 10.100.10.99 netmask ...
0
votes
1answer
2k views

Raspbian, Huawei E303, Public IP address

After configuring Raspbian linux and a Huawei E303 3G USB stick, I am stuck accessing the machine from the Internet by its public IP address. Details: The E303 stick was configured to work as an ...
0
votes
0answers
42 views

Trying to run OpenVPN in Network Namespace

I want certain apps to access the internet via OpenVPN. I found a solution in the final answer/comment at the bottom of this question/thread here: Feed all traffic through OpenVPN for a specific ...
0
votes
1answer
31 views

sendmsg: Network is unreachable

I set the IP address of my network card to a particular value to be able to talk to a piece of hardware. Then I try to ping it, which works for a few seconds, until I get the error ping: sendmsg: ...
0
votes
0answers
147 views

wifi support for Realtek [10ec:8821] on VivoPC VM62N-G050R

I've got a VivoPC VM62N-G050R, http://www.bhphotovideo.com/c/product/1131163-REG/asus_vivopc_vm62n_g050r_mini_desktop.html (link provided just for info, neither recommending nor dis-recommending this ...
0
votes
1answer
49 views

Setting static ip address for multiple ethernet controller

I have a simple question for which I couldn't find a answer for hours on the internet. I didn't think it's so much special what I want to do, but it seems to be. I have Debian virtual machine within ...
0
votes
1answer
28 views

linux + how to monitor dropping from ifconfig or ip

How to monitor RX dropped packets in Linux 7 with tcpdump ? Or maybe any other way? And what is RX dropped? ifconfig results on eth1: # ifconfig -a | grep RX | grep dropped RX errors 0 ...
4
votes
1answer
465 views

Block outgoing connections to certain IP using PF

Can someone give me a hint on how to setup a basic deny rule whenever any TCP request is sent to a specific IP address? I am using the PF packet filter. Any help?
0
votes
1answer
30 views

How can I grant permission to a user to change the IP address?

I need the user be able to change the IP address, without giving him full super user access. How can I do that? I tried the solution here http://serverfault.com/a/480823 That works fine, but only ...
0
votes
0answers
28 views

Unable to connect to wifi “IPv6: ADDRCONF(NETDEV_UP”

When I click on the wifi icon and the hotspot I want to connect to, nothing happens. Nothing at all. And here's my dmesg: [ 9647.582070] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready [ ...
1
vote
4answers
11k views

Telnet on Linux Server

I want to know if it is necessary to have telnet enabled on both sides of machines to get telnet connection. Here's the issue: I am trying to telnet some public IP on port 80 from a Linux web server ...
0
votes
0answers
27 views

Different IP addresses, same interface

I have a Raspberry Pi and I have configured the wifi interface with static IP - 192.168.0.110. It worked fine, on every restart it got this IP. But this beautiful morning I restarted the Pi and ...
145
votes
17answers
201k views

How can I resolve a hostname to an IP address in a Bash script?

What's the most concise way to resolve a hostname to an IP address in a Bash script? I'm using Arch Linux.
1
vote
0answers
29 views

How to determine the logical type of a linux network device

with logical I mean everything legal in the command ip link as in, for instance: ip link add link dum0 name dum0.200 type vlan protocol 802.1Q id 200 where the logical type would be "vlan". All ...
0
votes
1answer
31 views

Linux Mint LAN Connecting But Not Working

I am new to Linux and working on Linux Mint 17.2 on my laptop. I am able to connect using LAN wire (i.e. on the right bottom it shows connected) but not able to access the internet. It works great on ...
0
votes
0answers
65 views

OpenVas + Kali Rolling: The connection was reset

I am trying to get OpenVAS to work in the latest Kali release (rolling). It seems to be installed right, but when I try to access the web interface (127.0.0.1:9392), I get Connection was reset. ...
20
votes
6answers
8k views

What is a socket?

Could someone explain to me what a socket is? I see it in many acronyms in context of SSL, etc. Also, why is it called a socket? Is it purely because it was what a name they invented? Or was it the ...
0
votes
0answers
29 views

Kali on VirtualBox w/ Bridged Network Stuck on Connecting

I've just installed Kali on VirtualBox w/ Windows 10 as the host. Everything else is fine except for one problem. I tried to bridge a connection from my host system's WiFi adapter to the VM but the ...
1
vote
0answers
20 views

I am redirected to a router that is not part of my provider's configuration [closed]

Whenever I try to access a website with a .com domain it shows the 'unable to connect page' but when I access a site with my country's domain I get redirected to a Tenda 11N wireless router. I ...
0
votes
0answers
40 views

Host-only network adapter (enp0s8) not starting on boot in CentOS7

I've installed CentOS7 in virtual box. I've 2 network cards - one host-only (vboxnet0) adapter enp0s8 (which I want to be static) and the other the NAT adapter enp0s3. The host-only adapter never ...
3
votes
1answer
52 views

“legal” ARP poisoning by machine aggregating 2 NICs crashes us

I'm really not sure if that title makes any sense so apologies for that, but strange things are afoot, threats are being made and we need to sort this problem out; The situation: Our device (a ...
1
vote
2answers
51 views

Retrieve name of the active network interface only [duplicate]

How can I retrieve from the command line (or a shell script) only the name of the active network interface, in Linux? If there are several active interfaces, I want just one (selected arbitrarily).
0
votes
2answers
57 views

hostname for computers in LAN

I am using Raspbian (like Debian) and I used this tutorial https://frillip.com/using-your-raspberry-pi-3-as-a-wifi-access-point-with-hostapd/ to setup my Raspbian as a wifi access point. Clients can ...
8
votes
5answers
13k views

Is there a way to set network proxy system-wide?

If I want to have GNOME applications (as well as Firefox and Chrome) access the network through a proxy, I need only use gnome-network-properties (a nice and simple GUI I must say). For other apps ...