LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 11-12-2007, 03:56 PM   #1
starter_07
LQ Newbie
 
Registered: Aug 2007
Distribution: SIDUX
Posts: 14

Rep: Reputation: 1
Problem getting nm-applet working in Gnome


I am trying to get the nm-applet 0.6.5 to work on my system. I got a debian sid, ex-KANOTIX but up to date, with Gnome 2.20 PC. nm-applet does see the connections and listed the wireless networks ESSID, but does not connect. It just keeps trying and stops. When I run the following command:

nm-applet --sm-disable &

I get lots of messages as follows:

Code:
** (nm-applet:5627): CRITICAL **: network_device_is_wired: assertion `dev != NULL' failed

** (nm-applet:5627): CRITICAL **: network_device_is_wireless: assertion `dev != NULL' failed

** (nm-applet:5627): CRITICAL **: nma_get_connected_icon: assertion `dev != NULL' failed

** (nm-applet:5627): CRITICAL **: network_device_is_wired: assertion `dev != NULL' failed

** (nm-applet:5627): CRITICAL **: network_device_is_wireless: assertion `dev != NULL' failed

** (nm-applet:5627): CRITICAL **: nma_get_connected_icon: assertion `dev != NULL' failed
and keeps repeating same messages. It did disconnect my internet connection until I did stop it. I noticed a high noise in my PC during the period that the applet was trying to connect.

Does any body know how to correct this?
 
Old 11-14-2007, 04:36 AM   #2
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Ċrhus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 588

Rep: Reputation: 45
How does your ESSID look like? Once I had problems with ESSID containing accented characters. The solution was to run nm-applet with corresponding locale.

Can you work with wired connection?

Ott
 
Old 11-15-2007, 07:28 AM   #3
starter_07
LQ Newbie
 
Registered: Aug 2007
Distribution: SIDUX
Posts: 14

Original Poster
Rep: Reputation: 1
My ESSID is "mainsys". No, nm-applet does not even connect to the wired connection. I connect by modifying the /etc/network/interfaces file manually and ifup eth0.
 
Old 11-15-2007, 07:47 AM   #4
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
Everything I've ever heard about Network Manager suggests that it just doesn't work for a lot of people. I'm sure there must be some systems on which it works fine, and we never hear from them. It's not installed on any of my systems so I can't make any specific suggestions, but my general suggestion would be to try finding a replacement. Maybe a GUI network interface specifically for your wireless LAN, or a generic one like wifi-radar
 
Old 11-15-2007, 08:53 AM   #5
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Ċrhus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 588

Rep: Reputation: 45
NM does not work with interfaces, listed in /etc/network/interfaces AFAIR. Your have to comment out the interfaces you want to be managed by NM.
 
Old 11-15-2007, 09:09 AM   #6
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
I also had the feeling that NM was directly using ifconfig and not the ifup/ifdown scripts so I think /etc/network/interfaces is not really used by NM.
Maybe only to list interfaces.

Well, once it modified my interfaces file without me asking. This was the last time NM passed through my machine.
 
Old 11-15-2007, 09:54 AM   #7
oxleyk
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 309

Rep: Reputation: 30
My problem is getting it to work with static IPs, which it apparently doesn't do. So I don't use it.

Kent
 
Old 11-18-2007, 04:38 AM   #8
starter_07
LQ Newbie
 
Registered: Aug 2007
Distribution: SIDUX
Posts: 14

Original Poster
Rep: Reputation: 1
Finally, I got it to work. It works fine without any problem in the root session. In the normal user session it does work but some times X manager (GDM here) does not finish startup. I have to reboot my system several times to get it to work. Here is what I did:
1- I deleted hal from all /etc/rcXd folders (hal is hahdeled by dbus/event.d).
2- I added dhcdbd and wpa_ifupdown to /etc/rcXd folders.

Here is what I got in the .xsession-errors file:

(process:2581): Gtk-WARNING **: This process is currently running setuid or setgid.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

http://www.gtk.org/setuid.html

Refusing to initialize GTK+.

(process:2585): Gtk-WARNING **: This process is currently running setuid or setgid.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

http://www.gtk.org/setuid.html

Refusing to initialize GTK+.
/etc/gdm/Xsession: Beginning session setup...
can't lock memory: Cannot allocate memoryWARNING: not using secure memory for passwords
SESSION_MANAGER=local/Box:/tmp/.ICE-unix/257

Last edited by starter_07; 11-18-2007 at 05:05 AM.
 
Old 11-18-2007, 03:11 PM   #9
starter_07
LQ Newbie
 
Registered: Aug 2007
Distribution: SIDUX
Posts: 14

Original Poster
Rep: Reputation: 1
Success.

Finally, I got it working fine. I just added the following:

Code:
ln -s /etc/init.d/dhcdbd /etc/dbus-1/event.d/22dhcdbd
This makes the dhcdbd starts before the NetworkManager (a must). My /etc/dbus-1/event.d directory now has the following:
/etc/dbus-1/event.d/20hal
/etc/dbus-1/event.d/22dhcdbd
/etc/dbus-1/event.d/25network-manager
/etc/dbus-1/event.d/26network-manager-dispatcher
/etc/dbus-1/event.d/70system-tools-backends

These are links to files in /etc/init.d. I got this info from LinuxMint 4.0.

Apparently, the messages shown above have nothing to do with this problem. I wish some one can shed the light on how to get rid of them.
 
1 members found this post helpful.
  


Reply

Tags
nmapplet


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
battery applet not working in GNOME due to ACPI error ParticleHunter Linux From Scratch 4 07-27-2005 01:52 AM
Gnome battery applet, using by normal user, problem ArchArael Linux - Software 1 05-10-2005 03:48 AM
Little problem with battery applet in Gnome TADsince1995 Linux - Laptop and Netbook 0 04-26-2005 03:38 AM
Problem with gnome wireless applet Musikolo Linux - Software 2 12-09-2004 02:48 PM
Link/Applet not working in all Linux browsers, but working in IE MasterPatricko Linux - Software 6 09-04-2004 04:39 AM


All times are GMT -5. The time now is 12:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration