Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
2answers
5k views

why can't this CentOS 7 server see wifi connections?

I recently installed CentOS 7 as the sole OS on an Acer Aspire T. There is no GUI, as it is a server with a terminal-only interface. What do I need to do to get CentOS 7 to be able to see and list ...
1
vote
1answer
10 views

How is udhcpc executed and how to change it?

I am working on an embedded system and it uses udhcpc as its DHCP client. It seems to be running with the following parameters: /usr/share/udhcpc # ps | grep dhcp 5366 root 2432 S udhcpc -R ...
5
votes
2answers
63 views

“Pipe” wifi signal through Ethernet cable

This is kind of an odd question, but currently the Ethernet ports at the building I work at are down, but the WiFi works. I have a wifi enabled laptop (Ubuntu 14.04 LTS) and a non wifi enabled ...
0
votes
2answers
21 views

Free and fast NAS software for arm

I own a bananapro computer and I wanna set up a NAS on it. I have already tried samba, but I don't like it very much. Is there alternative software for debian, that would work with Mac? Windows ...
1
vote
1answer
35 views

Putting a network interface up/down from command line

In Xubuntu 14.04, I tried to use both ip and ifconfig to handle a network interface, but they gave the same result. $ sudo ifconfig wlan0 down $ sudo ip link set wlan0 down both correcly put down ...
0
votes
1answer
16 views

Wwan connection on Debian and/or Arch

Arch and Debian installers want internet connection but manage to install most of their load w/out it. No Linux installer I'm aware of can configure wwan. I've only a wwan connection. On Ubuntu I ...
88
votes
12answers
270k views

How do I set my DNS when resolv.conf is being overwritten?

Most of the info I see online says to edit /etc/resolv.conf, but any changes I make there just get overridden. $ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
3
votes
0answers
28 views

How can I know which IP address of a host is reachable from another?

I don't particularly need a "solution" to something, I'd just like to understand more of the landscape here. So on my CentOS box, I installed a CentOS VM specifically for learning Puppet. When the ...
0
votes
1answer
18 views

Auto mounting network share which is temporary offline

following problem: I have a server which needs to mount a windows network share in order to copy a file on it. So I added the share in the fstab so that it will be mounted on startup. ...
-1
votes
0answers
19 views

Wondershaper won't work for values 9950+

I'm strugling with traffic shaping on my video-streaming server. I'm thrilled how does the wondershaper work, however, I can't set more than 9950 (approx. 1,75MB/s) for uploading. If I set anything ...
0
votes
1answer
3k views

Consistent network interface name ubuntu using pci slot

One can set consistent interface naming via mac address by modifying /etc/udev/rules.d/70-persistent-net.rules. Can you establish consistent interface naming by PCI slot number? (I tried but failed) ...
1
vote
1answer
4k views

Linux Mint 17, Wifi Slow and Drops Connection, No Ethernet Connection

On a fresh install and updated Linux Mint 17 XFCE, the system cannot maintain an internet connection through wifi, and is unable to connect at all through ethernet. Wifi will work somewhat slowly for ...
4
votes
2answers
1k views

NAT and source IP filtering in PF, using OpenBSD >= 4.7

I just read a book about PF (The Book Of PF, No Starch), but there's one question not answered by it. If I have a gateway machine using two interfaces, $int_if and $ext_if, and I NAT the packages ...
0
votes
2answers
43 views

Collecting network information

I need to collect information about the network usage of each process. Nethogs presents the data I need in real time, I am trying to save the output to a file in order parse it and plot the data. ...
-2
votes
0answers
8 views

Is Snort Ossec Bro Dragon supports automatic scan? [on hold]

I want to ask if malware detection systems such as Snort Ossec Bro Dragon supports automatic scan for malware
1
vote
2answers
834 views

Command/scripts to check the Reverse DNS Lookup time

I am working on a project in which one master communicates with numbers of slaves. For that it has to make connection with hosts in network. But sometimes it hangs. I think that the reason behind is ...
0
votes
1answer
12 views

