Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
97 views

DHCP Kali Linux

I'm using VBox. I have got a Bridged Adapter. I need to get my network working. What I can already do is to set everything up manually, I mean: ifconfig eth0 192.168.1.33 netmask 255.255.255.0 route ...
1
vote
1answer
33 views

dhcp without dns: ping `hostname` not working. Auto add hostname to /etc/hosts?

On RHEL 6.5 how to make my own hostname locally resolvable, if my ip address is dynamic and not registered in DNS? I know, it's possible to add dhcp hook scripts. Is there a similar way to hook the ...
6
votes
1answer
128 views

What overwrites /etc/resolv.conf on every boot?

I was given the files for a mini linux, that boots directly into firefox. It works for all it should be doing, only that I do not get an internet connection. We have 3 DNS servers in the network, ...
12
votes
2answers
4k views

Limit outgoing bandwidth on an specific interface

I would like to know the easiest way to limit outgoing bandwidth for an interface. I want to cap the outgoing port speed so that file transfers between my servers don't fail during busy hours. What's ...
2
votes
1answer
1k views

Terminal server (ser2net) to configure new HP procurve switch

Switch: HP ProCurve 2910AL-48G - J9147A This switch is brand new straight from HP. Anyone familiar with ser2net for creating a terminal server to connect from usb>serial>console port on a HP ...
1
vote
1answer
962 views

installed teamspeak 3 on freebsd using portinstall but can't connect [closed]

I installed teamspeak 3 on freebsd 7 using portinstall. When i do service teamspeak status i see teamspeak is running but somehow I cannot connect to the server. did I miss something? I followed ...
0
votes
0answers
39 views

Serial Number Ban in Teamspeak

Hello I have a dedicated server and from it I'm running a teamspeak 3 Server. I want to ban the serial number of a specific client connecting to my teamspeak server. Although I have banned him from ...
0
votes
1answer
42 views

Sharing ethernet over wi-fi with Network Manager and dnsmasq

I'm running archlinux with kde desktop. I want to share my enp2s0 connection via wi-fi. So I've installed dnsmasq. Here are some configs: /etc/resolv.conf # Generated by resolvconf search telecom.by ...
1
vote
1answer
74 views

Number of packets sent and received on an interface

I'm interested in creating a script which prints total number of received packets and sent packets on an interface. The output should be like: interface TX: number RX: number Can anyone help me ...
23
votes
6answers
40k views

Determining what process is bound to a port

I know that using the command: lsof -i TCP (or some variant of parameters with lsof) I can determine which process is bound to a particular port. This is useful say if I'm trying to start ...
1
vote
1answer
32 views

Centos 5.01 can't connect to the internet

I am trying to download USB driver for centos 5.01 but I can't connect to the internet. I have tried to set ONBOOT="yes" , NM_CONTROLLED="yes" and BOOTPROTO="dhcp" on ...
0
votes
0answers
26 views

Linux Mint will not allow traffic from one specific PC on LAN

I was editing /etc/network/interfaces, and then decided to change my settings over VNC instead. This halted my SSH session and also my VNC. I'm not sure if this locked me out or not, but I set cron up ...
1
vote
1answer
2k views

netstat shows an ESTABLISHED connection with no process

I am debugging some problems with postfix. When I establish a connection nothing happens and netstat shows: $ netstat -anp ... tcp 0 0 129.132.202.106:25 129.132.179.232:60154 ...
2
votes
3answers
5k views

does the gateway have to be on the subnet?

I was looking at bringing up an interface like this in /etc/network/interfaces (this is on debian), with the gateway outside the subnet: iface eth0 inet static address 10.100.10.99 netmask ...
1
vote
2answers
44 views

ifconfig -a get needed data grepping

If I issue following command to obtain network interface data: [root@pi lib]# ifconfig -a eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.154 netmask ...
1
vote
1answer
57 views

Allow wifi connections only to a local service, don't route to the wired ethernet

I have a Raspberry Pi running Linux (Raspbian) which is connected to my corporate Internet over an Ethernet cable. The RPi also has a wifi adaptor plugged into a USB port. I've been following along ...
2
votes
1answer
46 views

Linuxfoundation LFCS cert - Exam Topics Confusion

