SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-11-26 02:00:27

metrede
New Member
Registered: 2010-12-12
Posts: 8

networking puzzle - red x for network while actually connected

Hi,
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

Offline

Be excellent to each other!

#2 2012-11-26 03:35:55

VastOne
#! Ranger
From: #! Fringe Division
Registered: 2011-04-26
Posts: 10,163
Website

Re: networking puzzle - red x for network while actually connected

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.


VSIDO | SolusOS

Words That Build Or Destroy

Offline

#3 2012-11-26 05:11:46

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,619
Website

Re: networking puzzle - red x for network while actually connected

^ that, as long as no VPN is needed.
May we see

sudo cat /etc/NetworkManager/NetworkManager.conf 

if existing?

Offline

#4 2012-11-27 23:52:01

metrede
New Member
Registered: 2010-12-12
Posts: 8

Re: networking puzzle - red x for network while actually connected

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

Offline

#5 2012-11-27 23:57:28

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,748

Re: networking puzzle - red x for network while actually connected

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.

Offline

#6 2012-11-28 00:11:29

metrede
New Member
Registered: 2010-12-12
Posts: 8

Re: networking puzzle - red x for network while actually connected

I see ... Thanks for the clarification.  I'll do as recommended - either remove nm or use it.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo