Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
0answers
8 views

Diasbling ipv6 auto conf in Rh 6.6 when static IP is set

In RedHat 6.6 versions, when ever static IP is set, server is not taking up the static IP since the ifcfg-etho configuration file has the Ipv6 autoconf parameter set to yes. IPV6_AUTOCONF=yes Is ...
3
votes
1answer
27 views

What is UUID of a wifi network?

From http://unix.stackexchange.com/a/158747/674, First, run nmcli c This will list your connections, with the first column being the SSID, and the second column being the UUID of the ...
1
vote
0answers
9 views

Multiple DHCP Offers - Which is selected? [on hold]

I have created a testing scenario in VMWare for a man in the middle attack using DHCP spoofing. It's for a college project. Windows 8 machine bridged to host adapter Kali linux bridged to host ...
0
votes
1answer
13 views

Error while trying to connect 2 pcs in lan

I'm trying to connect two PCs in local network and am having difficulties: not that information you need, so I will put some, if I can put it need more: pc1: OS GNU/Linux Mageia pc2: OS GNU/Linux ...
2
votes
1answer
32 views

LXC external IP configuration for containers

I rent a dedicated server and want to use LXC instead of KVM. I want to buy IPs for every single container. For now i have two external IPs: 193.X.X.30/32 213.X.X.31/32 I prefer a routing solution ...
1
vote
0answers
31 views

Interface doesn't go up with ip link set interface up

Until yesterday, Internet was just fine and I connected without much problems. I then disabled the network interface, trying to understand a little more how to manage these kind of things, issuing ...
0
votes
0answers
20 views

CentOS 6.6 network connection problem always breaks down

I installed centos 6.6 about a week ago. Then I set my IP to static and it works but after several hours I always lost connection. I can ping another computer in that network but I cant ping my centos ...
2
votes
1answer
22 views

post-up only once after reboot

I need to run a script ONCE the first time the system connects to the internet. So I use post-up in my interface to run the script. However, I only want to run the script once per boot. So if the ...
0
votes
1answer
32 views

Help translating this `ip` command to `route` command in `post-up` hook

I am having trouble getting a static routing ip command to become permanent by way of the post-up hook in /etc/network/interfaces. Here are the relevant details: /etc/network/interfaces # The ...
1
vote
1answer
30 views

Why is setting up WLAN in Debian so hard? (compared to Ubuntu) [closed]

switching from Ubuntu 14.04 to Debian jessie (LXDE) on a ThinkPad T500 Lan (eth0) is configured in /etc/network/interfaces and works fine. After setting up LXDE i wanted to switch to WLAN and it ...
1
vote
1answer
23 views

check tcp packets reception below tcpdump level

I am having an issue with my smartphone device and packets monitoring: I am trying to find a reason why I cannot establish a VPN connection via PPTP protocol. I have the following successful ...
0
votes
1answer
30 views

Unable to ssh into virtual machine on host only network

I have created a virtual machine in virtual box with host only network. I am able to ping to the virtual machine but when i try to ssh into the same machine it reject my request with following error ...
3
votes
2answers
43 views

Detect and respond to ping in userspace

Is there a way to make a linux system react or do something when pinged from another device, besides just sending a reply (or not)?
0
votes
1answer
25 views

connecting to virtualbox ubuntu from osx extremly slow

I am running ubuntu 10.04.x as guest on virtualbox from osx x 10.10.x host It works (kind of), but after working a while with it and also after power sleep it can get almost unusable slow. It looks ...
0
votes
2answers
61 views

Ubuntu won't connect to university internet [closed]

My WiFi adapter shows networks in the area, but will not allow me to connect to my university Internet. Normally, on Windows, I connect to the Wifi by clicking connect. It shows it as connected, but ...
0
votes
0answers
17 views

How to tune dhcp networks configuration?

I'm not sure how should I configure my guest VirtualBox networks. So far, I figured out how to override this configuration so that I can connect to machines on both networks. But I'm manually ...
0
votes
0answers
27 views

How to put user dns on the first place in network manager? [closed]

After changing dns in network connections, dig and other programs still query the provider's name servers.
2
votes
1answer
21 views

