Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
858 views

How does KVM set its own netfilter rules?

I've been poking around with KVM VM's on Centos 6.4 not having an internet connection on my VM's, I found something curious: Upon booting the machine, iptables has rules in the FORWARD chain to allow ...
1
vote
0answers
28 views

AIX: network and route problem [on hold]

I changed my router some days ago. ping, internet, and network are working on AIX, but SSH is terribly slow. For connecting to other hosts on the same network it takes... two minutes! This is my ...
0
votes
1answer
15 views

Where does a Centos7 VM get the IP address for the local host name from?

On my centos7 VM, hostname says bmargulies-centos7, domainname says (none), dig bmargulies-centos7 says what's below, and ping of that hostname hangs. Where does the IP address 92.242.140.21 come ...
3
votes
2answers
1k views

Wait for a network device to come up before bringing another network device up on boot?

I'm in the middle of setting up my Raspberry Pi running Raspbian as a bridge between my university's wireless network (which requires WPA2-Enterprise authentication) and my private wireless router ...
1
vote
1answer
15 views

linux - context-based access control

I would like to further restrict network traffic based on the source / destination application. To do that, I'm using network namespaces, but is there a better / simpler approach? My approach ...
-1
votes
0answers
14 views

Share Internet from WebOS tv with ubuntu pc through Ethernet

Is it possible to share WebOS TV's internet connection with ubuntu using Ethernet ? Do I have to do anything for this on my Ubuntu (Gnome) pc? I'll be thankful if you tell me How I can do that? Sorry ...
1
vote
3answers
6k views

D-Link DWM-156 HSPA USB Modem doesn't work with SIM card inserted

I have a D-Link DWM-156 HSPA modem, that I bought just a few days ago. The modem has drivers in its internal storage. There are Debian packages (.deb) for both i386 and amd64, so obviously I installed ...
1
vote
3answers
36 views

Check my DHCP lease?

Is there a way to show my current (client) DHCP lease? Or even better - retrieve all options/infos sent with DHCPACK?
0
votes
1answer
2k views

Mint 15 on Lenovo G700: wired internet not working (Atheros QCA8172)

Mint 15 doesn't see internet after installing it in dualboot with windows 8 (in Windows internet works well). My network card is Qualcomm Atheros QCA8172 Fast Ethernet (rev 10). What I did: Install ...
2
votes
1answer
912 views

redirect web server with no-ip and port forwarding in livebox

I want my Apache web server running on a Livebox (home router appliance running Linux) to be accessible from the Internet (WAN). I installed and configured the application noip2 on my Ubuntu PC. ...
0
votes
0answers
4 views

using netlink is it possible to listen whenever multicast group membership is changed for interface [migrated]

