Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
49 views

Run two interfaces on one network card

Is it possible to run two different network interfaces (e.g. being connected to two different wlan-networks) on one card in parallel on linux? If yes, how? If no, why not (I would be glad about a bit ...
1
vote
1answer
30 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
1answer
615 views

Ethernet-bridged OpenVPN server not accepting connections from outside

I have configured an OpenVPN server with ethernet bridging using this howto and this page regarding ethernet bridging. The server is also running Samba, Apache and Webmin. Linux klesk 2.6.32-5-amd64 ...
1
vote
0answers
22 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
2answers
47 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
0answers
27 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

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
8 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
1answer
19 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
0answers
91 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
33 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, ...
3
votes
4answers
9k views

hostapd will not start via “service” — but will start directly

I am having trouble getting hostapd to start as a service. It fails when I try to start it: $ sudo service hostapd start [FAIL] Starting advanced IEEE 802.11 management: hostapd failed! From what ...
1
vote
2answers
8k views

How do I process ifconfig output to determine my link speed?

Here's script I wrote out of boredom, for download speed test: #!/bin/bash get_ispeed() { echo $(ifconfig eth0 | grep bytes | grep RX | cut -d ':' -f 2 | cut -d ' ' -f 1); } for((;;)); do ...
1
vote
2answers
39 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 - ...
5
votes
5answers
640 views

Automatically acquire new IP address in new network

I'm running a Centos virtual machine on a laptop using a bridged network connection to avoid double-NAT issues, with the address assigned via DHCP. This works fine until I move the laptop to another ...
1
vote
1answer
31 views

What does the “first Ethernet card” mean in the BSD world?

https://www.freebsd.org/doc/handbook/network-routing.html The designation link#1 refers to the first Ethernet card in the machine. Question: what does the "first Ethernet card" mean? How to ...
0
votes
1answer
23 views

suddenly no service, except ssh is accessible from wan

I recently did install the GNOME Desktop and Graphical Administration Tools package groups to my remote host, for remote desktop connection. After the installation of nearly 550 dependencies was done, ...
2
votes
2answers
420 views

How do I route a spare network interface through an SSH tunnel?

I just bought a Raspberry Pi and I am wanting to route an ad hoc wireless network interface fully through an SSH tunnel that was created using another wireless interface. I want to do this so that I ...
0
votes
0answers
20 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
2answers
454 views

How to add Ip Aliases with Two Gateway on same nic Centos

I have 2 allocated address range, example 10.10.12.25/28 10.12.12.24/28 How to add Ip Aliases with Two Gateway on same nic with Centos?
2
votes
1answer
21 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 ...
0
votes
1answer
23 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. ...
4
votes
1answer
2k views

Networking and Samba from a quest OS running on qemu

I'm trying to test some software on a big endian system to ensure compatibility. My plan is to use qemu on Ubuntu 12.04 to emulate a MIPS system. So far I've been able to create the quest system ...
0
votes
1answer
18 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 ...
1
vote
2answers
1k views

How to connect to an 802.1x wireless network via nmcli

I am able to connect to 802.1 networks via the nm-applet. I do not like doing this as I am running without a nm most of the time and I would hate to load up one just to connect to a wireless network. ...
2
votes
1answer
35 views

How to record network throughput per port for long period of time

I have come across vnstat recently, and am enjoying it's simplicity, low resource usage, and its ability to record network history long term. However, I am looking for a similar tool (for long term ...
1
vote
1answer
50 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 ...
1
vote
2answers
283 views

Naming PPP interfaces

I have two PPP peers, dsl-line1 and dsl-line2 which are configured with pppd on Ubuntu (Server) Linux. They are brought up by the /etc/network/interfaces file with the auto thingy however each PPP ...
-1
votes
1answer
1k views

ifconfig shows only lo

I'm a beginner using Debian. I've just installed Debian 7.5.0 amd netinst. Actually I am trying to install the firmware through aptitude install firmware-linux-nonfree When I executed ifconfig and ...
0
votes
1answer
40 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
2answers
80 views

why I can't see the interface in Linux Debian [closed]

I set an eth1 interface in Linux Debian, and I rebooted after that, but I don't see it when I would like to use the sudo ifconfig, or ifconfig command (as root) only the eth0 interface. The settings ...
1
vote
1answer
1k views

Using ping on multiple interfaces on a NIC

I have two systems and each have a NIC with two ethernet ports. One system has a verified NIC card, but the other has a NIC which has to be verified. I use ping to verify whether the interfaces on ...
0
votes
2answers
817 views

Need to add virtual interface in Suse Enterprise Server edition permanently

How can I add virtual interface in SUSE Linux Enterprise Server 11 permanently?
2
votes
1answer
612 views

redirect web server with no-ip and port forwarding in livebox

I want my Apache web server running on a Livebox (home router appliance running Linux) to be accessible from the Internet (WAN). I installed and configured the application noip2 on my Ubuntu PC. ...
0
votes
0answers
22 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
27 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 ...
1
vote
0answers
29 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 / ...
0
votes
0answers
55 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 ...
4
votes
1answer
8k views

What does the eth0 interface name mean in Linux?

What do the Linux interface names mean? eth0 eth1 wlan0 My current assumption is that when we are connected to the Internet via LAN cable it's eth0 or eth1 and when we are connected with internet ...
1
vote
1answer
38 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 ...
0
votes
1answer
74 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
33 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
37 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 ...
0
votes
0answers
19 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 ...
1
vote
2answers
1k views

Split DNS (bind9), match-clients any doesn't work?

I've been fighting with this for the last few days. A few of my entries have external and internal IP's. My internal network is 10.0.0.0/8. When I nslookup pc1.clase.net internally it responds with ...
1
vote
3answers
1k views

Using multiple NICs for faster internet?

My laptop have a ethernet card and a wifi card. Ethernet line have maximum download rate at 1.5MiB/sec and wifi is over 1MiB/sec too, but it seem only have one NIC can working at a moment (if I turn ...
0
votes
0answers
10 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
32 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
9 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 ...
0
votes
0answers
19 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 ...