Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
751 views

How to set up a “child” proxy that doesn't need a “parent” proxy

I run Linux on a laptop that is sometimes on a corporate network which uses an NTLM proxy server, and thus I have cntlmd running on the laptop as a child proxy to connect to the parent (corporate) ...
0
votes
1answer
19 views

netctl using wrong interface

After a recent Arch Linux update, my ethernet interface somehow got renamed from enp4s0 to enp5s0, as shown by ip link. After correcting this in my profile /etc/netctl/dhcp, and starting sudo netctl ...
0
votes
1answer
27 views

server mointoring / intrusion detection for home nas

I'm looking for some kind of monitor or intrusion detection to monitor my NAS. The following things I would like to monitor: Incoming network traffic (source -> Router -> NAS) from another country ...
1
vote
1answer
75 views

no internet through wwan0 when cable attached to eth0

On my Beaglebone card I run Angstrom Linux. It has one cable in the ethernet port (etho) and a USB 3G modem dongle in the USB port whose interface is named wwan0. At the other end of the crossover ...
22
votes
10answers
24k views
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
86 views

scp ssh: connect to host 10.0.0.109 port 22: No route to host lost connection

I use SCP command on Debian Linux to transfer a file to my colleague via LAN. But I encounter the problem: $ scp filename.file username@10.0.0.109:/tmp ssh: connect to host 10.0.0.109 port 22: No ...
0
votes
1answer
794 views

How to set up wifi hotspot with 802.11n mode?

