[SOLVED] awesomewm vicious.widgets.wifi returns nil

I cant seem to figure out why the returning args (all of them) are nil..
this is the widget code I have:
wifiwidget = wibox.widget.textbox()
vicious.register(wifiwidget, vicious.widgets.wifi,
function( widget, args)
return string.format("%.8s - %sdB", args[1], args[7])
end, 19, "wlp2s0")
although, i feel thats not the culprit because regardless of what i put there, every entry in args[] is nil.
I have iwconfig installed and it returns the correct information for wlp2s0
vicious wifi script is in /usr/share/lua/5.2/vicious/widgets
any thoughts or further info needed?
Last edited by pdizzle (2014-10-02 13:18:42)

resolved...
in the case of the wifi widget, the returned value is a table.
so to call the values i was looking for it should be formatted:
wifiwidget = wibox.widget.textbox()
vicious.register(wifiwidget, vicious.widgets.wifi,
function( widget, args)
return string.format("%.8s - %sdB", args["{ssid}"], args["{sign}"])
end, 19, "wlp2s0")

Similar Messages

  • [Solved] Awesome 3.5: gmail vicious widget does not work

    I updated my awesome from 3.4 to 3.5. I noticed that vicious.widgets.gmail does not work anymore. When I move my cursor on mailicon, I can only see N/A. Obviously in my home there is  ~/.netrc file:
    machine mail.google.com login MYMAIL password MYPASSWORD
    This is how I configured the widget: Solved someone this or has someone any idea about how to solve?
    -- Gmail
    mailicon = wibox.widget.imagebox(beautiful.widget_gmail)
    mailwidget = wibox.widget.textbox()
    gmail_t = awful.tooltip({ objects = { mailwidget },})
    vicious.register(mailwidget, vicious.widgets.gmail,
    function (widget, args)
    gmail_t:set_text(args["{subject}"])
    gmail_t:add_to_object(mailicon)
    return args["{count}"]
    end, 120)
    --the '120' here means check every 2 minutes.
    mailicon:buttons(awful.util.table.join(
    awful.button({ }, 1, function () awful.util.spawn("urxvt -e mutt", false) end)
    Bye! ^^
    Last edited by ninquitassar (2013-02-17 20:22:28)

    nostalgix wrote:
    I don't know for sure, but maybe it's
    mailicon = wibox.widget.imagebox(beautiful.widget_gmail)
    instead of
    mailicon = wibox.widget.imagebox()
    mailicon.set_image(beautiful.widget_gmail)
    That's what he has.
    Last edited by nomorewindows (2013-02-12 21:16:51)

  • SOLVED - [lua] [awesomewm] vicious scripting

    I'm trying to get vicious.thermal to round off the temperature from the k10temp.  Unfortunately my code doesn't seem to be outputting anything.  Here it is below
    coretempwidget = wibox.widget.textbox()
    vicious.register(coretempwidget, vicious.widgets.thermal,
    function (widget, args)
    return string.format(" $1 C", math.floor(args[1] + 0.5))
    end,
    19,
    {"../../module/k10temp/drivers/pci:k10temp/0000:00:18.3", "core", "temp1_input"})
    Clearly I'm doing something wrong with the syntax.  But I can't seem to figure it out.
    Any ideas?
    EDIT: I realised that the string.format was incorrect.  - Changed it to %d instead $1 and it resolved the issue.
    Last edited by z1lt0id (2013-08-27 17:54:47)

    Looking at the libs myself it doesn't seem like any of them supply an IP. However you could probably easily edit vicious/wifi.lua to include an ip variable.
    iwconfig does print out IP information, but it's not being read by the vicious wifi lib.
    https://github.com/Mic92/vicious/blob/m … s/wifi.lua
    On line 44-ish I'd add a
    "["{ip}"] = "localhost"
    then on line 74-ish I'd add a regular expression to parse the ip from the output of iwconfig.
    It would look something like this:
    winfo["{ip}"] = helpers.escape(string.match(iw, 'inet[=:]"(.-)"') or winfo["{ip}"])
    , but I know jack shit about regular expressions and I don't even have wireless so I don't even know what kind of expression we're looking for, but the idea should be pretty solid.
    After updating the lib you should have access to the IP variable, which you could use like it was already part of the lib. And if you do that you might want to commit your changes and submit a pull request to the person who made vicious. If you fail you might as well make an issue on github and they'll probably do it for you.
    Last edited by naelstrof (2014-10-16 04:20:00)

  • AwesomeWM progressbar widget issue

    Hi,
    I'm moving from KDE to Awesome and configuring awesome has been easy enough. I'm running into an issue with the progressbar widget though.
    As you can see in the screenshot below, there is some space in between the volume textarea ("69%") and the separator ('//'). This is were the progressbar is (supposed to be).
    My rc.lua (volume widget starts at line 140) has some buttons attached to the 2 volume widgets (the textarea and the progressbar). Those work fine, since when I use them while my mouse is over the spot where the progressbar should be, they work.
    This means the progressbar does get created and thus should be visible, yet it isn't. I've tried different foreground and background colors but it never worked. I also tried setting a gradient but that didn't make the progressbar visible either.
    I also tried creating a progressbar using "volumebar = awful.widget.progressbar()" instead of "volumebar = widget({type="progressbar" ..." but then it doesn't even reserve space for the progressbar in the wibox.
    What's causing this? I must be forgetting something very simple, but I've looked at other rc.lua's and i can't see a difference.
    My awesome version:
    awesome v3.4.5 (Close To You)
    • Build: Jul  3 2010 21:00:01 for x86_64 by gcc version 4.5.0 (nobody@archlinux)
    • D-Bus support: ✔
    Last edited by Diod (2010-07-10 21:46:01)

A: AwesomeWM progressbar widget issue

Here is a section from my old rc.lua when I still had a volume bar:
volbar = awful.widget.progressbar()
volbar:set_width(10)
volbar:set_height(18)
volbar:set_vertical(true)
volbar:set_background_color("#1a1918")
volbar:set_color("#ff6500")
volbar:set_gradient_colors({ "#1a1918", "#60801f", "#9acd32" })
vicious.enable_caching(vicious.widgets.volume)
vicious.register(volbar, vicious.widgets.volume, "$1", 2, "Master")
volbar.widget:buttons(
awful.util.table.join(
awful.button({ }, 1, function () awful.util.spawn("amixer -q sset Master toggle") end),
awful.button({ }, 4, function () awful.util.spawn("amixer -q sset Master 2dB+", false) end),
awful.button({ }, 5, function () awful.util.spawn("amixer -q sset Master 2dB-", false) end)
So I think you should maybe try changing your "volume.width = 50" to "volumebar:set_width(50)", etc.
And you need to register your volumebar with vicious to get the input (ie.' "$1", 2, "Master"' etc.). At the moment, your volbar widget is empty with no input.

Here is a section from my old rc.lua when I still had a volume bar:
volbar = awful.widget.progressbar()
volbar:set_width(10)
volbar:set_height(18)
volbar:set_vertical(true)
volbar:set_background_color("#1a1918")
volbar:set_color("#ff6500")
volbar:set_gradient_colors({ "#1a1918", "#60801f", "#9acd32" })
vicious.enable_caching(vicious.widgets.volume)
vicious.register(volbar, vicious.widgets.volume, "$1", 2, "Master")
volbar.widget:buttons(
awful.util.table.join(
awful.button({ }, 1, function () awful.util.spawn("amixer -q sset Master toggle") end),
awful.button({ }, 4, function () awful.util.spawn("amixer -q sset Master 2dB+", false) end),
awful.button({ }, 5, function () awful.util.spawn("amixer -q sset Master 2dB-", false) end)
So I think you should maybe try changing your "volume.width = 50" to "volumebar:set_width(50)", etc.
And you need to register your volumebar with vicious to get the input (ie.' "$1", 2, "Master"' etc.). At the moment, your volbar widget is empty with no input.

  • Can my wife return something I bought on my credit card?

    I purchased a Linksys router on Sunday and I would like to return it as it turns out I do not need it. However, I am going out of town tomorrow morning and will not return for over 2 weeks.  I still have everything that came with the router and the receipt. Can my wife return the router? And if so, does she need to have the credit card I used to purchase the router for me to receive a refund?  Please let me know and thank you!

    Good Morning Zethon –
    I worked in a Best Buy store in customer service for 6 years. Sometimes I would see new gadgets and have to buy them! Sometimes after getting them home, I realized I didn’t have a real need for them and would have to return them. I am no stranger to returns at Best Buy!
    Your wife should not have any problems returning the router for you. Some stores will require a valid photo ID but your wife can use her own. While having the original credit card present is not required, it’s not a bad idea like bobberuchi brought up. In very rare cases, if our system is undergoing maintenance and cannot connect to the network, we will need to swipe the card.
    According to our Return & Exchange Promise, here is what is required during a return:
    1.      Include all original packing and accessories. (If you don't have all the original packaging and accessories, that's okay. We can process a return with a small deduction on your refund for what's missing.)
    2.      Bring your receipt or packing slip and a valid photo ID. We accept U.S., Canadian, and Mexican Driver's Licenses; U.S. State ID; Canadian Province ID; Matricula Consular; U.S. Military ID; Passport; U.S. Laser Visa; and U.S. Permanent Resident Card
    For additional details, feel free to click the link above or read our Knowledge Base article here on the Best Buy forums.  Thank you so much for posting your question!
    Have a great trip,

  • [SOLVED] AwesomeWM Battery Meter

    Hello all,
    I've been rewriting my rc.lua on my netbook for Awesome, and my head is probably just drawing a blank, but I'm having a problem getting the battery meter to show something other than 0% Battery.
    This is the code for my vicious widget:
    http://pastebin.com/Bt60surG
    and I do have the widget showing, it's just always red and says 0%.
    I have the acpi package installed, and it works through terminal, and starts on boot, wasn't sure if it was necessary though.
    like I said, probably overlooking something, but I have been hacking at it for a couple hours, searching around and what not, and I was like "yeah... forum time" Lol
    So yeah.. Any ideas?
    Last edited by themattbeballin (2011-11-12 22:49:44)

    anrxc wrote:Default battery widget reads /sys/class/power_supply/<your battery ID>. Check that you have provided the correct ID.
    If you did get it right check that the data in that directory is complete. Does "present" file contain 1? Does "charge_now"
    contain a charge other than 0? If not you could get support for your battery from /proc with batproc widget or worst case
    from batacpi widget that uses acpitool. But likely that is not the case, most likely you got the ID wrong.
    Wow. That fixed it... When I was looking at it... ACPI was reading BAT0 but /proc was saying BAT1.
    Worked. Thanks!

  • [SOLVED] awesome vicious library missing

    There was an update to the vicious library for awesome to version 2.1.0-1 that was applied to my machine.
    Once I restarted awesome, it failed to load my config, looking at the error log output, it seems to have a problem using the vicious library:
    /home/phyrne/.config/awesome/rc.lua:118: attempt to index global 'vicious' (a nil value)
    Line 118 in my rc.lua is the start of registering my MPD widget.
    I've tried commenting out the MPD widget section, however, it just finds another instance of vicious in my config and complains about that also.
    I've looked in /usr/share/awesome/lib for vicious, where it usually resides, however it isn't there?
    I have confirmed that I do have the vicious package installed, I've also tried installing the vicious-git package, however this didn't work either.
    I've checked for a local copy of vicious in Pacman's chache to rollback to, however unfortunately there isn't an earlier tarball present.
    Does anybody have any idea how this could be fixed?
    Thanks in advance
    Last edited by Starfall (2012-08-27 00:02:13)

    projectdelphai wrote:
    In your rc.lua you now have to require vicious as
    vicious = require("vicious")
    . Someone noticed this earlier here. The vicious folder was moved to /usr/share/lua/5.1 (pacman -Ql vicious).
    That fixed it! Thanks so much for the swift response projectdelphai

  • Is apple doing any thing to solve the issue foe WIFI grayout

    is apple doing any thing to solve the WIFI grayout ISSUE

    I am having this same problem (Wifi drops, freeze the screen) and it looks I am not the only one! Unfortunately, I went to the Apple Store in San Francisco and eventhough the Genius guy told me that the problem is in the manufacture process, he could not exchange the phone, since one year ago Apple exchange my old Iphone 5 cause I was having battery issues. The only way to solve with Apple now is paying more than $250 for a refurbished Iphone. Unfortunately it doesn't look like Apple anymore!!!

  • [Solved] ar9170usb loaded but WIFI not working

    Hi,
    I bought today my new USB WIFI adapter (TP-Link TL-WN822N), but its not working.
    ar9170usb module is loaded correctly, but wlan0 doesnt.
    dmesg| grep ar9170usb
    [ 3.007214] usbcore: registered new interface driver ar9170usb
    lsmod | grep ar9170usb
    ar9170usb 49413 0
    mac80211 211662 5 ar9170usb,carl9170,rt2800lib,rt2x00usb,rt2x00lib
    ath 14355 2 ar9170usb,carl9170
    cfg80211 146369 5 ar9170usb,carl9170,rt2x00lib,mac80211,ath
    usbcore 142192 9 ar9170usb,carl9170,rt2800usb,rt2x00usb,rt2870sta,usbhid,xhci_hcd,ehci_hcd
    lsusb
    Bus 001 Device 003: ID 0cf3:1002 Atheros Communications, Inc. TP-Link TL-WN821N v2 [Atheros AR9001U-(2)NG]
    Any ideas?
    Last edited by nexxx (2011-08-08 07:23:16)

    Solved my problem by blacklisting "carl9170", so only "ar9170usb" module is loaded.
    Blacklisting "ar9170usb" did not work here!
    Thanks
    EDIT:
    After update to Kernel 3.0 the ar9170usb module was removed. Now its not working anymore.
    When i load the carl9170 module,  it says
    [    2.979833] usb 3-1: firmware not found.
    Do I need any additional firmware?
    Last edited by nexxx (2011-08-08 07:19:49)

  • TextModel- QueryStoryThread returns nil. How to get ITextFrameColumn

    Adobe Indesign CS3. Build number 458 <br />I'm writing plugin for. <br /><br />Using XML tagging text: When iterating through IIDXMLElement's, need to exctract ITextFrameColumn, and get the text from it. <br /><br />So The plan is <br />1) ITextModel * textModel = Utils<IXMLUtils>()->QueryTextModel(xmlElement); <br />2)?? ITextStoryThread* storyThread = textModel->QueryStoryThread(position); <br />3)InterfacePtr<const IParcelList> parcelList(textStoryThread->QueryParcelList()); <br />4) iterate through parcels and call parcel->QueryFrame(); <br /><br />But sometimes storyThread is nil (step 2). And the result of parsing not contain the text. <br /><br />Reproduction of situation: <br />when insert text frame with text into another text frame with text. And tag it both (xml). <br />I can suppose that instead storyThread (step 2) I should Ask for another type of object and try to extract text from it. <br /><br />What type of object I should request and How? or else: <br />How to obtain the ITextFrameColumn for such textModel?<br />Can this problem appear if the initial document was created by InDesign CS2?<br /><br />Thank's for your attention.

    The problem solved. Thank's
    The situation really was in -
    The text postion from where I try to extract text was the position of inner text frame. And the text frame was the inner frame itself. So the position was wrong for the inner text frame.
    So I asks the inner text frame for textrange and then extract text.

  • [solved] A2109A-F intermittent WiFi dropouts

    Hi all,
    some days ago I bought the tablet and am going nuts over it soon.
    With ICS as well as JB I experience the same problem that on 3 out of 4 WiFi's I have intermittent dropouts where first the indicator turns grey then vanishes and comes back on after some seconds. The interval is some 10 to 30 seconds depending on ??? the router ???. It doesn't affect e.g. youtube but regularly stops flash videos and randomly gives "server not available" messages during surfing. Since it also occurs during video streaming, I don't think it is "powermanagement" related, although I disabled as much as I could find.
    Unfortunately the WiFi in the shop where I bought the tablet is one of the 25% that are working ok....
    any hint / help much appreciated
    Solved!
    Go to Solution.

    ok, found the problem (at least at two if the location that are of my interest): although the chipset in my router and the tablet are from same manufacturer, they are incompatible if some "turbo mode" is enabled on the router. Probably the same at our office but I can't get into the adminpage

  • [Solved] MSI GE40 2PC wifi keeps dropping

    Recently got the GE40 2PC (not 20PC, people tend to confuse them). Wifi keeps dropping every 5-25 min. Is there a i=fix for this? I already checked wifi drivers and its said I'm already using the most recent drivers. Somehow I'm worried it may have something to do with the wifi temperature. I read that if the wifi gets overheated itll stop and the 2PC can get quite hot sometimes. I havent had a chance to try another wifi network yet.

    What did you use to check the driver?
    You should find the latest driver from MSI webiste under GE40 2PC page.
    WIN8.1 (2012.3.0913.2013)
    http://download.msi.com/nb_drivers/wl/wlan_aw114h_159h_238h_2012.3.0913.2013_0x7c1acdf2_w8100.zip
    WIN7 (2010.11.1007.2013)
    http://download.msi.com/nb_drivers//wl/wlan_aw_nb159h_nb114h_2010.11.1007.2013_0xd80f8fe8_8700.zip
    - - - Updated - - -
    Quote from: CJHKZZ;109980
    [SOLVED] i manually updated the realtek drivers and so far it seems better haven't had a single a drop in signal yet. Will update if it doesn't work in a few hours.
    Good to know!

  • [Solved] AwesomeWM Java menus don't stay open

    Hello,
    I'm currently running awesome-git, and having trouble with Java Swing applications. The application I am attempting to use is called Freemind. When I attempt to open a menu, combobox, etc using a mouse click, the dialog immediately disappears. Using the keyboard shortcuts (e.g. alt + f) to open the menu, however, seems to work okay.
    I found a lot of information about solving various Awesome/Java issues and tried out several different fixes including disguising the window manager name, but so far none have worked. I also tested Freemind in Gnome Shell to make sure it wasn't an application issue and there were no problems there.
    System info:
    Awesome 3.5 (2012-12-31, AUR: awesome-git)
    Freemind 1.0.0 (beta 9, AUR: freemind-unstable )
    java version "1.7.0_09"
    OpenJDK Runtime Environment (IcedTea7 2.3.3) (ArchLinux build 7.u9_2.3.3-1-x86_64)
    OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
    Any suggestions?
    Thanks,
    Keith
    Last edited by hughitt1 (2013-01-03 00:43:43)

    Hi tdy,
    Including it at the end of rc.lua works!
    So for not explaining things better before (It's been a couple weeks since I tried fixing this). I believe the approaches I tried were:
    1) the "old" fix (AWT_TOOLKIT=MToolkit freemind-unstable)
    2) and also calling "wmname LG3D" before running freemind -- I checked to make sure the setting took effect (calling wmname without any arguments) and since it returned "LG3D", I assumed that calling it in rc.lua or .xinitrc would not have worked any better. I was wrong
    Thanks for the help!
    Keith

  • [SOLVED] Networkmanager fails in WIFI on DHCPDISCOVER

    Hello,
    I have two computers running Arch. Each is up to date. When I use a WIFI usb key to connect to the same SSID, one is working fine and the other isn't.
    *edit*
    On second thought, there is no difference, I think drivers are to blame
    Thank you!
    Last edited by ivanoff (2015-04-11 16:13:15)

    Problem inexplicably solved itself with an update over the past couple of days. Possibly a systemd or a kernel update?

  • [Solved] Cannot connect with wifi-menu after login

    I can't connect to the internet after I login.  When I try to connect, it says:
    Job for netctl@my\x2dnetwork.service failed. See "systemctl status 'netctl@my\x2dnetwork.service'" and "journalctl -xe" for details.
    #systemctl status 'netctl@my\x2dnetwork.service'
    ● netctl@my\x2dnetwork.service - A simple WPA encrypted wireless connection
    Loaded: loaded (/etc/systemd/system/netctl@my\x2dnetwork.service; enabled; vendor preset: disabled)
    Active: failed (Result: exit-code) since Fri 2015-02-06 16:37:35 CST; 1min 23s ago
    Docs: man:netctl.profile(5)
    Process: 574 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
    Main PID: 574 (code=exited, status=1/FAILURE)
    Feb 06 16:37:35 mac network[574]: Starting network profile 'my-network'...
    Feb 06 16:37:35 mac network[574]: The interface of network profile 'my-network' is already up
    Feb 06 16:37:35 mac systemd[1]: netctl@my\x2dnetwork.service: main process exited, code=exited, status=1/FAILURE
    Feb 06 16:37:35 mac systemd[1]: Failed to start A simple WPA encrypted wireless connection.
    Feb 06 16:37:35 mac systemd[1]: Unit netctl@my\x2dnetwork.service entered failed state.
    Feb 06 16:37:35 mac systemd[1]: netctl@my\x2dnetwork.service failed.
    #journalctl -xe
    Feb 06 16:37:17 mac dbus[217]: [system] Activating via systemd: service name='org.freedesktop.UDisks2' unit='udisks2.service'
    Feb 06 16:37:17 mac udisksd[436]: udisks daemon version 2.1.3 starting
    Feb 06 16:37:17 mac dbus[217]: [system] Successfully activated service 'org.freedesktop.UDisks2'
    Feb 06 16:37:17 mac udisksd[436]: Acquired the name org.freedesktop.UDisks2 on the system message bus
    Feb 06 16:37:18 mac polkitd[271]: Registered Authentication Agent for unix-session:c2 (system bus name :1.29 [/usr/lib/polkit-gnome/polkit-gnome-authen
    Feb 06 16:37:18 mac dbus[217]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
    Feb 06 16:37:18 mac avahi-daemon[481]: Found user 'avahi' (UID 84) and group 'avahi' (GID 84).
    Feb 06 16:37:18 mac avahi-daemon[481]: Successfully dropped root privileges.
    Feb 06 16:37:18 mac avahi-daemon[481]: avahi-daemon 0.6.31 starting up.
    Feb 06 16:37:18 mac avahi-daemon[481]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
    Feb 06 16:37:18 mac dbus[217]: [system] Successfully activated service 'org.freedesktop.Avahi'
    Feb 06 16:37:18 mac avahi-daemon[481]: Successfully called chroot().
    Feb 06 16:37:18 mac avahi-daemon[481]: Successfully dropped remaining capabilities.
    Feb 06 16:37:18 mac avahi-daemon[481]: Loading service file /services/sftp-ssh.service.
    Feb 06 16:37:18 mac avahi-daemon[481]: Loading service file /services/ssh.service.
    Feb 06 16:37:18 mac avahi-daemon[481]: Network interface enumeration completed.
    Feb 06 16:37:18 mac avahi-daemon[481]: Registering HINFO record with values 'X86_64'/'LINUX'.
    Feb 06 16:37:18 mac avahi-daemon[481]: Server startup complete. Host name is mac.local. Local service cookie is 1997621208.
    Feb 06 16:37:18 mac avahi-daemon[481]: Service "mac" (/services/ssh.service) successfully established.
    Feb 06 16:37:18 mac avahi-daemon[481]: Service "mac" (/services/sftp-ssh.service) successfully established.
    Feb 06 16:37:30 mac sudo[510]: mac : TTY=pts/0 ; PWD=/home/mac ; USER=root ; COMMAND=/usr/bin/wifi-menu
    Feb 06 16:37:30 mac sudo[510]: pam_unix(sudo:session): session opened for user root by mac(uid=0)
    Feb 06 16:37:35 mac network[574]: Starting network profile 'my-network'...
    Feb 06 16:37:35 mac network[574]: The interface of network profile 'my-network' is already up
    Feb 06 16:37:35 mac systemd[1]: netctl@my\x2dnetwork.service: main process exited, code=exited, status=1/FAILURE
    Feb 06 16:37:35 mac systemd[1]: Failed to start A simple WPA encrypted wireless connection.
    -- Subject: Unit netctl@my\x2dnetwork.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit netctl@my\x2dnetwork.service has failed.
    -- The result is failed.
    Feb 06 16:37:35 mac systemd[1]: Unit netctl@my\x2dnetwork.service entered failed state.
    Feb 06 16:37:35 mac systemd[1]: netctl@my\x2dnetwork.service failed.
    Feb 06 16:37:35 mac sudo[510]: pam_unix(sudo:session): session closed for user root
    Feb 06 16:37:48 mac dbus[217]: [system] Activating via systemd: service name='org.freedesktop.NetworkManager' unit='dbus-org.freedesktop.NetworkManager
    Feb 06 16:37:48 mac dbus[217]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.NetworkManager.service': Unit dbus-org.freedesktop
    Feb 06 16:37:50 mac logger[626]: ACPI action undefined: PNP0C0A:00
    Feb 06 16:38:31 mac logger[653]: ACPI action undefined: PNP0C0A:00
    Feb 06 16:39:13 mac logger[657]: ACPI action undefined: PNP0C0A:00
    When I ip link set ... down, I wifi-menu and it connects.  No need to ip link set ... up.
    Here's my /etc/systemd/system/netctl\@my\\x2dnetwork.service as mentioned above.
    .include /usr/lib/systemd/system/[email protected]
    [Unit]
    Description=A simple WPA encrypted wireless connection
    BindsTo=sys-subsystem-net-devices-wlp4s0.device
    After=sys-subsystem-net-devices-wlp4s0.device
    Not sure if this is relevant.  Also mentioned above.  This is /usr/lib/network/network.
    #! /bin/bash
    . /usr/lib/network/globals
    ## Check if a string represents a network interface
    # $1: potential interface name
    is_interface() {
    # Strip any old school alias specifier
    [[ -d "/sys/class/net/${1%%:?*}" ]]
    ## Add an interface
    # $1: interface type
    # $2: interface name
    # $3: interface link (optional)
    # $4...: additional arguments
    interface_add() {
    local type="$1" name="$2" link="$3"
    do_debug ip link add ${link:+link "$link"} name "$name" type "$type" "${@:4}" || return
    if [[ -x "$PROFILE_DIR/interfaces/$name" ]]; then
    source "$PROFILE_DIR/interfaces/$name"
    fi
    ## Delete an interface
    # $1: interface name
    interface_delete() {
    bring_interface_down "$1"
    ip link delete "$1"
    ## Check if an interface is up
    # $1: interface name
    interface_is_up() {
    local flags
    read flags < "/sys/class/net/${1%%:?*}/flags"
    # IFF_UP is defined as 0x1 in linux/if.h
    (( flags & 0x1 ))
    ## Activate an interface
    # $1: interface name
    bring_interface_up() {
    local interface=$1
    ip link set dev "$interface" up &>/dev/null
    timeout_wait "${TimeoutUp:-5}" 'interface_is_up "$interface"'
    ## Deactivate an interface
    # $1: interface name
    bring_interface_down() {
    local interface=$1
    ip link set dev "$interface" down &>/dev/null
    # We reuse the up timeout (down normally is faster)
    timeout_wait "${TimeoutUp:-5}" '! interface_is_up "$interface"'
    if [[ $# -ne 2 || $1 != @(start|stop) ]]; then
    exit_error "Usage: $0 {start|stop} <profile>"
    fi
    ensure_root netctl
    # Ensure we are not in a transient directory
    cd /
    # Expose the profile name
    Profile=$2
    load_profile "$Profile"
    case $1 in
    start)
    report_notice "Starting network profile '$Profile'..."
    if is_interface "$Interface" && interface_is_up "$Interface" && \
    ! is_yes "${ForceConnect:-no}"; then
    report_error "The interface of network profile '$Profile' is already up"
    exit 1
    fi
    if ! "${Connection}_up"; then
    report_error "Failed to bring the network up for profile '$Profile'"
    exit 1
    fi
    # JP: sandbox the eval
    if ! ( eval $ExecUpPost ); then
    report_error "ExecUpPost failed for network profile '$Profile'"
    # Failing ExecUpPost will take the connection down
    "${Connection}_down"
    exit 1
    fi
    report_notice "Started network profile '$Profile'"
    stop)
    report_notice "Stopping network profile '$Profile'..."
    # JP: sandbox the eval
    if ! ( eval $ExecDownPre ); then
    report_error "ExecDownPre failed for network profile '$Profile'"
    # Failing ExecDownPre will leave the profile active
    exit 1
    fi
    if ! "${Connection}_down"; then
    report_error "Failed to bring the network down for profile '$Profile'"
    exit 1
    fi
    if is_interface "$Interface" && interface_is_up "$Interface" && \
    ! is_yes "${ForceConnect:-no}"; then
    report_error "The interface of network profile '$Profile' did not go down"
    exit 1
    fi
    report_notice "Stopped network profile '$Profile'"
    esac
    Last edited by rollypolio (2015-02-07 16:37:01)

    I honestly don't remember.  I believe I was trying to set up i3status dhcp at the time.  Could have been the DHCP configuration file I created at /etc/systemd/network that broke my netctl configuration.  I should have mentioned that first.  I broke the internet and walked away two days ago and it's slowly coming back to me.  I don't follow the relation between systemd, netctl, and dhcp configuration so I'm sorry if I'm not picking up on solutions provided in your links.
    I commented the file out right after I started receiving those errors.
    $cat /etc/systemd/network/MyDhcp.network
    #[Match]
    #Name=wlp4s0
    #[Network]
    #DHCP=v4
    $ls -la /etc/systemd/network/MyDhcp.network
    drwxr-xr-x 2 root root 4096 Feb 6 09:29 .
    drwxr-xr-x 5 root root 4096 Feb 5 20:15 ..
    -rw-r--r-- 1 root root 43 Feb 6 09:29 MyDhcp.network
    $cat /etc/netctl/my-network
    Description='A simple WPA encrypted wireless connection'
    Interface=wlp4s0
    Connection=wireless
    Security=wpa
    IP=dhcp
    ESSID='ap_becca'
    # Prepend hexadecimal keys with \"
    # If your key starts with ", write it as '""<key>"'
    # See also: the section on special quoting rules in netctl.profile(5)
    Key='*********'
    # Uncomment this if your ssid is hidden
    #Hidden=yes
    # Set a priority for automatic profile selection
    #Priority=10
    #cat /etc/netctl/wlp4s0-Nexxt_5F6CB8
    Description='Automatically generated profile by wifi-menu'
    Interface=wlp4s0
    Connection=wireless
    Security=none
    ESSID=Nexxt_5F6CB8
    IP=dhcp
    #cat /etc/netctl/wlp4s0-SJBS
    Description='Automatically generated profile by wifi-menu'
    Interface=wlp4s0
    Connection=wireless
    Security=wpa
    ESSID=SJBS
    IP=dhcp
    Key=********
    I noticed the first profile does not require sudo.
    $ ls -la
    total 32
    drwxr-xr-x 5 root root 4096 Feb 2 09:32 .
    drwxr-xr-x 81 root root 4096 Feb 7 09:42 ..
    drwxr-xr-x 2 root root 4096 Jan 31 22:50 examples
    drwxr-xr-x 2 root root 4096 Jan 13 07:23 hooks
    drwxr-xr-x 2 root root 4096 Jan 13 07:23 interfaces
    -rw-r--r-- 1 root root 422 Jan 31 22:52 my-network
    -rw------- 1 root root 138 Feb 2 09:32 wlp4s0-Nexxt_5F6CB8
    -rw------- 1 root root 145 Feb 2 06:36 wlp4s0-SJBS
    I hope this helps.
    Which one should I be looking at?:
    $ls /usr/lib/systemd/system/ | grep netctl
    [email protected]
    [email protected]
    netctl.service
    [email protected]
    netctl-sleep.service
    To repeat myself, I can connect using wifi-menu after I ip link set wlp4s0 down.  I'm just looking for a fix so I can set up automatic connections.
    EDIT: I deleted /etc/systemd/network/MyDhcp.network and now it works at startup.  Any idea why a commented out file would be having an adverse effect like this?
    Last edited by rollypolio (2015-02-07 16:41:41)

  • Maybe you are looking for

    • Error while Importing ResourceObject  xml file in Deployment Manager

      Hi Everyone, I am getting this error while doing Import of HRPeopleSoftResourceObjects.xml ( A Resource Object xml file) in Deployment Manager. I am doing this step for Authoritative(Trusted Source) Reconciliation. Error Says:- Attribute not present

    • After using iVolume on a Mac, do the MP3s have iVolume tags embedded for..

      Hi Im about to buy iVolume after (finally) getting all my music in order, with titles,art,genre etc. Last thing I want to do is to normalise (level the volume) on all my MP3s I have a Mac, and heard about iVolume which does the normalisation. However

    • Randomized Colors are Too Dark. Questions on Color Boxes

      Hey all, I am attempting to change the color of the plots on a mixed signal graph remotely using the "color box" control which works fine; however, I am also setting the color boxes to a random color when the program first starts up which is where my

    • Application that connects to multiple databases.

      I am developing an application that performs many task, but one in particular is connecting to multiple databases and creating user accounts in each all with the push of a single button. I have tried putting connect statements in the trigger code but

    • Return User Defined Exceptions from SP

      Hi, Is it possible to return user defined business exceptions from a stored procedure to the dotnet app. through ODP. NET( equivalent to the throw keyword in Java)? I would prefer to handle all of the oracle expections in the try catch block of the C