Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
40 views

Mysterious disappearing static IP address on wifi interface under Debian?

With these lines in \etc\network\interfaces... allow-hotplug wlan0 iface wlan0 inet static address 192.168.8.1 netmask 255.255.255.0 gateway 192.168.8.1 ... the interface comes up about ...
1
vote
1answer
41 views

ifconfig showing invalid ip address

I booted pretty old PC (HP d530) with latest (2015.06) Gentoo linux minimal cd. The next step I wanted to perform was to enable SSH server on this machine. I ran ifconfig to see the ip address of my ...
3
votes
1answer
30 views

See total bandwith a process has used

I am currently watching some process on my server and want to see how much bandwidth it has used in total since it has been started. I don't want to know its current usage, nor does nethogs / nload ...
0
votes
1answer
55 views

What commands can I use to debug or profile a slow DNS / internet connection?

I'm at an enterprise where there's generally a very fast internet connection, but every time I visit a web page, it takes a really long time. I tried profiling this in the browser, and the only thing ...
2
votes
1answer
30 views

How to use the same Wi-Fi adapter to connect to a wireless network, and broadcast an AP at the same time?

I have a Wi-Fi router that runs OpenWRT. It connects to my home Wi-Fi and uses it for Internet access. At the same time, it broadcasts an access point itself and it is bridged with its LAN so other ...
0
votes
0answers
22 views

Kernel routes not loaded to Quagga ospfd process (freeBSD)

I'm trying to redistribute kernel routes that are added using the route command. For example: route add -net 2.0.0.0/24 -interface em0 I'm using Quagga ospfd under pfsense to redistribute the ...
1
vote
1answer
33 views

Delay after a MAC change

I am writing a script that will change my ethernet MAC address on a local network. It will work as follows: Initially eth0 will be brought down MAC will be changed using the ifconfig utility eth0 ...
0
votes
1answer
14 views

Letting a device access internet trough ethernet port via a laptop [duplicate]

So i have internet access to my laptop, over wifi. I have connectd a device with an ethernet port (with an ethernet cable from my laptop to the device), and set up a local area network between the ...
0
votes
0answers
23 views

Access point doesn't give IP adress after DHCP request

I'm trying to achieve this : http://askubuntu.com/questions/318973/how-do-i-create-a-wifi-hotspot-sharing-wireless-internet-connection-single-adap Almost everything works fine, but my dhcp server ...
0
votes
0answers
22 views

Script to remove IPs or network ranges from an IP space

As per the tittle, I have a tool that accepts both lists of IPs or network ranges (CIDR format) to perform a task. Unfortunately, it does not support exclusions of IPs or ranges from the IP space ...
0
votes
1answer
49 views

Meaning of 'netstat -anto' output

I did netstat -anto and got following result: Proto Recv-Q Send-Q Local Address Foreign Address State Timer tcp 0 0 127.0.0.1:1169 ...
3
votes
0answers
43 views

Linux Routing Question

I was wondering how it would be possible to have multiple IPv6 default gateways on CentOS linux. I currently have two interfaces with IPv6 (venet0 and tb0), both with different blocks routed to them. ...
1
vote
0answers
39 views

Why is my UDP bandwidth significantly lower than TCP bandwidth in iperf

I am running a simple bandwidth test between two VMs using iperf. I am getting very different bandwidth reading for TCP and UDP where the UDP bandwidth is terribly lower than TCP. TCP: ...
2
votes
0answers
34 views

check the current backlog queue size

The sysctl netdev_max_backlog sets a limit to the maximum number of packets allowed in the kernel's backlog queue. Is there a way to check the current queue size (i.e., how many packets are currently ...
0
votes
0answers
9 views

How to install airtel 3g dongle in redhat linux 5?

I have an Airtel 3g dongle, that I am not able to install in RedHat 5 Linux. I am getting the error : chmod +x install_linux "read only file system"
1
vote
1answer
35 views

Network: how they obtain 127 subnets? [closed]

I read on a book about networks that class A has 16777214 hosts and 127 subnets,my question is: how they obtain the 127 number?
1
vote
1answer
23 views

Two networking interfaces trying to get an IP via DHCP

When using: /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wpa-ssid "<myssid>" wpa-psk ...
0
votes
1answer
30 views

Boot blocked during 1min30sec because /etc/network/interfaces

