Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
0answers
30 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
154 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
46 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 ...
0
votes
0answers
54 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
44 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
86 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.
0
votes
0answers
231 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
102 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
88 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
70 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
19 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
45 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
45 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
38 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
105 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
58 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
72 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
43 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
73 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
40 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
91 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
59 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
60 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
52 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
72 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
114 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
58 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
41 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
44 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
18 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
14 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
113 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
41 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
39 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
28 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
56 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
31 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
42 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
72 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
42 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
1answer
80 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
74 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
42 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
131 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
117 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
35 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
167 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
114 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
2k 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 ...