Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
136 views

MAC Address changes after dirty shutdown

I'm having a strange issue which I originally thought was tied to the fact that I created an Ubuntu system from an image of another. However, after reinstalling Ubuntu from scratch I am getting the ...
3
votes
1answer
488 views

What priorities can be used in cgroups net_prio module?

Cgroups has a module called net_prio, and by using this module I can set the priority of network traffic generated by various applications. As you can read here, this can be achieved by setting ...
6
votes
1answer
3k views

Creating VLANs between network namespaces

I want to implement the topology shown in the figure below using network namespaces (ns1 to ns4).                  ...
7
votes
2answers
32k views

Cloned Linux system and /etc/udev/rules.d/70-persistent-net.rules

I set up an Ubuntu system and configured it properly, including defining eth0 in /etc/network/interfaces. I then imaged that system and cloned it on a new system. When I booted up the system the ...
1
vote
1answer
162 views

Why doesn't setuid on /sbin/dhclient work as intended?

I am the only user on my machine, and prefer not to type sudo every time I use dhclient. Therefore, I tried sudo chmod u+s /sbin/dhclient. However, when I subsequently run dhclient wlan0 from a non-...
2
votes
2answers
901 views

ssldump: PCAP: syntax error

I'm using: # uname -ro FreeBSD 9.0-RELEASE-p3 And the latest ssldump: # pkg_info | grep ssldump ssldump-0.9b3_4 SSLv3/TLS network protocol analyzer When I try starting it with decryption - I ...
1
vote
1answer
772 views

kvm usb modem passthrough

I'm trying to set up a USB modem passthrough in kvm virt-manager. The host is Fedora 20. The guest is Centos 6 $ ifconfig wlp0s29u1u6: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether 00:...
1
vote
1answer
3k views

OpenSSH hangs after login without showing login prompt

I ran across an issue with ssh after fresh Ubuntu 13.10 installation on Lenovo T420. I tried git pull (which failed) and this led me to more general ssh failing. After spending some 2-3 hrs of ...
0
votes
1answer
135 views

netatalk use system users on Debian

I have Debian 7.3 (wheezy) installed on a VM with Mac OS X host. I didn't install UI like GNOME. Now I installed netatalk (via apt-get) to use AFP to connect my Mac to the VM. It essentially works ...
-3
votes
3answers
744 views

Configure eth1 to stop using dhcp [closed]

How do I configure eth1 (via terminal commands) to stop using DHCP. That is, if I had the ability to use the GUI, I would select the MANUAL setting.
2
votes
1answer
7k views

Ubuntu: how do you swap eth0 and eth1? (Ubuntu 13.10 server in a VirtualBox VM)

I installed Ubuntu 13.10 server (64-bit) in a VirtualBox 4.3.6 VM (Windows host) with one NAT adapter assigned. The only non-default software selected during installation was OpenSSH. So far so good......
0
votes
0answers
805 views

Postfix not responding to telnet

I am doing a Postfix installation on CentOS 6.5 I can't get # telnet localhost 25 to do more than this: Trying ::1... Connected to localhost. Escape character is '^]'. EHLO ^] telnet> quit ...
0
votes
1answer
53 views

IP Prefix - how do I declare this?

Hi I have an IP Prefix issue I would like to declare the following IP's as "safe" using ip prefix "methodology" ("?") The IP's first three parts of the IP have been doctored to protect the innocent, ...
2
votes
2answers
674 views

Shell script to wait for a packet from a certain port

I want to start my minecraft server when someone tries to connect to it on port 25565. I have a plugin for the server which shuts it down after x amount of minutes without players online. With a shell ...
3
votes
1answer
99 views

How can I know which program is sniffing packets?

I found the NIC of a machine is running in promiscuous mode, now how can I locate the program who is actually capturing packets?
3
votes
0answers
240 views

Raspbian: how ifplugd works on lo and other interface

On my raspbian, I'm wondering why ifplugd (link detection daemon for ethernet devices) is also running on the lo the loopback interface. The ps command displays: /usr/sbin/ifplugd -i lo -q -f -u0 -...
2
votes
1answer
2k views

Understand netstat -i flgs

Can anyone explain for me what each option in Flg means? [root@apple ~]# netstat -i Kernel Interface table Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg eth0 ...
0
votes
0answers
35 views

