Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
1answer
26 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, ...
0
votes
2answers
15 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
votes
0answers
23 views

VPN or anything similar to avoid Chinese Firewall [on hold]

One of the worse days today. Can't open any website under 60sec, timeouts, downloads failed, pictures won't load. Currently I'm using a VPN (PPTP) provider with servers in US, NL, DE and UK - US ...
-3
votes
0answers
9 views

Fast & Traceable copy of 2 TB data over Gigabit LAN from Ubuntu live mounted Volume to Synology NAS (Win SMB, NFS, Mac AFP)? How? [on hold]

Fast & Traceable copy of 2 TB data over Gigabit LAN from Ubuntu live mounted Volume to Synology NAS (Win SMB, NFS, Mac AFP)? How? I am going a Data Recovery using a Unbunto Live CD (14.x LTE) ...
1
vote
1answer
12 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 ...
0
votes
0answers
6 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 ...
0
votes
0answers
37 views

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

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 ...
1
vote
3answers
44 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 ...
1
vote
0answers
7 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
20 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
1answer
24 views

Suddenly all connections are rejected [on hold]

My system is Debian 8. Just now I was using ssh to connect to my laptop and programming. I swear i didn't even use sudo command, but all in a sudden, all connections are rejected. It seems that ...
0
votes
0answers
8 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
7 views

AODV Routing protocol on Raspberry Pi model B?

is it possible to run the AODV routing protocol on rpi ?
1
vote
0answers
13 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 ...
2
votes
1answer
33 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
0answers
35 views

Realtek RTL8111 Network card not working on Ubuntu 14.04

I'm trying to install an Ethernet Card into my Ubuntu 14.04 desktop computer. Here is my lspci output (First one is my new ethernet card): 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. ...
0
votes
1answer
24 views

Loop commands to network daemon?

I'd like to feed a network daemon using a loop! To be more specific: There is a network daemon listening on localhost:portx. The daemon expects me to guess a PIN between 0000 - 9999. I want to use ...
0
votes
1answer
14 views

Install brctl for OpenWrt - which package?

I'm getting an error in OpenWRT Attitude Adjustment that says: -ash: brctl: not found when I run brctl addif br-lan mesh0 I tried: opkg update opkg install brctl But I got this error: ...
0
votes
1answer
34 views

Set up interfaces file on Debian for Lan

A friend set up my Raspberry Pi so that it creates its own wireless network and I can connect to it through SSH over the air. The /etc/network/interfaces file looks like this: auto lo iface lo inet ...
0
votes
0answers
14 views

Connection issues serving as WiFi access point with no internet [migrated]

I'm not sure how to phrase the problem as a question so suggested edits are welcome. Setup: I have a raspberry pi running raspian with a wifi dongle. I've configured everything to run as a wifi ...
1
vote
1answer
50 views

NetCat ignoring (not sending) network data to broadcast addresses

If I run these NetCat below commands (no error messages at all) during a WireShark capture running (capture filter= udp dst port 4000) : luis@Zarzamoro:~$ echo "Hello" | nc -w1 -4u 255.255.255.255 ...
3
votes
1answer
70 views

Bash: Permission denied when trying to echo data directly to Network

I am trying to send characters directly to the network stack as explained in this thread. Even when the process work OK under CygWin (Windows), the same lines do fail on Ubuntu v14.04: ...
4
votes
1answer
30 views

Turn off network on Raspbian

I'm trying to set up cron to turn off networking on my Raspberry Pi during the night (from 23:00 to 8:00). The problem is that none of this commands do the job: $ sudo service networking stop $ sudo ...
2
votes
1answer
70 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 ...
1
vote
1answer
22 views

How to get systemd-udevd to create a bridge device at start up?

I am running Ubuntu server 15.04 in a virtual machine. I am able to use the brctl program to create and manipulate networking bridges. I've decided to persist the setup (through reboots) by updating ...
2
votes
0answers
40 views

Difference between MTU for a route and MTU for an interface

There is a server I connect to over the WAN and somewhere over the route there is packet loss unless I set the interface MTU to 600: ifconfig eth0 mtu 600 Doing this causes problems with ...
0
votes
0answers
28 views

Linux VM as a firewall

