[SOLVED] Cinnamon / NWManager v1 Incompatibility (not DHCP Related)

I was testing an Asus motherboard with onboard WiFi controller (Broadcom BCM4352 802.11ac) just to see if it worked (I normally only use a wired connection on this PC), and surprisingly all went well with the new broadcom-wl driver and patches.
I am using static addresses, so I haven't experienced any of the NetworkManager v1.0.0 DHCP issues many are talking about on the forums, e.g:
https://bbs.archlinux.org/viewtopic.php?id=192910
https://bbs.archlinux.org/viewtopic.php … 7#p1496387
I did, however, have a different issue after the update of NetworkManager to version 1.0.0 when used in combnation with Cinnamon.
I had to connect to wireless via the 'nm-cli' command because the NetworkManager applet would throw an error when I attempted to use its 'Network Settings' menu item. The settings dialog would pop up along with an error dialog that said:
The system network services are not compatible with this version.
Also, even though the settings dialog opened, it was crippled (rather than showing WiFi, Wired and Network Proxy, only Network Proxy was visible).
So, not finding any info after searching the forums, I dug through the Cinnamon source code and found the error message in the source for 'cinnamon-control-center'. Turns out that the file, 'cc-network-panel.c', contains a version test for NetworkManager. The relevant code is as follows:
/* is it too new or old */
if (major > 0 || minor > 9 || (minor <= 8 && micro < 992)) {
If any portion of that test is true, it triggers the error dialog. Obviously, installing NetworkManager v1.0.0 is going to be a problem where:
major = 1
minor = 0
micro = 0
I'm not really sure I agree with the way the test was written (even aside from the issue with NM 1.x.x versions), but I just wanted to get things working without a major rewrite, so I wrote the following patch without much thought for anything other than adjusting the test for inclusion of major=1 / minor = 0:
diff -aur cinnamon-control-center-2.4.2/panels/network/cc-network-panel.c cinnamon-control-center-2.4.2_new/panels/network/cc-network-panel.c
--- cinnamon-control-center-2.4.2/panels/network/cc-network-panel.c 2014-11-26 16:11:51.000000000 -0500
+++ cinnamon-control-center-2.4.2_new/panels/network/cc-network-panel.c 2015-01-30 00:07:36.000000000 -0500
@@ -1327,7 +1327,8 @@
/* is it too new or old */
- if (major > 0 || minor > 9 || (minor <= 8 && micro < 992)) {
+ /* if (major > 0 || minor > 9 || (minor <= 8 && micro < 992)) { */
+ if ((major > 1 && minor > 0) || (major == 0 && minor <= 8 && micro < 992)) {
ret = FALSE;
/* do modal dialog in idle so we don't block startup */
The above should work for the NetworkManager versions the Cinnamon developers deemed appropriate PLUS it allows for version 1.0.0 (tested v1.0.0 and v0.9.10.0).
Hopefully, this will be addressed officially in the near future.
PS
I fully expect someone to tell me that I missed one or more forum posts about this issue because I can't believe it hasn't been discussed before now ... especially in light of the other issues with NetworkManager v1.0.0 currently being discussed.
Last edited by MrWeatherbee (2015-03-07 17:54:35)

aidenir wrote:I ran into the same problem today when I moved my work laptop from ubuntu to arch. Downgrading Networkmanager made the cinnamon settings work, however that older version crashes when I connect to openvpn connection. Is there an easy way of applying this patch on a running system?
Not sure what you mean by 'easy way of applying this patch on a running system'? It'd be much harder to apply it to a system that wasn't running.
The basic steps are the same for any package patch.
- Get a copy of the original PKGBUILD and related files (.install file, other patches, etc.) from ABS or from the Arch packages web portal:
https://projects.archlinux.org/svntogit … rol-center
- Modify the PKGBUILD as necessary (to include the patch, etc.)
- place the patch in the build-folder with PKGBUILD and related files
- run makepkg (as normal user)
- install the new package (as root)
- enjoy
Is that easy enough?
Here's the modified PKGBUILD I used:
# $Id: PKGBUILD 123172 2014-11-27 02:40:19Z faidoc $
# Maintainer: Alexandre Filgueira <[email protected]>
# Based on gnome-control-center:
# Jan Alexander Steffens (heftig) <[email protected]>
# Jan de Groot <[email protected]>
pkgname=cinnamon-control-center
pkgver=2.4.2
pkgrel=1
pkgdesc="The Control Center for Cinnamon"
arch=('i686' 'x86_64')
depends=('cinnamon-settings-daemon' 'cinnamon-translations' 'cinnamon-menus'
'libgnomekbd' 'network-manager-applet')
optdepends=('gnome-color-manager: for color management tasks')
makedepends=('intltool' 'gnome-common' 'docbook-xsl')
url="https://github.com/linuxmint/cinnamon-control-center"
install=cinnamon-control-center.install
license=('GPL')
options=('!emptydirs')
groups=('aidenir_modified')
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/cinnamon-control-center/archive/$pkgver.tar.gz"
'networkmanager_version_check.patch')
sha256sums=('7d25193a3cc13c12f22864f3c9a907acfaa616392cb2b7ab4e0624f0d200f188'
'f55eb718462250aeba0e3a29db6b1c2b22697ea9f5b8224c293f5e4823ae75cd')
prepare() {
cd $pkgname-$pkgver
patch -Np1 -i ../networkmanager_version_check.patch
build() {
cd $pkgname-$pkgver
./autogen.sh --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
--enable-systemd \
--disable-update-mimedb
#https://bugzilla.gnome.org/show_bug.cgi?id=656229
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
make
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
# Remove unused stuff
make -C panels/sound DESTDIR="$pkgdir" uninstall
make -C panels/sound/data DESTDIR="$pkgdir" install
make -C shell DESTDIR="$pkgdir" uninstall-binPROGRAMS uninstall-directoryDATA uninstall-uiDATA
rm "$pkgdir"/usr/share/applications/cinnamon-{control-center,datetime-panel,region-panel,sound-panel}.desktop
rm -R "$pkgdir/etc"
# Fix a warning
chown 102:0 "$pkgdir/usr/share/polkit-1/rules.d"
chmod 700 "$pkgdir/usr/share/polkit-1/rules.d"
Compare this PKGBUILD to the original, and you'll see that only a few things were added:
groups=('aidenir_modified')
The 'groups=' option is used to identify this package as a member of a group of your choosing (I, of course, did not use 'aidenir_modified' for my group, but took the liberty here, as an example, of using your online name. In conjunction with this, you add the same group to the '/etc/pacman.conf' IgnoreGroup option (e.g.,  IgnoreGroup= aidenir_modified), and this will prevent the unpatched, official 'cinnamon-control-center' package from overwriting your patched package. As soon as the official package is fixed, you can change or override that 'ignore' setting to allow the official package to upgrade your patched package.
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/cinnamon-control-center/archive/$pkgver.tar.gz"
'networkmanager_version_check.patch')
sha256sums=('7d25193a3cc13c12f22864f3c9a907acfaa616392cb2b7ab4e0624f0d200f188'
'f55eb718462250aeba0e3a29db6b1c2b22697ea9f5b8224c293f5e4823ae75cd')
The two snippets above simply:
1) add the patch file to the source array;
2) add the sha256 hash of the patch file to the hash array.
When you create your patch file (likely via copy-and-paste from this page), re-calculate the hash and change it in the PKGBUILD if necessary.
prepare() {
cd $pkgname-$pkgver
patch -Np1 -i ../networkmanager_version_check.patch
Finally, the above snippet adds the 'patch' command to the PKGBUILD's 'prepare()' function.
Edit = code alignment
Last edited by MrWeatherbee (2015-02-02 06:45:39)

Similar Messages

  • IMac G5 running OS 10.4.11. Started playing with a bluetooth speaker (may or may not be related). Now I cannot get past the blue screen on startup. I can get into safe mode. Tried install disc for disc utility and reloaded OS. Still get blue screen.

    I have an older iMac G5 running OS 10.4.11. The other day I started playing with a bluetooth speaker (may or may not be related). Now I cannot get past the blue screen on startup.
    I can get into safe mode. But no regular startup.
    I tried disabling bluetooth, thinking that might be related. It didn't help.
    I even tried using the install disc to run disc utility. That didn't work so I reloaded the OS.
    But I still get hung on the blue screen when trying a normal startup.
    All help would be appreciated.

    Try resetting the PMU/SMU and PRAM/NVRAM. You'd need to identify the mode of resetting depending on the model of your G5 iMac. The Apple support sites that would help you for this are –
    http://support.apple.com/kb/HT1436
    http://support.apple.com/kb/HT1939
    http://support.apple.com/kb/HT1767
    http://support.apple.com/kb/HT1379
    I hope this solves your problem.

  • [SOLVED] Lightdm theming (GTK) does not work?

    Hi,
    Silly maybe, but in trying out lightdm(-GTK) to replace gdm, I am unable to change the GTK-theme in /etc/lightdm/lightdm-gtk-greeter.conf.
    I was able to change the background and the font, but the theme, the icon (and maybe cursor) remain the default grey. I have tried using Adwaita, which should be installed together with gnome 3 and I have installed gnome-shell-theme-faience from AUR to try it out. None of them are working.
    Maybe this is related:
    I do seem to have another problem with the user-theme-extension: it was outdated according to extensions.gnome.org, so I removed it with pacman and I installed it via the gnome website. But gnome-tweak-tool keeps telling me there is an error with the extension and I'm not able to set a user theme with that tool...
    Anybody have a clue? The wiki nor the AUR hold much info on this and the web is talking about the unity-greeter mostly...
    Last edited by zenlord (2012-06-18 17:18:07)

    The lack of responses seem to indicate two possibilities:
    1. I'm the only one having a problem, or
    2. This is not a bug - I should theme lightdm-gtk manually.
    In either case: the extension-problem is solved now, so that should not interfere (anymore), and upgrading to the latest lightdm(-gtk-greeter) has not solved the problem...
    Last edited by zenlord (2012-06-05 08:02:40)

  • How to solve the error message "Could not activate cellular data network: PDP authentication failure"when using 3g or gPRS on safari with an iphone 4 and latest software updates

    Please can someone help me to solve the error message "Could not activate cellular data network: PDP authentication failure"when using 3G or GPRS on safari with an iphone 4GS and latest software updates. I have tried resetting the network and phone settings. I have restored the factory settings on itunes and still the problem persists.

    All iPhones sold in Japan are sold carrier locked and cannot be officially unlocked by the carrier. If you unlocked it, it was by unauthorized means (hacked), and support cannot be given to you in this forum.
    Hacked iPhones are subject to countermeasures by Apple, particularly when updating the firmware. It is likely permanently re-locked or permanently disabled.
    Message was edited by: modular747

  • How to solve this problem? '' can not activate cellular data network failure'' authenticating PDP  from already thank you

    how to solve this problem? '' can not activate cellular data network failure'' authenticating PDP  from already thank you

    What does this have to do with using an iPhone in an enterprise environment?
    What carrier are you using and where did you get the phone?

  • The '' secondary data source is not a relational data source, or does not use an OLE DB provider.

    Hi,
    We are using Teradata as data source in SSAS 2008R2, it’s using ‘.Net Providers\.Net Data Provider for Teradata’.
    In DSV, we have two data sources both using Teradata. While processing dimensions, all dimensions coming from secondary data source has error message”
    The '' secondary data source is not a relational data source, or does not use an OLE DB provider.”
    But we are not using OLE DB provider for now, we’ve searched some threads that named queries can be replaced for secondary ds, but since we have a lot of tables, it’s hard to implement using named queries.
    Any inputs would be appreciated. 

    Hi memostone,
    When defining a data source view that contains tables, views, or columns from multiple data sources, the first data source from which you add objects to the data source view is designated as the primary data source (you cannot change the primary data
    source after it is defined). After defining a data source view based on objects from a single data source, you can then add objects from other data sources.
    If an OLAP processing or a data mining query requires data from multiple data sources in a single query, the primary data source must support remote queries using
    OpenRowset. Typically, this will be a SQL Server data source.
    Here are the restrictions:
    The primary data source should be SQL Server and support OpenRowset to the secondary data source.
    Or you design the cube in such a way that rocessing for each object only needs to access data from a single data source
    I recommand you refer to the following article:
    Defining a Data Source View (Analysis Services):
    http://technet.microsoft.com/en-us/library/ms174600.aspx
    Regards,
    Bin Long
    TechNet Community Support

  • COPA Error - Document "1000000062" is not profit-related and thus could not

    Dear Experts,
    I have an following issue , please send your inputs for the below issue.
    Client is using Make to Sale order scenario ( MTO).
    At the time of billing, COPA documents are not getting generated. I also checked if the COPA documents can be generated after VA88 (Make to Sale order settlement. But still the COPA Document for Revenue and Discounts is not getting generated.
    Below is the error when KE5ST is executed. I have also checked the note 20254,  but couldnt fix the issue .
    Error Message - Document "1000000062" is not profit-related and thus could not be transferred
    Message no. KF755
    Diagnosis
    Sales document "1000000062" was not transferred to Profitability Analysis (CO-PA) because it is not relevant for the analyses in CO-PA. This can be due to one of the following reasons (among others):
    The document type is not profit-related, such as an inquiry
    The sales document shows zero for the quantity
    The sales document has been denied
    The sales document is locked due to credit reasons
    Advance thanks
    Sanjai

    Hi Sanjai,
    I'm facing an issue related to Credit Notes without quantity volume. It is right to have Credit Notes without quantity, but we need to capture these amounts in COPA.
    When the CN/DN is posted no COPA document is generated and trying to simulate this through KE4ST I've received the message you've outlined above "
    Sales document "XXXXXXXX" was not transferred to Profitability Analysis (CO-PA) because it is not relevant for the analyses in CO-PA. This can be due to one of the following reasons (among others):
    The document type is not profit-related, such as an inquiry
    The sales document shows zero for the quantity
    The sales document has been denied
    The sales document is locked due to credit reasons
    Do you know how we could capture in COPA these documents which have zero for the quantity?
    Thanks,
    Jorge

  • IPhone 4 reception issues are not design related! Proof inside this topic!

    Hello,
    I conducted some very strict tests to verify the reception bug some people are reporting.
    *Test 1:* Holding the iPhone 4 at a specific and precise position with a plastic protection and the left hand covering the bottom left corner making sure both antenna parts are connected by my hand.
    *Test 2:* Holding the iPhone 4 at a specific and precise position WITHOUT any plastic protection and the left hand covering the bottom left corner making sure both antenna parts are connected by my hand, making sure my left hand is perfectly dry.
    *Test 3:* Holding the iPhone 4 at a specific and precise position WITHOUT any plastic protection and the left hand covering the bottom left corner making sure both antenna parts are connected by my hand, making sure my left hand is wet (wetting it before the test)
    *Tests duration:* 2 full minutes.
    Here are the results:
    *Test 1:* Full reception (5 bars), EDGE data network working. Calls are working perfectly as well as data operations (Safari).
    *Test 2:* Full reception (5 bars), EDGE data network working. Calls are working perfectly as well as data operations (Safari).
    *Test 3*: Full reception (5 bars), EDGE data network working. Calls are working perfectly as well as data operations (Safari).
    Geographic location: Paris (France), Bastille district, inside my apartment. Note that I don't get 3G on this location, wathever phone I use (Veryfied with HTC Magic, iPhone 3G and iPhone 4, it's all the same on this aspect).
    *So same exact result for all three tests!*
    *_So what does it mean?_*
    It either means that not all iPhone 4 are affected by this issue (as mine is not affected), or that this issue is not simply related to how you hold your phone and does involve also other elements, like the phone baseband firmware not dealing well with some GSM network configurations (different frequencies...etc) when adding noise (which is what your hand do when holding the phone) or something else.
    This could give credits to the AppleInsider theory that it's related to how the BaseBand firmware is dealing with some GSM network situations and so that it's software related and that a fix is coming soon (see: http://www.appleinsider.com/articles/10/06/25/deathgrip_hysteria_may_end_monday_with_ios_401.html).
    But it can also mean that it's still purely hardware related and that it's a production fault that affects only some units but not all.
    But it's clearly not a design fault, otherwise all units would be affected and so I would be able to reproduce it with mine, which is not the case (as demonstrated by the tests I conducted).
    _*My advice to those who are affected:*_
    1) Wait a week to see if a software fix get released (as apparently, according to AppleInsider, it may come this very monday as part of an iOS 4.0.1 update), or at least for a confirmation that it's not a software issue in some GSM network configurations.
    2) If it's confirmed that it's a production issues on some units, then get your phone exchanged.

    Well documented post.
    After reading through all the reports I found myself intentionally holding the phone in the "Death-grip".
    I went out that evening and used the phone perfectly fine all day, holding it with a few things, which is actually the way I hold it anyway when texting / msging etc.
    I have a lot of faith that Apple with resolve this with a software update, and hope the fault is related to the BaseBand firmware reported in the appleinsider.
    I am angered by everyone accepting the bloggers so-called "OFFICIAL RESPONSE" as Apples 'Official Response'.
    There is no way, that Apple (Steve Jobs), would use that response via email, back to a single customer.
    Officially... Apple will direct their response to the news directly, or at least something on their website.
    People need to stop jumping on the "Steve Jobs told us to just hold it differently" band-wagon, and wait for something thats actually "OFFICIAL"...
    As i've said in previous posts, just because the news and this blogger has put the word "Official" next to it, does not make it so...
    Rant over...

  • How can i solve the vpn server could not be found error on my iphone 5s?

    how can i solve the vpn server could not be found error on my iphone 5s?

    FWIW, back at work we have a Palo Alto Networks firewall and VPN. Have configured both the iPhone and the iPad with the pertinent details.
    If I connect while in the premises (same LAN), connection is instantaneous and flawless.
    If I connect while away, no matter which external network, the first attempt to connect ALWAYS fails with a NOT FOUND error. Yet if I try again immediately after, it ALWAYS connects with no further issues.

  • How to solve this soft will be not installed because hp recovery cannot be found in your system

    how to solve this soft will be not installed because hp recovery cannot be found in your system
    i dont know how to solve this and i dont know how big company like HP didnot make solution for this problem 
    i hope to find solution for this problem 
    ( HP Pavilion dv6-6120se )  this is my computer name

    Hi,
    I can't see the image and may be won't be able to see it fox next 24hrs. You need Admin/moderator of this forum to approve it before other can see and today is a public holiday in the US.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • I will have the majority of strength with my phone just sitting there but as soon as I try to call or text it goes to "searching".  No other phones have this issue- so it's not network related.  Is there something I can do to my phone? Iphone 4,latest OS

    I will have the majority of strength with my phone just sitting there but as soon as I try to call or text it goes to "searching".  No other phones have this issue- so it's not network related.  Is there something I can do to my phone? Iphone 4,latest OS

    Hello, could this be it?
    Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality
    http://support.apple.com/kb/HT5559

  • Any idea! not entirely related to java

    I am developing a software that is used in structural mechanics. I am doing that in java. I have one problem, though that is not entirely related to java. But I need help. Here my problem goes:-
    I have a graphical drawing. Take for example a square or a square with a square hole( though the shape can be of any arbitarary shape). I call this a plate.I know all the major co-ordinates to define this shape. Now I have to divide this plate in small triangles or rectangles(I call this as meshing the figure) with the condition that any of the side(of the small trinangle or rectangle) should not be greater than that specified by the user.
    Is there any algorithm to do that. Or where can I find solution to this problem.
    I will be very thankful to any sort of suggestion.

    if you have a hole in the polygon
    cut the polygon in two pieces each without a hole.
    Im now going to distinguish normal corners
    which have an inside angle of less the 180 degrees
    like in a triangle
    and inward corners which have an inside angle of
    over 180 degrees:
    find a 'normal corner',
    find the two corners next to it
    and cut along the line between these two.
    This gives you a polygon with one corner less then the original and a triangle.
    apply the same algorithm to the new polygon and
    continue until it is a triangle itself.
    if a triangle side is to big, cut the triangle in two
    pieces. cutting through the middle of the side which is to long and the opposite corner.
    HTH
    Spieler

  • Can i use APNS certificates created by the "Apple push certificates portal" to send regular push notifications to my iphone app (not MDM related)?

    Can i use APNS certificates created by the "Apple push certificates portal" to send regular push notifications to my iphone app (not MDM related)?
    The push notifications are sent from servers of my customers and i don't want to give them my own push cert (with the private key)

    As KiltedTim mentioned you should be "good to go" in a couple weeks when IOS 8.0 is released to the public for your iPad.  Here's more info.  Scroll down to the "Send any kind of text message from any of your devices"  section:
    https://www.apple.com/ios/ios8/continuity/

  • I use genius on the i-tunes on laptop.When selected on 32gb i pod touch (4th gen) says not enough related songs

    I use genius on the i-tunes on laptop.When selected on 32gb i pod touch (4th gen) says not enough related songs

    An "other" that large usually indicates that the "other" includes corrupted files.  Usually restoring from backup eliminated the corrupted files. However, sometimes restoring to factory settings/new iPod is required.
    To restore from backup see:
    iOS: How to back up
    To restore to factory settings/new iPod see:
    iTunes: Backing up, updating, and restoring iOS software

  • My Arabic keyboard is missing letter it is different of my iPhone 3 and I pad how to solve the problem it is not only mine it is most of the iphone4

    My Arabic keyboard is missing letter it is different of my iPhone 3 and I pad how to solve the problem it is not only mine it is most of the iphone4

    Najsar wrote:
    My Arabic keyboard is missing letter
    No, it's not.  You get extra letters by holding down the existing keys and selecting them from the popup menu which appears.

Maybe you are looking for

  • BI Admin Cockpit - Problem in activating Process Chains

    Hello, We're trying to activate the content for BI Admin Cockpit. While activating the process chains, we get a "red" message as mentioned below. "Object '0PAK_5JTN7F5HTP45CGZ04PQTMCNTI' (ISIP) of type 'InfoPackage' is not available in version 'D' Me

  • IPhoto '08 resizing images (but not all)

    I have recently run into a problem which I assume is iphoto related. I never use iphoto because quite frankly I don't like it and I never have, which is why I stuck with '08 and didn't bother upgrading and this issue hasn't helped any. I decided to d

  • Sender CC for MS SQL 2005 Driver error invalid object name

    Hello people, can some one help me with the following problem? I'm trying to implement a JDBC to IDoc XI/PI scenario with PI 7.1. In RWB CC monitor i'm getting the following error : "Database-level error reported by JDBC driver while executing statem

  • Trial ABAP 7.02 - MaxDB installation problem

    Hi Trialers, I am not able to finish my Trial 7.02 installation, since in the Execute step (consisting of 24 phases) and phase 4 (Install Database Client), I get the message: An error occurred while processing option SAP NetWeaver 7.0 including Enhan

  • Error passing data from ODS to IC

    Hi, I have a problem when passing data from ODS to Infocube. According to the messages, the problem is there is erroneous characters in one record's ZANLAGE characteristic. I check and found the problematic record. Mi question is Why the problem show