Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
0answers
269 views

Unable to set wifi frequency/channel on Raspbian

Hey I'm trying to configure my Raspberry Pi to connect to my router on channel 8 (2.447G). The WiFi network adapter I have for my Pi seems to be stuck on channel 1. iwlist scan only lists the one ap ...
1
vote
1answer
2k views

iptables couldn't load target allow

I am using the command below to allow all traffic from hosts on my internal network but it says "iptables v1.4.18: Couldn't load target `ALLOW':No such file or directory". What is the problem here? ...
0
votes
0answers
853 views

Connected to WiFi, no internet access - Linux Mint

I connect to a my AP and I get a message "Connect to ..." but I cant access the internet, nor ping anything exept my gateway. I tried changing the DNS Servers to google ones but with no use. Any ...
6
votes
2answers
678 views

Create a computer lab using Linux [closed]

I would like to know, how I can create my own Linux lab, like the universities Linux labs. I mean OK, I can install for example Fedora to all my 4 PCs, but how I can login from different computers, ...
7
votes
1answer
2k views

What do I need to add a virtual IPsec adapter?

I'm trying to set up an IPsec connection manually from the console with iproute2. What I need is a virtual interface (at best, a virtual IP address could also be sufficient) that IPsec-transforms ...
2
votes
1answer
638 views

Changing network config during CentOS netinstall

I cannot find a way to change the networking information during a CentOS netinstall, when using the URL installation method. I always use a netinstall, and occasionally fat-finger the network ...
6
votes
2answers
1k views

Static IP for 2 PCs on crossover cable in interfaces(5) file?

I've got 2 PCs connected on an Ethernet crossover cable. On PC1 I run: sudo ip addr add 192.168.2.1 peer 192.168.2.2 dev eth0 sudo ip link set dev eth0 up On PC2 I run: sudo ip addr add 192.168.2....
4
votes
1answer
2k views

Adding wlan0 to xenbr0

I'm setting up xen on debian to do some testing and having problems with the bridge. I would like to use wlan0 as the bridge, but can't seem to get this working. Currently I have tried this: # This ...
9
votes
4answers
42k views

How to use ifconfig to show active interface only

By default ifconfig will show me all available interfaces , but what if I just want to display active ones? Like, en0 only in below. en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&...
0
votes
2answers
270 views

Error: /etc/network/interfaces/ is a directory!

Trying to edit the prior using nano /etc/network/interfaces/ in Debian and get the following error: Error: /etc/network/interfaces/ is a directory! Can someone help me fix this?
3
votes
1answer
1k views

Configuring different subnet IPs for a single physical interface on Wheezy?

I have a VPS that has been assigned three IP addresses. Let's say that these are 192.168.123.45/24, 192.168.225.98/23 and 192.168.225.99/23. (The actual addresses are globally routable, but that is ...
0
votes
2answers
1k 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
3answers
1k views

Different ARP results between host and virtual machine

Recently, using VMWare Player, I have configured a Linux virtual machine on a Windows host. I set the network adapter to be a bridged network with the Replicate option checked. The IP address was on ...
0
votes
0answers
95 views

fedora slow to aquire network ip after startup or cable unplug

I've installed Fedora 19, and i'm new to it (I used Ubtuntu until now). After every reboot, or when i unplug my network cable, the system is slow to pickup the state change, and it takes a long time ...
1
vote
1answer
601 views

iptables - why the stun, turn ports are not working to allow end points to access the server?

I have this iptables where all working except tcp/udp port 3478 and 5349. $ cat /etc/sysconfig/iptables # Generated by iptables-save v1.4.7 on Thu Nov 21 10:21:41 2013 *filter :FORWARD ACCEPT [0:0] :...
0
votes
1answer
388 views

Current IP address as visible from the internet? [duplicate]

I know I can get the locally assigned IP address of my current machine by the local router like so: ifconfig However, I want to know what my IP address is as visible from the outside world. Or, in ...
2
votes
0answers
462 views

Rogue AP channel hopping problem

I am able to set AP but despite explicitly setting channel for monitor interface and AP, AP frequency changes regularly. My setup: OS: Kali Linux 1.0 (booted from a USB stick) External network ...
8
votes
2answers
4k views

