Managing and using network connectivity on a unix system
0
votes
0answers
11 views
Beaglebone recognizing wrong USB dongle
I got my Edimax EW-7811Un wifi dongle working on my beagle bone black running the latest version of Debian (8.3) however after I plugged in a cheaper Realtek USB dongle the original Edimax wifi dongle ...
0
votes
2answers
41 views
hostname for computers in LAN
I am using Raspbian (like Debian) and I used this tutorial https://frillip.com/using-your-raspberry-pi-3-as-a-wifi-access-point-with-hostapd/ to setup my Raspbian as a wifi access point. Clients can ...
1
vote
2answers
45 views
Retrieve name of the active network interface only [duplicate]
How can I retrieve from the command line (or a shell script) only the name of the active network interface, in Linux?
If there are several active interfaces, I want just one (selected arbitrarily).
-1
votes
1answer
19 views
Cannot Connect to PPTP VPN [on hold]
I set up a PPTP VPN server (insecure, I know, but this effort is primarily a learning experience) using PPTPD on a spare Ubuntu 15.10 desktop I had laying around, but am unable to connect to it from ...
-1
votes
0answers
26 views
storing permemntly dummy virtual ethernet interfaces
I have created dummy virtual interface eth10 as below.We need more than one ip with system having different hardware address. So I created new dummy interface.
eth0 Link encap:Ethernet HWaddr ...
0
votes
2answers
35 views
How to set static IP with fallback to DHCP
On /etc/network/interfaces (Raspbian), is it possible to set a static IP with optional fallback to DHCP?
That can be handy in case the configured static IP is already taken. Or it could be in a ...
1
vote
0answers
31 views
Hostname won't resolve after setting up new server
I just completed a fresh install of Centos 7 on a PC. It is connected to the campus network, so I am not in control of the DNS server. I gave it a hostname by setting the HOSTNAME value in ...
1
vote
2answers
30 views
Network has no ping and can't resolve hosts
This is the config on /etc/sysconfig/network-scripts/ifcfg-eth0:
DEVICE=eth0
TYPE=Ethernet
UUID=c7sdfsdf-dfgdgdfgdgd-dg
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
IPADDR=x.x.x.x
...
0
votes
0answers
14 views
Setup for host and vm ,vm to vm connection
How do I setup network of my oracle virtual box so that below possibility is achieved
Setup :
1)Oracle virtual box is setup on windows host
2)Virtual box has two vm's (Vm1,Vm2)
Goal:
1)Host ...
0
votes
0answers
17 views
A way to setup hotspot in Kali Sana (Kali 2.0) via XFCE
I'm finding it extremely difficult to figure out to create a successful hotspot using Kali Sana after having it updated to XFCE, installing all updates via apt-get install update.
I've tested the ...
0
votes
1answer
22 views
Kickstart install problems, ethernet configuration missing
Using CentOS 6.7 I've created a custom(and working) kickstart installation. Initially I had coded the configuration for eth0 in the kickstart file, but ideally I'd like the user to input it, but it ...
0
votes
1answer
21 views
IPV4 getting removed after restart CentOS machines
I have CentOS machines (both 6.x and 7.1) and whenever I reboot them, automatically IPV6 is assigned to them and IPV4 is lost.
Any idea why it is happening and how to prevent it?
I Could not ...
2
votes
1answer
35 views
How do you block a port on your loopback?
I am doing some testing and want to be able to test situations where my database goes down. Its running on the same box as my tests, and it appears that things like the following are not doing the ...
1
vote
1answer
20 views
How to install Debian with a network that uses WPA2-Enterprise MSCHAPv2 EAP-PEAP (username/password)?
I am currently trying to install Debian on a laptop and due to firmware incompatibility, I am using the non-free netinstaller which can be found here. I cp'd it onto a USB (not a partition) and booted ...
1
vote
1answer
23 views
How does FING (or any of the IP/MAC Address Mappers) work?
Per this comment, I am going to take advice and ask this as a separate question. I am trying to learn more about networking and security and want to play with tools to help increase my understanding. ...
4
votes
1answer
26 views
I am stuck connecting to the internet via a usb wifi stick
I am trying to set up a an internet connection through a usb wifi sticker in Linux.
Here's the sequence I tried:
iw dev
This returns the name(?) of the Interface that I want to connect to:
phy#0
...
0
votes
1answer
19 views
ip tables by route command and iptables's table by iptables command, is the same?
There are two command : route, and iptables. Both of it have a/many tables: route tables and iptables's table.
Does those two kind of tables describe the diffrent thing, or iptables can also be ...
0
votes
1answer
18 views
Connect VM from Internet
I'm new to Linux and I have created a RedHat6 VM using Oracle VirtualBox. For testing purpose, I have set it up so that I can connect to it from my local/host Windows machine (and those of my friends ...
1
vote
1answer
39 views
How to directly connect two machines over ethernet without static IPs?
Question: How can I set up two machines, so that when I directly connect them together with an ethernet cable, one machine can connect to the other? I'm looking for a solution that does not involve ...
4
votes
2answers
84 views
Understanding wpa_supplicant
TL;DR. I need help getting to the bottom of:
why there are errors related to ioctl when using wext driver,
why I'm not able to use nl80211 driver.
When running wpa_supplicant I get weird errors ...
0
votes
0answers
23 views
linux red-hat 7.1 + increase the ring buffer
My target is to increase the ring buffer ( I have Linux red-hat 7.1 ) , but I get the following:
ethtool -G eth1 rx 8192
Cannot set device ring parameters: Invalid argument
so how to enable this ...
0
votes
0answers
14 views
Achieving UDP communication through two tuntap inerfaces
In my linux machine on to VMware workstation, I have two network cards (NIC's), named as eth0, eth1. Also, I want to create two tun(taps) interfaces. I want to achieve the udp datagrams to be sent ...
3
votes
0answers
26 views
Why doesn't rate limiting with trickle work with ruby?
I'm attempting to limit the bandwidth available to a running ruby process to prevent it flooding our link and affecting other traffic. The process is downloading large files over HTTP.
I've found ...
-3
votes
0answers
10 views
How to make VPN … [closed]
How to make a vpn on VPS in LINUX ... THAT VPN programmee that CAN change ports and host the vpn into different ip:port so it can be use so many vpn networks on single ip address..
IF U DONT ...
0
votes
0answers
14 views
CJDNS `Network is unreachable`
I'm not shure if this question belongs here, but anyway. I was trying to run cjdns on my android phone (OnePlus One runnig CyanogenMod 13) (actually tried on several devices), but it ain't working. It ...
0
votes
0answers
10 views
Adding IP Blocklists to OSSEC
I've been reading through some documentations for OSSEC trying to learn some new tricks and such to make it more effective, and what I got really interested was looking into was seeing if it's ...
1
vote
0answers
35 views
Red Hat vNIC(Virtual NIC) association to physical NIC
I have a virtual network interface named bond0.700 connected to a vlan (ID 700), and 6 physical NIC (eth0 to 5) on RHEL 5.5.
Hint :
[root@rhle ~]$ cd /sys/devices/virtual/net
[root@rhle net]$ ls ...
0
votes
1answer
25 views
KVM bridged interfaces not going up - inet, inet6 , bridge
I am setting up KVM host which will have multiple virtual machines visible from the outside with a similar /etc/network/interfaces config to this one
# The loopback network interface
auto lo
iface ...
0
votes
1answer
23 views
How to run a script after OpenVPN initialization is completed?
Background: I want to check the speed of the various servers of my VPN provider and wrote a script which runs iperf3 for each of the servers. The script does not modify the networking setup in any ...
-2
votes
1answer
40 views
How to make a private Network (vpn) that .. read below [closed]
How do you make a vpn on VPS in LINUX where the VPN software can change ports and host the vpn into different ip:port so it can be use so many vpn networks on single IP address.
0
votes
0answers
13 views
Nast port scanner showing wrong results?
I'm trying to do a port scanner with nast. The command I'm using is: sudo nast -S. Later I have to introduce the IP and the port range 1-2000.
The problem is that with some IPs it gives me a wrong ...
0
votes
1answer
18 views
KVM Networking Topology
I would like to set up a network on my Server where I run KVM as a hypervisor.
The Network will be used for a distributed Jenkins setup.
The goal topology is the following:
One machine (Jenkins ...
3
votes
2answers
42 views
default netmask in Solaris
On a Solaris local zone, what is the default netmask?
I have a blank /etc/netmasks file, but if I run ifconfig I can see that the netmask is set to ffffff00 .
[username@servername]# ...
0
votes
1answer
20 views
CentOS “service network restart” FAILED - where is the error log?
In CentOS, I ran the following command. But it doesn't give me explicit errors to investigate. How can I troubleshoot further or find the errors?
service network restart
1
vote
0answers
19 views
How to tell if a website is using rewrite or redirect? [migrated]
If I go to google.com in my browser, it automatically loads the https site.
When I do curl http://www.google.com, if it were doing a redirect, then I'd expect to see a 301 message. But instead, it ...
1
vote
0answers
13 views
Is there a tool or a command to change the “tagtype” from VLAN tags (single and double tag) before sending the frame over a VLAN Interface?
I have to talk to a device in a VLAN network. It requires that the tagtype field of both VLAN tags are the value 9100 or it refuses to answer.
Thanks
1
vote
0answers
27 views
VMWare vSphere packet loss
I have a Dell Blade Enclosure with 14 blades and ESXi 5.5 on it. On blade 7 and 14 I have round about 65 % packet loss when I ping the ESXi Management interface. On all other blades there is no packet ...
2
votes
2answers
35 views
Meaning of “route add -host xxx.xxx.xxx.xxx dev eth0:1”
if the format is:
route add -host 192.168.1.20 gw 10.1.1.20 dev eth0:1
I know, It will route 192.168.1.20 to 10.1.1.20
Then, what's the "dev eth0:1" mean?
0
votes
1answer
39 views
redirect to localhost using iptables
I'd like to redirect the outgoing traffic (whether coming from localhost or elsewhere, as the machine is a gateway) going from 192.168.0.2:80 to localhost:80.
I've tried setting this rule in the nat ...
2
votes
2answers
52 views
ssh reverse tunnel with remote ip
From a server 192.168.0.1, I'd like to reach a server 192.168.0.2 on port 80.
192.168.0.2 can reach 192.168.0.1, but 192.168.0.1 can't reach 192.168.0.2 (firewall).
I have set up a reverse proxy, by ...
0
votes
2answers
41 views
Monitor and limit internet bandwidth per network client
On a linux server with dhcpd that acts as the internet gateway for all clients of the LAN: how can I monitor the internet usage based on IP/MAC address, and deny internet access if a certain bandwidth ...
0
votes
0answers
21 views
iptables Dynamic SNAT, how to force to use different src ip from pool?
Requirement:
I need to translate a private-ip range to a public-ip range while going out on the internet. It should be a one-one mapping, if public-ip range exhausts it should drop to the next nat ...
3
votes
2answers
41 views
Fedora Core 4 won't get an IPV4 address
I have a fedora core machine, and it is picking up an IPV6 address, but not an IPV4 address. I have done dhclient -r eth0 but the ipv4 address has not come. I have reset the port using ifconfig, but ...
-1
votes
2answers
46 views
No internet on Linux Mint 17
I have been using Mint 17 for the past 2 months now and it didn't show any problem in networking. Recently, however, when I connect to WiFi it works fine for a while, but when I leave the system idle ...
3
votes
0answers
39 views
Simulate a network cable unplugged without login all routes
I want to simulate unplugging a cable from a Linux instance. My initial response was ip link set eth0 down. However, this command has impact on higher-level networking functions, e.g. routes ...
1
vote
0answers
30 views
Force OpenVPN to route all traffic through one IP address (2 IPs on same NIC)
I've trying to dig up a solution for this, but all I keep turning up is how to bind OpenVPN to a particular hardware interface. Not quite what I need to do here.
I run a server and I have 2 IPs at my ...
0
votes
1answer
23 views
How to switch generic routing to source routing?
I will need to do source routing and before going into more complicated setups I want to understand how this works by switching the generic routing (the one created magically by the networking setup) ...
0
votes
1answer
54 views
How to make Linux use the right driver (lshw)
I have an Edimax EW-7811Un wireless adapter which I am trying to get to work on my laptop which is running Debian 8.3.0 with LXDE. I have tried various things that I am going to describe below. But ...
0
votes
1answer
38 views
Screen/system hangs when using scp or rsync + ssh in local network
First, I noticed frequent hang ups with the mouse when using scp in local network. I checked RAM usage, but free -m showed me about 33% usage without buffers/caches. (I have 8G RAM.) The CPU usage was ...
0
votes
0answers
8 views
How can I set wvdial to not limit the speed for my 3G modem?
I'm setting up wvdial with my Huawei 303s-65 USB on the Konekt.io network. I can get it to connect using the nifty little set of commands found here: ...