With the following config (see config file below): if only ethernet cable is connected, it 100% works: I can quickly SSH the computer via eth0's IP, if both ethernet cable and wifi dongle are ...
0
votes
1answer
79 views

DHCP and read-only root filesystem

When doing ifup wlan0 on a system with / mounted as read-only (embedded computer), I get this error: Failed to connect to non-global ctrl_ifname: wlan0 error: Read-only file system Internet Systems ...
0
votes
0answers
29 views

Trouble switching between wired/wireless networks with Fedora 21

I have a Gb/s wired network and a much slower wireless on my home LAN. I switch between them in the course of my day. I have always found that Linux is not particularly clever about using the wired ...
0
votes
0answers
11 views

Share Oracle Database Connection from one system to another in same network

I have installed Oracle 11g XE in one machine, which has cent os 6.5 installed in it. Now i want to connect to this machine's oracle database from an another machine. Both are connected to the same ...
1
vote
0answers
30 views

Ethernet USB dongle works then randomly drops until restart

I've been using xubuntu 14.04 as my daily driver for a while now, as I've been getting into web development. I'm using a dell ultrabook that has no ethernet port (XPS 12 9Q33), and so I have usb 2.0 ...
0
votes
1answer
73 views

Gentoo: how do I get an IP assigned to the network interface?

I'm noob. I'm trying to install Gentoo from the LiveCD (just for fun as well as for getting better understanding what's going on under the Linux's hood) on my notebook. I've faced an issue which is ...
0
votes
0answers
17 views

Wicd cannot detect wireless networks on Point Linux OS

I have just installed Point Linux OS on my PC. The problem is: it cannot detect wireless networks, but it is okay with wired network. Please help me.
1
vote
0answers
23 views

Converting a raw print data stream containing PCL commands to PDF

I have a program that sends raw print data through samba to typically PCL compatible printers. The program is written so basic PCL commands control how it prints. When sending it to the printer it ...
3
votes
0answers
236 views

Is it possible to throttle upload bandwidth per `IP` basis using `tc`, `htb` and `iptables` ? (Download limitation not required)

Problem I've searched internet like anything but couldn't find much about limiting upload. The solutions given are not limiting IP basis like this one but LAN as a whole. +-----+ ...
-1
votes
1answer
15 views

Need to write an automated web navigator with “click” and “retrieve” capabilities

In our company, several clients provide the detailed information information that we need in a web site. The amount of time that our employees spend navigating the remote website is simply ridiculous, ...
1
vote
0answers
30 views

Required new 'X' desktop for VNC?

I'm on Raspberry pi 2, running Raspian, and using Ubuntu 14.04. I am using the tightvncserver. I don't think I should have to start a new 'X' desktop each time I want to VNC into the pi, but whenever ...
2
votes
1answer
40 views

IP address alias? E.g. map 203.0.113.37 to 127.0.0.1?

I want to use an SSH tunnel to work on a project, -L 8080:localhost:80. When opening http://localhost:8080 on my local machine things work, but the server (MediaWiki) is putting a lot of ...
0
votes
1answer
47 views

Finding out the number of dropped packets in raw sockets

I am developing a program that sniffs network packets using a raw socket (AF_PACKET, SOCK_RAW) and processes them in some way. I am not sure whether my program runs fast enough and succeeds to ...
0
votes
0answers
122 views

Ubuntu 15.04 wired connection keeps dropping and restarting

I've finally switched to Linux (Ubuntu 15.04) 2 weeks ago and everything went well. But unfortunately after turning on my PC today and doing the usual (sudo apt-get update, sudo apt-get dist-upgrade) ...
1
vote
0answers
47 views

VPN: Script at /etc/ppp/ip-up.d/ not autoexecuting on PPTP connection established

My PPTP client is Ubuntu Desktop 14.04.2LTS. My PPTP Server is a Buffalo DD-WRT Firmware. If I establish my PPTP VPN connection (named Themiscyra): luis@PortatilHP:~$ sudo pon Themiscyra ...
1
vote
1answer
44 views

How do I install a network printer without being dependent on the IP-address of the printer?

In Linux I want to install a HP LaserJet 1320n that needs to be power up and down. It will get a new IP-address every time it's powercycled. How can I install the printer on a Linux machine and not be ...
1
vote
0answers
54 views

VirtualBox network interface with custom CIDR and internet access