I want to do some custom actions whenever an app wants to become a part of an multicast group. As I understand a app becomes a part of multicast by executing the following command sequence: /* use ...
1
vote
2answers
40 views

How to execute a command when internet is back

Sometimes my wifi is connected to router but my router is not connected to internet. How can I execute a command when my internet is back (from command line)? I want to execute: mpg123 ...
2
votes
1answer
2k 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 ...
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
0answers
27 views

How to have systemd-resolved correctly come alive after hot plug?

Setup I am playing with a small embedded board running Debian Jessie. I am using as much systemd stuff as I can, including the networking stuff. I have added the file: ...
0
votes
1answer
24 views

hostname -f .com.com

I modified my /etc/hostname file and /etc/hosts like that: hostname.com and 127.0.0.1 localhost.localdomain localhost ::1 localhost ip6-localhost ip6-loopback ff02::1 ...
1
vote
1answer
1k views

How to set up a “child” proxy that doesn't need a “parent” proxy

I run Linux on a laptop that is sometimes on a corporate network which uses an NTLM proxy server, and thus I have cntlmd running on the laptop as a child proxy to connect to the parent (corporate) ...
0
votes
0answers
32 views

Make debian use dual network ports for a gaming server

I have a server that has 2 LAN ports (or internet ports or whatever you call them) and i was wondering if its possible to make Debian Linux to use both ports? I will need maybe a link or somthing. I ...
1
vote
3answers
5k 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 ...
0
votes
1answer
801 views

two NICs in the same subnet— need to set up routing

I have a tricky case: +---+ +----+ |D1 +->eth0---------<-eth0-+D2 | | | | | | +->eth1---------<-eth1-+ | +---+ ...
-1
votes
1answer
15 views

can a service like isup.me be duplicated on the system for self? [closed]

The Internet or Web as I understand it runs on variety of servers. The browser is the client which gives a URI or URL which tries to go through varied ways to connect to the web-page and render the ...
1
vote
1answer
327 views

OpenVPN not showing easy-rsa

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -Uvh epel-release-6-8.noarch.rpm I did yum install openvpn in the guide then did the following: mkdir -p ...
1
vote
1answer
302 views

VPN: Script at /etc/ppp/ip-up.d/ not autoexecuting on PPTP connection established

My PPTP client is Ubuntu Desktop 14.04.2LTS. My PPTP Server is a Buffalo DD-WRT Firmware. If I establish my PPTP VPN connection (named Themiscyra): luis@PortatilHP:~$ sudo pon Themiscyra ...
5
votes
2answers
3k views

How to assign an additional IP/hostname to a chrooted environment?

While I can simply have e.g. sshd in a chroot environment ("chrootenv") listen to a different port than its parent ("parentenv"), it would be more convenient to have that environment have an ...
3
votes
2answers
86 views

Bind9 denied query

I created a bind9 based DNS server to work only in forwarding mode: This is my named.conf.options file: #acl goodclients { # localhost; # localnets; #}; options { directory ...
1
vote
1answer
32 views

What is the network connection speed between two containers communicating via a virtual bridge running on the same host?

Does a virtual bridge (added to /etc/network/interfaces) limit the transfer speed of data from the memory of one lxc/docker container to another? For example does the memory throughput drop to that ...
0
votes
0answers
24 views

ubuntu 14.04 create route to multicast stream server and have access udp://239.255.0.169:5500

My server is ubuntu 14.04 server edition and I am trying to re stream existed multicast stream by my server : Multicast stream server is using udp://239.255.0.169:5500 destination ip. On my side I ...
2
votes
2answers
72 views

Combine Two SSH Commands

The first ssh command is done on my computer, I enter the key password, then put the second ssh command in while logged into the server. ssh -i cloudkey -L 6000:localhost:6001 admin@54.152.188.55 -p ...
2
votes
1answer
2k views

Ubuntu: wire network is not stable and must restart network-manager periodcally

I don't know why my wire network now is not stable. After a short time of using, maybe 30 minutes, 15 minutes or maybe just 2 minutes, my network is down. When my network is down, I must run this ...
0
votes
1answer
32 views

Set an IP in Centos for access in SSH when connected through WiFi

I recently installed CentOS 7 on Virtual Box with a minimal installation, and I have enabled the network interface in order to show my IP and access to it through SSH when connected by an Ethernet ...
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 ...
2
votes
1answer
49 views

Problem using GSM USB modems on HP Pavilion laptop

A week ago I migrated from an old PC running Ubuntu 11.04 to Laptop running Kubuntu 16.04. I am having problems using USB modems on the new setup. 1st modem is a ZTE. This modem intermitently loads. ...
5
votes
1answer
64 views

Why doesn't rate limiting with trickle work with ruby?

I'm attempting to limit the bandwidth available to a running ruby process to prevent it flooding our link and affecting other traffic. The process is downloading large files over HTTP. I've found ...
3
votes
2answers
109 views

WPA supplicant dropping/disconnecting NIC in hotel wifi

TL;DR WPA Supplicant intermittently fails on my Raspberry Pi 3 when using a USB Wifi dongle. It appears to do this when "reconnecting" to or changing access points in the hotel. WPA GUI states: ...
1
vote
0answers
24 views

Persistent network namespace configuration

When creating a namespace with ip netns add <namespace> the namespace and it's related config is deleted on reboot along with created interfaces like veth pairs. What is the correct way to: ...
0
votes
0answers
32 views

Set up a preferred network interface on Debian/Raspbian

I have a Raspberry Pi that is connected by Ethernet to DSL (eth0) and I also have some 3G/4G dongles that I am testing for fallback, in case the RPi loses the wired connection. In other words, I would ...
1
vote
0answers
28 views

Beagle Bone Black not retaining static IP

I have a Beagle Bone Black to which I have assigned a static IP. My interfaces file is as follows. auto eth0 allow-hotplug eth0 iface eth0 inet static address 172.16.41.226 netmask 255.255.255.0 ...
3
votes
3answers
257 views

How to host a website on personal computer

I want to start hosting my website at my own computer as well websites of my friends too (say mini hosting platform). I learned Debian, Bind9 and Apache for this purpose. On my system everything is ...
3
votes
2answers
2k views

How can I Forward a subDomain to a specific port?

My apologies if this has been asked before. I haven't found an adequate solution so... yeah. When a specific domain, "example.com" is accessed, I want it to act normally. In other words, it should go ...
1
vote
2answers
2k views

Huawei E3372s + Linux (Rasbian), Incoming connections problem

I have a Linux-based OS (Rasbian) running on Raspberry Pi 2+ and it is using Huawei E3372s 4G/LTE USB Stick for internet connection. All my outbound connections work perfectly (Huawei USB mode ...
0
votes
0answers
18 views

How can I set up my ethernet on a fresh install of Fedora Server 23?

I am using Fedora Server 23, and cannot get my ethernet connection to work. It works fine on Ubunutu, OS X, and Windows 7 on the same machine. [root@localhost etc]# ifconfig ens5: ...
2
votes
1answer
41 views

User mode linux eth0 connected to host tap ethernet device not coming up

I am trying to setup the network between UML instance running on ubuntu as host. UML--eth0-(192.168.0.254) ----------------tap0--(192.168.0.253)--VM But, I am not able to bring the eth0 device in ...
0
votes
0answers
19 views

Cannot connect to WiFi network using /etc/network/interfaces

I'm trying to connect to a WEP WiFi network using only the /etc/network/interfaces file: auto lo iface lo inet loopback auto wlan0 iface wlan0 inet dhcp wireless-essid mySSID wireless-key ...
5
votes
0answers
64 views

Simulate ethernet cable unplugged on a remote machine while staying connected

I am working from home on remote embedded Linux machine "X" via ssh. It has one physical network card. I need to simulate Ethernet cable unplugged condition on the same remote machine "X" , while ...
3
votes
1answer
1k 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 ...
3
votes
1answer
770 views

Apache Request Hangs For 2 Minutes Exactly

I am experiencing some odd behavior with apache. I have requests that are hanging for exactly two minutes. The request could be one file one time, and then a completely different file another time. ...
-1
votes
0answers
8 views

Regarding telosB changing node ID using Ubuntu

Am working on telosB for glossy protocol analysis. When i tried flashing the program, there was some issues with the node ID. acn any one help me regarding how to set this node id... Thanks
1
vote
0answers
140 views

Unable to start apache

I'm running CentOS7 in virtualbox on a mac (osx 10.9.3). Ultimately, I want to access the website on my Guest VM from my Host. I can Ping and SSH to VM but I can't access the webpage when entering ...
0
votes
0answers
107 views

Accessing CentOS7 server from public

recently I switched to CentOS 7 OS and set up basic webserver with Apache. I had no problems configuring SSH, FTP and LAN access to the webpage. But accessing from other IP's won't work. I'm 99% sure ...
11
votes
6answers
33k views

How to find the IP address of a KVM Virtual Machine, that I can SSH into it?

I have follow this guide (Virtualization With KVM On Ubuntu 11.10) to setup my KVM (Virtual Machines Software) on my Ubuntu 11.10 Server. However, I didn't setup my VM's IP address when creating the ...