Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
0answers
21 views

“Network is unreachable”, github, bitbucket is not working

The output of ifconfig eth0 Link encap:Ethernet HWaddr 3c:97:0e:74:43:8e UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 ...
0
votes
0answers
6 views

My captive portal does not display OS' splash page. How can I do this?

I have created a Wifi access point on my server. I added such configurations: 1. some iptables rules to ensure redirect to a landing page (local web) 2. no ip forward. Machine : linux mint 17+, ...
0
votes
0answers
10 views

Easy tips for optimizing Network I/O? [on hold]

We are a small company doing servers in-house, with (unfortunately) no resources to have a full time server admin. Currently we have 4 servers connected on a 40Gb/s fibre optic network, with ...
1
vote
3answers
54 views

Impossible to have two network interfaces wifi and ethernet (as a backup) working together

I have a raspberry 2 with a wifi interface and an ethernet interface. wifi is my main connection with the ability to just plug in the ethernet as a backup method. I want to assign different static ...
1
vote
2answers
712 views

Command/scripts to check the Reverse DNS Lookup time

I am working on a project in which one master communicates with numbers of slaves. For that it has to make connection with hosts in network. But sometimes it hangs. I think that the reason behind is ...
-1
votes
0answers
11 views

kali linux airmon-ng issue

I am new to Kali Linux and I am currently running a VM using VirtualBox and I have selected network adaptor as bridge adaptor and connected it to my external USB WiFi adaptor. I have two problems ...
1
vote
3answers
128 views

Force all network traffic go through default gateway

I have a machine that I want to force all traffic to go through the default gateway. Even traffic on the local network. I have made it to work by removing the auto generated route for this interface, ...
0
votes
1answer
2k views

Consistent network interface name ubuntu using pci slot

One can set consistent interface naming via mac address by modifying /etc/udev/rules.d/70-persistent-net.rules. Can you establish consistent interface naming by PCI slot number? (I tried but failed) ...
0
votes
1answer
514 views

Kali linux network connection icon missing

I was trying to setup a vpn connection in Kali linux but i don't know what did i do that network connection icon (screen top right) is missing and i can't connect to internet! How do i fix it?
3
votes
4answers
23k views

Yum update problems on CentOS 6.5 minimal as VMware guest

INFO: I am using Windows 7 Pro (64bit) with VMware Workstation version 10.0.1 . I am using CentOS(64bit) 6.5 minimal, for the first time. I am running this from my workplace network, which may use a ...
0
votes
0answers
21 views

Internet connection drastically different for users

I am using Fedora 16, I know it's been EOL-ed but I've been too lazy to update and reinstall something new. Mostly, it works fine except that my main user's internet connection is really crappy and ...
1
vote
1answer
669 views

Network fail on FreeBSD: Ping to router fails, but router believes computer is connected

I have a TP-Link TL-WN851N wireless adapter, which is based on an Atheros device. When I attempt to connect to my WPA2 wireless network, ifconfig wlan0 tells me that the connection is 'associated'. My ...
3
votes
2answers
1k views

Open and redirect port

I'm trying to set up SNMP for a router so I can monitor it from an existing Nagios installation on an off-site server. I'm having trouble getting the router to respond to SNMP requests from the WAN, ...
0
votes
0answers
8 views

Trying to get the domain laptop.local to 127.0.0.1 with bind9

Already tried a load of guides but cannot figure it out somehow. I need it so that when I look at one of my webpages through a VM I do have to get the public IP of my laptop every time and so that the ...
0
votes
1answer
58 views

route -n gives output “route: fscanf”

If I boot my system and no interface has an IP address I get the above output. However if I give an interface an IP, even if I remove it again, this will disappear. Why does this happen? Is it that ...
1
vote
3answers
5k 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 ...
0
votes
0answers
10 views

Is there any P2P VPN solution that does not requiere port opening(forwarding)?