I have 3 vms a->b->c. I want to setup b as a firewall. Traffic is routed from a to c through b and I put a file on c. How do I show that b works as a firewall (first show that you are able to transfer ...
-1
votes
0answers
20 views

atheros driver on arch-linux won't start access point [closed]

Can't create access point on arch % lspci -k | grep -A 3 -i network 06:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01) Subsystem: Dell Device 020c ...
0
votes
0answers
34 views

enable/disable domain redirection

My router can be joined by clientes. enable // I'd like to redirect all trafic to an IP (13.37.42.1), I mean any IP and any domain. disable // Then I d like to be able to disable it. Then clients ...
0
votes
1answer
10 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
1answer
63 views

Routing tables with two network interfaces

When I try to access the internet with my raspberry pi via ethernet, it works, but when I do ifdown eth0 and try to ping any server outside my home network, it tells me connect: Network is ...
0
votes
0answers
18 views

Browser is ok but can't direct internet through a shadowsocks server

Ok it seems an easy thing but I just couldn't make it work after lots and lots of searching. I have Ubuntu 14.04. This is config.json file including configurations of my friend's server running ...
2
votes
0answers
7 views

Wi-Fi Sabrent PCI-8021N Linux Debian Jessie _x86_64 using ralink firmware/desktop

I've been trying since Thursday to get a sabrent card to come up and show what wifi networks are available. I'm in midtown Atlanta...so seems there should be 1 or 2 networks showing. The card's power ...
1
vote
0answers
12 views

How can you remote boot over InfiniBand?

If I have InfiniBand adapters in two computers, an InfiniBand cable between them, and all of my hard drives in one of the computers running the necessary host software (iSCSI/SRP/etc), how would the ...
1
vote
0answers
46 views

How to get an RPi2 running Kali to tether to an iPhone 5S?

I’ve got Offensive Security’s version of Kali Linux running on a Raspberry Pi 2 and I’m trying to tether it to an un-jailbroken AT&T iPhone 5S. From my research it looks like I need to install ...
2
votes
2answers
76 views

Keep losing resolv.conf configurations

Every time i reboot raspi this resolv.conf files is cleaned. i normally add on this file the openDNS ips like below: # OpenDNS IPv4 nameservers nameserver 208.67.222.222 nameserver 208.67.220.220 I ...
0
votes
0answers
17 views

Can't ping another router in my network (OpenWrt)

I'm playing around with OpenWrt and followed this tutorial step by step to set up a mesh network: http://wiki.openwrt.org/doc/howto/mesh.80211s Problem: When I got to the end and ran these two ...
2
votes
1answer
33 views

TFTP times out when connecting to Docker server

I'm trying to install FOG in Docker (via boot2docker for Windows) at my workplace as a bit of a learning exercise. FOG has a handy little script that installs everything for you, and that works great ...
0
votes
1answer
23 views

OpenVZ machine's venet0 network suddenly down

I have setup a further OpenVZ container with the following network setup: venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:192.168.10.168 ...
3
votes
1answer
15 views

Enabling proxy_arp for interface eth2.1

Am trying to enable proxy arp for some of the interfaces, with the normal interface name eth0, eth1, etc [root@eth2.1]# sysctl net.ipv4.conf.eth0.proxy_arp 0 But for interface names such as ...
1
vote
1answer
72 views

Two network interface(eth0 and eth1) of same linux machine can't ping each other

I have one linux machine having two gigabit network interface. I want to run the traffic test like iperf on two interface, eth0 will be server and eth1 will be client. I connected back-to-back network ...
0
votes
1answer
24 views

How to send a NDP message?

I would like to send a NDP ( Neighbor Discovery Protocol ) message from my Mac on the network to discover which device is available or not. How can I do this ?
0
votes
1answer
25 views

Virtual NIC's in Linux?

How do I create a VNIC interface in linux? What I want to do is create an interface that is linked in some way to a physical interface but functions in its own namespace. I know the physical ...
2
votes
3answers
60 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 ...
3
votes
2answers
37 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 ...
2
votes
3answers
291 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.
0
votes
0answers
17 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 ...
1
vote
2answers
42 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
votes
1answer
15 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 ...
0
votes
2answers
47 views

Disable DHCP without altering 'interfaces'

I have a bunch of RPis running in read-only filesystems that are not able to modify the /etc/network/interfaces file. As of right now, they load their configurations off of a USB stick and use ...