Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

3
votes
1answer
502 views

Simplest way to set up multiple subdomains to separate VMs running on single host

Problem: I´m planning to set up several virtualized centos, rhel or ubuntu guest machines on a single centos host server (most likely using KVM). Each guest VM is running an instance of a webapp + ...
2
votes
3answers
63 views

Is there a command to deny an IP

Looking at the access log I found excessive access from an IP address. I then edit either .htaccess or .conf files to deny access from that IP. I wonder if there is a command or a oneliner that can do ...
2
votes
3answers
325 views

Chat from one system to another in a terminal

I would like send a chat message (like mail chat) between two systems, the systems are inter-connected proxy IP.
3
votes
2answers
69 views

Do I want a Repeater or a Bridge? (OpenWrt)

I'm setting up a network with openwrt. I have a router that I have set up for wifi which I will use as an access point. I want to add another router to my network so that the two can exchange traffic ...
-1
votes
1answer
26 views

Transmitted packets on a LAN interface may increase received packets on WAN interface?

Supose a simple home router gateway and the following: lan0 - Network interface responsible for LAN-side of the router wan0 - Network interface responsible for WAN-side of the router A default route ...
1
vote
2answers
50 views

How to change the last IP digits on linux command line

I'm trying to change the last digits of the IP address that I got stored as a variable ip=$(ifconfig eth0 | grep "inet addr" | awk -F: '{print $2} | awk '{print $1}') The output would be ...
1
vote
1answer
72 views

Arch Linux: Despite ot static ip configuration I get a DHCP address

This is very strange to me. On my Raspberry Pi running the latest Arch Linux I disabled all the DHCP service on ETH0 and everything else DHCP: rm /etc/dhcpcd.duid pacman -R dhclient pacman -R dhcpcd ...
1
vote
0answers
16 views

Authentication shared over multiple systems [closed]

TL;DR I'm looking for a software that allows authentication shared over multiple systems to be used for authorizing access to all devices connected to a network. Any advice, recommendation inclusive ...
0
votes
1answer
40 views

Simultaneously operate on multiple wireless networks

I'm running an Ubuntu 14.04 server. For an experiment I'm running I have the following requirements: -Receive data from multiple (3-4) wireless networks. -Machines on a network will only need to ...
1
vote
0answers
55 views

Change timeout of an entry of ipset with iptables rule

I'm trying to create a set with ipset and using it in some iptables rules. ipset has timeout option to set a countdown timeout to an entry of a set to automatically remove it after a period of time. ...
1
vote
1answer
25 views

Estimating time to send a single file with fixed network throughput?

Let's say I have several files with different sizes (10KB, 100KB, 1MB, 10MB, 100MB). Starting individual transfer of those files over 2MB per second network will return different final throughput ...
1
vote
0answers
33 views

Prevent Chromium/Chrome from displaying URLs under certain directories

I'd prefer a low-level approach, e.g. changing the hosts file would be perfect (but AFAIK only domains, not directories can be rerouted there). I'm looking for a way to block ads without resorting to ...
2
votes
2answers
61 views

Linux network stops functioning after random time (wired)

I'm unsure if this is hard or software issue but I really need to find out. I was running Windows 8.1 for some time, then swapped to Linux mint with kernel 3.13 which worked fine. I updated kernel to ...
1
vote
1answer
32 views

How to direct host's browser to guest VM?

Host - Windows 7 Guest - CentOS 7 I have set up a CentOS VM using VMware Player. I can now connect to the internet (ping google.com, install packages using yum are all successful) after changing the ...
2
votes
1answer
83 views

How to connect CentOS virtual machine (on VMware) to the internet?

