This is a puzzle (I think). I just put crunchbang on a pc and gave it a static IP within my local area network (behind a smoothwall gateway). The weird thing is that the networking icon at the top right of the desktop shows that the PC is not connected (Red X). Yet it really is connected - I can ping google, search the web, and ssh to another pc on the network.
Any ideas why CB thinks I'm not connected?
The changes I made:
edited /etc/network/interfaces to add the following information for eth0 (under the entry for Added 2012-11-25):
# This- file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # added by DCP 2012-11-25 auto eth0 iface eth0 inet static address 192.168.10.100 netmask 255.255.255.0 network 192.168.10.0 broadcast 192.168.10.255 gateway 192.168.10.1
Since you have set it up as a static with /etc/network/interfaces, why do you even need the nm-applet?
I would stop it from loading at all.
Your static ip setup is identical to mine in /etc/network/interfaces. everything looks and is working great.
Thanks for the replies. I had not even considered what the applet is actually doing, besides acting like I'm not connected.
Here is cat /etc/NetworkManager/NetworkManager.conf
[main] plugins=ifupdown,keyfile [ifupdown] managed=false
Network manager (the icon) will not take care of connections set in /etc/network/interfaces. If you don't use wifi or VPN, you can safely remove network manager. On the other hand, you can commnet out everything relating to eth0 in the interfaces file and handle stuff with the applet.