Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
1answer
640 views

Connect to LAN resource via ssh tunnel

I have the following problem. From machine A I connect to machine B over the internet via ssh and port forwarding. Machine B is part of my local network and has connection to machine C which acts as a ...
0
votes
1answer
294 views

understanding lsof -i output with web browsing

Sorry, if my question is nooby, but i don't understand some output lsof command. I try to run lsof -i on my home machine(debian linux) and what i obtain (showed one line; my browser chromium was ...
2
votes
1answer
200 views

Is there any convenient way to run remote program on local data?

I have two servers running Linux, namely A and B. There is a large amount of data on A, but I want to use the program x on B to process those data. It would be inefficient to transfer all data from A ...
0
votes
1answer
673 views

Dell D610 6.5 CentOS Installation - Undetected Network Adapters

I've spent the better part of the day attempting to install CentOS 6.5 on an older Dell D610 laptop, using everything from a Minimal Install to the Full DVD. After multiple attempts I was able to ...
0
votes
1answer
101 views

Beginner's question: Accessing network location on domain

I'm new to Linux so this might seem a little naive! So, my computer is connected to a university network, in the computer science department. This domain is called "cs". However, "cs" is a subdomain ...
2
votes
1answer
524 views

Configure guessnet to switch automatically between LAN and WLAN

I want to configure guessnet and wpa_supplicant such that if I plug in my LAN cable, it connect to the network via the cable and if I unplug it, it automatically switches to WLAN and vice versa. I ...
2
votes
0answers
262 views

CentOS 5.5 server dropping & blocking connection

I'm running a CentOS release 5.5 (Final) server running the LAMP stack amongst other things. When working on a web project with numerous active connections to the server box (Plesk over HTTP, SSH and ...
0
votes
1answer
648 views

What is the reconnection policy of “persist” switch on “pon” command from pptp-linux package?

I use to establish a connection to my VPN PPTP server by typing: pon MyVPN persist I wanna know the reconnection timing details, but I have not found documentation enough about it. Specifically: ...
0
votes
0answers
559 views

Connecting multiple USB RNDIS devices to PC in the same network

Running an Ubuntu 12.04.4 I have the following issue: I want to connect multiple USB RNDIS devices to one PC. Additionaly, every device should be in the same network. The problem is that only one ...
2
votes
0answers
3k views

Using a bridge, an LXC container can't ping router, but the host OS can

I've got a virtual machine running under virtualbox, and in that virtual machine I've got an LXC container I'm trying to bridge to virtualbox's NAT interface: ------------- ----------- ...
0
votes
1answer
388 views

Does the order of options in the /etc/network/interface option matter

I'm trying to determine if the order of the options matter I'm using a script (represents an external remote interface) that is updating the /etc/network/interfaces file. The script can set the IP ...
1
vote
1answer
640 views

High RX packet error count with modem - how to analyze?

I'm testing a CDMA modem on my Debian embedded Linux system. I'm doing some wgets of large files and am seeing the connection drop now and then. Looking at the ifconfig output for the PPP interface ...
2
votes
1answer
97 views

OpenVPN static key ip meaning/order?

I'm following this tutorial. What do the IPs mean after the ifconfig here? dev tun0 ifconfig 10.9.8.1 10.9.8.2 secret /etc/openvpn/static.key Can I use external IPs (assuming I'm configuring this ...
3
votes
1answer
536 views

How do I accept all Networks with the same ssid with wicd?

We have a Mesh network here in my town, where every node creates the same client wlan with the SSID "kiel.freifunk.net". In wicd I can connect to those networks, but I have to choose which of them. ...
0
votes
1answer
1k views

CentOS bridge not passing traffic to eth1?

I'm setting up a network bridge on CentOS 6.4 and I'm not able to pass icmp or tcp traffic via eth1. UDP traffic looks fine. I'm sure that my test host is cabled to eth1 correctly. My config files ...
3
votes
2answers
4k views

Bridge not working

We want to create bridge (mybridge) on our board over eth0 and eth1 interface. The board runs Linux 2.6.34.9. Following are the commands: brctl addbr mybridge ifconfig eth1 0.0.0.0 ifconfig eth0 ...
1
vote
1answer
42 views

Access USB device of another machine as if it was locally plugged?

I would like to use, on server A, an USB webcam that is physically plugged on server B. Is there a way to mount the /dev/video0 of server B on server A (as /dev/video0, or /dev/video1, etc.). Both ...
1
vote
0answers
636 views