I have set up VMware and installed a minimal CentOS (my laptop's OS is Windows 7). But cannot connect to the internet. Eventually I tried following this guide but still no luck. Trying to ping a ...
0
votes
1answer
12 views

dig domain replay SOA

I have a domain and when I use dig jeeja.biz it just gives me my server ip address. ;; ANSWER SECTION: jeeja.biz. 13914 IN A 209.15.212.171 But when I use the same command on another ...
0
votes
0answers
18 views

Connect HDHomeRun directly to a computer and share with the rest of the network

I installed Linux Mint recently on my new Intel NUC. I would like to connect my HDHomeRun directly to the computer through the ethernet port and use the built-in WiFi as a bridge to allow the rest of ...
0
votes
0answers
23 views

i have ap-hotspot installed and working but only https sites can connect

I currently installed app hotspot on my linux-mint everything looks fine now but only https sites can be connected from my galaxy s4 phone such as facebook google etc. When i want to connect some ...
1
vote
0answers
124 views

Huge packet loss on openwrt

I have a strange issue on mikrotik rb951-2hnd router. I firmwared it to openwrt a few years ago and everything worked fine. Just a few months ago I decided to update firmware. So I did it and ...
8
votes
3answers
340 views

How many bytes occupy a simple nmap to a host?

Today the IT manager got angry because I used nmap on the 3 servers I manage to see what ports they had open. I know I could have used netstat inside the host' shell. He told me that "If the network ...
3
votes
1answer
53 views

Force local IP traffic to go through LAN WITHOUT ip address changes

I post this question on serverfault a few days ago but i think it's more accurate here. I know there's some topics about forcing local IP trafic of a Linux machine to go through the LAN (over the ...
0
votes
1answer
48 views

Device shown using lspci but udev not loading the driver

My nic shows using lspci -v but udev is not loading the driver for it. Links to screenshots of diagnostic output are below. dmesg insmod lspci pacman -Qi ls /sys/class/net uname -a original ...
1
vote
1answer
42 views

Unix Program (not ab) to create local requests to local server with different IP addresses

I made a module for apache and want to test it across thousands of different IP addresses in a short time. Currently, my only option is to integrate the module onto a live server for which I have ...
1
vote
0answers
58 views

Howto configure linux router to allow clients to use maximum bandwidth?

The problem is that I'm always limited on the final client machine to about 1/3 (one third,about 200/300kb) of the internet hotspot bandwidth when testing download speed with wget. I have configured ...
1
vote
1answer
21 views

How can I run a command on all cliennts at a time from the server that all are connected to NIS & NFS server?

NIS and NFS configured network. 1 NIS server, 1 NFS server, 50 NIS & NFS clients. OpenSUSE 13.2 Need to run a command on all clients from server machine. Command: an installation command on ...
2
votes
3answers
869 views

Check that fail2ban is running?

I just installed and configured fail2ban. I want to make sure it is working. I don't want to block myself from the server so I can't just login (poorly) a bunch of times. How do I see that fail2ban is ...
2
votes
3answers
168 views

How to create a TCP listener?

Introduction: I have created a bash function that is able to check whether a port is available and increments it by 1 if false until a certain maximum port number. E.g., if port 500 is unavailable ...
7
votes
2answers
16k views

Arch Linux not connecting to Wifi anymore

I have been using Arch Linux over a month now. I have used wifi-menu to connect to my Wifi Network. I run the command every time I start my laptop. wifi-menu always gives this error when I try to ...
1
vote
2answers
715 views

How to monitor network performance for each application in FreeBSD / PC-BSD?

I'm using a PC-BSD workstation, and I would like to know if there is a way to monitor which app / process is using the network. I use a Mac OS X (Mavericks) laptop, and the "Network" tab in the ...
1
vote
1answer
26 views

Is there a way to have netcat listen and place incoming files in a destination directory?

I'd like to use netcat to regularly transfer files to a media server on my network. However, I can't figure out how (or if it's possible) to do something like nc -l 5959 > /media/data/, where ...
0
votes
0answers
38 views

Many Linux commands hang during execution, but system is alive [duplicate]

I can access the system through ssh, but many commands would hang, like the following: # ps axf Read from remote host 172.17.102.22: Connection reset by peer Connection to 172.17.102.22 closed. # ls ...
0
votes
1answer
194 views

Huawei E3372s + Linux (Rasbian), Incoming connections problem

I have a Linux-based OS (Rasbian) running on Raspberry Pi 2+ and it is using Huawei E3372s 4G/LTE USB Stick for internet connection. All my outbound connections work perfectly (Huawei USB mode ...
1
vote
1answer
52 views

Is there any P2P VPN solution that does not requiere port opening(forwarding)?

The closest to a VPN P2P-based solution that I have found is PeerVPN: really easy to install, but it needs to open one port (7000 TCP by default) on one of the computers (also known as node) that runs ...
1
vote
0answers
36 views

Share WiFi internet over same WiFi adapter

I am trying to share internet through my WiFi adapter which is in use for connection to that internet. While I had Connectify license on Windows, I was able to do so: Internet from: My Wifi adapter ...
1
vote
1answer
36 views

How to Connect Different WiFi interfaces : 1 for external 1 for internal

I've built a Wireless Access point using hostapd and udhcpd. I have 2 WiFi dongles, one is used as wlan0 other is used as wlan1, I connected one of them to internet and other is keeping working as an ...
1
vote
1answer
215 views

Permission denied when trying to access mounted windows NFS

Full disclosure: I'm a complete noob with NFS and have very little idea what I'm doing. After hours of googling, I ended up here. I am trying to mount an NFS folder that I have set up on a WIN08 ...
0
votes
1answer
83 views

Leoxsys nano wifi adapter installation in backtrack 5r3/kali linux 1.1.0

I have leoxsys nano wifi adapter 150mbps using chipset realtek 8188ETV. It works fine in windows but not recognised in backtrack or kali linux via vmware workstation 9/10/11. When i gave the command ...
0
votes
1answer
91 views

Why Gentoo detects no network devices? [closed]

I've faced the problem installing Gentoo: after the installation is seems to be completed and LiveCD is extracted, network becomes unreachable: gentoo~ # ping 8.8.8.8 connect: Network is unreachable ...
1
vote
1answer
78 views

Why is setting up WLAN in Debian so hard? (compared to Ubuntu) [closed]

switching from Ubuntu 14.04 to Debian jessie (LXDE) on a ThinkPad T500 Lan (eth0) is configured in /etc/network/interfaces and works fine. After setting up LXDE i wanted to switch to WLAN and it ...
3
votes
3answers
5k views

Auto connect to a wireless network (Ångström Linux)

I am using Ångström Linux on BeagleBoard-xM. I have installed a RTL8188SU USB Wi-Fi adapter and configured it properly. But it doesn't connect automatically even though I have marked the interface as ...
0
votes
2answers
206 views

Ubuntu won't connect to university internet [closed]

My WiFi adapter shows networks in the area, but will not allow me to connect to my university Internet. Normally, on Windows, I connect to the Wifi by clicking connect. It shows it as connected, but ...
0
votes
1answer
73 views

Bridge and iptables postrouting

I have a Linux 3.14 PC with three NICs and a bridge between two of the NICs (eth1 and eth2). My Question Why is there no traffic passing through the POSTROUTING rule? FYI, traffic is passing ...
0
votes
1answer
17 views

How do I allow other physical machines on my LAN to connect to a web server hosted within my local virtual box windows VM?

I am running Windows Server 2008 R2 within Virtual Box v4 with os x 10.6 as my host. Within Windows Server, I am running IIS and I have successfully been able to access my web server with Internet ...
1
vote
1answer
63 views

Access Point offers itself IP if used as DHCP Server?

I'm trying to use an raspberrypi (OS=raspbian 4.0.7) I had flying around so I researched a little bit and everything seems to work more or less fine. I am using hostapd in combination with an wifi ...
1
vote
1answer
68 views

Need help setting up networking for KVM on Gentoo with exit to wifi adaṕter

I am running Gentoo Linux on an AMD64 laptop, and I am having an extremely hard time setting up host networking on KVM. I alreay have KVM, libvirtd, virt-manager, the kernel modules required to get ...
14
votes
1answer
21k views

Good detailed explanation of /etc/network/interfaces syntax?

I understood the very basic concept of how to use /etc/network/interfaces, but all I find online are examples, example after example, which I can copy-paste from. What I miss is an explanation of the ...
2
votes
1answer
82 views

“Network is unreachable”, github, bitbucket is not working

The output of ifconfig eth0 Link encap:Ethernet HWaddr 3c:97:0e:74:43:8e UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 ...
1
vote
3answers
129 views

Impossible to have two network interfaces wifi and ethernet (as a backup) working together

I have a raspberry 2 with a wifi interface and an ethernet interface. wifi is my main connection with the ability to just plug in the ethernet as a backup method. I want to assign different static ...
1
vote
3answers
200 views

Force all network traffic go through default gateway

I have a machine that I want to force all traffic to go through the default gateway. Even traffic on the local network. I have made it to work by removing the auto generated route for this interface, ...
0
votes
0answers
23 views

Internet connection drastically different for users

I am using Fedora 16, I know it's been EOL-ed but I've been too lazy to update and reinstall something new. Mostly, it works fine except that my main user's internet connection is really crappy and ...