Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
2answers
82 views

Send Mouse commands to PC with Raspberry Pi over the network

Is it possible to have a Raspberry Pi connected to a CCTV recorder via USB and send mouse input commands over the network? The video feed from the CCTV recorder is displayed on a TV with in the ...
0
votes
0answers
39 views

Best way to transparently redirect traffic to proxy

I've implemented a wireless router using hostapd on Debian Wheezy running on a Banana-PI. To access the internet, this router is attached to another network that I haven't any control of via ethernet. ...
2
votes
1answer
32 views

netctl not auto-connecting consistently

I am trying to setup my wifi network in Arch Linux ARM to auto-connect at home and office. But it is not always connecting automatically as intended. netctl list * wlan0-Spaceship wlan0-Cremehead ...
0
votes
0answers
13 views

Send raw IP packets to a server, forward them to their destination addresses, and give responses back to clients

A similar question was asked here. But I'm not sure I need OpenVPN for what I'm going to do. I have an Android device with a TUN network interface and capture IP packets. Then I'd like to forward ...
1
vote
2answers
1k views

Split DNS (bind9), match-clients any doesn't work?

I've been fighting with this for the last few days. A few of my entries have external and internal IP's. My internal network is 10.0.0.0/8. When I nslookup pc1.clase.net internally it responds with ...
0
votes
2answers
23 views

Get Any Interface's Router Address

How can I know what the router's address is when I am on multiple interface? I know by using netstat -rn I can have the dominating interface's gateway, which is the router's address. But what about ...
2
votes
2answers
30 views

iproute2 command to enable a IPv4 address

I am investigating how to have iproute2 commands replace the old ifconfig and ifup ifdown command, and I found out something interesting. My NIC setup is: [16:07:41 root@vm network-scripts ]# cat ...
1
vote
0answers
29 views

Appearing to be on the same network

I have a user that needs to connect to a machine located on a private network at another facility. Basically 192.168.0.20 -> 192.168.0.1 -> Internet -> 192.168.1.1 -> 192.168.2.1 -> ...
0
votes
2answers
897 views

Need to add virtual interface in Suse Enterprise Server edition permanently

How can I add virtual interface in SUSE Linux Enterprise Server 11 permanently?
0
votes
1answer
24 views

Nat with saving real client IP

I have this schema: Client -> NAT server -> Game server On NAT server I have the following rules: iptables -A FORWARD -d $MC_IP -p tcp --dport 25550:25580 -j ACCEPT iptables -t nat -A PREROUTING -d ...
2
votes
2answers
437 views

How do I route a spare network interface through an SSH tunnel?

I just bought a Raspberry Pi and I am wanting to route an ad hoc wireless network interface fully through an SSH tunnel that was created using another wireless interface. I want to do this so that I ...
1
vote
0answers
28 views

Setup public IP address on LXC container

Can anyone tell me how to setup a network interface for each LXC container so that each container can have its own dedicated IP address? Here's what the /etc/network/interfaces file on my host node ...
11
votes
5answers
29k views

How to check whether firewall opened for a port but not listening on the port

We will be deploying a new application to a Server and the application will be listening on port 8443. We have asked Network team to open the firewall for the port 8443 on that server before deploying ...
4
votes
1answer
2k views

Networking and Samba from a quest OS running on qemu

I'm trying to test some software on a big endian system to ensure compatibility. My plan is to use qemu on Ubuntu 12.04 to emulate a MIPS system. So far I've been able to create the quest system ...
1
vote
1answer
1k views

Using ping on multiple interfaces on a NIC

I have two systems and each have a NIC with two ethernet ports. One system has a verified NIC card, but the other has a NIC which has to be verified. I use ping to verify whether the interfaces on ...
1
vote
2answers
29 views

how to find URLs accessed by a process

Is there a way to monitor and get a listing of URLs accessed over HTTP by a process running in my local machine? Failing that, what would be closer to the above information? My use case is that I have ...
15
votes
5answers
11k views

Sending audio through network

