Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
9 views

Connecting to WPA network in FreeBSD

For whatever reason I am having a very annoying time just trying to connect to a network in FreeBSD. So the question is how would someone manually connect to a wireless WPA network in FreeBSD 11.0? ...
1
vote
0answers
6 views

Setting up bridged adapter for Arch guest, Windows host

I've tried many things that I've found online but I'm stumped. I'm using VirtualBox, my guest OS is Arch, kernel version 4.4.1-2, my host is Windows 10. When I set it to have NAT adapter, I get it ...
0
votes
1answer
31 views

Share my Windows 7 C folder with another Ubuntu Linux 15.10 Lenovo desktop computer

I would like to share my Windows 7 C folder with another Ubuntu Linux 15.10 Lenovo desktop computer. The following URL describes how to do this procedure. ...
1
vote
1answer
29 views

Is it possible to run 'unshare -n [program]' as an unprivileged user?

I want to run a program without any internet access, e.g. unshare -n ping 127.0.0.1. As an unprivileged user, it returns Operation not permitted, as a privileged user, it returns the desired ...
0
votes
1answer
21 views

ssh RPi from PC - How to share internet connection?

I have Raspberry Pi connected with PC on eth0 port. I am using eth0 to ssh RPi. I have web application on RPi that requires Internet access. Now, I set static ip to RPi (192.168.1.50) and to PC ...
1
vote
1answer
11 views

Using iptables instead of ARP resolution

Due to a particular network configuration, I would like to associate MAC addresses to outgoing Ethernet frames using iptables instead of the ordinary ARP resolution, or at least have the ability to ...
1
vote
2answers
3k views

Ensure torrent client uses openvpn

I recently signed up to a VPN provider and to log in, I use network manager for my normal wireless connection and then start the openvpn connection from network manager. In my browser I can check ...
0
votes
2answers
41 views

Command to detect if internet connection is wired or wireless

I would like a command to check if my internet connection is wired or wireless. I am using Arch Linux. I am doing this to display a different icon in lemonbar for different network configurations.
0
votes
1answer
147 views

home-built router - slow throughput

I am having slow performance with my home-built router. Compared to a stock Verizon (actiontec) router, it gets about 60 Mpbs down and 30 Mpbs up whereas I get about 15 Mbps and 20 Mbps up. I ...
0
votes
1answer
4 views

Host to Jail networking with vimage

I've got iocage jails with vnet=on (vimage virtualized networking) I've got a bridge1 with several jails' interfaces as members (vnet1:1, vnet1:2, etc) these can pass packets between each other. ...
0
votes
1answer
659 views

SSH to Linux Container from Other Machine

I am trying to learn about Linux Containers and this is my first encounter with servers, ssh and many other things that I do not know the terms yet. I create five different containers and authorized ...
1
vote
2answers
28 views

How can I scroll down in iftop?

I installed iftop on my Linux Mint Rafaela Cinnamon. It frustrates me how iftop does not give an option to scroll down to see more network activity, limiting me to very little activity to be able to ...
0
votes
0answers
10 views

How do I properly configure networking for a KVM virtual machine?

I have a remote dedicated server on which I have installed KVM. When trying to create my first virtual machine I am unable to ssh to the machine. I assumed that I needed another ip address so I ...
0
votes
1answer
1k 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
2answers
29 views

Percentual dynamic bandwidth control

Does anyone know a tool that can percentually divide the currently available bandwidth? We're on a GPRS connection on which the available bandwidth changes frequently. What I want to achieve is the ...
1
vote
1answer
3k views

Trouble switching from DHCP to a static IP on Kali Linux

When I installed Kali Linux 64bit, I forgot to set up a static IP address, and now DHCP determines my address with my router. I have already modified /etc/hosts and /etc/network/interfaces to declare ...
1
vote
2answers
4k 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
24 views

I have no local IP on my CentOS 7.1 dedicated server

problem I've installed net tools and whenever I run ifconfig -a I come up with 2 network interfaces. Here is an example. [root@81756 /]# ifconfig -a eno1: ...
-1
votes
1answer
4k views

ifconfig shows only lo

I'm a beginner using Debian. I've just installed Debian 7.5.0 amd netinst. Actually I am trying to install the firmware through aptitude install firmware-linux-nonfree When I executed ifconfig and ...
0
votes
1answer
22 views

How do I setup MAC spoofing in Fedora?

I would like to setup MAC spoofing in Fedora, similar do what Tails does to their Debian. Any idea how? Thanks
0
votes
3answers
129 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
1answer
874 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. ...
1
vote
3answers
24 views

Understanding, and viewing, how ports are allocated by ssh tunnels?

I was trying to figure out a small problem with connecting to vnc through an SSH tunnel today where one of the possible issues was that someone else was already tunneled to the port. Without going ...
1
vote
0answers
26 views

“link is not ready” error, vanishing network interfaces

I recently had a weird problem when trying to use airmon-ng. Here is its description: First, I plug in my USB WLAN adapter, and type ifconfig. Everything goes well and I see all interfaces are ...
2
votes
1answer
28 views

How to connect two VMs with different IP ranges to access each other?

