Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
35 views

Kali linux network error

I'm new here and I'm from Tunisia so my English is my 3rd language so forgive me for my bad grammar mistakes. OK, I have Kali 2.0 linux (32bit) installed in windows 8.1 (32bit) (dual boot, no VM), ...
0
votes
2answers
56 views

Ubuntu: I cannot reach internet

I'm trying to install nodejs on my Ubuntu server but it seems not to be able to reach the internet. My server has two network interfaces: eth0 connected to my network eth1 used sometimes to be ...
1
vote
0answers
66 views

TCP SYN,ACK Retransmissions

The following network trace was recorded on a Raspberry PI running Debian Linux. It seems the Raspberry is not seeing the data packet #36995 for some reason; it is just stupidly repeating his SYN,ACK ...
1
vote
0answers
14 views

OpenVPN maintain connection state during tunnel reconnect

Sometimes I want to do a short maintenance like restarting a tunnel, all connection running on top such as file transfer...etc will receive connection lost signal, is it possible to maintain those ...
0
votes
1answer
27 views

How to “nc -z <address>” with socat?

I want to get the behavior of "nc -z host port ; echo $?" with socat, since my network admins have disabled netcat. The purpose is just to test that a TCP connection is open between two servers. How ...
2
votes
0answers
128 views

Create a script that connect to wifi, and if it fails fallback to ad-hoc network

I'd like to create a script that tries to connect me to the wifi specified by my wpa_supplicant conf, and if it fails, create a ad-hoc network. But I'm struggling with it. Here is what I do for now: ...
1
vote
0answers
22 views

'ip netns exec' command execution using nsid obtained from 'ip netns list-id'

I have previously used ip netns exec command to modify netns interfaces. But if there is no name associated with a netns (eg: docker), how can I use nsid result of ip netns list-id command for ...
3
votes
1answer
75 views

How can I set device mode via networkd

How can I set mode to device (for example monitor/ap to wlan) via networkd deamon in .link file ??? Because I want to set bridge in .network of wlan device and I can't do it until I set it in ...
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
0answers
24 views

Ethernet intermittently fails to come up

I'm working with an embedded Debian system and I'm having trouble getting ethernet working consistently. Once every 5 or 10 times that eth0 is brought up something fails and I can't connect to it via ...
3
votes
2answers
51 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
0answers
47 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 ...
0
votes
0answers
46 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
0answers
28 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. ...
1
vote
1answer
33 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
49 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
27 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 ...
1
vote
1answer
46 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 ...
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 ...
2
votes
0answers
16 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 ...
0
votes
0answers
20 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
31 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 ...
0
votes
0answers
28 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 ...
1
vote
1answer
65 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
2answers
75 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
0answers
56 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

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 ...
0
votes
1answer
30 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 ...
0
votes
1answer
52 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
0answers
45 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
35 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
1answer
37 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
33 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 [ ...
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 ...
0
votes
1answer
37 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 ...
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
0answers
77 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. ...
0
votes
0answers
38 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
59 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 ...
0
votes
2answers
59 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 ...
1
vote
2answers
52 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).
1
vote
2answers
100 views

How to set static IP with fallback to DHCP

On /etc/network/interfaces (Raspbian), is it possible to set a static IP with optional fallback to DHCP? That can be handy in case the configured static IP is already taken. Or it could be in a ...
4
votes
1answer
107 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 ...
1
vote
0answers
38 views

Hostname won't resolve after setting up new server

I just completed a fresh install of Centos 7 on a PC. It is connected to the campus network, so I am not in control of the DNS server. I gave it a hostname by setting the HOSTNAME value in ...
1
vote
2answers
62 views

Network has no ping and can't resolve hosts

This is the config on /etc/sysconfig/network-scripts/ifcfg-eth0: DEVICE=eth0 TYPE=Ethernet UUID=c7sdfsdf-dfgdgdfgdgd-dg ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=static IPADDR=x.x.x.x ...
0
votes
0answers
19 views

Setup for host and vm ,vm to vm connection

How do I setup network of my oracle virtual box so that below possibility is achieved Setup : 1)Oracle virtual box is setup on windows host 2)Virtual box has two vm's (Vm1,Vm2) Goal: 1)Host ...
0
votes
0answers
109 views

A way to setup hotspot in Kali Sana (Kali 2.0) via XFCE

I'm finding it extremely difficult to figure out to create a successful hotspot using Kali Sana after having it updated to XFCE, installing all updates via apt-get install update. I've tested the ...