How do I detect which device was recently created by pppd?

I'm trying to setup a VPN over SSH using PPPD (following the Arch Wiki). The command given is: /usr/sbin/pppd updetach noauth silent nodeflate pty \ "/usr/bin/ssh root@remote-gw /usr/sbin/pppd ...
2
votes
2answers
35 views

Add virtual bridge without the loss of networking?

There is a dedicated server without KVM-over-IP support. The server 'owns' two IP addresses, and one of those is used for eth0 at the moment. The user needs to add a virtual bridge, in order to ...
0
votes
1answer
12 views

How to capture traffic from a website using tcpdump

I need to capture traffic to https://gmail.com using tcpdump. I solved this by using tcpdump -n dst host <ipaddress of gmail> But is there any way I can directly specify gmail.com instead of the ...
0
votes
1answer
29 views

Connecting to a WPA2 network

For connecting to networks use WPA/WPA2 with PSK, from here wpa_passphrase your_network_name your_password > wpa.conf ifconfig wlan0 down ifconfig wlan0 up iwconfig wlan0 essid ...
2
votes
1answer
27 views

Network UNCLAIMED - Unable to access internet

My Kubuntu was working well until I think a day ago, and suddenly I don't have access to Wi-Fi. I've tried turning on the connection via the Connection editor but the box was grayed out. After looking ...
0
votes
1answer
21 views

dd wrt firmwire file prompt password while extracting

I am a newbie in using dd wrt firmware development. Last day i download a dd wrt firmware dd-wrt.v24-21676_NEWD-2_K2.6_mini-e900.bin for Linksys E 900 router. I need to extract this image for ...
1
vote
2answers
54 views

What exactly happens in Linux internally when an ethernet cable is connected?

I would like to understand what exactly happens when a cable is being connected to the Ethernet port (assuming dynamic IP addressing): What services are being run and how are they triggered? What ...
0
votes
1answer
42 views

Compile network card driver on debian

I buy a new network card , D-Link DGE-528T. My OS is Debian(Jessie) kernel : 3.16.0-4-amd64 but it can't detect the new network card, so I must to compile driver by myself. follow README file. ...
1
vote
0answers
13 views

interface associates with access point, but dhclient hangs

I'm having an issue connecting to my access point from the terminal. I'm using iw to connect: iw wlan0 connect MY_AP Running iwconfig wlan0 shows that it's associated with the access point. But ...
4
votes
0answers
52 views

Disable networking only inside of a single terminal

I want to run a command in the terminal to disable networking, just in that terminal. How can that be accomplished? I'm running OSX. Note: I only want to disable the networking in that terminal. ...
0
votes
1answer
33 views

How to make virtual interface ping to a host in the network

I crated a virtual interface as indicated in this link. sudo modprobe dummy sudo ip link set name eth10 dev dummy0 sudo ifconfig eth10 up sudo ifconfig eth10 192.168.1.150 now if I want to make a ...
1
vote
1answer
52 views

Enable Promiscous mode in CentOS 7

How to enable promiscuous mode on network adapter. I have tried by adding PROMISC=yes in /etc/sysconfig/network-scripts/ifcfg-ensxxx but no effect even after network restart or rebooting the system.
1
vote
1answer
36 views

How can I monitor network connections for an app

I'm running a chat application on my machine called foo - how do I view all connection attempts (failed or successful) for foo? I have attempted this with netstat, but I am unsure how to associate ...
1
vote
1answer
33 views

USB Wi-Fi correctly installed but it can't access the Internet, Debian Wheezy

I have a USB Wi-Fi stick correctly installed on my Debian Wheezy system. from dmesg: ADDRCONF (NETDEV_CHANGE): wlan0: link becomes ready from ip a: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> ...
2
votes
1answer
40 views

How do I disable network interfaces from loading at boot without Network Manager?

The machine I'm using has 4 network interfaces, only one of which is currently being used (the other 3 are not plugged in at all). Currently when the machine is restarted it is delayed by a few ...
1
vote
0answers
21 views

Need help with a network manager command line script

I am looking for some help in creating a script. As RHEL boots up and I login, I'd want to manually run a script which would: Identify the active ethernet interface (the eth ID being used). Ask ...
4
votes
0answers
38 views