What exactly is happening when I run `netctl-auto enable-all`?

My wifi connection has been dying very regularly. I notice when I run netctl-auto enable-all I reconnect within 5 seconds every time. (My connection has dropped twice while posting this.) Why does ...
17
votes
1answer
36k views

FreeBSD: How to fix “ping: sendto: No buffer space available”?

I'm trying to ping a remote host, but I get an error. # ping 192.168.80.1 PING 192.168.80.1 (192.168.80.1): 56 data bytes ping: sendto: No buffer space available ping: sendto: No buffer space ...
3
votes
1answer
180 views

Using shell script to select static IPv4 configuration according to router address

I have Linux Mint 15, I live in a university where the hostel and lab have separate static IP settings. Is there a way to set up the connection mechanism so that my laptop will automatically select ...
0
votes
1answer
755 views

Change the DNS server in etisalat USB modem

I need to use the open DNS : 208.67.222.222,208.67.220.220 in my network connection. I use etisalat 3.75 USB modem HUAWEI in my Ubuntu 12.04 PC. I had tried to add this DNS in : ...
0
votes
2answers
96 views

Why does kill not have a parameter for file and not for port number?

If I want to stop a program given its tcp port number or its file or named executable, can I run something like kill -tcpPortNumber $1 where the parameter $1 is a tcp port number or kill -filename $1 ...
1
vote
1answer
608 views

Some packets are flagged as INVALID by iptables

I configured a proxypass rule in order to redirect requests from the port 443 to a JBoss server running on port 8080. All works fine except some 503 errors in the Apache log, around 10 per day: In ...
3
votes
1answer
9k views

How to enable two network interfaces both for internet in ubuntu12.04 [closed]

My physical server A has two interfaces: eth0 and eth1. I intend to enable the two network interfaces both for internet in ubuntu12.04. I configure the /etc/network/interfaces as below: auto lo iface ...
2
votes
1answer
1k views

Share/Stream live video on LAN network - raspberry

As in the question, I need to share a video in lan by broadcasting. From server, I've tried with: avconv -i video.mov -c:v libx264 -f mpegts udp://[destinationIP]:1234 From client I can play ...
1
vote
2answers
104 views

Why are user account on remote server called shell account

Why are user accounts on a remote server called shell account , remote account sounds like a more intuitive name what is the reason behind this very unintuitive name ???
1
vote
0answers
430 views

Command for finding open ports

On my linux servers I have this alias set: alias ns="sudo lsof -Pi|grep -v ESTABL|grep -v CLOSED|grep -v -e '->' | tr -s ' ' '\t' | awk '{print $3 "\t" $8 "\t" $5 "\t" $9 "\t" $1}'| column ...
2
votes
0answers
488 views

Find hostapd's access point SSID

I have a Linux machine operating as an access point using hostapd and dnsmasq. The AP is working fine (the device is wlan0), but I am having difficulty finding the SSID of the AP for monitoring ...
0
votes
1answer
79 views

How to route “single ip” to different interfaces [duplicate]

i have a dd-wrt router (ip 192.168.1.1) with the following network interfaces: eth0 ath0 ppp0 (a pptp vpn client) i would like to route all traffic from ip 192.168.1.10 to 192.168.1.20 through ...
2
votes
0answers
392 views

RNDIS Server to make a computer as a peripheral

First of all my goal is this, have a computer as a peripheral device to connect it to anyone's computer with ssh protocol or web. The idea is doing this by using a plug and play USB cable . Facts ...
2
votes
2answers
183 views

Is it possible to “partially” connect to a VPN

My university offers a remote access VPN to access paywalled journals, which I often want to use. However they require using the Cisco AnyConnect protocol. This is a bit annoying because it ...
3
votes
1answer
976 views

Bind9 — How to find which programs are making which dns lookups?

Using bind9 on a laptop shows lots of nonsense domains when network connectivity is down: Oct 18 19:56:18 lap3 named[1536]: error (network unreachable) resolving './NS/IN': 128.63.2.53#53 Oct 18 ...
30
votes
10answers
63k views

Streaming to an Apple TV (3) from Linux

Alright, here is the setup: One apple tv 3 in the living room, connected to the network (wired). One pc running Linux (Arch Linux x64, AMD), containing all music, movies and series (wired). Now I ...
1
vote
2answers
401 views

