Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
1answer
79 views

Write access on mounting a Windows network share

I installed cifs-utils, and can mount the remote drive using the command sudo mount.cifs //DRIVE ~/homedir/ -o user=user,pass=pass,sec=ntlmssp However, the user account cannot write to the mounted ...
1
vote
1answer
1k views

What's the difference between “errors:” “dropped:” “overruns:” and “frame:” fields in ifconfig RX packets output?

Can someone please elaborate on the difference between the various RX packets fields in ifconfig output? For example, let's say I run ifconfig and see the following: eth0 Link encap:Ethernet ...
1
vote
0answers
24 views

Automate a gratuitous ARP every x seconds

There may be another issue here, so any other questions or comments are welcome. I have a CentOS 6.6 VM running under VirtualBox. It is connected to a GNS3 topology using a UDPTunnel. Everything ...
1
vote
1answer
165 views

Unable to connect to internet from Centos VM

I am using VirtualBox 4.3, I have installed centos 6.3. I have two adpaters attached. 1) NAT 2) Host-Only I want to be able to setup a cluster of 3 machines which can talk to each other and also be ...
0
votes
1answer
28 views

When using the spoofed IP option with arping no replies are returned

Host IP: 10.0.0.21 Spoofed IP: 10.0.0.112 Live IP: 10.0.0.138 When I normally run arping like: arping -c 1 -I wlan0 10.0.0.138 I receive a reply. However when I spoof the IP using a machine on ...
0
votes
1answer
415 views

How to set up wifi hotspot with 802.11n mode?

