Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
2answers
98 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 ...
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 ...
5
votes
3answers
10k views

Configure multiple interfaces with different hostnames using DHCP and DNS

I have a machine running Ubuntu 12.04 Server with two interfaces connected (eth0, eth1) to the network. Our network is set up so that a FreeBSD based DHCP server hands out leases and registers the ...
2
votes
1answer
2k 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 ???
2
votes
0answers
523 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
84 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 ...
1
vote
1answer
634 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 ...
2
votes
0answers
403 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 ...
5
votes
2answers
48k views

How to properly set up 2 network interfaces in CentOS (running in VirtualBox)?

I have a VirtualBox machine running CentOS 6.5. I've created 2 network adapters for it in VirtualBox's networking settings for the machine. The first is NAT which I want the guest to use to connect to ...
2
votes
2answers
196 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 ...
1
vote
2answers
416 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 container,...
4
votes
1answer
3k views

Accounting for /proc/net/dev reported traffic

I noticed that according to /proc/net/dev I am constantly receiving around 6Kb/s on my wireless usb interface. But I can't account for anything even close to that with the individual connections that ...
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
177 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 ...
2
votes
1answer
334 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 ...
1
vote
3answers
1k views

Prevent Zypper trying to use IPv6

I'm setting up a box with OpenSUSE 13.1. For reasons beyond my comprehension, Zypper utterly insists on using IPv6 addresses and refuses to use IPv4. Which is a problem, since IPv6 doesn't work on our ...
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. ...
6
votes
2answers
1k views

Exposing NFS mount via USB

I know enough linux to be dangerous - apologies if my terminology is incorrect. I have an electronic drumkit that has USB into which I can plug a flash drive with MP3s on it. The drumkit has no ...
0
votes
0answers
45 views

How to use dhcpd on two network interfaces?

I have an embedded system that has Ethernet and wifi. I want to setit up in a way that it provides IP to both interfaces. The system uses BusyBox. and I an new in this area. can you provide a sample ...
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
583 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 ...
9
votes
2answers
5k views

Difference between txqueuelen and ethtool tx

What's the difference between the txqueuelen setting that can be applied with either: ifconfig eth4 txqueuelen 5000 ip link set eth4 txqueuelen 5000 And the tx ring size setting that can be applied ...
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 ...
0
votes
0answers
155 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 ...
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 ...
1
vote
1answer
965 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 Cell:...
4
votes
1answer
681 views

allowing users to access certain ports on server

I have an RHEL 6 system which has 20 users. I have 20 ports on which separate versions of a service is running. I want user a to access port a, but not other ports. Is there a way to do this? (...
0
votes
1answer
6k views

What is the effect of rsync --block-size on large files?

I want to backup a few terabytes of large files (500mb to 1500mb each) to a backup server (BULK storage) via rsync. For this I use the following command (updated with suggestions from @Gilles): ...
3
votes
0answers
310 views

AIX NIM Master replicate / sync fails to an Alternate Master

I am getting a error when I try to replicate / sync my NIM database and resources to an Alternate NIM Master newly created in my environment: error replicating resources: unable to /usr/lpp/bos....
0
votes
0answers
479 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.: ...
2
votes
1answer
753 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
167 views

How to measure the time a packet spends on the system(router)?

I have a streaming system and one if its components is a router/firewall. I'm using iptables for setting the required behaviour on the router. I'm having performance issues in forms of a constant ...
0
votes
1answer
59 views

How to log into network in linux?

I am using a custom version of OpenWRT linux that is used as a dev enviroment for a a graphic library. I am using it as a Virtualbox image. The distro contains a proxy module that needs to access the ...
3
votes
1answer
979 views

Load Balancing among multiple virtual network interfaces

I have an AWS instance with multiple virtual network interfaces all having different elastic IPs. Since I crawl from this machine, the IPs often get blocked. Distributing the outgoing traffic through ...
0
votes
2answers
165 views

Syslog-ng failover: logserver to local file

We want to use a central Logserver for our Webservers so we can manage everyhing on one machhine. I'm a bit scared of what happens if the network breaks or the Logserver is down. Is it possible that ...
14
votes
1answer
27k views

How to permanently disable a network interface?

I've brought down a network interface with ifconfig wlan0 down, but every few hours or so, the wlan0 interface comes back up and I can't figure out why. I don't restart the machine, never changed /...
0
votes
1answer
139 views

Mount entry in fstab when connect to a network

I have an entry in fstab (Opensuse) which mounts a samba filesystem: //10.39.52.2/Company /media/share cifs credentials=/home/user/file,rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0 but ...
0
votes
0answers
28 views

Routing Application through different network interfaces [duplicate]

I have two interfaces on a server, let's call them eth0 and eth1. The underlying server is running CentOS 6.5 I would like to be able for some application to use eht0 while some others use eth1. ...
2
votes
1answer
2k views

Lenovo ThinkPad s440 network

Does anybody know how to configure wifi on Lenovo ThinkPad s440 on Ubuntu 12.04 LTS? I can't configure it even with LAN. But anyway, wifi is the first thing I need. I can't find any driver for linux. ...
5
votes
1answer
5k views

Understand the Route table

I just setup the OpenVPN and it is working as expected. However, the routing table of the client is confusing me to no end. Here is the route table: # route -n Kernel IP routing table Destination ...
1
vote
1answer
136 views

MAC Address changes after dirty shutdown

I'm having a strange issue which I originally thought was tied to the fact that I created an Ubuntu system from an image of another. However, after reinstalling Ubuntu from scratch I am getting the ...
3
votes
1answer
488 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 ...
6
votes
1answer
3k views

Creating VLANs between network namespaces

I want to implement the topology shown in the figure below using network namespaces (ns1 to ns4).                  ...
7
votes
2answers
32k views

Cloned Linux system and /etc/udev/rules.d/70-persistent-net.rules

I set up an Ubuntu system and configured it properly, including defining eth0 in /etc/network/interfaces. I then imaged that system and cloned it on a new system. When I booted up the system the ...
1
vote
1answer
162 views

Why doesn't setuid on /sbin/dhclient work as intended?

I am the only user on my machine, and prefer not to type sudo every time I use dhclient. Therefore, I tried sudo chmod u+s /sbin/dhclient. However, when I subsequently run dhclient wlan0 from a non-...
2
votes
2answers
900 views

ssldump: PCAP: syntax error

I'm using: # uname -ro FreeBSD 9.0-RELEASE-p3 And the latest ssldump: # pkg_info | grep ssldump ssldump-0.9b3_4 SSLv3/TLS network protocol analyzer When I try starting it with decryption - I ...
1
vote
1answer
772 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 00:...
1
vote
1answer
3k views

OpenSSH hangs after login without showing login prompt

I ran across an issue with ssh after fresh Ubuntu 13.10 installation on Lenovo T420. I tried git pull (which failed) and this led me to more general ssh failing. After spending some 2-3 hrs of ...
0
votes
1answer
135 views

netatalk use system users on Debian

I have Debian 7.3 (wheezy) installed on a VM with Mac OS X host. I didn't install UI like GNOME. Now I installed netatalk (via apt-get) to use AFP to connect my Mac to the VM. It essentially works ...