Step 2. Need mobile broadband? Use the GNOME applet

 !! THIS POST  ALSO APPLIES FOR OPENSUSE 12.1 !!

Since I often need mobile broadband internet connection, I was hoping openSUSE 11.4/12.1 will provide the right tool to KDE4 users to connect. 

Unfortunatelly, openSUSE 11.4/12.1 comes with KNetworkManager (DVD version) or Plasmoid-Networkmanagement (KDE Live CD version). Although KNM worked for mob. broadb. in openSUSE 11.3, in the current version of the system it doesn't. At least I get some funny warnings "System policy does not allow mobile devices to gather information about account details" and I am prompted for root passwd. When I give the root passwd, the dialog appears again promting for root passwd - and again....

Now, what works perfectly for me is Networkmanager-GNOME. That's the name of the package. Sounds fantastic, but it doesn't work out of the box when installed and ran on KDE4.

I also pasted a CHATLOG on a separate page, showing that changing to the GNOME nm-applet solves MANY DIFFERENT WIFI ISSUES -> THE CHATLOG

How to make it work:

1. Run YaST Software Management and search the string networkmanagemer
2. Click to deinstall every package related to Networkmanager, that has got "kde4" in it's name. Don't run the installation yet. You can directly click to deinstall Networkmanager-kde4-libs and you receive this prompt:
Choose to delete the packages related to Networkmanager-kde4-libs
3. Click to install Networkmanager-GNOME (it might be already chosen automatically after choosing to deinstall all "kde4" packages related to Networkmanager), don't run the installation yet. You can optionally add Networkmanager-GNOME-lang for more languages to be supported.
4. Search the string qtcurve , choose to install qtcurve-gtk2 and qtcurve-kde4 
The installation summary tab should look like this (you might have less stuff in this list if installed some other programmes before that pulled along some of the libs):

  
5. Run the installation.

6. (just in case) Run konsole
7. Give the command su - , give you root password
8. Give the command killall knetworkmanager
9. Now you can quit the root console.
10. Deinstalling the NM kde4 libs might change the network handling to ifup! 
Run YaST -> Network Settings -> Global options -> switch from using ifup to using Networkmanager (if ifup is chosen):

11. Run KDE's System Settings
12. Appearance of Apps (or how's it called in English I don't know - where you set Style, Icons etc.) -> Gtk theme and settings
13. Choose qtcurve, screenshot:
14. Go to KDE's System Settings -> Autostart:
15. Add the program nm-applet to Autostart (write it manually, not from the menu):


16. Go to this program's advanced options (here you see the nm-applet's Properties window in Autostart settings, go Program -> Advanced options):


17. Tell it to be PUT IN SYSTEM TRAY and register with D-Bus with multiple instances:



17. Accept the changes.

18. Close KDE's System Settings and run it again, open the Autostart configuration again and check, if nm-applet changed it's name to kcmsystray, should look like this:



18. Log out and log in to KDE. Now the GNOME nm-applet should work and you can easily connect to mobile broadband or any kind of wired and wireless nework. If you need a special VPN or pptp connection, try adding in YaST Software Management the proper Networkmanager-* packages, but don't add the *kde* ones. I am not sure, but this might cause nm-applet not to work properly.

19. Just a cosmetic furher step to have the icons in the right order: 
Right click the system tray in this little triangle:

Go to Entries and set kcmsystray to Hidden. Also set Networkmanager Applet  to Always visible, like here:

