Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

2
votes
2answers
373 views

keep losing IP with dhcpcd

I have an Arch Linux install in a VirtualBox VM, and as I'm working all of a sudden, it will lose it's dynamic IP address. When this happens, if I check on the status of the dhcpcd service it says ...
2
votes
2answers
2k views

Guest OS Ubuntu 12.04 no network connection

Recently added a new *.VDI image with Ubuntu 12.04 to my existing VirtualBox. The machine hangs with a "Waiting for network configuration" error, eventually times out after 60 seconds and boots in ...
0
votes
0answers
11 views

Monitor outgoing web requests as they’re happening

I want to see a list of all outgoing HTTP requests from my desktop. I think it should be possible to monitor HTTPS hostnames as well for local clients using Server Name Indication (SNI). OS X has a ...
11
votes
4answers
3k views

How to give HTTP traffic higher priority?

When I surf the web, I find that I have to pause my BitTorrent client, to help improve the painfully slow speed (I'm sadly on a 384kbps line). It's not too nice to have to do this manually every time. ...
0
votes
1answer
17 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. How do you establish consistent interface naming by PCI slot number? Is there any ...
1
vote
1answer
26 views

Port multiplexer sslh: why is it so resource-intensive?

I've just discovered the existence of sslh. I tried to install it on my 512MB RAM VPS running Debian 7 wheezy. After having configured sslh, I tried to connect to one of my apache2 virtual hosts, and ...
4
votes
1answer
49 views

Create map network_iface_name <--> IPv4 address

I'd like to implement a bash script that creates a mapping between the network cards (or interfaces) names in my computer and their IP address (in CIDR format, if possible). The goal is having ...
0
votes
0answers
16 views

/etc/network/if-up.d/script not working when openssh-server file is in this folder? [on hold]

When I install openssh-server, it puts a file in the /etc/network/if-up.d folder. This seems to prevent another script from running when the network is disconnected and reconnected. When I remove the ...
9
votes
1answer
241 views
+50

Send a packet over the network even when its target is the local host

Under Linux if you send a packet to the address of one of its network interfaces, this packet is routed internally, it is never sent over the network. That's the right thing in 99.99% of the cases. ...
1
vote
1answer
26 views

Connecting to Verizon Mifi (wirelss hotspot) breaks everything

This question is obviously network related, but I thought it would be more appropriately placed in this forum because it's really not so much a connectivity issue. I recently got my hands on one of ...
2
votes
1answer
3k views

Auto connect to a wireless network (Ångström Linux)

I am using Ångström Linux on BeagleBoard-xM. I have installed a RTL8188SU USB Wi-Fi adapter and configured it properly. But it doesn't connect automatically even though I have marked the interface as ...
0
votes
0answers
12 views

Manipulating skb_header_pointer using sockets [migrated]

I'm trying to create a test to show that the patch for CVE-2014-2523 has been correctly applied to our system. The issue is that a netfilter module has a few faulty calls made to skb_header_pointer. ...
1
vote
1answer
265 views

How to set up an Internet Connection in Linux Mint?

My machine has wired Internet connection with Windows 7 OS. In connection properties I see service name : ispone obtain IP address automatically obtain DNS server address automatically How do I ...
2
votes
1answer
9k views

Two interfaces, two addresses, two gateways?

I have a system that has two network interfaces with different IP adresses, both of which are in the public address range (albeit via NAT in the case of the first one) and both of which have different ...
2
votes
2answers
595 views

Packet loss with RX error packets

I am seeing packet loss from all my blade servers within the HP Blade C7000 enclosure. # ping 192.168.2.140 PING 192.168.2.140 (192.168.2.140) 56(84) bytes of data. 64 bytes from 192.168.2.140: ...
0
votes
0answers
13 views

Kioptrix Level 1: Determining IP information for eth0 failed

I'm trying to set up a Kioptrix VM in VMware Player, in order to analyze it from a separate VM using Kali Linux. The VM can be found on this page: http://www.kioptrix.com/blog/test-page/ When ...
0
votes
1answer
454 views

Setting up hostapd with a iwlwifi device to run a hotspot

I am trying to configure my opensuse 13.1 system to function as a hotspot (on my dell xps13 computer). So I tried setting up hostapd as explained here, but I get an error: hostapd ...
4
votes
2answers
614 views

Access point (with hostapd) on the same interface as the network/gateway?

I wonder if it should be possible to have an wireless access point using hostapd (as described in Set up an access point) on the same interface that connects to a wireless network for internet. I ...
2
votes
1answer
478 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
501 views

Configuring network settings manually in Qubes OS

I'm trying to setup Qubes OS on my desktop but struggling to get the network/internet working. This is the configuration i want to setup - ip - 192.168.1.2 Subnet - 255.255.255.0 Gateway - ...
3
votes
1answer
61 views

How to tell if two ethernet interfaces are on the same lan?

I have to secure interfaces on Linux servers by setting bonding interfaces. The cabling information is not accurate. Is there a simple way to know if two interfaces are connected to the same LAN? ...
2
votes
1answer
233 views

Solaris 11: How to use ILB to create HA loadbalancer across two backend servers?

I'm attempting to use Solaris 11's ILB to create a loadbalancer across two backend DNS servers. Here's my requirements: Two external IPs: .XXX.YYY, .XXX.ZZZ - these are the DNS IP's that our clients ...
0
votes
1answer
20 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 ...
0
votes
2answers
407 views

Route wlan0 to openVPN tunnel and rest to eth0

I'm having problems to create route/iptables rules for following configuration: I have an openVPN server (tun type) running on my raspberry machine at home At work i have company pc (behind proxy) ...
0
votes
0answers
38 views

How to make linux see my internet connection?

I'm sort of booting off of a Mint 17 LiveCD (the situation is described here: How can i make my pc boot back into windows?) and the network does not work. It's wired if it matter. I've also tried to ...
1
vote
1answer
47 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 ...
2
votes
3answers
403 views

MySQL Workbench Cannot start SSH tunnel manager

I don't know why this error is happening when I try to connect by MySQL Workbench. Cannot start SSH tunnel manager. I'm using slackware 14.1 and installed all dependencies.    
1
vote
1answer
16 views

masscan. how to configure Linux?

I've set this in my sysctl.conf: net.netfilter.nf_conntrack_max=268435456 Because, this border 16,777,216 achieved very quick. Also, I've decrease timeouts: net.ipv4.tcp_fin_timeout = 30 ...
5
votes
1answer
58 views

Testing whether a file is local

I need to test in a script, whether a file is from a network mount or truly local. To be more clear: I need to test, whether parsing the contents will be fast or slow, but for my case local vs network ...
0
votes
0answers
12 views

Once connection is lost wi-fi cannot be brought up again

I'm running Arch, using netctl-auto to connect, and it connects well. However, as soon as the connection is lost (e.g., timed out in a network where connection must be renewed after a period of ...
1
vote
1answer
40 views

DDNS (dynamic-dns) setup and adding a hostname to a device (to be visible on the network)

How do I provide a fixed Hostname to my device so that a netscan can shows up the device name across all platforms? How can I reach the device using the hostname/MAC-ID (something which is fixed) ...
1
vote
1answer
295 views

How to monitor network performance for each application in FreeBSD / PC-BSD?

I'm using a PC-BSD workstation, and I would like to know if there is a way to monitor which app / process is using the network. I use a Mac OS X (Mavericks) laptop, and the "Network" tab in the ...
5
votes
1answer
936 views

What is SSTP vpn server and how can I run one?

I've read a couple of L2TP and PPTP tutorials on the net and there are just dozens of "running PPTP/L2TP on Linux" guides available out there and I successfully made packages like open-swan or pptpd ...
2
votes
1answer
38 views

set ip default outgoing in centos

I have server which has Centos and I want to change the outgoing IP address. This is the output of my route and route list commands. [root@marketport tmp]# route -n Kernel IP routing table ...
4
votes
2answers
1k views

Use an USB tethered phone as network adapter

I am running CentOS 6 and was able to tether my HTC phone using a proxy called proxoid . This allows me to redirect HTTP. But how do I redirect the entire TCP traffic, e.g. if I need to setup openvpn ...
3
votes
3answers
32 views

What happens to local LAN traffic on linux to non-loopback addresses?

One thing I've never quite understood on Linux is what happens to local traffic that isn't directed at loopback. For example, given the following network setup: [root@pe-323-master ~]# ifconfig eth0 ...
1
vote
0answers
23 views

Guest VMs unable to ping each other within a custom host-only network in vmware workstation

I have created a custom host only network VMNet2 (without dhcp) in VMware workstation and connected my three VMs with this network. But the problem is: I cannot ping any VM from any other VM. However ...
0
votes
0answers
18 views

lost packets using traceroute

using mytraceroute I see 50% of ICMP echo request lost: 192.168.1.212 is internal server while 192.168.5.1 is my router: Host Loss% Snt Last Avg ...
1
vote
1answer
76 views

SSH: Network is unreachable (caused by router)

I've searched solution in Google for 3 days, when I decided to write here. I have a router, so in my house is WLAN. I use laptop when I stay at home. In another city in my office I have a second ...
2
votes
2answers
56 views

How do I set the preferred wireless network in Linux Mint 17?

I'm currently in an environment with two wireless networks: OrganizationFoo, which is present pretty much everywhere I go, and OrganizationFooSubset, which is only present in a certain location. When ...
3
votes
0answers
47 views

Trying to understand Auto reconnect WIFI method

Iv'e found this method of reconnecting the WIFI dongle from this post , but want to be clear on how it works, before I try and implement it. 1) Go to /etc/ifplugd/action.d/ and rename the ifupdown ...
1
vote
2answers
1k 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 ...
1
vote
1answer
34 views

Capture web traffic grouped by individual TCP streams

As far as I know a HTTP request and response constructs one TCP connection. To debug a web application on a GUI-less server, I'd like to be able to capture these TCP streams in a single ...
2
votes
1answer
2k views

Firefox: use system proxy settings, but where are these?

Running Ubuntu 13.10, Firefox is configured to use the system proxy settings, but it seems it fails to pick them up. The computer is connected to the network, and it's possible to establish a ...
7
votes
1answer
303 views

Installing USR 5422 on Ubuntu 12.04

I am a newbie to Linux. I was trying to set up the USR5422 USB adapter. It worked fine for the first time, but since then it freezes the computer most of the time. What commands can I fire to see ...
2
votes
2answers
51 views

Testing the Success of a Congestion Algorithm

How do you test whether a particular congestion algorithm is working for you? I ask because it's not as if I can easily re-create a representative workload for most algorithms. I'm current looking at ...
0
votes
2answers
2k 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 ...
2
votes
0answers
15 views

Set up a failover route when remote host unreachable [migrated]

I have a Debian Wheezy server tunned by Xivo (let's named it A), this server has 2 interfaces: eth0 and eth1 There are no default gateway and only few server are statically reached from A. eth0 have ...
2
votes
3answers
44 views

Unable to access CentOS setup Network Configuration after attempting Python update

I attempted to update Python on my CentOS 5.6 VM and have encountered some issues afterward. Initially, yum wouldn't work, but I have resolved that. However, now I am unable to access the Network ...
1
vote
1answer
393 views

Enable kernel module for VPN

I'm trying to turn on modules for VPN so I followed this tutorial to compile new ubuntu kernel 3.8.6 . But the features I've turned on using make menuconfig seem not to be enabled. (the features I ...