Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

2
votes
0answers
29 views

Network interface crashes after disconnecting eth wire or restarting service

At startup or reboot, network interface works fine. Host is reachable and also can communicate with other devices on the local net or internet. IP address is configured as static, and dns-nameservers ...
0
votes
1answer
125 views
+100

How to route 3 computers in a wireless ad-hoc network?

I have 3 computers: 192.168.2.1, 192.168.2.2, 192.168.2.4 connected into an wireless ad-hoc network. I want all the traffic from 192.168.2.1 to go through 192.168.2.2 when it talks to 192.168.2.3. ...
2
votes
2answers
26 views

Timeout with 'service network restart'

I have a script running on fedora 22 where I am restarting service network as part of a troubleshoot calling service network restart. I want to check if that command is taking too long to execute. If ...
1
vote
0answers
27 views

How to do iptables nat loopback?

I have a linux server behind the ISP's cablemodem-router combo. With some hacking I was able to make the port forwarding work, and the DHCP exceptions in the udhcpd. But I wasn't able to do the NAT ...
0
votes
1answer
5k views

Linux Mint 17, Wifi Slow and Drops Connection, No Ethernet Connection

On a fresh install and updated Linux Mint 17 XFCE, the system cannot maintain an internet connection through wifi, and is unable to connect at all through ethernet. Wifi will work somewhat slowly for ...
1
vote
1answer
32 views

Is there a way to send packets through one ISP and receive answers through another one?

I just finished building my first load balancer that combines two different ISPs. This mechanism works just fine, but it's a little bit limited because a connection can't simply utilize both ISP at ...
1
vote
1answer
49 views

How to Do Split Tunnelling with Slave ppp0 VPN + 2nd VPN?

Network Finland(internet)-PC(Sweden)-Uni(Sweden). Uni IP is fixed. Finland(internet) is gained with 3g-4 connection. I need to use a VPN provider to change my country but the VPN provider gives ppp0, ...
1
vote
0answers
7 views

Networking failed to start on Alpine linux

I keep having an error when booting Alpine Linux Networking failed to start. I'm using a RPI3 which is connected by an ethernet cable to the box. Here's the /etc/network/interfaces : auto lo iface lo ...
0
votes
0answers
7 views

Boost ASIO async_write_some is really slow [migrated]

I finally found the bottleneck of my server and it turns out to be async_write and the same goes for async_write_some. Here the following benchmark code: struct timespec start, end; ...
1
vote
2answers
2k views

Why can't nmtui see wlp3s0 on minimal CentOS 7 installation?

In a recent installation of a minimal version of CentOS 7 (terminal only, no GUI), typing iwconfig results in the terminal showing a wlp3s0 connection, as follows: [root@localhost ...
3
votes
1answer
14k views

How do I configure the network interfaces persistently in CentOS so it will survive a reboot?

I configured a network interface with the following commands: ifconfig eth0 up ip addr add 192.168.9.1/28 dev eth0 route add default gw 192.168.0.1 This works. However, when I reboot the machine I ...
2
votes
1answer
1k views

RHEL how to sync network settings between GUI and configuration files in /etc/sysconfig/network-scripts/?

In RHEL, we can change network settings either using GUI or editing the configuration files in /etc/sysconfig/network-scripts/. I would like to know how the network settings (e.g. IP address, ...
2
votes
1answer
569 views

How would I go about getting UPnP working on a Slackware server/firewall?

I'm a long time fan of Slackware and I've always had a machine serving as my main server/firewall with the latest version installed. I have it now but I'm struggling to find information on how to ...
0
votes
2answers
33 views

Linux bridging question

I'm trying to understand why many Linux (virtual) networking guides attach IP addresses to a bridge device? A physical bridge itself doesn't really have an IP, instead one attaches networks to it and ...
0
votes
1answer
2k views

scp ssh: connect to host 10.0.0.109 port 22: No route to host lost connection

I use SCP command on Debian Linux to transfer a file to my colleague via LAN. But I encounter the problem: $ scp filename.file username@10.0.0.109:/tmp ssh: connect to host 10.0.0.109 port 22: No ...
1
vote
2answers
856 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
21 views

AIX: network and route problem

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
14 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
34 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 ...
0
votes
0answers
23 views

Linux Mint keeps dropping /etc/hosts [on hold]

I reloaded my machine two days ago. In the proccess of restoring my configuration I accidentally over-wrote my /etc/hosts file without making a backup. Since then, I have an issue with any of the ...
0
votes
1answer
16 views

WPA_CLI showing access point as connected when it shouldn't

I'm using linux kernel 3.3 and am trying to use the wpa_cli utility to monitor the status of my WiFi connection. I'm using an Edimax WiFi dongle to connect to a wireless access point. Normally I see ...
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
23 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
30 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
792 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
295 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
79 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
31 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
69 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
29 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
46 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 ...