Internet working but not all of LAN!

I have recently installed CentOS 6.5. system is behind a firewall (institutional access) with an IP address, say, 10.50.28.99. It is not detecting (pinging or connecting via ssh) computers with ...
2
votes
1answer
214 views

Internet sharing with iptables: choosing which connection to share

I have a computer with two network devices (eth0 and wlan0), both connected to the internet (two different connections/isp). I'm trying to share the connection of wlan0 to another computer connected ...
2
votes
1answer
308 views

Does my VM need to be on the same LAN IP range to ping?

I have a home LAN where all internal IP addresses are in the rang 192.169.0.0-254. However, on one of those computers I have setup a CentOS VM, which currently seems to be set to 10.0.2.1. So the VM ...
3
votes
1answer
1k views

Creating a private network for internal VMs

I am trying to configure a private network for use with my Xen VMs, in addition to the public network in use by another of the VMs (VM1, which has its own public IP). So far, I have the public side ...
1
vote
1answer
251 views

Install a basic CentOS VM on Fedora 19 with libvirt

I would like to install a CentOS 6.5 virtual machine on my machine, only with command line tools and basic networking capabilities, i.e a way to have http and ssh connections between the host (Fedora ...
0
votes
1answer
144 views

Debian 6 VM server - network connectivity problem

I'm having a problem with a Debian 6 VM server where it looses network connectivity and doesn't come back (server does not respond to pings, and can't connect to any services). This is a wired network ...
2
votes
1answer
947 views

how to check if the kernel support for ip alias?

it surprisingly that I get no explicit results when I googled "kernel ip alias support", and I have looked up the linux network administrator, 3rd edition, it says: check that you have a /proc/...
6
votes
1answer
2k views

Unable to reconnect to a WiFi network on Fedora 20?

Problem After leaving my Fedora 20 laptop running overnight, I open it back up and it prompts me to re-enter the password for my home WiFi network. The password is already typed in and censored, but ...
0
votes
1answer
99 views

host only ip address: can it be 10.*.*.*?

My router is set to have computers IP range from 10.1.1.1 to 10.1.1.60 I'm trying to run Linux in virtual box in a host computer with windows 7. The host computer has 10.1.1.5 currently, which is ...
1
vote
0answers
89 views

invisible bridged router with 2 route table

my setup I have 2 ISP connexion : ADSL and SDSL. A qos (named qos, ip : 192.9.201.252) server stands before the ADSL router. It is the only way to access the ADSL gateway (192.9.201.254) through a ...
2
votes
0answers
344 views

Broadcom or Modem wireless connection problem

I have a BMC42142 wireless adaptor lspci -vnn | grep 14e4: 02:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01) and I can't connect to the wireless lan....
0
votes
2answers
358 views

Can't run boinc on fedora

I'm trying to install boinc to fedora 17 from packages. Everything is fine, client starts properly, I added port 31416 to firewall exception. However cannot add any project or execute any command on ...
0
votes
0answers
2k views

Backtrack R3 can't find wlan

I have installed Backtrack R3 in virtualbox, but i cant find any wireless connections. Cant find anything in wicd either. What i want to do is to run airmon-ng start wlan0 in terminal, and after that ...
1
vote
0answers
159 views

setting up a local VoIP to use as a Wifi Headset

I had this idea of using Wi-fi in a vehicle to connect my cell to the car call handler.Just as it works with bluetooth nowadays. Just to demonstrate that such a thing is possible , i had three Linux ...
1
vote
0answers
1k views

Use iptable do redirect all the HTTP traffic to localhost

I use a Linux machine as WLAN Router with the help of hostapd and udhcpd. There's also an Apache web server installed on the same machine. Now I want to redirect all the traffic which comes through ...
4
votes
2answers
413 views

How to set up server networking on Debian?

I'm helping a friend to set up a media server for his new house. I've installed Debian 7.2.0 and I'm trying to get the network up and running. The physical set-up is like this: Other ...
1
vote
1answer
1k views

check internet speed from terminal? [duplicate]

How can I get the speed of my internet connection from the terminal? Is there any script or commandline application(s) available? I'm using CentOS 6.5 .
0
votes
2answers
2k views

GRE supported in kernel but iproute2 cant create GRE tunnel

Im trying to create IP over GRE tunnel but i get No such device: ip tunnel add gre0 mode gre remote 192.168.152.22 local 192.168.152.21 ttl 255 ioctl: No such device I have compiled GRE support in ...
2
votes
2answers
5k views

Linux Mint 15 : how to share wifi connection with other devices connected to Ethernet port?

My laptop connects to our apartment network via Wifi. I'd like to share this connection using the laptop's Ethernet port, i.e. be able to plug another system into Ethernet and have it also use the ...
2
votes
2answers
206 views

Force IPv6 only through Miredo

I have an Ubuntu PC with Miredo's implementation of the Teredo protocol. I want to temporarily make it so that I can access IPv6-only addresses with all IPv4 networking available solely for Miredo to ...
1
vote
0answers
441 views

Command for finding open ports

On my linux servers I have this alias set: alias ns="sudo lsof -Pi|grep -v ESTABL|grep -v CLOSED|grep -v -e '->' | tr -s ' ' '\t' | awk '{print $3 "\t" $8 "\t" $5 "\t" $9 "\t" $1}'| column -t|...
1
vote
0answers
1k views

Route outgoing traffic to different gateway based on port

I am trying to get around my Usenet download bandwidth restrictions based on IP. I currently have two IPs from my ISP to double the download speed. So far I have it working and getting double speed ...
1
vote
0answers
520 views

SNAT / Masquerade with shorewall

I've got a little question about Masquerading and SNAT in combination with shorwall and KVM. The Operating System is Scientific Linux 6.4. Setup is like this at my root server: Virtual Machine IP ...
0
votes
1answer
214 views

How to automate route commands

For some reason everytime I connect to my VM I have to manually launch these two commands for it to connect to the Internet. route add 198.245.49.254 dev eth0 route add default gw 198.245.49.254 Is ...
2
votes
1answer
617 views

What network interface does Linux route traffic through by default? [closed]

I have a VPS with 4 IP addresses. I am changing the IP address of eth0 on daily basis. eht0:1 has its own IP address. eth0 (192.168.1.3, 192.168.1.4, 192.168.1.5) eth0:1 (192.168.2.1) I have my ...
1
vote
0answers
217 views

Debian access point is detected, but provides no Internet access

I am use Debian sid. I want to share my network (ppp0) via AP (Access Point) to my mobile device. This is my configuration. /etc/hostapd/hostapd.conf : # WiFi Hotspot interface=wlan0 driver=nl80211 #...
1
vote
0answers
727 views

How to redirect/forward between a tun/tap device and a socket using linux tools?

I have a socks5 proxy that is bind to eth0. It opens two ports, Port1 is used to connect to remote (for example a http server), Port2 is to listen for clients to connect. Then I created a tun device. ...
4
votes
4answers
2k views

How to show network adapters with their statistics?

Is there any terminal command I can use to display all the network adapters like eth0, wlanoand their data statistics like data transmitted & received?
9
votes
1answer
1k views

Send a packet over the network even when its target is the local host

Under Linux if you send a packet to the address of one of its network interfaces, this packet is routed internally, it is never sent over the network. That's the right thing in 99.99% of the cases. ...
6
votes
1answer
2k views

Wi-Fi with WEP from command line in Ubuntu 12.04, Kernel 3.8.0-29-generic

I have removed network-manager and am trying to configure Wi-Fi with WEP manually. I am running on an X1 Carbon. Here are the commands I am running: ifconfig wlan0 down iwconfig wlan0 essid "<...
2
votes
2answers
2k views

Wifi works in local, no internet connection. Debain 7

I installed debain on an old PC, the KDE version. I have internet over wired. I can connect to my router, I and can ping it over wifi - ping 192.168.1.1 is successful. I can ssh into other machines, ...
4
votes
1answer
157 views

Does traffic addressed to one of a Linux system's own interfaces ever leave the system?

I have two separate servers running on the same port on a Linux system, one binded to the loopback interface, and the other to the public Ethernet interface. If I connect a client on that system to ...
1
vote
1answer
158 views

How to block all the network traffic from my running user [duplicate]

How to block all the network traffic from one user? But other users are alive to the network that the blocked user is able to connect to other users who have the permission to the internet.