I am preparing to take the LFCS exam on linuxfoundation and I am stuck. In the exam objectives from the Cert Guide Manual they list the topics you need to be prepared for. But a confusion arised when ...
3
votes
1answer
80 views

Internet disappears regularly

About a month ago I installed the newest version of Linux Mint (14). I use Linux the whole day on my laptop but every 1-2 hours my internet connection (Wi-Fi) magically disappears for about 10 ...
1
vote
0answers
14 views

Resources usage in x-forwarding

AFAIK, it's possible to forward X-Window sessions, i.e. a computer ("client") may work as a (dumb?) terminal for another ("server"), displaying the desktop, GUI, etc. (and playing sounds, etc.) This ...
0
votes
0answers
15 views

suddenly no service, except ssh is accessible from wan

I recently did install the GNOME Desktop and Graphical Administration Tools package groups to my remote host, for remote desktop connection. After the installation of nearly 550 dependencies was done, ...
1
vote
2answers
73 views

How to configure network for pluggable ethernet adapter under ArchLinux (systemd)?

I have an USB ethernet adapter, but I am not sure how to configure it that the network is set up properly when the adapter is plugged in and out. Can I add something to netctl's config file to link it ...
6
votes
1answer
33k 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 ...
0
votes
2answers
52 views

Arch linux get network interfaces names

I need to get all intefaces names in Arch linux. If I issue command ifconfig, I get following response: [root@pi ~]# ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ...
3
votes
1answer
96 views

Tons of unknown connections in nethogs

I am seeing hundreds of different connections to the same ip and port scrolling by when running nethogs. Occasionally the foreign IP and port will change (not always 80, but sometimes). I've noticed ...
1
vote
2answers
32 views

iptables is ignoring rules?

I've found some strange traffic through tcpdump (traffic is ongoing always): 13:00:13.203754 IP 1.2.3.4.1028 > 188.113.188.16.56881: UDP, length 103 13:00:13.204396 IP 1.2.3.4.1028 > ...
0
votes
0answers
33 views

vmxnet3 multiqueue support in vmware workstation

I'm working on an application based on RSS multiqueue(receive side scaling), and testing it on vmware workstation, but found that vmxnet3 nic have problem with RSS. My linux virtual machine has 4 ...
1
vote
1answer
254 views

PGP keyserver and proxy firewall issues

I am not sure this is a Linux question directly ... I use Arch Linux which uses package signing. This requires me to download a set of pgp keys with the pacman-key program. This works off the ...
2
votes
2answers
4k views

nc: bind failed: Address already in use

I am trying to execute nc command from a script , my script is executing nc command on different ports of Destination using the same source port. e.g: nc -p 8140 -z -v -n 10.X.X.9 9090 nc -p 8140 -z ...
2
votes
1answer
182 views

Bonds vs. Aggregators

I'm almost to the point where I can post the solution I wound up with for my complex port bonding question. However, in reading the bonding.txt file, I see this option text: ad_select Specifies the ...
1
vote
0answers
62 views

Raspbian /etc/network/interfaces file not present in ArchLinux

I am porting software system with central java application, "talking" to php webpage. In php webpage, there is a subsite for configuring network parameters, which in the code reads/writes from/to ...
1
vote
1answer
292 views

Is it possible to prevent eth0 network traffic from accessing eth1 network?

I am not really sure how this is possible but I have a linux(ubuntu 14.04) box with 2 interfaces. eth0 is connected to our lan 192.168.0.* and eth1 is connected to a dlink wifi router on network ...
1
vote
1answer
55 views

Is it useful for a proxy to buffer less data than Linux RCVBUF can?

I am looking at how HTTP proxies and reverse proxies deal with slow client problems. The idea is that the upstream server only have a limited slots for clients and if the client is slow to receive ...
0
votes
0answers
25 views

Changed to another wi-fi network does not connect

I'm always connected to a wireless network in my home from my Ubuntu 14.04 laptop (via routers) Now I am in another place where there's an iMac sharing internet connection. My phone and other's, and ...
2
votes
1answer
262 views

unable to restart networking daemon

When I type sudo service networking restart, I am getting error as shown below: edward@computer:~$ sudo service networking restart stop: Job failed while stopping start: Job is already running: ...
2
votes
1answer
1k views