escape characters in /etc/network/interfaces

I want to be sure that whatever string I pass into the line wpa-ssid "abc" in /etc/network/interfaces won't be used to break out of the configuration. All I can find in the manual is that \ can be ...
1
vote
2answers
3k views

I am trying to open port 19132 on my Ubuntu server, but not working

I am trying to set up a server for my son to play Pocketmine. This is a PHP server and it is running on port 19132. I have opened this port on my router and if I run another server, like a Rails ...
5
votes
1answer
11k views

Firefox: use system proxy settings, but where are these?

Running Ubuntu 13.10, Firefox is configured to use the system proxy settings, but it seems it fails to pick them up. The computer is connected to the network, and it's possible to establish a ...
0
votes
0answers
1k views

Debian bridge doesn't accept IPv6 config

I'm currently trying to configure my bridge in Debian 7. I do have a working config for IPv4: auto eth0 iface eth0 inet manual auto br0 iface br0 inet static address xx.xx.xx.131 netmask 255.255....
0
votes
1answer
148 views

why gentoo livecd can not detect the linked network card?

The original os is Ubuntu 12.04, machine has 4 network cards, and the first netcard is linked. If use ethtool, will get Link detected: yes. When I use gentoo livecd to start, and config network, I ...
1
vote
1answer
51 views

Measure time to get DHCP address?

Is there any tool or way to measure how much time your DHCP router needs to give you IP address? I'm sure that there is something, as it's pretty important when debugging network.
2
votes
1answer
141 views

Port forwarding using iptables on Linux

I want to forward a local port to a remote port (8041) to a port (8042) on a remote machine (10.0.0.42). I can do this via ssh -L 10.0.0.41:8041:10.0.0.42:8042 user@localhost where 10.0.0.41 is ...
1
vote
2answers
137 views

how to identify IP address on eth0 when console isn’t available

I need help about the following I have very old Linux server with one IP address, unfortunately I can’t to access to Linux machine VIA console and I not remember the IP address So I now thinking ...
0
votes
0answers
229 views

How to make Network alive but speed low, slow for upload, download?

I have own application written (Python, Java) which does upload/download for streaming. Now in my local office network and home network setup i can't simulate slow/low latency network (as a result i ...
1
vote
2answers
8k views

Check a range of IP addresses to see if a host is active

I need to write a bash shell script that will check a range of IP addresses to see if a host is “alive” at that address.I also need to list the IP numbers of those that are “alive”, and provide a ...
1
vote
0answers
493 views

Debian: Network connection dropping randomly

I am having an issue with my network connection dropping after a while, sometimes an hour if I'm lucky two. I can regain the connection by running: sudo ifdown wlan0 sudo ifup --force wlan0 when I ...
1
vote
0answers
108 views

What should be the right dhcp configuration for generating a new network over eth0?

Even not under a real server like scenario, I'm testing with dhcpd for learning and practice purposes. I'm using Ubuntu 12.04 LTS. I want to offer a network by my eth0 interface. I receive ip and so ...
1
vote
1answer
527 views

How to calculate Linux Network RX, TX total stats - not just between reboots?

Is there any way to calculate the Linux network interfaces RX , TX for all times? The suggested method mentioned in this Cyberciti article titled: Linux See Ethernet Statistics only returns the stats ...
3
votes
2answers
14k views

tcp dump outgoing connection packets

What is the command syntax to log all tcp connection packets? I am trying to see what address and ports my computer is trying to connect to outgoing so that I may config my firewall.
5
votes
2answers
5k views

BIND9 as a DNS server refuses requests