Click OK, log out and log in. Now there will be no second redundant icon shown. (THX goes to Cymage of #suse for fixing the icons and testing :D )

It really works great, what many users confirmed.

Here's the nm-applet in action in my system:

And reproduced in Virtualbox machine on a fresh openSUSE 11.4 install from DVD, using this very tutorial:

That's it, have fun!

27 komentarzy:

  1. Hello, this is buhman.

    This did not solve my problem: http://img.susepaste.org/view/raw/56562321

    When I had the stock 2.6.37 kernel, the behavior of knetworkmanager seemed as if it were buggy or something. I would click enable wireless and it would immediately disable itself again. Ever since I grabbed 2.6.38 from OBS, it had just said disabled.

    ath9k is clearly loaded: http://img.susepaste.org/view/simple/61531607 so I'm not quite sure what the problem is.

    As far as the article itself, I still disagree with setting qtcurve, because then all qt applications don't blend well with kde at all. Also: I had to init 6 before I could get nm-applet to show up.

    OdpowiedzUsuń
  2. Hey, thanks for the comment.
    1. Well, as agreed on IRC, your wifi doesn't work although you applied the guide, because the 2.6.37 kernel doesn't support it.
    This is not to be solved by this guide.

    2. I found it easier to install qtcurve, maybe I will change it later. I use QtCurve Aqua for both KDE and Gtk apps.

    3. About the init 6 it's unexpected... Good to know, you are the first user to report that.

    4. In expert area there's the cb400f's guide to do it 5x faster from command line and have oxygen-gtk running.

    More experienced users should use those instructions. I chose qtcurve, so that it works for sure for unexperienced users

    see you later !

    OdpowiedzUsuń
  3. If oxygen-gtk doesn't work (I have an updated OBS version, so it works for me) perhaps see if oxygen-molecule works. I think mixing qtcurve with kde is just horrid looking.

    Yes, 2.6.37 isn't supposed to support it, but 2.6.38 is ;).

    I'll definitely check out cb400f's guide, thanks for the tip.

    buhman

    OdpowiedzUsuń
  4. @zbuchman,
    I use QtCurve for both KDE and Gtk. Both with same color scheme and Agua (look setting of QtCurve, can be configured in KDE's System Settings).
    This way I love the look of the interface, all looks stardartized and nice, see here:

    [url]http://wstaw.org/m/2011/03/19/plasma-desktopTf2303.jpg[/url]

    OdpowiedzUsuń
  5. hi, thanks for create this tutorial..

    I just finished to install OpenSuse 11.4 instead of Linux Mint 10 Julia, and get my huawei E220 can't be set
    I have tried this tutorial, but i can't get nm-applet run (can't run on start up too)
    When I tried run on konsole, some error message appear

    alpha@linux-wieo:~> nm-applet
    ** Message: applet now removed from the notification area
    ** Message: applet now embedded in the notification area

    ** (nm-applet:5493): WARNING **: Fallback icon 'gtk-dialog-error' missing: (0) Icon 'gtk-dialog-error' not present in theme
    **
    ERROR:applet.c:2800:nma_icons_reload: assertion failed: (applet->fallback_icon)
    Aborted

    How to fix this problem.. Thanks

    Alpha

    OdpowiedzUsuń
  6. Hi Anonymous :)
    QUOTE from your comment:

    ------------------------------------
    ERROR:applet.c:2800:nma_icons_reload: assertion failed: (applet->fallback_icon)
    Aborted
    ------------------------------------

    Did you install and set QtCurve for GTK applications as mentioned in the tutorial?

    I have put it this way to follow EVERY step from the tutorial!

    Please report back.

    Best regards.

    OdpowiedzUsuń
  7. Hi, Alpha!

    I think your problem is that missing the icon that is required by the nm-applet.

    Install the : gnome-icon-theme and tango-icon-theme

    That should make it work!

    Look here for more info http://forums.opensuse.org/english/get-technical-help-here/network-internet/456610-mobile-broadband.html

    OdpowiedzUsuń
  8. I followed the blog instructions as you recommended.
    No applet after reboot.
    When starting from command line I saw I also got the missing icon problem.
    Installing the icon themes didn't work (they were already installed).
    I had to (re?)set the theme for gtk apps in the kde system settings to oxygen-gtk. It was empty.

    Now it works! Thank you very much!

    joba1

    OdpowiedzUsuń
  9. Hi joba1, thx for the comment.
    Did you try using qtcurve theme for gtk as desvribed in thre guide?

    I am happy that it works.

    OdpowiedzUsuń
  10. Thank you very much for this. Now I can connect to WPA2 flawlessly.

    Just one thing is that I think you have a typo at "1. Run YaST Software Management and search the string networkmanagemer" networkmanagemer -> networkmanager :)

    Thanks!

    OdpowiedzUsuń
  11. Thanks a million! Your instructions were perfect and I can now connect to my mobile broadband provider BETTER than I could, even when things "worked" with knetworkmanager in 11.3.

    Well done and thanks again!

    Tim.

    OdpowiedzUsuń
  12. I am happy it is working for you all. Motivates me to go on with further steps. Will continue with another step (5) tomorrow. Let's have nvidia binary drivers explained and installed properly. There are some useful tricks that are really helpful and I can help to understand them.

    OdpowiedzUsuń
  13. Do you require an internet connection to convert from kde to gnome explained in the process ?

    OdpowiedzUsuń
  14. It was very nice of Novell/Attachmate/Suse/whoever's running things over there nowadays to forcibly stop Gnome's Network Manager applet to stop running and force me to run KDE's Network Manager just because I updated. Especially when I find that KDE's Network Manager applet STILL doesn't work with wireless broadband.

    There's a reason why I was using Gnome's Network Manager on a KDE desktop. Please FIX problems like this before changing MY settings on MY computer. I can't imagine Microsoft doing something like this...

    OdpowiedzUsuń
  15. hi there,

    worked very well for me (Dell Inspiron 6400)

    i'm new too KDE (long term GNOME user on ubuntu/fedora) - just installed suse11.4 to see what's like


    had a problem with wifi - toggling radio button was not switching wifi on/off and network manager was saying that wifi is disabled all the time, even when doing successful 'iwconfig wlan0 up' and 'iwlist scan' form terminal (BTW - found this out after few hrs of playing around...)

    switching to GNOME NM fixed the problem - i.e. NM is enabling/disabling wifi properly when button is toggled, and working like a charm :))

    thanks!!!

    OdpowiedzUsuń
  16. Wow! Thank's a lot! Work's great... I messed around far too long with kNetwork....

    Daniel from Germany....

    OdpowiedzUsuń
  17. Hi, you saved me!!!
    Thank you, thank you, thank you!!
    After at least two months reading and installing stuff, finally I got the wireless working.

    Just for the record: Suse 11.4 with KDE, running on Lenovo T500 with Intel PRO/Wireless 5100 AGN [Shiloh]

    Maya Neytcheva, Uppsala, Sweden

    OdpowiedzUsuń
  18. Worked one time. Thanks hey!!

    OdpowiedzUsuń
  19. Thank you very much - worked immediately after new installation of 11.4
    Former KDE network-manager did the job, too, but this upgrade is a pain (parallel printing doesn't work any more etc etc)

    jk

    OdpowiedzUsuń
  20. Thank you for the positive feedback. Couple days ago I upgrated (zypper dup) to openSUSE 12.1 .. Great stuff, tho now the Gnome NM applet is from GNOME 3.2.x and it's got one issue. The icons are SOOOO BIIIG!! And this only from time to time, I am working on a post and explanation on this. Keep rocking.

    OdpowiedzUsuń
  21. Thank You so much!!!! Used your instructions guide about 2 weeks ago, and after fiddling the new managers settings a bit it now works great! It feels strange to have a gnome manager within KDE but wifi now works very smoothly.
    I also had all kinds of trouble with knetworkmanager randomly stopping to work and not even showing up. Before I found your fix it practically disappeared and couldnt even connect to internet. (Running OpenSUSE 11.4,+ KDE 4.6)....
    Excellent tutorial!!

    OdpowiedzUsuń
  22. Oh sorry, I forgot to mention that after your instructions I finished off complementing it all with this guide for the nm-applet:

    http://mschlander.wordpress.com/2011/03/17/gnome-networkmanager-applet-in-kde-in-opensuse-11-4/

    OdpowiedzUsuń
  23. Sorry for the late comment (I've happened to stumble into this one only now) but... GREAT WORK!!

    First, because you allow me to fix (at last!) the WLAN department in a SuSE 11.4 setup (on a Toshiba laptop which is quite 'oldie') I'm doing for another person, which otherwise would work absolutely fine.

    And second, because you've shown me how to fix another vexing issue I've had on a SuSE 11.2 installation (on another machine of mine) since the very beginning... Two birds with a stone, that's it =D

    Thank you!

    Harken

    OdpowiedzUsuń
  24. Thanks for sharing! I would like to use this Gnome...

    OdpowiedzUsuń
  25. 3g Mobile Broadband Services Like simply selling an all-inclusive Mobile Broadband service - regardless of Two thirds of all tablets sold with integrated 3G, though not all user activate this Ericsson LTE

    OdpowiedzUsuń
  26. Congratulation for the great post. Those who come to read your article will find lots of helpful and informative tips.

    Lenovo - 15.6" Laptop - 4GB Memory - 500GB Hard Drive

    Lenovo - IdeaPad 15.6" Touch-Screen Laptop - 4GB Memory - 500GB Hard Drive

    OdpowiedzUsuń