tftp transfer painfully slow

I am using HPA's tftp server for PXE boot. When I try downloading an image from my tftp server using curl, the transfer rate is less than 3 MB/s, even on my 1Gb network. curl -o initrd.gz ...
0
votes
0answers
25 views

OpenVPN on Ubuntu VM

I am trying to create a VLAN Network from my home network for a web-dev platform. I am running Ubuntu servers in VirtualBox on a Windows 7 machine. I am running an Ubuntu DHCP/OpenVPN/Shorewall ...
5
votes
3answers
6k views

How can I restart a network interface?

How can I restart a network interface? I have a vm that doesn't update its IP address correctly when switching between home and work. The vm runs Ubuntu server and uses a bridged network adapter.
6
votes
1answer
483 views

Skip routing via `lo` interface for outgoing packets

Introduction I have following load balancing configuration: 10.0.1.31 - lb 10.0.1.35 - virtual IP 10.0.1.32 - node1 (tomcat + mysql) 10.0.1.33 - node2 (tomcat + mysql) I'm using keepalived which ...
1
vote
2answers
3k views

Route add gw: how to

I'm in a network with IP 10.0.1.X (pc A). There's another sub-network: 10.0.3.0 I can ping pc B connected to this network: ping 10.0.3.X ---> OK Now, B is connected also in wifi to a network ...
2
votes
0answers
902 views

Can I change uuid for network interface in ifcfg-eth* using uuidgen?

I'm creating a script which configuration the network interfaces. The script which generates /etc/udev/rules.d/70-persistent-net.rules and names interfaces to my preference. In CentOS 6.5, my ...
3
votes
0answers
54 views

Configuring pulseaudio for receive mode

I am working on a project where I'll be running PulseAudio in receive mode on my raspberry pi. As for the server side, we've been writing a custom application on windows that will send an RTP audio ...
1
vote
1answer
51 views

Two Wi-Fi dongles bridge and LAN for SSH

I just can't wrap my head around this one. I have a setup with two Wi-Fi USB dongles on a Raspberry Pi (Model B). It runs a Debian-based dist called Raspbian (all updates, etc.). The USB devices have ...
1
vote
1answer
101 views

MacOS X Mavericks running VirtualBox cannot communicate with Linux VM

I have a MacOS X Mavericks host running Vagrant using VirtualBox as a provider. I have experienced several times that with different VMs (particularly Ubuntu Linux VMs) after the first time the VM is ...
0
votes
0answers
17 views

iptables and applications

I'm trying to set up a little download box. I currently have pyLoadCore, Transmission-daemon and openvpn all running on raspbian (raspberry pi running headless). My problem arises when I have openvpn ...
2
votes
2answers
849 views

Quickly check whether many network hosts are up-and-running

Objective: check if a host is up-and-running on the network, with a method that can be efficiently parallelized over many hosts. Emphasis on a QUICK turnaround of the check. Reason to emphasise ...
1
vote
1answer
21 views

Always Forward Traffic Out The Interface It Originated On

(This is the original question but my eventual solution was too different from how I originally asked the question so I'm posting as a new question.) Background: I have a VM with three different ...
0
votes
0answers
18 views

multiple instances of /usr/sbin/ifplugd

why do i have multiple instances of /usr/sbin/ifplugd running, is there a problem Also my CPU seem to be running Maxed. I suspect the 3g got disconnected and the system was then trying to connect each ...
3
votes
1answer
573 views

Network bandwidth measurement on Solaris

I want to install pathtest or a program like it in a Sparc server running solaris 10. The purpose is to make a speedtest server to my remote sites. It is mentioned in pathtest FAQ that it only ...
1
vote
1answer
26 views

Find out with a command if we can listen on a port

It is possible with a simple Unix command to find out if we can listen on a port or not? I'm building an application in which the user has the permissions to change the port. I have to check though ...
1
vote
0answers
110 views

rp_filter dropping packets in linux bridges+vlan_tagged interface + tap interfaces configuration

I've a linux bridge which has it's first interface as a eth0.123 (VLAN tagged interface) & one or more tap interfaces created by kvm. (libvirt+kvm VM) [root@compute1 ~]# brctl show bridge name ...