Centralising Discs to Repository?

I have discs where is much variations. I would like to add the files to my central repository. However, I am getting warnings about ownership. I am thinking of running sudo chown -R masi:masi ...
16
votes
10answers
1k views

Simple file transfer

Given two Linux boxes on a LAN, what's the simplest way to transfer files between them?
0
votes
0answers
19 views

Private networking [on hold]

How do I configure an environment with 2 linux machines so I can transfer files between them through a Ethernet cable, or one can become a test server for the other to connect to and test the online ...
0
votes
1answer
28 views

Linux Mint 17.3 not connecting to the internet when in terminal but able to connect using firefox, and i'm using proxy

I have installed Linux Mint 17.3 Mate on VirtualBox and have added a proxy, When using firefox I'm able to load webpages but when I try to run update of the system or to ping it fails , The update ...
2
votes
2answers
735 views

I can ping internal to outside but not from outside to internal (Static IP)?

I have a static IP provided by the administrator of my Linux CentOS 6.5. The problem is that while I can ping this machine, connect to it and use it to access the internet from within my network, I ...
0
votes
1answer
28 views

Determine which network interface to use based on target IP

Say I have two network interfaces, eth1 and eth2, both of them connected to a different ISP. How can I instruct linux to use eth1 for all traffic to the IP 111.222.111.222 while eth2 is used for all ...
0
votes
0answers
13 views

YAST is trashed and wirless networking stopped

Running openSUSE 12.2 Mantis for some time with no problem until now.It will not load up wireless network and YAST appears trashed, with this error message anytime I try to fix it. "terminate called ...
1
vote
0answers
14 views

How do I specify an alternative bridge interface (not br0) when using qemu-bridge-helper

By following the instructions found at http://wiki.qemu.org/Features/HelperNetworking I can configure qemu with qemu-bridge-helper, however, I can't figure out how to pass a bridging interface option ...
0
votes
2answers
72 views

Share my Windows 7 C folder with another Ubuntu Linux 15.10 Lenovo desktop computer

I would like to share my Windows 7 C folder with another Ubuntu Linux 15.10 Lenovo desktop computer. The following URL describes how to do this procedure. ...
0
votes
1answer
16 views

what is the meaning of “-m state --state RELATED,ESTABLISHED”? [duplicate]

I found this rules on iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT what is the meaning of -m state --state RELATED,ESTABLISHED ? and why without this rule ,I can not ping ...
0
votes
0answers
14 views

Some Issues on External IP Port Forwarding in Django Server

I want to run a home server. I managed to make my local IP address static, then created port-forwarding as below (which is enabled): However, when I make it on 80, it forwards to modem management ...
1
vote
1answer
22 views

Connecting to WPA network in FreeBSD

For whatever reason I am having a very annoying time just trying to connect to a network in FreeBSD. So the question is how would someone manually connect to a wireless WPA network in FreeBSD 11.0? ...
1
vote
0answers
19 views

Setting up bridged adapter for Arch guest, Windows host [closed]

I've tried many things that I've found online but I'm stumped. I'm using VirtualBox, my guest OS is Arch, kernel version 4.4.1-2, my host is Windows 10. When I set it to have NAT adapter, I get it ...
1
vote
1answer
30 views

Is it possible to run 'unshare -n [program]' as an unprivileged user?

I want to run a program without any internet access, e.g. unshare -n ping 127.0.0.1. As an unprivileged user, it returns Operation not permitted, as a privileged user, it returns the desired ...
0
votes
1answer
25 views

ssh RPi from PC - How to share internet connection?

I have Raspberry Pi connected with PC on eth0 port. I am using eth0 to ssh RPi. I have web application on RPi that requires Internet access. Now, I set static ip to RPi (192.168.1.50) and to PC ...
1
vote
1answer
16 views

Using iptables instead of ARP resolution

Due to a particular network configuration, I would like to associate MAC addresses to outgoing Ethernet frames using iptables instead of the ordinary ARP resolution, or at least have the ability to ...
1
vote
2answers
3k views