I have two computers running Ubuntu 14.04 (ok, one is actually Mint 17.1, but that's based on Ubuntu 14.04), and I am looking to use one as a wi-fi hotspot for the other. Both computers have identical ...
1
vote
0answers
13 views

Why is a Linux Tun interface not returning ICMPv6 Echo replies?

I wrote a program which connects to a TUN interface and replies to ICMPv6 Echo Requests. Even though I can successfully observe the echoes and replies with tcpdump on the TUN interface, it appears ...
0
votes
0answers
28 views

Only loopback Ubuntu on Hyper-V

I'm alreay running an Ubuntu server under Hyper-V on NIC 1 (eth0) and now I want to implement a second one on NIC 4 (eth3). Just like with the first server a virtual switch got created without fixed ...
2
votes
2answers
225 views

Wait for a network device to come up before bringing another network device up on boot?

I'm in the middle of setting up my Raspberry Pi running Raspbian as a bridge between my university's wireless network (which requires WPA2-Enterprise authentication) and my private wireless router ...
0
votes
1answer
23 views

Network access behaviour problem

I have Debian Wheezy 64 bit installed on my PC. The problem is that in some situations I can only ping localhost and 127.0.0.1 and don't have access to outside world. And in other cases I can ping ...
0
votes
0answers
30 views

Installing drivers for the ASUS AC-51 Network Adapter

I'm not very good at installing drivers for these 3rd party devices manually. The provided instructions in the "readme" have poor grammar and I'm not experienced enough to fully interpret exactly what ...
2
votes
1answer
92 views

On a router, what decides if a packet should be forwarded or directed into the router itself?

I'm trying to learn how packet routing works on a linux-based router (OpenWRT in my case) a bit better for setting up a few projects/just-learning. Referencing the below chart, I'll break this into ...
2
votes
2answers
870 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 it's dynamic IP address. When this happens, if I check on the status of the dhcpcd service it says ...
4
votes
2answers
70 views

Stop writing to a capture file after it reaches a specific size

I'd like to monitor my network traffic of an specific interface to file. Then I would like to stop the interface if the traffic counts over 60mb total. Is there a possible way to do that?
7
votes
1answer
910 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 ...
3
votes
2answers
1k views

Open and redirect port

I'm trying to set up SNMP for a router so I can monitor it from an existing Nagios installation on an off-site server. I'm having trouble getting the router to respond to SNMP requests from the WAN, ...
1
vote
2answers
739 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
1answer
25 views

Open ports with no associated PIDs

I have some open ports on my laptop but netstat is not reporting which PID/Program is associated with them: $ netstat -tulpn (Not all processes could be identified, non-owned process info will not ...
2
votes
2answers
211 views

IPv6 in IPv4 over LAN

I want to setup IPv6 in my LAN, but also want to have some machine to use IPv4 only. How do I do such setup so that every machine can communicate with each other ? All machines supports dual-ip ...
1
vote
1answer
698 views

Network fail on FreeBSD: Ping to router fails, but router believes computer is connected

I have a TP-Link TL-WN851N wireless adapter, which is based on an Atheros device. When I attempt to connect to my WPA2 wireless network, ifconfig wlan0 tells me that the connection is 'associated'. My ...
1
vote
0answers
31 views

Arch Linux network issues [closed]

Installing arch on a 64 bit virtualbox vm, following the Beginners' Guide I got to the configure your network part, and I had ran pacman -S dialog, succesfully, but when it came to pacman -S grub ...
1
vote
0answers
112 views

VirtualBox network interface with custom CIDR and internet access

I have an OpenStack setup running on VirtualBox. The host OS is Ubuntu, and the guest OSes are all Ubuntu. I use 3 VirtualBox VMs to setup and install OpenStack. My OpenStack setup further spawns ...
0
votes
1answer
3k views

Consistent network interface name ubuntu using pci slot

One can set consistent interface naming via mac address by modifying /etc/udev/rules.d/70-persistent-net.rules. Can you establish consistent interface naming by PCI slot number? (I tried but failed) ...
3
votes
4answers
25k 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 ...
1
vote
1answer
22 views

FTP not happening on RHEL 6 Server configured using a Vm Player 11

I am not able to ftp to the server server from a client. I am using my base machine as Ubuntu 14.04 . Below is the ifconfig output:- raghav@raghav-HP-15-Notebook-PC:~$ ifconfig eth0 Link ...
1
vote
1answer
29 views

Network Configuration for Rocks Cluster

So I'm trying to set up a Rocks cluster and seem to be failing at the network configuration part, as I can not get an internet connection in my final install. So the address of that computer that ...
12
votes
2answers
60k views

Sending messages to another user

Is there any command to send messages through the Linux shell to other people on the same network? I'm using write user and then write the message itself. But there's any command that doesn't show my ...
1
vote
0answers
54 views

Error mounting NFS unit between synology server and RaspberryPi client

I'm trying to mount an NFS (v4, or v3.. but get the same error...) from a Synology Server to a RaspberryPi client. But I get this error: mount -t nfs4 IP_address_of_server:/volume1/nfsnvf /mnt/nfsnvf ...
1
vote
1answer
9k views

Linux Centos 6: Restart Network Service after lost ping

My OS is Linux Centos 6. Restart Network Service after lost ping Basically, I need a watcher or a script that will detect no ping to/from another ip address and run service network restart after ...
0
votes
1answer
32 views

Is the return value “-1” of the function socket close() method possible?

Under which circumstances is it possible to produce a return value of -1 when closing a network socket using it's close(int fildesc) method? I suppose it is possible with an invalid fildesc number, ...
4
votes
1answer
50 views

Wifi cuts out after some time

I recently installed Debian on my laptop (after playing around with dozens of distros in VMs for a year or so), and while most everything has gone quite swimmingly I'm having some issues with my wifi. ...
2
votes
1answer
43 views

Make OpenVPN restart upon new network connection on systemd

How would you go about making OpenVPN automatically restart upon connecting to a network? The issue is that every time a network connection is lost, or if the computer is booted without a network ...
0
votes
2answers
24 views

KeepAliveD Documentation

I am looking for a consolidated documentation for KeepAlieD. My apologies if this is not the right place to ask this question. However, even after extensive googling for 2 days, i could not find a ...
1
vote
1answer
25 views

Incorrect iperf configuration?

I have a laptop (with Ubuntu) and a router (with OpenWrt). When I check the version for both, the laptop says I have version 2.05 for multithreads and the router says I have 2.05 for pthreads. Both ...
1
vote
3answers
77 views

How to resolve hostnames with Raspbian 5/5/2015?

I'm relatively new to Linux and falling down the tree and hitting every branch on the way down (it seems). I'm trying to share an NTFS drive, or a directory on the drive, via samba, and I have found ...
0
votes
1answer
19 views

minidlna from one server not being spotted

I have minidlna set up on two servers on my subnet. One [serverA] is found by the other server [serverB] and the tv. The other [serverB] is not picked up by either other device. A quick check with ...
0
votes
0answers
12 views

PPTP IPs different than LAN ips

in /etv/pptpd.config I have: localip 1.0.0.1 remoteip 10.0.0.100-200 my server real IP is 192.168.1.40 (my LAN is 192.168.1.0) is it OK to do it? how I can route it so the clients with ...
1
vote
0answers
20 views

Default lxc networking suddenly stops to work

I've recently installed lxc on ubuntu 14.04. Networking used to work (lxcbr0 being a NAT interface, DHCP configured using dnsmasq) but after a container restart, the networking does not work any more. ...
2
votes
1answer
30 views

Disabling wlan0 adapter

Question: What is the terminal command behind right clicking on the wireless icon (Ubuntu 15.04) and then unchecking "Enable Wi-Fi" the box? Why am I asking it? macchanger just work for me when I ...
0
votes
0answers
35 views

Iperf connection failed

I have an openwrt router connected to my ubuntu laptop with an ethernet cable. I installed iperf on both, and now I am trying to run commands (i.e. iperf -s), but I keep getting the following errors: ...
0
votes
0answers
10 views
1
vote
0answers
16 views

Can't access host-only network when on two interfaces

I'm trying to use a host-only connection with my VirtualBox VM. My VM is set up and can ping the host (192.168.56.1) on vboxnet0. If I disconnect the host from my local network (internet access) I ...
1
vote
1answer
58 views

What are possible reasons why iwconfig is not updating connection stats?

I use iwconfig to show me some information about my current internet connection like this $ iwconfig wlp2s0 IEEE 802.11abg ESSID:"eduroam" Mode:Managed Frequency:2.462 GHz Access ...
2
votes
1answer
62 views

what does none in “tun0@none” stand for?

In the output of ip a I just got the lines: 4: tun0@NONE: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100 What does the NONE in there ...
0
votes
1answer
394 views

Frequent disconnections in OpenVPN

I'm suffering random disconnections with OpenVPN. I don't know much about the subject, maybe you can point me in the right direction? Here is the tail for /var/log/messages, it contains a <warn> ...
7
votes
3answers
3k views

How to know if a process is attached to a tap interface?

I sometimes come upon machine with tap interfaces (eg, when KVM is running). How can I know which process is attached to the TAP interface?
2
votes
1answer
73 views

Is it possible to echo characters directly to network?

Even when this is a network problem, I would say this is rather a Unix/Linux experienced users question. I am trying to manually send a network magic packet by using echo and redirectors (file ...
2
votes
2answers
233 views

reset Ethernet bonding without rebooting

I have the following Ethernet bonding configuration: old configuration: bond0 eth0 eth1 bond1 eth2 eth3 new configuration : bond0 eth0 eth2 bond1 eth1 eth3 I have made the ...