Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

8
votes
4answers
1k views

Simplest way to send files over network

What is the simplest and most versatile way to send files over the network to other computers? By that I mean computers that other people are using at the moment. I don't think SSH works if the ...
1
vote
0answers
93 views

Bridge interface - add default route

I used to connect my ubuntu 14.04 laptop on office network via eth0 and the route table gets updated with the office network gateway ip in auto mode. Now, i changed my /etc/network/interfaces ...
0
votes
0answers
30 views

How to add routes multiple times in routing table?

Need to add same route multiple times in the routing table, or is there a way to maintain references in the routing table entries ? (may be with different priorities etc.) Am working on a switch ...
1
vote
1answer
49 views

What is blocking: Firewall and tcpwrapper?

Is it possible to find whether firewall(Iptable) or tcpwrapper is blocking a connection without accessing the remote server? (tcpdump?) Thank you,
0
votes
0answers
33 views

Command to see my current ip if proxy is applied only for a certain website

It might not be a relevent question here on so, but I tried on http://networkengineering.stackexchange.com and there are less users. So, I am not a networking guy and I have the next situation: I ...
2
votes
3answers
71 views

is there a system-wide “extension” to /etc/services that does not get replaced on package updates?

I know how to use /etc/services but if I change it and the inetd package is later updated via apt-get to a new default one, my changes are gone (happened to me on a apt-get dist-upgrade from Debian ...
1
vote
0answers
55 views

Program like vnStat that filters for only external (Internet) traffic

I've been using vnStat to monitor the ethernet interface on a Linux computer, but found that it includes all local traffic. I do many file transfers from within the subnet which far exceeds the ...
0
votes
1answer
76 views

Samba and usbmount: can't write on automounted device

This is my problem: I configured my RPi with Debian: Samba shares /media/, that is readable-writeable-executable from my home network usbmount automount USB devices when inserted in my RPi, in ...
2
votes
1answer
68 views

how to overcome conflict between 2 network cards - virtualbox ubuntu

I am running ubuntu 10.4.04 LTS as guest in virtualbox on OSX Yosemite. Unfortunatelly I seem to have the network configured wrong I followed this tutorials ...
11
votes
2answers
667 views

practical usage of /etc/networks file

What is the practical usage of /etc/networks file? As I understand, one can give names to networks in this file. For example: root@fw-test:~# cat /etc/networks default 0.0.0.0 loopback ...
1
vote
1answer
51 views

Bonding two interfaces

I'm trying to simulate bonding between two interfaces eth0 and eth1. So basicly, I need these two interfaces to be on the same subnet. My question here is: How can I achieve this?
2
votes
1answer
59 views

Addresses overlaps

I was putting somes static addresses to my interfaces then it shows me this: 172.16.1.0 overlaps with FastEthernet 0/0 What does it mean when two addresses overlaps and how can we avoid it? EDIT: ...
5
votes
2answers
1k views

Elementary OS shows WiFi networks, but won't connect

In the top bar, clicking the network icon shows a list of networks. My school's network, which on Windows I would connect to, and then visit a login page in Chrome in order for it to work, shows on ...
1
vote
0answers
60 views

Linux - iptables - get YouTube streaming bytes usage

How do I get bytes usage using iptables for a particular IP, including YouTube streaming videos? Currently, I am using the following IP tables rules to get data usage by IP address: sudo iptables -I ...
3
votes
1answer
89 views

I can't ping my bond interface when simulating 2 WAN connections

I'm actually simulating 2 WANs connexions with Wanem (each one on a different VM), those are connected to my servers. What I need to do here is to create a bonding to improve my bandwidth. I've ...
0
votes
2answers
44 views

Unable to connect to certain IP address, but able to connect to other IP in same subnet

I'm running a 14.04.2 LTS ubuntu box in a DMZ with IP of 10.10.30.35 and I have the following network mystery. I'm trying to connect to another unix box outside the DMZ but in our internal network at ...
0
votes
1answer
30 views

What happens to TCP when a write fails to enqueue with the device tx ring?

Lets say the device tx ring is full and you do a normal C non blocking write(fd, buff) to enqueue data in the TCP SND buffer. What happens when this fails? In UDP - the packet would be dropped but ...
1
vote
1answer
70 views

Sharing the loopback interface across network namespaces

I'm interested in using a separate namespace for running a VPN client, so that every process I run into that namespace accesses the Internet through the VPN. That part I've managed to accomplish. ...
1
vote
1answer
56 views

Unable to access another server over local network on Digital Ocean

I have two servers. Let's call them A and B. Both are running ubuntu server 14.04. B runs percona server. Now I do not have any firewall set-up on either servers still I am unable to connect to server ...
0
votes
0answers
36 views

IPvsadm, cannot get it to work at all

From my production server, I should make several connections (>50) to two different IP addresses. I am trying to load balance among these two IP addresses when making outbound connections so that the ...
0
votes
1answer
105 views

How to force nm-tool to update its DNS servers

Using Ubuntu 14.04LTS and having a problem with changing DNS. I can change servers in the /etc/resoolvconf/resolv.conf.d/base and head files and restart resolvconf using sudo resolvconf -u and it will ...
0
votes
0answers
30 views

URXVT network issues

So yeah. Whenever I maximize URXVT my friend's computer's League of Legends client, while in-game, latency goes up to around 3,000. Wireshark, ntop and tcpdump do not reveal any outgoing packets ...
1
vote
0answers
61 views

Get Debian Wheezy netinstall to detect wlan

I'm attempting to install debian wheezy from the netinstall iso burned to usb. I'm trying to use a Belkin F9L1002v1. First time I attempted installation, I was notified of some missing firmware, so I ...
2
votes
0answers
138 views

Running a systemd service file after the network is up to bypass an OpenVPN default gateway

I would like to add a static route using a systemd service file on system boot. I have a DMZ network on a separate 192.168 class C network reachable via my default gateway. I also use OpenVPN to ...
0
votes
1answer
39 views

What does “network interface” mean in /etc/network/interfaces, ifconfig and iwconfig?

/etc/network/interfaces is a file configuring network interfaces, and ifconfig and iwconfig are commands operating on network interfaces. I saw the logical name for a network interface they use can ...
0
votes
0answers
32 views

Snort alerts analysis (web interface)

I have a question about Snort (or maybe any other IDS/IPS, any working solutions would be ok). The goal is to set up some web interface providing a way to view the whole TCP stream packets of each ...
1
vote
1answer
163 views

ifconfig not showing ip address under eth0

Usually when I connect my raspberry pi to my laptop using an ethernet cable, the ifconfig command in each computer would show the ipaddress of each computer under eth0. I recently got a new raspberry ...
1
vote
0answers
24 views

List all layer 3 protocols available in my system?

I am studying the OSI model and I have some doubts. How do I list layer 3 (OSI) protocols available/running in my system? Can I monitor them? Can I access to them (other than IP) from an programming ...
0
votes
0answers
35 views

How much of Linux's recent TCP bufferbloat remediation also applies to SCTP?

I am looking at rebuilding an existing communications sub-system within a shared-nothing cluster. The current message protocol is built on UDP but layers on reliable, in-order delivery and ...
1
vote
2answers
121 views

How can I bring up up a non-boot (ONBOOT=no) network interface with iproute2?

Have a network interface that does not come up on boot-up: [belminf@tito ~]$ grep ONBOOT /etc/sysconfig/network-scripts/ifcfg-enp0s3 ONBOOT=no I know I could do the following for DHCP: ...
0
votes
1answer
202 views

-bash: auto: command not found

I'm going to config my network interfaces and run this command: auto eth0 but it returns -bash: auto: command not found. It seems I've missed something which I don't know. Any idea? What should I ...
1
vote
0answers
51 views

Change of Network Interface using Metrics

I want to achieve dynamic interface change between eth0 and wlan0, one solution I am looking into is to change interface metric. Different than this question, I don't want to make any change to ...
1
vote
1answer
42 views

how to use tc with htb on arch-linux

I'm trying to use this tc script on my arch box. Specifically, the first line, roughly equal to tc qdisc add dev eth0 root handle 1: htb default 3 fails with RTNETLINK answers: Operation not ...
1
vote
1answer
58 views

How to find bandwidth usage/bytes transmitted/received within a certain time frame

I'm looking for a way to get numbers on bandwidth usage of an eth port. But I need to filter the results to only show me numbers for the last 24 hours. Or any time period in hours or minutes. Just ...
0
votes
1answer
48 views

SUSE 12 setting up virtual network interface

I'm struggling to setup virtual eth interface on Suse 12 When I run: ipconfig eth0:1 10.0.0.2 netmask 255.255.255.0 Output from ifconfig is as expected: eth0 Link encap:Ethernet HWaddr ...
1
vote
0answers
55 views

Route wireless LAN through OpenVPN

I am trying to set up my home server to act as an OpenVPN gateway so I can connect to my VPN from any device without installing special software of them. My server is running Ubuntu 14.04. The host ...
0
votes
2answers
177 views

Connection Timeout for ssh connection depending to the ip location?

I have a machine where I can connect it using ssh from different networks. But when I have moved to other country I have not be able to connect it. What may be the cause? I am able to ping the server ...
0
votes
0answers
46 views

ssh_exchange_identification: read: Connection reset by peer (Have access to the server)

I'm getting "ssh_exchange_identification: read: Connection reset by peer" for ssh into a machine. However, it only happens to my machine and it works for the other person next to me (we share the same ...
0
votes
0answers
61 views

command line tool group chat utility under linux

I am working on mac osx Yosemite. I want to reach to a user under a certain IP address. (It might be local network or thru internet). I want to do it thru terminal using the default tools that ...
3
votes
0answers
54 views

Is there a thing like “veth”, but without link-level headers?

When I use separate network namespace, I often set up networking there using veth: ip link add type veth ip link set veth0 netns 1 ifconfig veth1 192.168.60.2 ip route add default via 192.168.60.1 ...
1
vote
1answer
81 views

CentOS 6 Static IP Address

I've just assigned my CentOS machine with a static IP address using the /etc/sysconfig/network-scripts/ifcfg-eth0 which has the following lines and seems to be working #eth0 config DEVICE="eth0" ...
0
votes
1answer
23 views

How to effectively capture traffic on port 5060 between specific time internals?

users. I want to capture traffic on port 5060 for one week in a file, than wants wireshark to rotate file and start capturing for next week with a different file name. I know little about tshark, ...
1
vote
1answer
42 views

Can't use 2 interfaces at the same time

I can't get eth0 and usb0 (same with wlan0) working at the same. When I activated the Android Tethering, I did route add default gw 192.168.42.129 usb0, and so, route -n outputs: Table de routage IP ...
1
vote
1answer
133 views

How to create permanent ip alias belonging to different subnets in Centos

I followed this link and created few alias ips on my centos 6.5 machine but all these ips belong to same subnet. What I have: My machine: eth0, 10.91.56.3 IP Alias1:eth0:1, 10.91.56.4 IP ...
0
votes
1answer
40 views

Is there a way to switch interface only by interface name?

I am currently working on how to switch network interface in Linux environment. And i am experimenting on switching network interface by switching default gateway, for example switch to wlan0 when ...
0
votes
1answer
269 views

Laptop connected to wifi but no internet

For some reason my wifi has decided to stop working. I can connect to APs, I can have excellent signal strength, but I can't actually load any web pages or ping anything. I know it's my laptop because ...
0
votes
0answers
77 views

Creating an open wifi acess point for April Fool's Day which I want the client can only visit the login/splash page, but not working

I bought a Hiwifi J2 (Chinese) router, and sysupgraded to OpenWrt (not official version, but a patched version based on OpenWrt Barrier Breaker: https://github.com/rssnsj/openwrt-hc5761). Then ...
2
votes
1answer
67 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 ...
1
vote
0answers
123 views

/opt partition not mounting in DD-WRT v24-sp2

I'm facing problems trying to install optware packages on a TP-Link TL-WR841n v8 running DD-WRT v24-sp2 (4MB flash, 32MB RAM). I did the following through telnet: nvram set jffs_mounted=1 nvram set ...
1
vote
0answers
45 views

No “rwnd” option to “ip route” for managing the receive window?

Context: I'm doing some self-guided studying on TCP Window shaping. The scenario I'm trying to control for are clients which will be pulling down large amounts of data in addition to their normal ...