Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

2
votes
2answers
573 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 ...
6
votes
1answer
36 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 ...
0
votes
3answers
38 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
70 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
3 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
670 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
22 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
38 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
19 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
24 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
26 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
34 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
31 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
78 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
880 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
20 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
567 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
18 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 ...
-1
votes
0answers
16 views

How to spawn a Reverse Shell TCP on a computer remotely [closed]

I want to know if it's possible to spawn a reverse shell script onto a computer on a local network. I tried looking under the SEtoolkit but it only generates programs that create the backdoor. I want ...
2
votes
1answer
343 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
420 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
35 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
27 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
10 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
10 views

how to use Solarflare sysjitter tool? [closed]

I've tried Solarflare sysjitter tool to measure delays of my system [oleg@localhost sysjitter-1.1]$ ./sysjitter --runtime 10 200 | column -t sh: /cpusets/tasks: No such file or directory core_i: ...
0
votes
0answers
54 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
0answers
14 views

creating virtual network interface that tunnels data through plain text fields on webpages [closed]

I would like a network interface to send and receive data encoded as plain text and put into a web page text entry field. There would be another computer at the other side of the page that would ...
0
votes
2answers
663 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) ...
1
vote
2answers
39 views

ifconfig -a get needed data grepping

If I issue following command to obtain network interface data: [root@pi lib]# ifconfig -a eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.154 netmask ...
1
vote
1answer
49 views

Allow wifi connections only to a local service, don't route to the wired ethernet

I have a Raspberry Pi running Linux (Raspbian) which is connected to my corporate Internet over an Ethernet cable. The RPi also has a wifi adaptor plugged into a USB port. I've been following along ...
2
votes
1answer
23 views

Linuxfoundation LFCS cert - Exam Topics Confusion

I am preparing to take the LFCS exam on linuxfoundation and I am stuck. In the exam objectives from the Cert Guide Manual they list the topics you need to be prepared for. But a confusion arised when ...
3
votes
1answer
78 views

Internet disappears regularly

About a month ago I installed the newest version of Linux Mint (14). I use Linux the whole day on my laptop but every 1-2 hours my internet connection (Wi-Fi) magically disappears for about 10 ...
1
vote
0answers
12 views

Resources usage in x-forwarding

AFAIK, it's possible to forward X-Window sessions, i.e. a computer ("client") may work as a (dumb?) terminal for another ("server"), displaying the desktop, GUI, etc. (and playing sounds, etc.) This ...
0
votes
0answers
15 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, ...
0
votes
2answers
49 views

How to configure network for pluggable ethernet adapter under ArchLinux (systemd)?

I have an USB ethernet adapter, but I am not sure how to configure it that the network is set up properly when the adapter is plugged in and out. Can I add something to netctl's config file to link it ...
5
votes
1answer
30k views

Sending messages to another user

Is there any command to send messages through the Linux shell to other people on the same network? I'm using write user and then write the message itself. But there's any command that doesn't show my ...
1
vote
1answer
1k views

Ubuntu: wire network is not stable and must restart network-manager periodcally

I don't know why my wire network now is not stable. After a short time of using, maybe 30 minutes, 15 minutes or maybe just 2 minutes, my network is down. When my network is down, I must run this ...
0
votes
2answers
36 views

Arch linux get network interfaces names

I need to get all intefaces names in Arch linux. If I issue command ifconfig, I get following response: [root@pi ~]# ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ...