Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

-1
votes
1answer
60 views

Interfaces, IPTables, Connections, Local Connection - Confused :/

I configured my iptables today and ran into some questions i could not resolve yet. So it would be nice, if someone could verify or answer the following to clarify: Each interface can be configured ...
2
votes
1answer
76 views

How can I share my internet connection (wireless) with an ethernet only computer?

I have a raspberry pi B+ set up in a server configuration and it connects to internet succesfully over Wifi with a USB dongle. My other pi (an A+) has always been located downstairs in the garage, ...
1
vote
1answer
121 views

cannot ping my computer on local network

I am running on 64 bit OpenSuSe 13.2 with Gnome 3 desktop environment and unsuccessfully trying to set up Samba Server. I have another computer running windows 8.1 from which I am pinging the ip ...
0
votes
0answers
26 views

dhclient allows for address conflicts

I invoke from my application dhclient but there is a problem with IP addresses conflicts. If I have other interface with statically set IP address, dhclient does not send DHCPDECLINE when DHCP Server ...
4
votes
4answers
241 views

Linux as a network printer device (Raw, port 9100)

Is possible to configure a Linux computer to work as a "network printer device" ? I have an USB printer that I intend to share in the network like a native network printer device. Is that possible? ...
1
vote
1answer
54 views

What are possible reasons why iwconfig is not updating connection stats?

I use iwconfig to show me some information about my current internet connection like this $ iwconfig wlp2s0 IEEE 802.11abg ESSID:"eduroam" Mode:Managed Frequency:2.462 GHz Access ...
1
vote
1answer
102 views

How to send AT commands to modem once the connection is established?

I have a zte 3g modem. I use carrier provided dialer for connection establishment. Once the ppp connection is active, i would like to send some AT commands(for ex. Query signal strength, AT+CSQ). But ...
0
votes
1answer
38 views

Route a port through a network interface

I'm using OpenVPN on Ubuntu Server to connect to my VPN. That network interface is tun0. All traffic currently goes through the VPN. I'd like to exclude traffic that goes over a specific port, and ...
2
votes
1answer
57 views

Where does network waiting go in 'top'?

If top is showing high loads, and you don't know if the process causing it is doing processor time or is doing network i/o (not local i/o) how can you find that out? On our server I see high values ...
2
votes
3answers
203 views

Understanding WiFi routing and gateway

I'm completely lost. I'm a real beginnqer about Linux networking. What I’m trying to accomplish : As bobstro said, I want to allow a wifi-connected UPnP camera to be moved around between wifi ...
8
votes
3answers
333 views

How many bytes occupy a simple nmap to a host?

Today the IT manager got angry because I used nmap on the 3 servers I manage to see what ports they had open. I know I could have used netstat inside the host' shell. He told me that "If the network ...
0
votes
1answer
35 views

virtualbox on os x lags when not active

I am running ubuntu server as guest inside virtualbox on os x 10.10.x host While the system works, it lags whenever the virtualbox window is not the active app. E.g. I log into ubuntu from terminal ...
0
votes
2answers
87 views

Routing Configuration sending some traffic over VPN

I have a DD-WRT router with an OpenVPN service configured. I'd like to send only certain source IP's over the vpn connection. I believe my current routing table (as seen with netstat -rn) sends all ...
0
votes
1answer
71 views

Portable way to kill a process listening on a given port

Is there a way to kill a process listening on a given port (e.g. in bash lsof -t -i tcp:8000 | xargs kill) from a shell script that will also work on cygwin, as well as bash?
0
votes
1answer
43 views

Crossover Cable 2 Linux

I have a crossover cable. I want to move files and folders between my two Ubuntu's. I have partially set this up. They can ping each other. But when I use putty the connection gets refused with no ...
0
votes
1answer
60 views

Splitting port/IP-bound traffic between interfaces

Similar to this request (I think) I'd like to see traffic bound for a certain port number routed through one specific interface while traffic for a specific IP is routed through another. The server ...
1
vote
2answers
87 views

How to connect from home PC to Virtualbox/KVM that hosted on Ubuntu server?

I have an Ubuntu server, it's 3TB HDD space total and 24GB RAM, I want to take 1 little bit of space and RAM to make VPS Windows using VirtualBox or KVM. I want to install Windows Server 2008 on ...
0
votes
0answers
78 views

multicast routing (forwarding) using mrouted from OpenVPN tap interface to LAN

Brief network diagram: Host "S" < Tap OpenVPN > Host "C0" < eth0 > Physical Switch < eth0 > Host "C1" According to mrouted document, it doesn't need to config anything for receiving ...
1
vote
2answers
369 views

Multiple IP source on single interface in Linux

We could set multiple IP addressses on single interface, for example using NetworkManager: How to make any connection to outside of this PC to use different IP? for example if I have 8 IP ...
1
vote
1answer
32 views

How do I setup remote desktop to work seamlessly?

I've been using laptops for a very long time, and have preferred them over desktops for many reasons (one being, obviously, portability). However, right now I'm planning on building a simple home ...
4
votes
2answers
169 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
31 views

Multiple DHCP Offers - Which is selected? [closed]

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
15 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
197 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
109 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
217 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
31 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
84 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
68 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
51 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
61 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
82 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
0answers
91 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
158 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
23 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 ...
2
votes
1answer
51 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
100 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
32 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
70 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
55 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
38 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
75 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
296 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
26 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
77 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
80 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
310 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
53 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
47 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
126 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 ...