The closest to a VPN P2P-based solution that I have found is PeerVPN, but it needs to open one port (7000 TCP by default) on each computer that runs it. I would like to prepare some linux devices ...
0
votes
4answers
4k views

How can I reinstall Network Manager after uninstalling it?

I am running a version of RHCE6 on my laptop, and lately I've been trying various stuff about network configuration through command line. Last night, I tried removing the NetworkManager using yum ...
1
vote
1answer
38 views

What exactly do `/etc/network/interfaces` `up` and `down` commands do?

I am concerned that I may be incorrectly using the up and down interface options in /etc/network/interfaces. I was under the impression that these options were simply executed as a 'hook' after ...
14
votes
4answers
55k views

Connecting to wifi network through command line

I am trying to connect to my WEP network just using the command-line (Linux). I run: sudo iwconfig wlan0 mode Managed essid 'my_network' key 'xx:xx:... hex key, 26 digits' Then I try to obtain an ...
0
votes
2answers
15 views

Send network traffic via a Windows VM on the same host to use corporate vpn?

At work we have a VPN solution that will only work on windows. I personally do not run Windows at home and run Linux (Ubuntu 14.04). I used Virtual Box to setup a Windows 7 virtual machine to run ...
1
vote
0answers
21 views

no internet through wwan0 when cable attached to eth0

On my Beaglebone card I run Angstrom Linux. It has one cable in the ethernet port (etho) and a USB 3G modem dongle in the USB port whose interface is named wwan0. At the other end of the crossover ...
7
votes
3answers
14k views

What can I use to monitor and log incoming/outgoing traffic to/from remote hosts?

I run a web server (Debian Squeeze on a VPS), and the graphs provided by the hosting company show consistently that around twice as much traffic is incoming to the server compared to the outgoing ...
22
votes
6answers
44k views

How to limit network bandwidth?

