Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

-1
votes
0answers
10 views

KVM Disk Image File Path openSUSE

I need to enable networking for my guest KVM Windows 10 VM under openSUSE Tumbleweed host. I need the default file path for the virtual disk image as per here. Running the following command: ...
0
votes
0answers
14 views

How do I measure the amount of network traffic that passed my debian installation?

So my raspberry pi is acting as a Router and Web/Mail/FTP/SQL/Media/Clash of Clans/Home server right now and I'm looking for a way to monitor the consumed bandwidth, much like NetWorx for windows. I ...
0
votes
0answers
9 views

Route everything through VPN except SSH on Port 22

I have a Server and I want to setup a VPN on it to route all traffic. Of course I dont want to block myself out when establishing the OpenVPN connection (already did that..) so I want the Port 22 to ...
0
votes
0answers
12 views

connman connections extremely flaky and slow

I'm trying to configure my system to be able to connect via either ethernet or wifi with connman. I was able to hotplug my ethernet with systemctl restart dhcpcd.service previously, but I'd like to ...
0
votes
0answers
40 views

Ethernet only works when PC booted with cable plugged in

My Ethernet adapter is Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06) and I'm using x64 Arch Linux, kernel 3.18.4. Connections are managed using ...
1
vote
0answers
21 views

traceroute / mtr from multiple locations, How can we do it ? (Or alternate way)

I have a website, recently due to some network issue, Most of my customers are reporting slow loading time of my website. When I reported this to my DataCenter, they are asking me to send the ping / ...
1
vote
1answer
37 views

ss is replacing netstat, how can I get it to list ports similarly to what I am used to?

I've been trying to modernise my way with Linux by, for one thing, ditching netstat for ss. I looked up my favourite command line flag for netstat in the ss man pages, and was very glad to find that ...
0
votes
1answer
14 views

How to setup 2 NIC PC with a DHCP server on one NIC and LAN on the other. Ubuntu

So I have a networking setup I need for a project. On one of my NICs I need to have a DHCP server. I've found for ubuntu there exists dhcp3-server for a dhcp server. I've done a bit of research, I ...
1
vote
1answer
12 views

iptables: route packets to example.com via public proxy

I want to access certain websites via a public proxy and I can't seem to get it right using iptables. Let's say I want to access example.com having ip address 1.2.3.4 via a public proxy at ...
1
vote
1answer
28 views

ifconfig made my server unreachable

I just got a second IP address for my Debian Squeeze root. I tried to add the address to my network but somehow I messed up. The command I executed: ifconfig eth0 [new ip address] mask ...
0
votes
0answers
11 views

How to use tshark or tcpdump to calculate bytes transmitted

I am using this command with tshark: tshark -r pcapfile "tcp and ip.src==192.168.1.1" -T text -V -x | grep 'Total Length' This essentially parses the pcap for only connections from the source ip and ...
0
votes
0answers
6 views

Spoofed mac resets to default when connects to network

I'm trying to change the mac address of the wifi card. I tryed with both ip link set wlan0 address XX:XX:XX:XX:XX:XX and macchanger, and I'm able to change it, but when NetworkManager try to connect, ...
1
vote
1answer
28 views

How to install software on to multiple linux clients

Is there any free way or method for ssh that could be used to install and update linux clients for a ubuntu laptop. I do not have password less ssh but the admin password is the same for all of the ...
1
vote
0answers
6 views

How do kernel inform OSPF daemon when a physical interface status is down?

When a physical interface status is changed from up to down, there are 3 things related to the computer's current routing table and OSPF. The (connected) network for that interface and remote ...
2
votes
2answers
56 views

How to make Raspberry Pi to receive an IP from a router and also pass another IP to another device?

I know that I could achieve the desired result with an Ethernet switch, but I'm curious if I can get this with some cheaper solution. The idea is as follows: Rapsberry Pi has two Ethernet ports - ...
0
votes
0answers
36 views

Sharing a LAN printer over a subnet [Gnome-Shell] [SOLVED]

Two scenarios for you: ROUTER1 / \ / \ PRINTER DESKTOP1 [96.96.96.10] [96.96.96.11] ROUTER1 / \ / \ PRINTER ROUTER2 ...
1
vote
2answers
31 views

Why do I have so many IPV6 addresses for a single ethernet card