I have an OpenStack setup running on VirtualBox. The host OS is Ubuntu, and the guest OSes are all Ubuntu. I use 3 VirtualBox VMs to setup and install OpenStack. My OpenStack setup further spawns ...
1
vote
1answer
14 views

Setting up QEMU and MIPSEL : networking trouble

I have a MIPSEL machine running on QEMU. In order to enable networking inside my qemu MIPSEL machine, I use a bridge virbr0. First, I create the interface tap0 and bring it up. I do it as follows :- ...
0
votes
0answers
27 views

Route dies on Ubuntu 14.04.2

So I have this routing setup in EC2 on a Ubuntu machine: 10.50.0.0/24 dev eth0 proto kernel scope link src 10.50.0.163 x.x.x.x via 10.50.0.80 dev eth0 proto static y.y.y.y via 10.50.0.80 dev ...
0
votes
0answers
45 views

Getting error in nslookup

I am trying to do nslookup skhdphost1 but I am getting below error. When I try to Reverse lookup checking using command nslookup 172.16.xxx.xx again getting the same error: The error message is: ...
2
votes
2answers
87 views

How to share one internet connection from LAN to another LAN?

I have a Raspberry Pi connected to a router (Router1) with internet connection in en0, with IP 192.168.1.110, however I have my RPi's wifi port (wlan0) connected to another router (Router2) with IP ...
2
votes
0answers
54 views

How to find out the wifi sensitivity (RSSI)

I want to be able to get the received signal strength indication from my computer's wifi interface, ideally as expressed in dBm. This article explains what I am after.
0
votes
0answers
41 views

Cannot connect to public IP address of server used as VPN gateway?

When I try connect to the public IP address of server that is also used as an openvpn gateway from a Windows computer within the network it fails to connect, but if I connecto the VPN ip address it ...
1
vote
1answer
57 views

Block outgoing connections to certain IP using PF

Can someone give me a hint on how to setup a basic deny rule whenever any TCP request is sent to a specific IP address? I am using the PF packet filter. Any help?
1
vote
0answers
27 views

FreeBSD: Control operational and administrative status of virtual interface

I'm looking for a way to freely control the administrative and operational status of a virtual interface as seen by a snmp get requests: $ snmptable -c public -v 2c myserver iftable SNMP table: ...
0
votes
0answers
56 views

Having problems when connecting pppoe in my Kali Linux

Here is my log: Jun 6 04:57:23 unknown pppd[3333]: pppd 2.4.5 started by root, uid 0 Jun 6 04:57:36 unknown dbus[2534]: [system] Failed to activate service 'org.freedesktop.Avahi': timed out Jun 6 ...
2
votes
1answer
54 views

wlan0 device missing

I can't seem to get my wifi working and I feel i've exhausted google's search capabilities. Here is the output of lspci for the device 02:00.0 Network controller [0280]: Broadcom Corporation ...
0
votes
1answer
52 views

SSH from different countries with openvpn configured on pfsense and dd-wrt?

I have vpn set up in two different countries A (primary, where I live) and B (secondary, which I visit once or twice a year) and would like to SSH to my devices across the vpn. My Setup: Country ...
1
vote
0answers
52 views

IP packet forwarding in Debian

I have a physical network set up with machines A←–→B←–→C.  IP and Ethernet configurations are summarized as following: A(eth0: 10.10.10.2) ←—→ (eth0: 10.10.10.3)B(eth1: 192.168.0.3) ←—→ (eth1: ...
0
votes
1answer
71 views

How to block telnet using iptables command

I am trying to block telnet on my server but I have failed to do so. I have added following firewall rules in INPUT chain of filter table for the same. INPUT CHAIN(filter table): <some other ...
0
votes
0answers
20 views

Metasploit target reverse connection

well, I found many tutorials on how to open a meterpreter session on devices. But this devices must be on the same network of the computer from I launch the attack (because the lhost often looks like ...
2
votes
0answers
72 views

Binding nonlocal address on NetBSD

This is not a programming question, but a question about NetBSD. Linux, FreeBSD and OpenBSD have mutually exclusive but similar interfaces to allow binding the local end of a connection to an address ...
1
vote
1answer
60 views

routing table “220” in Linux kernel 3.2.0-23-generic

I have a Linux machine with kernel 3.2.0-23-generic and it has rule with priority 220 in RPDB which points to routing table named "220": T42:~# ip rule show 0: from all lookup local 220: ...