Problem: We are hosting an application on remote server. We need to test it with a limited network bandwidth (for users with bad Internet access). Question: Can I limit my internet bandwidth (in ...
0
votes
1answer
22 views

Intermittent Network disconnection, Ubuntu, troubleshooting help

I purged network manager from my system (OS: Linux 3.13.0-53-generic #89-Ubuntu) Networking service runs on my system: sudo service networking status networking start/running Static interface ...
1
vote
1answer
55 views

Blocking or forwarding packets as access point

I set up my Pi 2 as a wifi access point following this tutorial. I'd like to implement a rudimentary QoS, according to the DSCP field in every packet's header. That means, blocking packets using low ...
0
votes
1answer
35 views

How to know which computer is trying to access a specific host

At my workplace we tend to get those annoying captchas once in a while when we are trying for search something in Google. When we got into that page it says that our network is trying to access ...
1
vote
2answers
21 views

Setting a domain name in LAN

I am developing a web page using Apache Web Server in my pc. When I want to open it in the browser I use the ip, for example: http://192.168.1.6/proyect My host is part of a local network (a laptop ...
0
votes
1answer
55 views

Gentoo: how do I get an IP assigned to the network interface?

I'm noob. I'm trying to install Gentoo from the LiveCD (just for fun as well as for getting better understanding what's going on under the Linux's hood) on my notebook. I've faced an issue which is ...
0
votes
0answers
15 views

How to statically assign network interfaces to USB Wireless LAN adapters

For this system there are two WLAN USB adapters: One connects as a client always, and the other connects as an AP. I have a script that manages their operation, but in order to do that I need to ...
0
votes
0answers
15 views

Delaying packets with libnetfilter_queue

From my Raspberry Pi configured as an access point, I set the following rules: sudo iptables -I FORWARD -p tcp --sport 25 -j NFQUEUE --queue-num 0 sudo iptables -I FORWARD -p tcp --sport 80 -j ...
5
votes
1answer
3k views

Debian, two network cards - “no route to host” on eth1

I have added a secound nic in a debian box. That nic is ment for doing some test stuff, so those devices connected should just be able to access the debian box or be accessed from it. To set up the ...
1
vote
1answer
33 views

network connection only works for a while?

I upgraded my Debian Jessie desktop two days ago but I found that I am not able to connect to internet via eth0 now. I've pinged www.google.com, but it told unknown host; for inet addr and Bcast (in ...
1
vote
1answer
97 views

How to measure network traffic (with pfSense/freeBSD)?

Is it possible to measure network traffic (per month, per WAN, per direction) with pfSense/freeBSD? There are following programs listed ...
3
votes
2answers
3k views

problem with server bonding interface configuration

We are facing some problem with configuration of servers: There are 2 servers, each one contain 2 NICs which are in bond. Each server is connected to 2 Cisco switches (one connection from each NIC to ...
1
vote
1answer
27 views

How check a port forwarded from localhost to localhost on.. localhost?

I'm learning about iptables, firewalling, routing and so on. I'm on Linux, Centos7, and I've set up a local port forwarding to localhost with: firewall-cmd ...
0
votes
0answers
798 views

How to setup proxychains in VirtualBox Guest Kali Linux

I've been following directions from this book "Kali Linux Cookbook", but I can't get proxychains to work. The OS is Kali Linux and running inside VirtualBox. The guest network is a Bridged Adapter. ...
1
vote
1answer
15 views

Two networking interfaces trying to get an IP via DHCP

When using: /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wpa-ssid "<myssid>" wpa-psk ...
3
votes
0answers
17 views

Wifi cuts out after some time

I recently installed Debian on my laptop (after playing around with dozens of distros in VMs for a year or so), and while most everything has gone quite swimmingly I'm having some issues with my wifi. ...
-2
votes
1answer
21 views

Get CIDR of my IP on the WAN

I have a script that updates some remote systems with my laptop's IP and CIDR on the WAN, how the Internet sees me, in other words. I use the following to get my IP on the WAN in bash: dig +short ...
0
votes
0answers
19 views

my ubuntu server is showing high upload bandwidth, [closed]

my Ubuntu server is showing high upload bandwidth, I checked with wire shark and it's showing some chinese and hongkong IPs. Only uploading. What's happening to my server?
-1
votes
1answer
26 views

create virtual adaptor over network on other machine

I have Machine A (Desktop environment install/Powerful machine) running Linux that has all my programs, scripts etc on it. I connect to machine B (Voyage Linux (Debian)/ALIX pc engines) over ethernet ...
1
vote
1answer
34 views

ifconfig showing invalid ip address

I booted pretty old PC (HP d530) with latest (2015.06) Gentoo linux minimal cd. The next step I wanted to perform was to enable SSH server on this machine. I ran ifconfig to see the ip address of my ...
2
votes
1answer
715 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
1answer
20 views

Mysterious disappearing static IP address on wifi interface under Debian?

With these lines in \etc\network\interfaces... allow-hotplug wlan0 iface wlan0 inet static address 192.168.8.1 netmask 255.255.255.0 gateway 192.168.8.1 ... the interface comes up about ...
3
votes
1answer
2k 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
1answer
33 views

Block outgoing connections to certain IP using PF

Can someone give me a hint on how to setup a basic deny rule whenever any TCP request is sent to a specific IP address? I am using the PF packet filter. Any help?
3
votes
1answer
28 views

See total bandwith a process has used

I am currently watching some process on my server and want to see how much bandwidth it has used in total since it has been started. I don't want to know its current usage, nor does nethogs / nload ...
1
vote
1answer
514 views

Mumble doesn't bind to network address on boot, needs to be restarted (doesn't properly wait for network?)

I have a default, unchanged installation of the Mumble server on Debian Squeeze (package "mumble-server"). On a previous setup, starting the server (called murmurd) on boot using the default init ...
1
vote
1answer
2k 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 ...