Is it possible for a OpenVZ container to interact with a MySQL database on the host?

Say every container and the host itself has its own dedicated, external IP. Is it possible to do this without any problems? And is this really a good plan? Instead of hosting a database per ...
1
vote
1answer
28 views

Giving OVZ containers their own IP

Is it possible to give an OVZ container its own external IPv4 address? Say I hire a dedicated server and purchase extra IP addresses. Can I assign those extra IPs to the containers? If so how would ...
2
votes
2answers
172 views

Detect open sockets manually (not using nc or similar)?

I'm trying to debug a network problem on a embedded system which has a very limited set of userspace applications. Meaning I can't use any of the following sudo lsof -i sudo netstat -lptu sudo ...
0
votes
0answers
459 views

On ssh connection the auth.log shows as source IP the external IP of the server instead of the IP of the client

I have a very odd situation with my ssh connection. Every time I connect to my server, whatever is my external ip, the connection have as source the server's external ip. Example Server S.O.: ...
12
votes
2answers
21k views

How to connect to internet using `nmcli`?

According to this link nmcli dev wifi con a52c60f5-c1af-4d39-8dc8-728bd770bffc password 12345678 name dlink_home should establish the connection, but it outputs the following error when I try to ...
1
vote
2answers
8k views

Can't get Intel I210 ethernet working on Debian wheezy

I have a server with an Asus P9D-I mainboard. It has two onboard Intel NICs: # lspci -nn | grep Eth 01:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] ...
3
votes
1answer
462 views

What priorities can be used in cgroups net_prio module?

Cgroups has a module called net_prio, and by using this module I can set the priority of network traffic generated by various applications. As you can read here, this can be achieved by setting ...
1
vote
1answer
744 views

kvm usb modem passthrough

I'm trying to set up a USB modem passthrough in kvm virt-manager. The host is Fedora 20. The guest is Centos 6 $ ifconfig wlp0s29u1u6: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether ...
2
votes
1answer
322 views

OpenVZ: Many subdomains on a single IP for the VMs

Can I Use many sub domains that get assigned to OpenVZ containers with a single ip for a dedicated server? To elaborate further: I have one IP and one domain. I want to have two OpenVZ containers and ...
2
votes
1answer
79 views

Where would additional IP addresses assigned to a NIC be configured on CentOS 4.4?

I have a very old CentOS 4.4 machine with multiple IP addresses assigned to eth0. However these ip addresses are not configured in /etc/sysconfig/network-scripts where I would expect them to be i.e. ...
0
votes
1answer
141 views

Strange network problem (ssh) after hardware switch - packet loss?

My machine crashed (would not start) and so I pulled my harddrives and memory (which was not stock) and brought to another identical Dell optiplex 755 which I found in the office. Now everything seems ...
3
votes
1answer
4k views

stunnel - how to setup stunnel to handle ssl and attach http with it?

I am running Google App Engine which is a http web server with some redirecting and other real-time stuff. But it does not have SSL to include so its unable to make HTTPS. Therefore, i was trying ...
0
votes
1answer
570 views

Multiple SSH tunnel through raspberry pi?

In my home network I have a PC, raspberry pi, macbook and a few other devices which I want to access away from home. As it stands, I have setup VNC server on my PC along with remote desktop and have ...
4
votes
1answer
3k views

iptables: redirect local request with NAT

I'd like to redirect local requests to port which is translated with NAT. I have following rules: iptables -t nat -A PREROUTING -p tcp --dport 9020 -j DNAT --to 10.0.3.11:80 however request coming ...
0
votes
0answers
151 views

Why can't my Debian received much wifi-signal

My wireless connection is always broken, and it can't receive good signal. I am not sure if the wireless driver caused it. Is my wireless driver too old? Or there are some other reasons? My mobile can ...
2
votes
1answer
727 views

How do I prevent my hostapd access point from pretending to route to the Internet?

I have a nice little iMX6 (an ARM CPU) board running Linux kernel 3.0.35 with hostapd 0.7.3. Setting up the wireless interface as an access point works fine but clients think they can be routed ...
1
vote
1answer
915 views

ath9k 802.11n 300Mbps at low speed

I'm testing my new home 802.11n network. router - slax 7, kernel 3.8.2, AR9382 mini pci-e (sparklan WPEA-121N) wlan0 IEEE 802.11abgn ESSID:"xyz" Mode:Ad-Hoc Frequency:2.412 GHz ...