Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
0answers
4 views

Establish reverse ssh tunnel at OS startup / network connection up

I'm trying to setup a reverse SSH tunnel using a middle-man, due to firewall restrictions. I took the following steps: from ssh server do reverse tunnel: ssh -R 8080:localhost:22 ...
0
votes
0answers
11 views

Networking works only when using Iceweasel in Kali inside of VMWare

As the title says, I have a problem with my connection in vmware. I'm using vmware 10.0.1 andthe latest version of kali. It's a little weird that my connection will only work on iceweasel browser but ...
1
vote
2answers
4k views

D-Link DWM-156 HSPA USB Modem doesn't work with SIM card inserted

I have a D-Link DWM-156 HSPA modem, that I bought just a few days ago. The modem has drivers in its internal storage. There are Debian packages (.deb) for both i386 and amd64, so obviously I installed ...
0
votes
0answers
12 views

Modem is stopped from being detected

I am using Trisquel 7.0 LTS and using mobile broadband (Net-Setter) to establish connection. All is working fine. My modem detects as follows (lsusb output): $ lsusb Bus 001 Device 004: ID 12d1:1436 ...
1
vote
1answer
464 views

Arch Linux Ethernet to WiFi bridge

I want to use a Raspberry Pi running Arch Linux to extend my WiFi network. My situation is that I have a spare WiFi router that I want to use to expand my WiFi reception range as well as give me a few ...
0
votes
0answers
7 views

Unable to connect the Ubuntu EC2 instance to VPC LAN on AWS using secondary NIC adapter?

Infrastructure setup: VPC is created with 192.168.254.0/24 netwok Private subnet within VPC (Virtual Private Cloud) is created with 192.168.254.0/25 network Public subnet within the VPC is created ...
0
votes
1answer
22 views

Make TCP to reconnect automatically and quickly

In my Debian Linux system apt-get dist-upgrade is sometimes stalled with [Waiting for headers] message. To make it pass faster I press Ctrl+C and start the command again. How to tune the system to ...
8
votes
4answers
816 views

iptables on tor exit node

I want to run an open Tor router. My exit policy will be similar to ReducedExitPolicy. But I also want to make it hard for the tor network to abuse my resources. Cases I want to prevent clients ...
0
votes
1answer
3k views

Setting up hostapd with a iwlwifi device to run a hotspot

I am trying to configure my opensuse 13.1 system to function as a hotspot (on my dell xps13 computer). So I tried setting up hostapd as explained here, but I get an error: hostapd ...
2
votes
0answers
13 views

Same Wifi names keep messing with connection

