Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
28 views

How to encrypt/hide password in /etc/network/interfaces file on debian?

How can I encrypt/hide my - wpa-psk "password" - line in the /etc/network/interfaces file? Since it's uncovered and readable for everyone who can get in the file now. Or is it better that I use ...
4
votes
1answer
102 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 ...
3
votes
1answer
4k views

Using /etc/hosts or iptables to redirect site to https:// version

I'd like to have my system automatically take me to https://facebook.com even if I put http://facebook.com into my browser. I can get /etc/hosts to redirect to me to different domains, but it seems ...
2
votes
1answer
838 views

Umount network drives with systemd before shutdown

My shutdown takes quite a long time (I'm on Debian 8.1) and I found out that it can be fixed by unmounting the network drive before shutting down the system. Apparently the network gets disconnected ...
1
vote
0answers
24 views

Why does a connection from my LAN to my public IP address fails?

I have an OpenVPN server on server. It is available from Internet via a two NATs: first the ISP box relays to 192.168.0.10, then 192.168.0.10 relays to 10.10.10.254 (relays = DNAT). I can connect ...
2
votes
0answers
124 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: ...
0
votes
1answer
55 views

How to route IPv4 traffic from an interface to another

I connected my Pi to my home computer through an Ethernet link. My computer is connected to the Internet by a wireless connection. And I'd like to route all Internet traffic from my Pi by my computer. ...
4
votes
4answers
32k views

Yum update problems on CentOS 6.5 minimal as VMware guest

INFO: I am using Windows 7 Pro (64bit) with VMware Workstation version 10.0.1 . I am using CentOS(64bit) 6.5 minimal, for the first time. I am running this from my workplace network, which may use a ...
0
votes
2answers
18 views

Messed up my mac firewall configuration (pf.conf) and ended up with 100% packet loss

I was trying to do wifi throttling for my new app development (new to this) and was trying to do it using iceFloor application. I'm not 100% sure if this is a problem, but i need to confirm if i ...
0
votes
1answer
41 views

Home automation program “cannot assign requested address”, but only when run via VNC on a Raspberry Pi

I am trying to connect to a program through VNC, which scans the LAN for a "Cube" (MAX eQ-3) which connects to my radiator valves. The program gives the error "[99] Cannot assign requested address, ...
7
votes
2answers
978 views

AP randomly gets unreachable for the clients while hostapd is running

I got an old PC running as router which has 3 NIC and 1 wifi PCI card TP-Link L-WN751ND. This box runs Debian Wheezy, hostapd, dhcpd etc. The problem is that AP randomly gets unreachable for the ...
1
vote
2answers
185 views

Aircrack-ng: No /pentest/passwords/wordlists/darkc0de directories

this is my fist question on this forum. I'm currently using Linux Mint 17.2 Cinnamon and trying to run Aircrack-ng to show the password of my own Wi-Fi connection, I got the Handshake too. The problem ...
0
votes
3answers
4k views

DHCP Kali Linux

I'm using VBox. I have got a Bridged Adapter. I need to get my network working. What I can already do is to set everything up manually, I mean: ifconfig eth0 192.168.1.33 netmask 255.255.255.0 route ...
1
vote
0answers
13 views

KDE's network applet not listing APs, while iwlist does after some extra steps

KDE's network applet doesn't list any wireless network. It used to, but I must have made an unintended change. This much I know about my situation (the device is called wlp4s0): Upon login, the ...
8
votes
3answers
11k views

What overwrites /etc/resolv.conf on every boot?

I was given the files for a mini linux, that boots directly into firefox. It works for all it should be doing, only that I do not get an internet connection. We have 3 DNS servers in the network, ...
1
vote
0answers
16 views

What does it mean 10.171.10.1 --> 10.171.10.2 in openvpn-created interface?

I have installed OpenVPN server in FreeBSD and it created interface, visible by ifconfig: ovpns4: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500 ...
0
votes
1answer
2k views

Run root script or command as root in startup application in linux mint

I have a wireless adapter that used to work in Linux mint 16 (dwa 171) after installing drivers for it. Now it won't work the same way anymore since I upgraded to linux mint 17. I've found the only ...
3
votes
0answers
47 views

How can I create a two-way voice communication system that works over the local network?

I wish to create a simple two-way voice communication system between two Linux computers running Debian-based distros (probably two Raspberry Pi Zeroes). Each computer will have a microphone and ...
2
votes
3answers
1k views

Resolving NETBIOS names from Linux

There's a Windows machine called SUSAN on my network. From a Windows VM on my Linux box I can simply: C:\>ping susan I've followed this guide (and looked at several other similar ones) for ...
0
votes
0answers
11 views

Ubuntu: Wifi access point clients constanlty reconnect to AP

I did on my Ubuntu 14 LTS PC WiFi access point using this how-to https://www.quora.com/How-do-I-create-hotspots-in-Ubuntu-14-04 . So from clients I can use internet but the connection is very slow. ...
1
vote
0answers
59 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
1answer
858 views

cannot ping my computer on local network

I am running on 64 bit OpenSuSe 13.2 with Gnome 3 desktop environment and unsuccessfully trying to set up Samba Server. I have another computer running windows 8.1 from which I am pinging the ip ...
1
vote
1answer
808 views

Allow multicast packages from the bridge to wire in KVM

On a CentOS 6.5 host, I have a couple of guests - Ubuntu 12.04 and CentOS 6.5. The Ubuntu guest is generating mcast traffic that is visible via a tcpdump on the br3 interface. It is also visible on ...
0
votes
1answer
27 views

Connect to a wireless network as standard user without administrator authentication Linux Mint 17.3

I'm trying to get a standard user on my laptop installed with Linux Mint 17.3 on the wireless. I can get to the internet just fine logged in with an administrator but as soon as i log in with a ...
0
votes
0answers
21 views

Unable to configure ethernet interface using dhcpcd

I've got an embedded Linux system based on buildroot. I'm trying to get the unit connected to the internet using the ethernet interface, but without success. Here's what I'm trying: After booting up ...
1
vote
1answer
4k views

Redirect Output with Iptables

Is possible on Debian to change the port of packets that are going to a specific port, using iptables? Example: I want packets going in the outbound direction to a.b.c.d for port 1723 to be ...
3
votes
1answer
63 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 ...
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 ...
0
votes
2answers
47 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
10 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 ...
5
votes
3answers
5k views

How to configure a computer as a hotspot?

I use OpenSuse 13.1 (with KDE). On my phone I can turn on a hotspot just by pushing a button. I have been researching how to do this on linux, I haven't found an easy way yet. What I want to ...
0
votes
1answer
17 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 ...
3
votes
2answers
1k views

Keep losing IP with dhcpcd

I have an Arch Linux install in a VirtualBox VM, and as I'm working all of a sudden, it will lose its dynamic IP address. When this happens, if I check on the status of the dhcpcd service, it says ...
1
vote
0answers
16 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 ...
2
votes
3answers
2k views

linux namespace, How to connect internet in network namespace?

I want to test linux network namespace. The current problem is I cannot connect internet in the namespace here is my commands: 1 Create network namespace netns1, create a pair of veths (A and B) ...
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
27 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
36 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
29 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
34 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
23 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
33 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
34 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
128 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
73 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
629 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?