I am trying to set up a DNS server on Amazon Linux using BIND9. It has to act as a master nameserver for a lot of domains. I have imported all of the DNS zone files using NamedManager (a web ...
4
votes
2answers
21k views

Set Static IP in CentOS 6.4?

Most guides seem to revolve around modifying ifcfg-eth0, which doesn't exist on my system.. [root@Azaz07]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 [root@Azaz07]# ls /etc/sysconfig/network-...
1
vote
2answers
959 views

How to monitor network performance for each application in FreeBSD / PC-BSD?

I'm using a PC-BSD workstation, and I would like to know if there is a way to monitor which app / process is using the network. I use a Mac OS X (Mavericks) laptop, and the "Network" tab in the "...
3
votes
3answers
4k views

/usr/bin/host not picking up changes to /etc/hosts even after reboot

I have a Ubuntu Server 12.04 (amd64) machine on which, when I change /etc/hosts, the changes aren't picked up, even after a reboot. I am using /usr/bin/host to test, but none of the other programs ...
3
votes
1answer
267 views

Discover clients connected to a network [duplicate]

How can you discover who is connected to a wifi network near you? (you not being connected to it). I know that some tools can scan your own network, and that some tools like Wireshark can monitor ...
1
vote
1answer
763 views

Wake on LAN through PHY and unicast only works in the first ~30 seconds after pm-suspend

I'm having some trouble with Wake on LAN through PHY and unicast. I'm able to wake the system by pinging or sshing the shut down machine, but only within the first ~30 seconds. Why's that, what could ...
0
votes
2answers
842 views

Frequent connection aborts with arch-linux

I have an arch-linux system which I use as a server. I try to connect with ssh and samba from different Windows 7 machines. However, I get frequent connection aborts. ssh (e.g. putty or kitty) says ...
4
votes
1answer
7k views

TCP buffers keep filling up (Recv-Q full): named unresponsive

Using netstat -an, I set the message that the Recv-Q is full. It is filling up to the rmem_max: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address ...
4
votes
0answers
43 views

Queuing disciplines are per-interface, what happen with interfaces using same device?

I have read about queuing disciplines here http://lartc.org/. I understand that for instance band 0 of pfifo policy is prioritized over band 2 within same qdisc, but what happen when i have ppp0 and ...
2
votes
0answers
406 views

iptables REDIRECT in combination with matching on interface vs. IP address

I've successfully set up Tor for transparent proxying using iptables (ie, all outgoing traffic is sent through Tor without the application's knowledge). In doing so, I discovered both an odd problem ...
4
votes
1answer
382 views

Can I pipe lpt port over tcp?

I'd like to pipe data in and out to a lpt (parallel IEEE 1284) port on another machine, to remotely use a device. Can it be done in a common unix-y system? I have ubuntu 12.04. :) I was thinking ...
1
vote
1answer
186 views

Can only get one network to be accessible from outside

So here's a quick overview of my setup: I purchased a new Mac Mini server and I am hosting it with a Mac Mini co-lo facility. At first I had them keep OSX installed and I was using VirtualBox to ...
4
votes
1answer
1k views

how to intercept IP packets on linux

I am trying to achieve this goal on Linux (not sure if it is possible and how if so): I need to write a program to intercept all IP packets on an interface, and deliver this packet to a specific set ...
27
votes
1answer
65k views

Using ip addr instead of ifconfig reports “RTNETLINK answers: File exists” on Debian

I have a Debian system working as a wireless router with eth0 and wlan0. Now I added an additional network manually on eth1 with ifconfig: alix:~# ifconfig eth1 192.168.0.2 netmask 255.255.255.0 ...
1
vote
2answers
464 views

Traffic not being routed through Cisco VPN

I'm unable to use my school's VPN correctly in Linux. This is what I did: Installed a fresh x64 Kali linux (latest). Updated all current packages through apt-get Installed the required vpn ...
28
votes
2answers
106k 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 ...
0
votes
1answer
3k views

virtual box debian guest with nat & host-only adapters: 'No route to host' when trying to access host from guest

I have just set up a Debian guest inside VirtualBox, on a Fedora host. I use two adapters: NAT (internet for the guest, which works fine) and host-only (ssh from host to guest, nfs, etc.). I am able ...
12
votes
1answer
2k views

how does ping zero works?

can anybody explain how does ping 0 works and it translate to 127.0.0.1. [champu@testsrv ]$ ping 0 PING 0 (127.0.0.1) 56(84) bytes of data. 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.039 ms 64 ...
1
vote
1answer
2k views

Cannot Connect to Internet but can SSH into Solaris x86 (vs. 11)

I am able to connect remotely to the machine using SSH, but I cannot ping www.google.com through the machine. I did the following to make sure SSH was enabled (well I know it is, as I am using PuTTy):...