Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
0answers
14 views

Ip Forwarding: wlan0 <=> eth0: without NetworkManager?

I enabled ip-forwarding between my interfaces wlan0 and eth0 : in /etc/sysctl.conf sh "echo 1 > proc/etc..." 3 iptables rules. IpTables rules: sudo iptables -t nat -A POSTROUTING -o eth0 ...
0
votes
1answer
16 views

inet address not being assigned in /etc/network/interfaces

I am running raspbian and have plugged in two wifi usb dongles. In my /etc/network/interfaces I have assigned them both ip address. ... iface wlan0 inet static address 192.168.2.100 ...
0
votes
1answer
27 views

Subnet Issue - Multiple instances match the same subnet

I have my /etc/network/interfaces file configured as the following auto lo iface lo inet loopback iface eth0 inet static address 192.168.1.100 netmask 255.255.255.0 gateway ...
1
vote
0answers
14 views

Is the ordering of blocks within /etc/network/interfaces important? if so why?

I am using raspbian and have came accross a problem when using isc-dhcp-server . The problem seems to arrise when I change the ordering of the blocks within my etc/network/interfaces file For ...
0
votes
0answers
23 views

Use iptables to redirect **all* requests, even DNS-unsolved domain?

Context: With iptables, I redirect all the traffic - incoming at port 80 - to a distant server IP (X.X.X.X). I aim that anywhat you write in the urlbar of browser, you get X.X.X.X. IP That works ...
0
votes
1answer
87 views

What do these commands do?

I have been working at this company for around 8 years now and something that has always puzzled me is that we have a software supplier who often connects to our network to provide user support on ...
2
votes
0answers
23 views

Random pieces of ancient hardware not working together (Mac G5, Sun network adapter)

This is probably some kind of weird esoteric hardware combination but it's not why I did it. It's just what I had lying around. I have a 2x 2ghz Mac G5 and I can't really bring myself to part with it ...
0
votes
0answers
15 views
+50

Setting up OpenSSH to use rhosts?

I rent a couple of VPSs running latest Ubuntu, both with OpenSSH. I'd like to try password-less login using .rhosts/.shosts. I know this is not recommended, and that it's better to use public-key ...
0
votes
0answers
14 views

Linux macvlan add MAC to VLAN

Is there any way Linux behave as a switch Layer 2? I have the idea of making the MAC will automatically be ditched a client to a particular VLAN. Likewise the switches are working. Examples. ...
0
votes
0answers
10 views

ERSPAN encapsulation

Is there a way to ENCAPSULATE traffic into an ERSPAN tunnel without using a cisco device? What if I wanted to source ERSPAN traffic from a Linux host instead of a switch?
0
votes
2answers
21 views

How to set up the gateway for wlan0?

I am using a private hotspot to connect a Raspberry Py to internet. I've setup the password and the ssid in the /etc/network/interfaces file. With this configuration I'm able to connect to the wifi ...
1
vote
0answers
15 views

Separation between the User machine and Server machine by another linux for monitoring

I am planning to have three virtual machines with virtual box (m1, m2,m3). I already installed on m1 = Windows XP Home Edition, and on m2 = LUbuntu 15. The big picture is this : m1 : a user m2 : ...
2
votes
1answer
75 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 ...
0
votes
1answer
19 views

Possible to communicate between two networks without bridging?

I have two interfaces connected to a real machine, eth0 and vboxnet2 (a VirtualBox bridged network). eth0 is sitting on 192.168.15.x and is connected to my ADSL modem. vboxnet2 is on 192.168.200.x. ...
1
vote
2answers
34 views

Meaning of address netmask without route to subnet?

My understanding is that the netmask of the interface tells what subnet the interface belongs to. Meaning of this information is that the routing system knows that packets to this subnet should be ...
3
votes
1answer
13 views

How to enable package caching in dnf?

I started using fedora 22 and started learning dnf only to find out about two annoying facts: Almost every time I install or upgrade anything it has to rebuild the whole repository metadata cache ...
0
votes
1answer
34 views

No internet after changing mac on Kali Linux

I'm running Kali Linux on VirtualBox. I'm using bridged adapter, WNA with adapter type Intel Pro/1000 MT in the VBox network settings. My internet works flawlessly as long as my eth0 mac is the same ...
1
vote
1answer
13 views

