Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

7
votes
1answer
912 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 ...
0
votes
0answers
16 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
15 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 ...
11
votes
5answers
8k views

Openswan connecting to multiple right subnets not working

I'm trying to use Openswan (version 2.6.37) to connect an IPsec VPN from my local network to a remote site. Everything works fine when I just want to connect to a single subnet on the remote site. ...
0
votes
1answer
18 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
29 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 ...
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 ...
1
vote
0answers
16 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
1answer
88 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 ...
1
vote
0answers
50 views

Docker container manual networking setup not working

I have an application environment where two containers need to talk to each other. Container A gets a message from Container B, and Container A initiates a connection back to Container B using the ...
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 ...
1
vote
2answers
748 views

Command/scripts to check the Reverse DNS Lookup time

I am working on a project in which one master communicates with numbers of slaves. For that it has to make connection with hosts in network. But sometimes it hangs. I think that the reason behind is ...
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
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 ...
0
votes
1answer
34 views

Pinging between Mesh Network Nodes OpenWrt

I have two mesh nodes that I have configured to be on a mesh created using OpenWrt. I used the tutorial here to set that up. When I ran iw dev $MESH_IFACE station dump, I got the output that I ...
6
votes
1answer
1k views

What do I need to add a virtual IPsec adapter?

I'm trying to set up an IPsec connection manually from the console with iproute2. What I need is a virtual interface (at best, a virtual IP address could also be sufficient) that IPsec-transforms ...
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?
2
votes
1answer
76 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 ...
2
votes
0answers
53 views

Confusing my IP stack

At work, I have an Oracle GRID/RAC cluster of two hosts, including Oracle's SCAN functionality. Picking one host: eth0 is the management port on 169.254.10.25. eth1, eth2, and eth3 comprise bondeth0 ...
2
votes
2answers
648 views

Fedora 15 won't remember wireless password

I just installed Fedora 15 beta with Gnome 3. I've done all the updates. The networking applet asks for the wireless password every time it connects. I found this bug, which says that the issue is ...
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 : ...
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. ...
0
votes
1answer
1k views

Mint 15 on Lenovo G700: wired internet not working (Atheros QCA8172)

Mint 15 doesn't see internet after installing it in dualboot with windows 8 (in Windows internet works well). My network card is Qualcomm Atheros QCA8172 Fast Ethernet (rev 10). What I did: Install ...
0
votes
0answers
48 views

Why do SSL negotiation fail on Linux? (Asus P5S-MX) (but worked on Windows7)… FIXED, but UNRESOLVED

Can anyone tell give me hints to why the web requests fails in these wireshark/tcpdump traces ? (and perhabs hint to why a linux distro would start with SSLv3 as starting point) I a noob when it comes ...
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 ...
1
vote
3answers
5k views

D-Link DWM-156 HSPA USB Modem doesn't work with SIM card inserted

I have a D-Link DWM-156 HSPA modem, that I bought just a few days ago. The modem has drivers in its internal storage. There are Debian packages (.deb) for both i386 and amd64, so obviously I installed ...
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 ...
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 ...
2
votes
1answer
3k views

Where is my eth0 configuration on Wheezy

I have a perfectly happy Debian Wheezy 7.4 install that sets up eth0 as DHCP. But as I want to set a static IP address for it, I navigate to /etc/network and open up the interfaces file and see the ...
0
votes
1answer
3k views

Linux Mint 17, Wifi Slow and Drops Connection, No Ethernet Connection

On a fresh install and updated Linux Mint 17 XFCE, the system cannot maintain an internet connection through wifi, and is unable to connect at all through ethernet. Wifi will work somewhat slowly for ...
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
35 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 ...
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
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 ...
-1
votes
1answer
638 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.
4
votes
1answer
2k views

Networking and Samba from a quest OS running on qemu

I'm trying to test some software on a big endian system to ensure compatibility. My plan is to use qemu on Ubuntu 12.04 to emulate a MIPS system. So far I've been able to create the quest system ...
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
3
votes
1answer
2k views

Accounting for /proc/net/dev reported traffic

I noticed that according to /proc/net/dev I am constantly receiving around 6Kb/s on my wireless usb interface. But I can't account for anything even close to that with the individual connections that ...
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?
5
votes
1answer
3k views

Debian, two network cards - “no route to host” on eth1

I have added a secound nic in a debian box. That nic is ment for doing some test stuff, so those devices connected should just be able to access the debian box or be accessed from it. To set up the ...
1
vote
1answer
2k views

Trouble switching from DHCP to a static IP on Kali Linux

When I installed Kali Linux 64bit, I forgot to set up a static IP address, and now DHCP determines my address with my router. I have already modified /etc/hosts and /etc/network/interfaces to declare ...
0
votes
2answers
843 views

Realtek drivers prevent detection of eth1 interface?

Here's the situation: I had a working network setup on my Debian box, with two Ethernet interfaces being reported by ifconfig - eth0, and eth1. eth0 is an onboard Realtek NIC, and eth1 is a D-Link ...
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 ...
1
vote
2answers
649 views

Missing network list in menubar after using airmon-ng

After using airmon-ng in kali linux the list of available networks is missing in the menu bar at the top. Can anyone please tell me how to "reactivate" it? When i use iwconfig it shows up an entry ...
1
vote
1answer
775 views

Is it possible to prevent eth0 network traffic from accessing eth1 network?

I am not really sure how this is possible but I have a linux(ubuntu 14.04) box with 2 interfaces. eth0 is connected to our lan 192.168.0.* and eth1 is connected to a dlink wifi router on network ...
2
votes
1answer
776 views

redirect web server with no-ip and port forwarding in livebox

I want my Apache web server running on a Livebox (home router appliance running Linux) to be accessible from the Internet (WAN). I installed and configured the application noip2 on my Ubuntu PC. ...