Output of running ifconfig on my system is: eth3 Link encap:Ethernet HWaddr 44:8a:5b:93:34:25 inet addr:172.32.17.71 Bcast:172.32.17.255 Mask:255.255.255.0 inet6 addr: ...
0
votes
0answers
8 views

network connection issue with Ubuntu installed on VM player

The Ubuntu was installed on Windows 7 using VmWare Player. However, the internet cannot be accessed from Ubuntu. The Windows host works fine with internet. Examining the "Network and Sharing ...
0
votes
0answers
27 views

ipsec-tools can't encrypt packets after changing destination ip address?

I established a tunnel IPsec connection between two networks like the following scenario IPsec-tools and racoon and it works fine (see image) But in gateway1 I run a simple program that listen to ...
1
vote
1answer
20 views

Access network of PC2 from virtualbox installed on PC1

I am going to attend one seminar where I need to bring laptop with installed Virtualbox and Windows 7 running inside it. My laptop is too old to handle Virtualbox with Windows 7 and native Linux ...
1
vote
0answers
20 views

why cisco VPNC work on the second time each time and not on the first time

I use the vpnc ( cisco VPN that installed on linux red-hat 6.X ) and the vpnc.conf file look like this more /etc/vpnc.conf ## generated by pcf2vpnc IPSec ID Comvwde IPSec gateway 217.118.6.7 ...
1
vote
0answers
41 views

How to create a wireless-to-ethernet router?

I have a Debian machine, which I want to turn into a router. It will connect via wireless to a access-point, where it will get an IP. To its ethernet port, other machines will be connected. It will ...
3
votes
0answers
18 views

delay in IP route deletion

(Apologies if this is the wrong StackExchange for this question, but there does seem to be some confusion regarding appropriate targeting of IP networking questions) I am very much a network newbie, ...
2
votes
0answers
19 views

Connect OpenWrt router to home wifi AND open wifi

I've noticed I'm within comfortable wifi range of a nearby coffee shop's open connection. I have an OpenWRT router that I'm not using, and thought it might be handy to have this connected to my home ...
1
vote
0answers
29 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 ...
0
votes
0answers
8 views

MAC to MAC MII interface not working

I have a MAC to MAC MII interface between MPC8569 processor and BCM68610 controller , whose schematic design is followed from here. My linux kernel version is 2.6.32. I want to ping one device from ...
3
votes
1answer
49 views

Strange ip command output

When I call ip addr show I get output with all interfaces and their IP addresses (look at eth7): 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback ...
1
vote
1answer
54 views

Service network restart same as ifup and ifdown?

Can service network restart take place of ifdown and ifup? I was managing my server the other day using SSH and I changed my internal IP from DHCP to static. After editing the config file I had to ...
1
vote
0answers
19 views

How can I log outgoing TCP traffic including the full path of URLs?

I use a program regularly on Linux that makes a TCP request when it starts up and updates a file with an access token before launching. I'd like to write a batch script that makes this request (using ...
2
votes
1answer
20 views

proper syntax to delete default route for a particular interface?

summary: me@client:~$ sudo route del default ppp0 SIOCDELRT: No such process me@client:~$ sudo route del default dev ppp0 SIOCDELRT: No such process me@client:~$ sudo route del -net default dev ppp0 ...
1
vote
1answer
34 views

Remove IP address from interface with VLANs

On Arch Linux, I have a single physical ethernet interface on 2 VLANs (3 and 7) with static IP addresses for the VLANs and a DHCP address for the 'main' ethernet interface. Is there a way for me to ...
18
votes
2answers
1k views

Is it possible to connect to TCP port 0?

Listening to TCP port 0 allocates me a free port number on the system. But what happens when I try to connect to TCP port 0? The obvious answer is: "It doesn't work": $ nc localhost 0 ...
0
votes
0answers
40 views

How can I switch between “wl” and “b43” wifi modules without rebooting?

If I restart my computer with the following in /etc/modprobe.d/blacklist.conf: blacklist b43 blacklist ssb blacklist wl Then I can either modprobe wl (broadcom STA, works well) or modprobe b43 ...
0
votes
1answer
26 views

Debian stuck in Endless DHCPNAK/OFFER loop unless I ask DHCP server to clear expired leases