Network Monitor Tun Interfaces

I am trying to setup monitoring for my openvpn setup. Everything I have found so far doesn't have good logging for anything but the main network connection. I already have logging of openvpn data ...
3
votes
2answers
44 views

How to skip unresponsive server

I wrote a script that runs on multiple servers. Sometimes the script gets hung on one of the servers and I have to hit (control C) to end the process. If not, it gets stuck and keeps trying to ...
0
votes
1answer
19 views

Set persistent static routes for 4 interfaces on 2 CentOS 7.1 servers

I am tasked to set up two test servers running CentOS 7.1 (Minimal install; the NetworkManager is disabled on both), and have run into a set of issues that I would like to get help here. The ...
0
votes
1answer
41 views

Proxy connection via SSH from one terminal to another

I have a private proxy which can be either HTTP/SOCKS, and i am renting a Linode server that i use for web-hosting. If I use a program like putty to SSH onto the webserver and run who it will display ...
0
votes
0answers
10 views

Network testing (e.g. iperf) using only one server

I would like to test my network performance using iperf on a single Unix host. As far as I can tell, a solution would be to make server able to distinguish traffic on the two networks without ...
0
votes
0answers
31 views

How can i distribute a software package to workstations on the same network?

I want to distribute a software package from my Linux server automatically to the windows workstations on the network. I'm doing it manually at the moment, and I want to do it automatically from the ...
0
votes
0answers
20 views

Hamachi login failed on Debian Wheezy

I am trying to use Hamachi on Debian (Wheezy 7.8) with an ARM architecture. Whenever I try to login, it fails: # hamachi login Logging in ..... failed I tried this command on another Ubuntu machine ...
0
votes
0answers
7 views

How to use RTNETLINK in kernel module/kernel space to extract routing table?

I want to extract routing table information in kernel module using Netlink sockets? Is it possible? I know that in user space we can do that. Regards
1
vote
1answer
19 views

DHCP server with static IP not resolving hostnames (clients do)

Network Setup I have a server which I am trying to set up LXCs on I am using LXD which forces me to use DHCP DHCP is working fine already due to my setup I need to be able to access the containers ...
-2
votes
2answers
44 views

my linux pc not pingable using hostname

From a remote machine I am able to ping my computer by its IP address, but not by its hostname. How can I make it accessible by its hostname as well?
0
votes
1answer
5 views

netperf - get output of actual test?

I installed netperf on both my PC and remote server. Now I try to run this test: netperf -H remotehost.com -t TCP_STREAM But nothing happens, no output. I can only stop it uzing ctl+z. So how do I ...
0
votes
0answers
33 views

Wired connection drops after a few seconds

When I connect to my wired network using netctl, the connection drops automatically after a few seconds. It happens both with DHCP and static configuration, but the wifi connection on the same network ...
1
vote
2answers
48 views

Putting network interface in promiscuous mode (not monitor mode)

I'm looking to capture Wifi request probes while still associated with a network and otherwise not affecting that connection. I can successfully enable monitor mode but, of course, can't join ...
5
votes
0answers
35 views

Why doesn't NAT reserve ports from the machine's TCP and UDP port pool?

I made two experiments. This is the network for both of them: [private network] [public network] A -------------------- R ----------------- B 192.168.0.5 192.168.0.1|192.0.2.1 ...
0
votes
2answers
17 views

Octopi.local does not resolve - DNS name resolution issue

I'm working with the Octopi distro and it's supposed to have a few networking things already put together to make things easy out of the box. One of them is an easy-to-use hostname and/or DNS name: ...
1
vote
3answers
50 views

Is it possible to set different DNS servers for different users?

Is it possible to set different DNS servers for different users? Say user test1 uses Google's DNS (8.8.8.8 and 8.8.8.8), test2 would use 0.0.0.0, and both test3 and test4 would use 127.0.0.1. Is ...
0
votes
1answer
17 views

How can I install my network driver on Debian from a USB media?

Here's my typical workflow for installing Ubuntu/Mint: 1) Boot from a USB stick with Live installation 2) Install, reboot 3) Use my USB network adapter which is supported by Mint to get internet 4) ...
0
votes
0answers
12 views