Ensure torrent client uses openvpn

I recently signed up to a VPN provider and to log in, I use network manager for my normal wireless connection and then start the openvpn connection from network manager. In my browser I can check ...
0
votes
2answers
51 views

Command to detect if internet connection is wired or wireless

I would like a command to check if my internet connection is wired or wireless. I am using Arch Linux. I am doing this to display a different icon in lemonbar for different network configurations.
0
votes
1answer
148 views

home-built router - slow throughput

I am having slow performance with my home-built router. Compared to a stock Verizon (actiontec) router, it gets about 60 Mpbs down and 30 Mpbs up whereas I get about 15 Mbps and 20 Mbps up. I ...
0
votes
1answer
10 views

Host to Jail networking with vimage

I've got iocage jails with vnet=on (vimage virtualized networking) I've got a bridge1 with several jails' interfaces as members (vnet1:1, vnet1:2, etc) these can pass packets between each other. ...
0
votes
1answer
670 views

SSH to Linux Container from Other Machine

I am trying to learn about Linux Containers and this is my first encounter with servers, ssh and many other things that I do not know the terms yet. I create five different containers and authorized ...
1
vote
2answers
28 views

How can I scroll down in iftop?

I installed iftop on my Linux Mint Rafaela Cinnamon. It frustrates me how iftop does not give an option to scroll down to see more network activity, limiting me to very little activity to be able to ...
0
votes
0answers
13 views

How do I properly configure networking for a KVM virtual machine?

I have a remote dedicated server on which I have installed KVM. When trying to create my first virtual machine I am unable to ssh to the machine. I assumed that I needed another ip address so I ...
0
votes
1answer
1k views

Mint 15 on Lenovo G700: wired internet not working (Atheros QCA8172)

Mint 15 doesn't see internet after installing it in dualboot with windows 8 (in Windows internet works well). My network card is Qualcomm Atheros QCA8172 Fast Ethernet (rev 10). What I did: Install ...
2
votes
2answers
31 views

Percentual dynamic bandwidth control

Does anyone know a tool that can percentually divide the currently available bandwidth? We're on a GPRS connection on which the available bandwidth changes frequently. What I want to achieve is the ...
1
vote
1answer
3k views

Trouble switching from DHCP to a static IP on Kali Linux

When I installed Kali Linux 64bit, I forgot to set up a static IP address, and now DHCP determines my address with my router. I have already modified /etc/hosts and /etc/network/interfaces to declare ...
1
vote
2answers
4k views

DHCP Kali Linux

I'm using VBox. I have got a Bridged Adapter. I need to get my network working. What I can already do is to set everything up manually, I mean: ifconfig eth0 192.168.1.33 netmask 255.255.255.0 route ...
0
votes
1answer
27 views

I have no local IP on my CentOS 7.1 dedicated server

problem I've installed net tools and whenever I run ifconfig -a I come up with 2 network interfaces. Here is an example. [root@81756 /]# ifconfig -a eno1: ...
-1
votes
1answer
4k 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
22 views

How do I setup MAC spoofing in Fedora?

I would like to setup MAC spoofing in Fedora, similar do what Tails does to their Debian. Any idea how? Thanks
0
votes
3answers
129 views

Get Any Interface's Router Address

How can I know what the router's address is when I am on multiple interface? I know by using netstat -rn I can have the dominating interface's gateway, which is the router's address. But what about ...
2
votes
1answer
877 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. ...
1
vote
3answers
27 views

Understanding, and viewing, how ports are allocated by ssh tunnels?

I was trying to figure out a small problem with connecting to vnc through an SSH tunnel today where one of the possible issues was that someone else was already tunneled to the port. Without going ...
1
vote
0answers
30 views

“link is not ready” error, vanishing network interfaces

I recently had a weird problem when trying to use airmon-ng. Here is its description: First, I plug in my USB WLAN adapter, and type ifconfig. Everything goes well and I see all interfaces are ...