This is a rather crazy idea. I am planing to set up a configuration that would send audio being played on my laptop to my home server via local network so that the sound is played on the server ...
0
votes
1answer
29 views

libvirt - virbr0 - setting the IP address

I am having issues with setting the IP address of the virbr0 interface created by libvirtd. I have configured a different IP in the xml file that configures networking (or so I thought), but it still ...
-1
votes
1answer
49 views

How to change hostname on Linux and make it appear on a network? [duplicate]

First, what is the correct way to change the hostname in Linux ? I followed some steps on the internet and sometimes it does not take effect. Besides, the new hostname does not appear when I ping my ...
1
vote
1answer
20 views

How to find process which flood the whole network

I have a laptop with Fedora 21 and TP-Link router with DD-WRT software. Sometimes my whole internet stops for any device. When I reboot my laptop or just I turn off wireless, the internet works fine. ...
6
votes
2answers
258 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, ...
-2
votes
2answers
64 views

How can I find the name of my Network Interface [closed]

I have a project that requires me to scan the local network. I found a program on the internet that allows the local network scanner condition, but I brought the gold @ IP argument in my network ...
6
votes
1answer
1k views

Unable to reconnect to a WiFi network on Fedora 20?

Problem After leaving my Fedora 20 laptop running overnight, I open it back up and it prompts me to re-enter the password for my home WiFi network. The password is already typed in and censored, but ...
3
votes
1answer
106 views

Create virtual network adapter with own MAC and IP?

I have a server with 4 different IPs over one real NIC. Now i try to setup different virtual network adapter in debian with this IPs. The Problem is, that each IP needs also a specific MAC. Otherwise ...
3
votes
0answers
2k views

SCTP support for Linux kernel 3.3.4-5.fc17.x86_64

I'm using Fedora 17 64-bit version, with Linux kernel version 3.3.4-5.fc17.x86_64. I installed lksctp using yum. sudo yum install lksctp-tools.x86_64 When I try to run sctp_status -H 127.0.0.1 ...
0
votes
0answers
46 views

Get real IP after OpenVPN tunneling

I try to route traffic from one Server to another using OpenVPN. In the end users should only connect to the forwarding machine. It basically works using this iptables rules: iptables -t nat -A ...
0
votes
1answer
25 views

Debian wired connection static IP wont connect

I've installed Debian with xfce and did some configuring by installing themes, configuring xfce, installing and uninstalling software; the usual. Anyway, after a reboot I can't connect to the ...
0
votes
1answer
29 views

tcpdump -i any and promiscuous mode

From the man page for tcpdump 4.1.1 (yes I know its old) -i Listen on interface. If unspecified, tcpdump searches the system interface list for the lowest numbered, configured ...
4
votes
1answer
59 views

Xen domU sort of ignores /etc/network/interfaces

I have a Debian based Linux installation, that gets around: It started out on a physical system, then I moved the OS into a VMware container and then into a Xen container. As physical and VMware ...
2
votes
0answers
27 views

How to monitor UPnP communication?

My Computer is connected to router that supports UPnP, however it's not the last router on the way to the WAN. So, mapping there has no effect. I've got VPS and I've made a VPN network (computer ...
3
votes
1answer
89 views

Routing ALL traffic through VPS

I recently acquired a Raspberry Pi and I'm setting it up for various things. I have a local router that the Pi is wired into along with my desktop computer. I want to be able to access the Pi from ...
0
votes
0answers
11 views

Learning about interface between Network and Running Daemons (PHP,MySQL) - for scaling

I am a PHP/MySQL/jQuery programmer and coder, not a hardware guy. My new job involves scaling a LAMP server. This is a question of "what are the terms I should even be searching for" as I need to ...
2
votes
2answers
59 views

How do daemons like apache or bind open ports below 1024?

I know that ports below 1024 are protected and can't be opened by a user without sufficient permission. However, I'm wondering how daemons such as bind or apache can do so, though they aren't running ...
3
votes
3answers
4k 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 ...
1
vote
0answers
84 views