I just got a RasPi and I'm looking to replace the Windows PC that's doing the routing job. (To save electricity) What I'm trying to do with it is make it connect to a wifi network using it's bssid(or ...
1
vote
0answers
11 views

Internet sharing disappears when either eth0 or wlan0 gets disconnected

I just got a RasPi B+ and I'm looking to replace the Windows PC that's doing the routing job. What I'm trying to do with the Pi is making it share the connection (wlan0) with another wifi router (via ...
0
votes
0answers
6 views

recvfrom does not receive anything from the client, but the client is sending the info [migrated]

So I wanted to make sure I am not missing something and I have the concepts clean in my head. This is the part of the code I have: UDP_Msg mensajeRecibidoUdp; struct sockaddr_in c_ain; ...
3
votes
3answers
3k views

Configure multiple interfaces with different hostnames using DHCP and DNS

I have a machine running Ubuntu 12.04 Server with two interfaces connected (eth0, eth1) to the network. Our network is set up so that a FreeBSD based DHCP server hands out leases and registers the ...
6
votes
1answer
55 views

In Archlinux, it has a valid ip, but no connection could established

~ % uname -a Linux archlinux 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014 x86_64 GNU/Linux ~ % ip route default via 192.168.1.1 dev wlp3s0 metric 303 192.168.1.0/24 dev ...
2
votes
2answers
577 views

keep losing IP with dhcpcd

I have an Arch Linux install in a VirtualBox VM, and as I'm working all of a sudden, it will lose it's dynamic IP address. When this happens, if I check on the status of the dhcpcd service it says ...
0
votes
3answers
46 views

What does this host means ' ::1 '

To secure my mysql server, I checked the list of users : mysql> SELECT User,Host,Password FROM mysql.user; +------------------+-----------+-------------------------------------------+ | User ...
1
vote
1answer
76 views

How can I create Local Loopback on Linux?

I need to create local loopback as shown herein: Performing Loopback Testing for Fast Ethernet and Gigabit Ethernet Interfaces. Excerpt Configure a Local Loopback Action To configure a local ...
1
vote
0answers
8 views

route gateway proxy traffic through different interface with identical upstream gateways

My question is similar to the below with a small caveat not answered by any of these threads: Output traffic on different interfaces based on destination port ...
8
votes
2answers
694 views

Difference between txqueuelen and ethtool tx

What's the difference between the txqueuelen setting that can be applied with either: ifconfig eth4 txqueuelen 5000 ip link set eth4 txqueuelen 5000 And the tx ring size setting that can be applied ...
2
votes
0answers
26 views

Making static routes persist after a reboot

I have two VLANs (default vlan and vlan 5 for voip). I have 2 interfaces, one for each VLAN. My route table looks like this right now: Destination Gateway Genmask Flags Metric ...
5
votes
1answer
1k views

What is SSTP vpn server and how can I run one?

I've read a couple of L2TP and PPTP tutorials on the net and there are just dozens of "running PPTP/L2TP on Linux" guides available out there and I successfully made packages like open-swan or pptpd ...
1
vote
0answers
48 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
0answers
23 views

Linux Bridge Network with Static IP Addresses and Firewall

any and all help is appreciated. I am trying to set up my Network Map Can you give me advice in setting up my interface file? If I set a static IP on my PLC on the same gateway, I shouldn't need to ...
4
votes
0answers
31 views

Dump network traffic of single application (strace-like)

I'm looking for a way to dump pcap of network data generated by an application, in a simmilar way strace dumps syscalls, etc. eg: net-strace somecommand -args somecommand would do something over ...
2
votes
4answers
14k views

Yum update problems on CentOS 6.5 minimal as VMware guest

INFO: I am using Windows 7 Pro (64bit) with VMware Workstation version 10.0.1 . I am using CentOS(64bit) 6.5 minimal, for the first time. I am running this from my workplace network, which may use a ...
3
votes
1answer
29 views

disable dhcp in initramfs

In Debian, how can I tell initramfs not to request an IP address via DHCP? I'm using initramfs-tools. I'd be okay with assigning a static IP address for the initramfs, but I can't find how to set ...
1
vote
1answer
40 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
33 views

use only one wireless card to connect to wifi network and share internet through wifi at same time

Is it possible to use only one wireless card to connect to other wifi network to access internet and share the internet to other devices via same wireless card at same time ? No! I didn't mean ...
1
vote
1answer
25 views

dhcp without dns: ping `hostname` not working. Auto add hostname to /etc/hosts?

On RHEL 6.5 how to make my own hostname locally resolvable, if my ip address is dynamic and not registered in DNS? I know, it's possible to add dhcp hook scripts. Is there a similar way to hook the ...
5
votes
1answer
82 views

What overwrites /etc/resolv.conf on every boot?

I was given the files for a mini linux, that boots directly into firefox. It works for all it should be doing, only that I do not get an internet connection. We have 3 DNS servers in the network, ...
11
votes
2answers
4k views

Limit outgoing bandwidth on an specific interface

I would like to know the easiest way to limit outgoing bandwidth for an interface. I want to cap the outgoing port speed so that file transfers between my servers don't fail during busy hours. What's ...
2
votes
1answer
1k views

Terminal server (ser2net) to configure new HP procurve switch

Switch: HP ProCurve 2910AL-48G - J9147A This switch is brand new straight from HP. Anyone familiar with ser2net for creating a terminal server to connect from usb>serial>console port on a HP ...
1
vote
1answer
882 views

installed teamspeak 3 on freebsd using portinstall but can't connect [closed]

I installed teamspeak 3 on freebsd 7 using portinstall. When i do service teamspeak status i see teamspeak is running but somehow I cannot connect to the server. did I miss something? I followed ...
0
votes
0answers
23 views

Serial Number Ban in Teamspeak

Hello I have a dedicated server and from it I'm running a teamspeak 3 Server. I want to ban the serial number of a specific client connecting to my teamspeak server. Although I have banned him from ...
1
vote
2answers
568 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 ...
1
vote
2answers
4k views

How to set up an Internet Connection in Linux Mint?

My machine has wired Internet connection with Windows 7 OS. In connection properties I see service name : ispone obtain IP address automatically obtain DNS server address automatically How do I ...
0
votes
1answer
20 views

Sharing ethernet over wi-fi with Network Manager and dnsmasq

I'm running archlinux with kde desktop. I want to share my enp2s0 connection via wi-fi. So I've installed dnsmasq. Here are some configs: /etc/resolv.conf # Generated by resolvconf search telecom.by ...
2
votes
1answer
344 views

How do I create a USB networking interface for passing internet to my Android phone?

I am working on passing through the internet from my computer to my phone (running Android) over USB. I'm not sure how to achieve this, but I know I will need a usb network interface, such as usb0. ...
1
vote
2answers
447 views

ping: unknown host with iptables enabled

I can't ping www.google.com. However I can ping the IP address: ping 74.125.237.142 At first, I thought it is a problem with my DNS settings. But I checked my resolv.conf, hosts, and hostname ...
1
vote
1answer
36 views

Number of packets sent and received on an interface

I'm interested in creating a script which prints total number of received packets and sent packets on an interface. The output should be like: interface TX: number RX: number Can anyone help me ...
23
votes
6answers
38k views

Determining what process is bound to a port

I know that using the command: lsof -i TCP (or some variant of parameters with lsof) I can determine which process is bound to a particular port. This is useful say if I'm trying to start ...
3
votes
1answer
2k views

problem with server bonding interface configuration

We are facing some problem with configuration of servers: There are 2 servers, each one contain 2 NICs which are in bond. Each server is connected to 2 Cisco switches (one connection from each NIC to ...
6
votes
1answer
801 views

AP randomly gets unreachable for the clients while hostapd is running

I got an old PC running as router which has 3 NIC and 1 wifi PCI card TP-Link L-WN751ND. This box runs Debian Wheezy, hostapd, dhcpd etc. The problem is that AP randomly gets unreachable for the ...
1
vote
1answer
28 views

Centos 5.01 can't connect to the internet

I am trying to download USB driver for centos 5.01 but I can't connect to the internet. I have tried to set ONBOOT="yes" , NM_CONTROLLED="yes" and BOOTPROTO="dhcp" on ...
2
votes
1answer
2k views

Airdrop compatible

Is there anything in Linux that implements whatever it is that makes Airdrop in OS X work? I'm not really familiar with that program, so I'm not sure what protocol it's using to communicate. update ...
0
votes
0answers
11 views

Linux Mint will not allow traffic from one specific PC on LAN

I was editing /etc/network/interfaces, and then decided to change my settings over VNC instead. This halted my SSH session and also my VNC. I'm not sure if this locked me out or not, but I set cron up ...
1
vote
1answer
1k views

netstat shows an ESTABLISHED connection with no process

I am debugging some problems with postfix. When I establish a connection nothing happens and netstat shows: $ netstat -anp ... tcp 0 0 129.132.202.106:25 129.132.179.232:60154 ...
2
votes
3answers
4k views

does the gateway have to be on the subnet?

I was looking at bringing up an interface like this in /etc/network/interfaces (this is on debian), with the gateway outside the subnet: iface eth0 inet static address 10.100.10.99 netmask ...
0
votes
0answers
58 views

SSH randomly stops working, and any other request from network related services

I'm pulling my hair out right now, since I don't know where else to look, what else to do, to find out why the SSH stops working suddenly. The ssh-server is on the same network as the client, but it's ...
0
votes
2answers
671 views

Route wlan0 to openVPN tunnel and rest to eth0

I'm having problems to create route/iptables rules for following configuration: I have an openVPN server (tun type) running on my raspberry machine at home At work i have company pc (behind proxy) ...