Using KVM I have created four VMs, I have two public Ip addresses for my VMs, I know that I can assign these IPs to two of the VMs and connect them to internet by bridging my host's physical interface ...
0
votes
1answer
22 views

Does “ip_forward” need to be enabled for any iptables SNAT/DNAT (postrouting/prerouting) rules?

I remember I had to enable ip_forward kernel parameter in the past in order to run SNAT/DNAT rules in iptables successfully. Today I was reading this post: ...
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
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 ...
16
votes
3answers
10k 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 ...
1
vote
1answer
1k 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 ...
2
votes
2answers
3k views

enable networking inside a freebsd jail

So I'm mostly a linux newbie itself. Let alone freebsd, so please bear with me. I just need some very basic clues to get this to work. I use FreeBSD 9.1 64-bit from the list here. On my freebsd ...
0
votes
3answers
47 views

How to set the Default gateway

I'm trying to configure the network interface on embedded linux using ifconfig: ifconfig eth0 192.168.0.101 netmask 255.255.255.0 but I don't know how to add the default gateway as an ifconfig ...
14
votes
5answers
55k 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 ...
0
votes
0answers
12 views

KVM network packet loss to guest

I am running a server with Debian 8.3, uname output Linux x 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux I am using KVM to run a virtual machine with CentOS ...
1
vote
2answers
75 views

How do I check if an IP-address or a network is contained in other network in Bash?

I need to check if an IP-address or a network is contained in other network, e.g. if '10.1.2.3' is in '10.0.0.0/8' or if '10.1.2.0/24' is in '10.0.0.0/8'. Currently I use python for this, e.g.: if [ ...
4
votes
1answer
16k views

BOOTPROTO=none | static | dhcp and /etc/resolv.conf

What does it mean when it says BOOTPROTO=none in the /etc/sysconfig/network-scripts/ifcfg-eth0 file. I remember there used to be BOOTPROTO=static and it was very clear and straight-forward in telling ...
0
votes
1answer
34 views

Linux Source Routing, Strong End System Model / Strong Host Model?

Can a multihomed Linux machine implement a true Strong ES Model? Specific Use Case I have a system with five different interfaces, each connected to the same subnet, thus the same gateway to the ...
3
votes
1answer
921 views

How do I create a USB networking interface for passing internet to my Android phone?

I am working on passing through the internet from my computer to my phone (running Android) over USB. I'm not sure how to achieve this, but I know I will need a usb network interface, such as usb0. ...
3
votes
1answer
962 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 ...
0
votes
1answer
35 views

How do I set up passwordless authentication with non-root users?

Using two CentOS 7 servers, I set up passwordless authentication with root users. It works fine. I tried to use the same method (with .pub and authorized_key files) with other local users. But these ...
0
votes
1answer
19 views

Creating Encrypted Tunnel Between 2 Lans

I have 2 LANs and one of them is connected to the internet and I need to connect them together. Normally, a single cat6 cable is enough for connection however, this cable is going through a public ...
1
vote
1answer
21 views

Debian Jessie server has no internet access

I have a server running Debian 8 Jessie that constantly loses it's internet access for seemingly no reason. The server has two wired connections, the internet access is on eth0 and the internal ...
7
votes
2answers
958 views

AP randomly gets unreachable for the clients while hostapd is running

I got an old PC running as router which has 3 NIC and 1 wifi PCI card TP-Link L-WN751ND. This box runs Debian Wheezy, hostapd, dhcpd etc. The problem is that AP randomly gets unreachable for the ...
1
vote
2answers
1k views

How to set up wifi hotspot with 802.11n mode?

I have two computers running Ubuntu 14.04 (ok, one is actually Mint 17.1, but that's based on Ubuntu 14.04), and I am looking to use one as a wi-fi hotspot for the other. Both computers have identical ...
3
votes
1answer
40 views

Using iptables to redirect all traffic to local webserver

Aloha, I'm trying to redirect all traffic on my wifi router to a local webserver using iptables. I'm not sure i have got the command right and also I want to exclude the router IP (172.16.0.1) from ...
2
votes
3answers
4k views

Trying to connect to gateway in static ip network

I have arch-linux-arm running on a raspberryPi. The network I am in uses static IPs. gateway IP is 192.168.178.5 IP for my device is 192.168.178.201 To connect to the internet I use: ip addr add ...
1
vote
3answers
2k 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 ...
2
votes
1answer
26 views

When is a port considered being used?

I am getting port in use cannot bind on process restarts. I am trying to find out when a port is considered being used? Is it only when in LISTEN mode? Can it also be if a connection is open to the ...
2
votes
2answers
3k views

How to enable WIFI on VMWare Fedora 12? (It's detecting and working fine on Windows 7)

I am new to Linux. I have Fedora 12 running on my VMware. I am unable to see any options to enable WIFI connection on Fedora. When I am accessing Internet through WIFI and its working perfectly fine ...
1
vote
1answer
18 views

Connection is not established again after disconnect-connect ethernet cable

I have a situation where I have two devices connected to each other via ethernet interface, problem comes when I disconnect cable and connect them again after some time (it starts to work normally ...