I have two computers running Ubuntu 14.04 (ok, one is actually Mint 17.1, but that's based on Ubuntu 14.04), and I am looking to use one as a wi-fi hotspot for the other. Both computers have identical ...
1
vote
1answer
47 views

How can I configure the default transmission rate for 802.11 (“WiFi”) in Debian 7 GNU/Linux?

I need to lower the transmission rate of my IEEE 802.11g network interface controller to have acceptable packet loss ratio (< 0.5 %), otherwise it becomes very high (> 50 % is ...
0
votes
1answer
48 views

Redirect traffic to another machine

I have 3 machines - A, B and C. Can I redirect all Http/Https traffic originating from B and C through A such that the third-party views the the incoming request as sent from A rather than B or C?
0
votes
0answers
85 views

wget not working but apt-get does

Although this question relates to Raspbian running on my Raspberry Pi, it feels like it is a more general Linux query.... The Pi is sat on a network which includes a Microsoft TMG server. I have ...
0
votes
2answers
60 views

Can't browse Internet in Redhat 7

I installed RHEL 7 using server with GUI with no added option on my local virtualbox, but I cannot get Firefox connected to the Internet. I checked /etc/resolv.conf contains nameserver setting I ...
1
vote
1answer
84 views

Assigning static public IPs to Proxmox KVM guests

I'm currently using 5 public IPV4 addresses on a physical machine running Ubuntu Server, which I intend to replace with new hardware running Proxmox. I'll do a P2V of the current Ubuntu install into ...
0
votes
1answer
76 views

How to fix or bypass the DHCP handshake to get an IP address

My linux box can't seem to get a DHCPOFFER from my router. This is blocking me from getting internet access on the linux box. Here's the setup: I have two computers, a linux box called mocha and a ...
0
votes
0answers
37 views

wifi-menu leads to freezes in Arch

I have a Macbook Pro 5,1 that I recently installed Arch on. Today, I had problems with my wifi, so I reinstalled the broadcom drivers, and was able to get wifi-menu working, but this has led my ...
1
vote
1answer
290 views

Java Client Connection Refused by Linux Server

I have a Java server and client, which is a simple server that prints a message when the client communicates with it. It works perfectly fine when the client and server are on the same machine. When I ...
1
vote
0answers
57 views

ping on linux vs ping on mikrotik

I have ubuntu server 14.04, with two network cards (LAN and WAN). I made a masquerate for WAN card. I have internet access from a host within the Lan of router. I do a ping to 8.8.8.8 and try to ...
1
vote
0answers
79 views

Resolving NETBIOS names from Linux

There's a Windows machine called SUSAN on my network. From a Windows VM on my Linux box I can simply: C:\>ping susan I've followed this guide (and looked at several other similar ones) for ...
0
votes
1answer
61 views

Monitoring network connectivity in Busybox/embedded Linux

I have an embedded Linux/Busybox system that needs to monitor its own network connectivity. I'm trying to figure out if the device is "all alone" on the network for more than say 10 minutes, and take ...
0
votes
1answer
109 views

Using connman, how can I set resolv.conf options when connman keeps overring the file?

I want to set the single-request option in resolv.conf but connman keeps overriding the file. I see some things can be set in /var/lib/connman/*/settings, but seemingly not this.
2
votes
0answers
278 views

vpn l2tp connection on ubuntu 14.10

I am using Ubuntu 14.10 and I need to create a VPN L2TP connection. I installed strongswan, as suggested by this answer, but now I don't understand how to configure the connection. The connection ...
0
votes
1answer
139 views

RHEL7: Why does 'nmcli conn show' & 'ip addr show' display different connections?

My 'nmcli conn show' & /'etc/sysconfig/network-scripts' config files don't match up, showing just one connection/devices of each: [root@ciroc network-scripts]# ls |grep ifcfg ifcfg-enp0s3 ...
1
vote
2answers
168 views

Can I prevent a default route being added when bringing up an interface?

I have a system with two NICs on it. This machine, and a few accompanying devices will be moved and attached to different LANs or sometimes it'll be using dial-up. eth0: - 10.x.x.x address space - ...
0
votes
1answer
90 views

Cannot use ALFA-AWUS036NHA over my laptops wireless card

I recently bought an ALFA-AWUS03NHA Wireless Card, I am running Debian and I want to use the card with the aircrack-ng suite of tools. However, I am pretty sure it is using my laptops wireless card, ...
0
votes
0answers
26 views

Change Netatalk server name

Is there a way to change the name of a Netatalk AFP server, as shown by the client? I run Netatalk3 on FreeBSD 10.1 with OS X clients. On the clients I see the server labeled with its hostname. I ...
0
votes
0answers
58 views

How was dnsmasq answering DNS queries before I fixed /etc/network/interfaces?

I installed dnsmasq to provide both DHCP and DNS on my home network. Everything was working swimmingly until just now. Seemingly out of the blue I was unable to connect to the internet on any ...
0
votes
1answer
76 views

Linux Virtual Network Interface: Specify a Specific DHCP Server (or DHCP Server in an Address Range)?

I'm setting up a Linux box for a friend. She lives way out from the city and has to use dial up, but sometimes she can bring the computer into town and connect on my LAN or on someone else's LAN. ...
2
votes
1answer
55 views

How to report receive queue size for AF_UNIX sockets

netstat -a reports Recv-Q (amount of unread data pending for a reading application) for AF_INET sockets, but not AF_UNIX sockets (at least not for SOCK_DGRAM). Does anybody know a way to obtain this ...
1
vote
3answers
112 views

How do I troubleshoot networking on Debian

Today I restarted my linux box, and following the restart, my linux box has no network connection. Here's what I've tried so far: Use an different ethernet cable that works on my other computer. No ...
0
votes
2answers
73 views

Forwarding a Localhost:Port to an ExternalIP:NewPort

We have got an application running on our linux server. From that application, when we try and access localhost(127.0.0.1):localport, it should be forwarded to an external IP. Users will only try and ...
0
votes
2answers
104 views

Provide security settings before connecting over WiFi in Mint 17

A little while ago I upgraded my laptop from Linux Mint 16 to 17. Everything went fine, but now I can no longer connect to a specific wireless network that I have at work. When I try to connect, it ...
0
votes
1answer
63 views

GRE not Forwarding origin IP

I've followed the BuyVM Guide found here on creating a GRE Tunnel to protect my main server against DDOS attacks (http://wiki.buyvm.net/doku.php/gre_tunnel) I've followed through this whole guide ...
0
votes
1answer
87 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
49 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
1answer
134 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
87 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
62 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
1answer
60 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
89 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
117 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
69 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
48 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
49 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
19 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
33 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
15 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
3answers
126 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
44 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
47 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
39 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
64 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
33 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 ...