cannot ping nodes on same ad-hoc network with certain adapters

I'm setting up an ad-hoc network made mostly of Raspberry Pis and I'm running into a problem where nodes using certain wireless adapter cards cannot interact with other nodes on the network. I know ...
0
votes
1answer
24 views

Is it Possible to Define Two Name Servers and a HTTP Host in a Unix-Based Server With Only One Static IP Address

Is it possible to define two globally name servers (ns1.example.com and ns2.example.com) on the same server, with an static IP (e.g., 99.99.99.99), that hosts the HTTP through port 80. Why Am I Not ...
0
votes
1answer
56 views

CentOS 6.7: cannot disable netfilter for Xen bridge

Following sysctl.conf settings at Xen host does not work: net.bridge.bridge-nf-call-arptables = 0 net.bridge.bridge-nf-call-ip6tables = 0 net.bridge.bridge-nf-call-iptables = 0 # sysctl -p ... ...
2
votes
1answer
50 views

Static IP address without a gateway

Simple question. I have a machine with multiple network interfaces, two for example - eth0 and eth1. eth0 has a static address and has a default gateway assigned. eth1 has a static address and will ...
2
votes
2answers
27 views

Is there a way for pre-setting proxy addresses for specific networks?

I'm tired of commenting in and out different proxy acquire lines which located in /etc/apt/apt.conf.d/10proxy as I change networks. Is there a way for binding the settings for networks? Iphones have ...
4
votes
1answer
50 views

What is /proc/<pid>/net/dev?

I'm interested in per-process network I/O counters, like those in /proc/net/dev and found what I thought was it under /proc/<pid>, i.e. /proc/<pid>/net/dev. But it seems that was too easy ...
3
votes
1answer
27 views

Is it possible to reduce infomation in iptables log?

I noticed that there are data in the iptables log that I don't need, so I was wondering if it's possible to change some configuration so that the log has less information, reducing the log's size. ...
2
votes
1answer
39 views

How to use network interface as non-root user on Android? [closed]

I want to communicate between my Android device and my Linux box over IP through the USB network interface mode. I have connected my Android device to my Linux box with and put the Android device ...
0
votes
0answers
24 views

Can't find connected devices on wifi network

I've been having some issues with finding my devices on the network.. Ettercap & nmap and everything else I have tried does not find a host that is connected to my gateway? I have three devices; ...
1
vote
3answers
21 views

Remote installation of packages on Ubuntu

I am trying to work on a project where i am supposed to install softwares and packages on one system and it should replicate on other systems connected on LAN. How can i proceed with this?
2
votes
1answer
75 views

Ubuntu 14.04 server: Change em1 to eth0 - no /etc/udev/rules.d/70-persistent-net.rules file

I am trying to rename one of my network interfaces from em1 to eth0. I do not have /etc/udev/rules.d/70-persistent-net.rules. I have tried to regenerate this file by running these commands: udevadm ...
-1
votes
1answer
632 views

Setting up a VPN in Kali Linux 2.0

I just installed the latest version of Kali Linux, i.e., Kali Linux 2.0.  I want to know how to set up a VPN in this version.
0
votes
0answers
40 views

server1 ssh's to server2 but server2 sees server1 by it's private ip due to both servers being on the same firm/network

I ssh into server1 via it's public IP from server2. I then ask server1 what my IP is. i.e. server2's IP. It shows me server2's private IP. I want it to show me server2's public IP. If server2 was ...
0
votes
1answer
78 views

iptables - how to drop protocols [closed]

I have the desktop-server Debian Jessie machine running for testing purposes just for 19 hours now. I have already set a few rules as you can see above. But I am not really into networking. So it ...
0
votes
0answers
38 views

Configure firewalld properly to access a subnet of docker containers from outside the host

Background I have a Fedora 22 Server running a docker daemon. For some reason, i want not to use the "docker0" subnet (which masquerades ip, and i do not want to change this), but my own bridged ...
0
votes
0answers
13 views

How to configure internet connection on LiveCD?

I access LiveCD on remote server over IPMI iKVM. I started Scientific Linux LiveCD yet I see that it has not picked up internet automatically. Server was provided to me with a file containing some ...