Is it possible to set interface name permanently in Raspbian?

I'm using 2 wifi dongles. First one is used to monitor and second one is used to access internet. Even if I changed /etc/udev/rules.d/70-persistent-net.rules as below, at startup sometimes wlan0 ...
0
votes
1answer
21 views

Congestion Control algorithm performance testing in FreeBSD

I am working on implementation of a proposed modification of TCP Congestion Control algorithm that would allow to improve it (the CC) by adding a dynamic bandwidth estimation. I have been able (with ...
1
vote
0answers
19 views

Linux Container LXC Intra Host Networking Issues

I have a problem that I cannot seem to resolve. I have two hosts M and N. A container in host M can ping the gateway, its host and all containers in Host N but cannot ping any co-hosted container in ...
7
votes
4answers
1k views

Simplest way to send files over network

What is the simplest and most versatile way to send files over the network to other computers? By that I mean computers that other people are using at the moment. I don't think SSH works if the ...
0
votes
0answers
24 views

Bridge interface - add default route

I used to connect my ubuntu 14.04 laptop on office network via eth0 and the route table gets updated with the office network gateway ip in auto mode. Now, i changed my /etc/network/interfaces ...
0
votes
0answers
16 views

How to add routes multiple times in routing table?

Need to add same route multiple times in the routing table, or is there a way to maintain references in the routing table entries ? (may be with different priorities etc.) Am working on a switch ...
1
vote
1answer
43 views

What is blocking: Firewall and tcpwrapper?

Is it possible to find whether firewall(Iptable) or tcpwrapper is blocking a connection without accessing the remote server? (tcpdump?) Thank you,
0
votes
0answers
27 views

Command to see my current ip if proxy is applied only for a certain website

It might not be a relevent question here on so, but I tried on http://networkengineering.stackexchange.com and there are less users. So, I am not a networking guy and I have the next situation: I ...
1
vote
3answers
38 views

is there a system-wide “extension” to /etc/services that does not get replaced on package updates?

I know how to use /etc/services but if I change it and the inetd package is later updated via apt-get to a new default one, my changes are gone (happened to me on a apt-get dist-upgrade from Debian ...
0
votes
0answers
21 views

Which flags should I use for my “netstat” commands?

I would like to use two variants of the netstat command; one exclusively for IPv4 and the other exclusively for IPv6 traffic. In both cases I would only like to list the following information: ...
1
vote
0answers
20 views

Program like vnStat that filters for only external (Internet) traffic

I've been using vnStat to monitor the ethernet interface on a Linux computer, but found that it includes all local traffic. I do many file transfers from within the subnet which far exceeds the ...
0
votes
1answer
33 views

Samba and usbmount: can't write on automounted device

This is my problem: I configured my RPi with Debian: Samba shares /media/, that is readable-writeable-executable from my home network usbmount automount USB devices when inserted in my RPi, in ...
2
votes
1answer
33 views

how to overcome conflict between 2 network cards - virtualbox ubuntu

I am running ubuntu 10.4.04 LTS as guest in virtualbox on OSX Yosemite. Unfortunatelly I seem to have the network configured wrong I followed this tutorials ...
11
votes
2answers
301 views

practical usage of /etc/networks file

What is the practical usage of /etc/networks file? As I understand, one can give names to networks in this file. For example: root@fw-test:~# cat /etc/networks default 0.0.0.0 loopback ...
1
vote
1answer
38 views

Bonding two interfaces

I'm trying to simulate bonding between two interfaces eth0 and eth1. So basicly, I need these two interfaces to be on the same subnet. My question here is: How can I achieve this?
2
votes
1answer
36 views

Addresses overlaps

I was putting somes static addresses to my interfaces then it shows me this: 172.16.1.0 overlaps with FastEthernet 0/0 What does it mean when two addresses overlaps and how can we avoid it? EDIT: ...
5
votes
2answers
175 views

Elementary OS shows WiFi networks, but won't connect

In the top bar, clicking the network icon shows a list of networks. My school's network, which on Windows I would connect to, and then visit a login page in Chrome in order for it to work, shows on ...