isc-dhcp-relay service doesn't work

192.168.2.1(dhcp server) -> (eth1 192.168.2.3)[ubuntu 14.04 dhcp relay server](eth0 192.168.1.1) -> Client isc-dhcp-relay successful installed, configuration file is #/etc/default/isc-dhcp-relay ...
3
votes
1answer
960 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: ...
1
vote
0answers
12 views

network.service - after executing “telinit” network interfaces doesn't start

When I start RHEL 7 everything is fine, my network functions, I can ping other PC's etc: [root@localhost]# service network status Configured devices: lo eno1 enp2s0f0Team enp2s0f1Team team0 team0.300 ...
1
vote
3answers
45 views

What is the preferred way of using low port numbers in linux?

Long story short: I want Glassfish to listen to port 80 so that you don't have to specify port when typing in the url, but linux doesn't permit using low port numbers without root and running ...
1
vote
0answers
32 views

Specifically what advantages does Kali Linux have other than preinstalled packages? [closed]

I have been using Kali Linux increasingly over the last few months. I also have an Ubuntu system, and have found that there are many similar tutorials on how to install Kali tools on Ubuntu. However, ...
1
vote
1answer
655 views

Arch Linux Ethernet to WiFi bridge

I want to use a Raspberry Pi running Arch Linux to extend my WiFi network. My situation is that I have a spare WiFi router that I want to use to expand my WiFi reception range as well as give me a few ...
1
vote
0answers
56 views

monitor mode capturing wifi

I have a network, which has 2 nodes (a phone, a MacBook) both are connected to same wireless network, I know the SSID and password for the wireless network password: mypassword ssid: myssid security: ...
3
votes
3answers
968 views

waiting for network in a bash script

I'm running a script that relies on network being up and a network share be mounted. The script runs on login (which happens automatically after boot). The problem is that by the time the script runs, ...
1
vote
0answers
113 views

VirtualBox Bridged Networking is not working (NAT and Host-Only works)

I'll try to be brief and include all the things I've tried out so far: Guest OS: Debian Wheezy Host OS: Windows 7 Setting networking to NAT works. Setting networking to host-only works as well. ...
2
votes
1answer
23 views

How to change configuration of eth0 without restarting other interface (CentOS, Redhat)

I need to setup a static IP for eth0, my server has multiple network interfaces and I don't want to bring any of them, except for eth0 down. I found lot of guides like ...
1
vote
3answers
77 views

Is it bad to select remember me option in the browsers of a compromised machine?

I was reading an article on how to sniff network packets. (of course for knowledge purposes only). I came across these particular lines. For instance, say I was sniffing traffic on the network, ...
1
vote
1answer
29 views

How does Linux prevent applications from sending more packets than the link can handle without dropping packets?

I couldn't make the question any clearer so here's an example scenario: Given a Linux machine connected to an IP network through a physical interface of bandwidth 10Mbps (or a higher speed interface ...
1
vote
1answer
106 views

forward packets from one interface to another interface using iptables

I have an embeded system with 2 interfaces e0 and m0, whose ips are 10.0.0.20 and 192.168.0.20, respectively. Incoming packets into e0 have an ip of 10.0.0.10 and should be forwarded to m0 interface ...
3
votes
4answers
2k views

Simple way to create a tunnel from one local port to another?

I have a development server, which is only accessible from 127.0.0.1:8000, not 192.168.1.x:8000. As a quick hack, is there a way to set up something to listen on another port (say, 8001) so that from ...
0
votes
0answers
36 views

Why must a server know its own host-name and domain-name?

In Linux, a server can set its own host-name and domain-name through sethostname() and setdomainname(). I just wonder, however, why must a server know its own host-name and domain-name? To my ...
1
vote
0answers
32 views

Network tool to monitor IP packet fragmentation

Is there a tool, similar to iptraf, that would let me see how many incoming/outgoing IP packets get fragmented/defragmented, and what percent of traffic they are? I know this can be counted with the ...