have a Marvel Kirkwood device running Debian with 3.16 Kernel. On boot, the DHCPClient gets stuck in a loop and never picks up an ip unless I log onto the dhcp server and ask it to dump the expired ...
2
votes
0answers
34 views

debugging iptables when tunneling one VPN through another

I seek to tunnel one SSL VPN (F5, running on my debian laptop==client) through another (OpenVPN, running on a debian linode==server), but lose all client networking (including, e.g., ping) after the ...
0
votes
1answer
25 views

Network card seems to be active but config file is missing?

I have a CentOS 7 virtual machine with an internal network as well as 2 bridged connections, I am unable to find the config file for the third network card. Any ideas where it could be? or what the ...
0
votes
0answers
9 views

how to tell chrony to syncrhonize time with specific server periodically

In Windows, somewhere in settings, I can check "Synchronize with Internet time server" checkbox, add ip-address (say 10.20.30.40) and that's it. How can I do something similar with chrony? I've ...
1
vote
1answer
16 views

State of network loopback

Why the state of lo interface is reported as unknown with cat /sys/class/net/lo/operstate even though ifconfig says it's running?
0
votes
1answer
30 views

No FIOS Network After Zorin 9 Install on Wireless Desktop PC

A friend has a home Verizon FIOS network, connected thusly: Verizon wired/wireless Router > wireless ASUS Windows 7 Desktop PC > wireless HP Windows 8.1 Laptop > wireless HP All-in-One Printer. Note ...
0
votes
0answers
6 views

linuxdcpp crashes Internet

As soon as I start linuxdcpp and connect to an hub, I cannot connect to the Internet anywhere in my Network. But I can upload/download files in linuxdcpp. Any idea what the problem could be?
1
vote
1answer
14 views

difference between “ip link set” and “disconnect / reconnect” in the GUI?

I've got an Ubuntu 14.04 guest installed in virtualbox. Often when the host machine changes networks or is suspended and restarted, the guest VM loses network connectivity. I can reliably get it ...
5
votes
1answer
45 views

Unable to configure eth1 and eth2 properly on Ubuntu

I am completely new to network administration, and so am finding things a bit tough. I have a machine, whose 1 interface I have to set to the subnet 10.0.20.0/24, another to 10.1.0.0/24 and a third to ...
2
votes
1answer
30 views

Running command on server, but have the server read/write local files [duplicate]

Is it possible to have a remote machine run a command, but redirect all reads and writes to a local machine. Example: I have a bunch of scripts in folder 'project'. When 'make simulate' is run in ...
0
votes
2answers
49 views

which packages are required to use make?

I try to compile a package on a fresh debian wheezy inside a VM (32bit Kernel): cd /tmp/ wget https://github.com/freifunk-gluon/batman-adv-legacy/archive/master.zip rm -Rf batman-adv-legacy-master ...
0
votes
0answers
11 views

No DHCP OFFERS on several PCs in same network

I have different PCs and 2 of them don't get an IP-address (because they don't get a DHCP-offer) by the ISP, while the others do. I pluged them directly in my cable-modem, one after another. But when ...
0
votes
1answer
28 views

Debian server makes internet connection drop

I have setup a small home server / NAS running Debian 7. The server is connected directly to the router with a static IP set in the router's control panel. There are no port forwarding rules set for ...
0
votes
1answer
38 views

Kubuntu 14.10 Wireless DNS Issue

I'm quite new to using Kubuntu and have run into issues with the wireless connection on Kubuntu 14.10. The wireless connection says that it is connected, and I can ping IP addresses of other devices ...
2
votes
2answers
51 views

Where does Linux store Wifi passwords?

I am going to write a simple replacement for Ubunutu's NetworkManager. Is there any place where the Wifi network passwords would be stored in Linux? I know about ...
0
votes
0answers
13 views

Painfully slow LAN ftp/smb/ssh less than 5kib/s

I have (finally) gotten my home server up and running. After installing/trying dozens of GNU/Linux builds I have landed on Open Media Vault for my main server, Mint 17.1 on my Laptop and I have a ...
-1
votes
0answers
30 views

Network scanner

Is there a program for Linux that scans networks like spice works for windows I have tried fing box. I what some thing that is gui but that DOES NOT automatically start at boot up. And be free with no ...