Connman - network manager
Hello,
I am using E17 windows manager and would like to use connman network manager, but unfortunately it does not work for me. Has anybody some tips?
PS: I do have working networkamanger (disabled now) and did had wicd (in previous install).
System boots without any errors (although it is just a bit longer in udev section, but still no errors), I can load connman module, but it is always in offline mode.
All other networking managers are disabled. My rc.conf has these daemons:
syslog-ng dbus !networkmanager crond connmand iptables slim
Recently discovered that there is connman applet, which after adding to start-up starts, takes ones icon place (white) and disappears after few second.
I tried install it from yaourt simple connman, connman git, connman-gnome-git ... they all had some results, susses-full install, but after reboot there are no internet.
Last edited by vaidotas203 (2012-04-14 18:39:00)
I switched to wicd, so this isn't an issue anymore, I guess... still not sure what was going wrong, though.
Similar Messages
-
Network Manager Can't Connect Wirelessly
Hi everyone,
I'm trying to migrate from Connman to Network Manager for my network needs (as well as from e17 to xmonad) and I'm seeing some strange behavior. I can get the network manager applet running, but it won't connect to any wireless networks. I see a bunch of networks floating around in the connections list, but if I click on one, nothing happens. Furthermore, if I try to connect by command line, I get the following weirdness
Input:
nmcli con up uuid f767eb89-ccbc-4dbe-bf12-af216ab8f9ff ap A0:21:B7:72:A3:CE
(the uuid is for my wlan0 interface and the ap is the BSSID of my network).
Output:
Active connection state: activating
Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/0
** (process:2012): WARNING **: _nm_object_get_property: Error getting 'State' for /org/freedesktop/NetworkManager/ActiveConnection/0: (19) Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
state: unknown
Error: Connection activation failed.
I'm fairly sure that I have my policy kit working correctly. I have dbus and network manager as daemons and I logged in to an xmonad session using GDM, which should do my policy management for me, right?
I think its the wrong error message for a policy kit error anyways.
Any ideas?
Thanks in advance!
Last edited by Yurlungur (2012-04-16 04:29:32)I switched to wicd, so this isn't an issue anymore, I guess... still not sure what was going wrong, though.
-
No interfaces shown in network manager [SOLVED]
Hi All,
I have just done a fresh install of Arch on my new Sony Vaio VGN-FW53GF, all goes well, except for Network Manager.
I can use my wired connection ok as eth0 shows up as active when I hover over the kde applet in the task bar. However when I go to "Manage Connections"
I do not see any Wireless networks or even my "working" wired connection in any list.
Wireless seems to be working as iwconfig shows an interface.
wlan0 IEEE 802.11abgn ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
But a scan gives this:
iwlist wlan0 scan
wlan0 Interface doesn't support scanning : Network is down
This machine is using the Intel driver "iwlagn" supplied by the kernel (2.6.31).
My /etc/rc.conf is:
# /etc/rc.conf - Main Configuration for Arch Linux
# LOCALIZATION
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
LOCALE="en_US.utf8"
HARDWARECLOCK="UTC"
USEDIRECTISA="no"
TIMEZONE="Pacific/Auckland"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# HARDWARE
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=()
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# NETWORKING
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
HOSTNAME="Laptop2"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
wlan0="dhcp"
INTERFACES=(!eth0 !wlan0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
# Network profiles are found in /etc/network.d
# This now requires the netcfg package
#NETWORKS=(main)
# DAEMONS
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
DAEMONS=(syslog-ng !network hal networkmanager netfs crond)
Can anyone offer some suggestion on how to get network manager going, I would like to use it. In the past
I have used Wicd, but it has some limitations.
Cheers,
Bernie
Last edited by bmentink (2009-12-24 04:19:49)bmentink wrote:
Ok, I found the issue. I was missing the firmware for the card. I downloaded firmware from the intel site as per the wiki on wireless and
my interface comes up (shown with ifconfig) and I can see all the networks.
However, I cannot seem to connect to my network with WPA. When I go to connect I get network manager thinking the access point is WEP and asking for pass phrase.
If I select WPA(personal) and fill in a password, nothing happens .... just says unavailable.
Can anyone give some idea's here. I have not used network manager before for WPA.
Cheers,
Bernie
I use WPA2 with network manager without a problem. It should "just work", im not sure why you have issues, can you switch your router to a different security protocol to test? -
How do I install individual driver of Killer LAN without its Network Management application?
I found sometimes the Network Management application would conflict with other online application, and in other forum an user provided a pure driver package that can solve the problem.
Here is the steps:
First you can download MSI pure Killer LAN driver from this link:
http://pan.baidu.com/s/1mgwZs96
Please uninstall old Killer LAN driver package from control panel if you already have the driver in OS.
Download and extract the RAR file to windows desktop. Double click “dpinst.exe” to install the killer driver.
It is normal if you see the message of “No device for update present” in the last step, that’ s because the driver package includes all kinds of killer LAN chip drivers, some don’t exist in your system.
Just click “Finish” to complete the driver installation. Restart system and you can start to enjoy the web surfing.
And if you encounter problem when you uninstall Killer LAN driver, you can use Killer official uninstall utility to completely remove the driver.
32 bit:
https://www.qca.qualcomm.com/drivers/KillerCleaner_32bit.exe
64 bit:
https://www.qca.qualcomm.com/drivers/KillerCleaner_64bit.exeJust install the Killer LAN driver from MSI website, the manager is always installed with the driver.
-
Mock RFP for SUN network management tool, desperate 4 help, just need specs
OK, I have a project that in essence is a mock Request for Proposal (RFP), I play as an intern, & our instructor roleplays the manager we need to convince. The different network management tools that were available were for example; HP Openview, Cisco Works, Sniffer....& I of course chose SunNet. We need to gather information on the tool, then turn around & design a relatively simple network from the specs that were given, & finally discuss how the management tool's abilities could benefit the (mock) company...power point presentation & all.
Here it is from the homework sheet given to us...."These products will need to be useful in a 5000 node network that has four main locations that are primarily Ethernet. There is a legacy 100 nodes of Token Ring attached to a mainframe. Cisco or Foundry routers connect the Four main locations, with swiches employed. Other connections to these sites are done via DSL or ISDN. Additional considerations are wireless communications, VOIP & Content delivery systems.
I know this is a lot & I'm not asking for someone to do all this for me, just simply provide any information you know about Enterprise management tools 2.0 or 3.0,or anything you may feel better suits my needs, as the links I have surfed about them give little to nothing about specifics that I need to make any argument. If you have any links send them...if you have anyting in hard copy I will pay for postage... I need to get this done & have little time as I go to school & work full time at Motorola (but only as a contractor), so I'm starting to choke & need help....any u can give is so very appreciated....& sorry to make this request a publishable novel here on the board, but thats what it is. Thanks again......MarkA good solution. Liked it very much. Can you please make it a technet blog for others.
[email protected] -
ORACLE NETWORK MANAGER 기본적인 사용방법
제품 : SQL*NET
작성날짜 : 2002-04-12
ORACLE NETWORK MANAGER 기본적인 사용방법
========================================
I. TERMINOLOGY TO KNOW BEFORE USING THIS GUIDE
A. community - a set of nodes that use the same network protocol.
B. listener - a service that waits for incoming requests from client
and server nodes.
C. system identifier - (SID) name of the Oracle database instance,
which is usually the same as the database name
II. NETWORK CONFIGURATION STEPS
A. Develop a pictorial representation of the network.
B. Provide configuration data to Network Manager.
C. Save the network configuration data and generate the configuration files.
Step A. Develop a pictorial representation of the network.
The sample network is a single protocol TCP/IP network with two
databases. Each node has one listener.
Step B. Provide configuration data to Network Manager.
Network Manager requires information about the objects in the
network before it creates the configuration files. There is an
on-line walk-through which leads you through the creation of a
network definition from the beginning (specification of definitions)
to the end (generation of the configuration files). The walk-through
provides information in pop-up boxes before each step. During the
walk through, a series of object property sheets, which gather the
data about network objects, appear with values which you may need
to alter.
** Tasks **
1. Launch Network Manager and click OK to store the network definition
in a file. In the Open window click Cancel.
2. Choose New from the File pull-down menu to start a new network
definition. Use the on-line walk through and click OK in the Network
Description dialog box.
3. In the Community property sheet, enter TCP as the name of the
community and choose TCP/IP from the protocol list box. Close the
community property sheet by clicking OK.
4. a. To define a node, enter the node name, TCP_node1, in the Node
property sheet.
b. Specify UNIX as the type of operating system in the drop-down
list.
c. Click on the community folder tab. Add TCP.WORLD to the node
community list (Note:WORLD is a default suffix) and close the
node property sheet by clicking OK.
5. Click OK to close the Node property sheet. To create the node,
TCP_node2, repeat step 4 and specify the type to be OS/2.
6. Create a listener in the Listener property sheet, by entering
TCP_listener1 as the name and choosing TCP_node1 in the node
pull-down menu to indicate what node TCP_listener1 will listen to.
Select the addresses folder tab and click Create. This defines the
address of the listener. A service address property sheet appears
with the address information as default values. Click OK.
7. Click the database folder tab to define a database for the listener.
In the Database property sheet, click Create to specify information
about the Oracle database that will be included in the network.
Enter TCP_DB1 as the name of the database. Click TCP_node1 as the
node. Enter the SID: db1. In the Operating System Specific Details
field, enter the directory path of the Oracle executables, i.e.
/usr/oracle for Unix or c:\oraos2\ for OS/2. Click OK to close the
Database property sheet.
8. Click OK to close the listener property sheet. To create
TCP_listener2, repeat steps 6-7 and substitute TCP_node2, TCP_DB2,
and db2 for the node, database, and SID, respectively.
Note: The on-line walk-through automatically validates the network configuration.
Step C. Save the network configuration data and generate configuration files.
1. Save the network definition.
2. Click File System in the Export Network Definition dialog box and
click OK. Choose the directory and click OK. The network definition
is now complete and the configuration files are generated.
III. OTHER INFORMATION
A. About the configuration files
If the network definition is saved to the file system,
Network Manager creates two types of subdirectories within the
directory chosen to store the network definition.
These are: a node specific directory, which has the same name as the
node and contact configuration files for the service the node provides,
and a client profile directory, which has the same name as the client
community and contains configuration files for each client.
B. Hardware and Software Requirements
PC with 6Mb disk, IBM or 100% compatible with an 80386 processor
or higher one CD-ROM drive
MS-DOS Version 5.0 or later and Windows 3.1Hi Steve,
1) PL/SQL API for Network Analysis is coming in Oracle 10g Release 2.
2) In Oracle 10g Release 1 it is a requirement to load the entire network. Loading the entire street network of new york city on my 1 Ghz laptop requires about 1 minute. In Oracle 10g Release 2 you can specify a predicate on the load network so you do not have to load the entire network.
3) Source code for elocation will be available as an Oracle 10g Release 2 feature (I'm not sure what the "name" of the feature is, but it is a bundling of geocoding and routing, and when combined with MapViewer is a complete "elocation in a box" type of feature.
Hope this helps. -
Trying to use wireless N with iwlwifi & network manager
Have all the h/w necessary to use wireless N:
Intel Centrino-N 1030
Linksys E3200 running Tomato 1.28
Linksys E4200 running dd-wrt 21286
Also updated everything today (pacman -Syu):
>uname -a
Linux hostname 3.12.9-2-ARCH #1 SMP PREEMPT Fri Jan 31 10:22:54 CET 2014 x86_64 GNU/Linux
So, with either router set up with as an AP at 2.4GHz and N-Only (the centrino 1030 doesn't support 5GHz), and the module defaults loaded, I see odd behavior. First, once connected to either AP, Network Manager still reports the connection to be at B/G.
I checked the module config, and this part is relevant:
>modinfo iwlwifi | grep 11n
parm: 11n_disable:disable 11n functionality, bitmap: 1: full, 2: agg TX, 4: agg RX (uint)
There's a lot of chatter on the forums about earlier kernels not supporting N w/ iwlwifi, and recommending to disable it with '11n_disable=1' in /etc/modprobe.d/iwlwifi.conf. So I tried explicitly enabling it, and assuming it's a binary value:
>cat /etc/modprobe.d/iwlwifi.conf
options iwlwifi 11n_disable=0
After reloading the module(s) (and restarting wpa_supplicant & networkmanager), the thing I'm finding confusing is that I can see evidence of this change take effect:
>cat /sys/module/iwlwifi/parameters/11n_disable
0
...but it doesn't affect the output of modinfo (same as above), nor am I able to connect to either router at N (NM still reports B/G). Also confused how it connects at all when the routers are set to N-Only?modinfo iwlwifi
That is not supposed to change. It just shows you the parameters and their valid configurations.
options iwlwifi 11n_disable=0
>cat /sys/module/iwlwifi/parameters/11n_disable
0
Did you check that it was not already 0?
...but it doesn't affect the output of modinfo (same as above), nor am I able to connect to either router at N (NM still reports B/G). Also confused how it connects at all when the routers are set to N-Only?
If the card connects with the routers set to n only, then the card is capable of working with n. I usually check with nm-tools and look at the speed indicated.
Here is the thing: Routers and cards sometimes negotiate a lower speed to prevent intereference with other devices. I usually 'get' N-speed only once I start to saturate the link. -
Oracle BPM for Network Management Projects
Has anybody used Oracle BPM for network management projects with millions of events?
Can Oracle BPM handle it?Please follow this step may this solve your problem.
please modify any thing in process "ExpenseReporting" for example any transition or any activity to place some where else or any other modification and then save that process. Then clean the project and build and deploy it.
if this also not solve the problem then export that project to and import it again in your workspace (Create new workspace or change the project name in same workspace ) and then again clean, build and deploy the application then test in work space.
Thanks,
Brijesh Kumar Singh -
Hi Everybody
I just tried to play a little with gnome-network-manager from AUR, first of all the normal network manager was missing a few files, but I managed to find them(http://aur.archlinux.org/packages/networkmanager/networkmanager/).
But when i start up gnome, it is shown fine in the Status Area, and shows all the networks, but it won't connect to any...
When connecting to an unencrypted network it says it is waiting for the network, when connecting to an encrypted network, it is waiting for the key to be verified.
My assumption is, that it is waiting for DHCP, in both cases.
If I use wifi-radar it gets an IP perfectly, also if I use dhclient or dhpcd it works fine.
Any suggestions?I tried to use the one from testing, along with the gnome GUI from testing, but with no luck...
As you can see here, it tells me it is waiting fr the key, http://gallery.timmy.dk/Screenshots/gno … anager.png
But in the consle, iwconfig says I'm already connected...
So I'm pretty sure there something wrong with the dhcp -
Xfce4 and gnome-network-manager [solved]
I just made a clean install of archlinux. installed xorg and Xfce4, xfce-goodies, gnome-panel, gnome-desktop and gnome-network-manager. also I enabled GNOME services in startup and sessions. how do I start that network manager now? is nowhere in the settings, nor there is icon to add to the taskbar (i got xfapplets installed too)
Last edited by anarxi (2009-01-14 00:22:42)quoted from a previous thread
I solved it by uncommenting my <locale><charset> in /etc/locale.gen.
First you have to enable the locales you want being supported by your system. To enable or disable them, the file /etc/locale.gen is used. It contains every locale you can enable, and you have just to uncomment lines you want to do so.
As we want to setup an english UTF-8 conform system, we want to enable en_US.UTF-8. But for compatibility to programs that don't support UTF-8 yet, it's recommended to support any other locale, prefixed with en_US as well. Having this in mind, we enable this set of locales:
en_US.UTF8 UTF-8
en_US ISO-8859-1
After you've enabled the necessary locales, you have to run locale-gen as root to update them:
# sudo locale-gen
Generating locales...
en_US.UTF-8... done
en_US.ISO-8859-1... done
Generation complete. -
Gnome-network-manager problems
Hello all,
I'm trying to use gnome-network-manager to connect to my wifi as it is WEP enabled and I don't know how to get it working in 'network'.
I followed this tutorial: http://wiki.archlinux.org/index.php/NetworkManager
However, when I reboot under those settings, I can't connect to anything, including ethernet.
Is there a problem in the wiki or is there a workaround that hasn't been posted there yet? I'm utterly confused as to why it will not work.
Also, if you need me to paste any code from any file, can you also tell me an easy way to copy/paste between aterm and Opera as I haven't found a way to do that yet.
Thank you very much for any help.
Matt[matt@myhost ~]$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 IEEE 802.11g ESSID:"3KR98"
Mode:Managed Frequency:2.427 GHz Access Point: 00:18:01:E0:43:1A
Bit Rate:54 Mb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=21/100 Signal level=-72 dBm Noise level=-87 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:76 Missed beacon:31
[matt@myhost ~]$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0F:B0:A1:71:02
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20f:b0ff:fea1:7102/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:82717 errors:300 dropped:592 overruns:300 frame:0
TX packets:61302 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:79395572 (75.7 Mb) TX bytes:9179527 (8.7 Mb)
Interrupt:22 Base address:0x6800
eth1 Link encap:Ethernet HWaddr 00:13:CE:6A:FE:C1
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::213:ceff:fe6a:fec1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:309 errors:0 dropped:76 overruns:0 frame:0
TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2420181 (2.3 Mb) TX bytes:2012 (1.9 Kb)
Interrupt:23 Base address:0x4000 Memory:bc005000-bc005fff
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:232 errors:0 dropped:0 overruns:0 frame:0
TX packets:232 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:20464 (19.9 Kb) TX bytes:20464 (19.9 Kb)
ill post output of disabling gnome-net-manager in a bit (i have to reboot and save it as a file first).
also, im running fluxbox, not gnome, so could that be part of the problem? am i missing something flux specific? -
Gnome-network-manager & XFCE 4.4
Hey guys, someone know if gnome-network-manager also run on XFCE 4.4?
It won't run on my XFCE
Solutions to problem?
Bye,
RiccardoCaptain Spaulding wrote:
OK, open NetworkManager.conf and search for the line
<policy at_console="true">
and add this line:
<allow own="org.freedesktop.NetworkManagerInfo"/>
That, at least, should fix your initial issue. I have only just begun to learn more about dbus, so I have no clue about the second problem.
Mmmmm no entries as <policy at_console="true"> in my NetworkManager.conf....
So here we are my NetworkManager.conf:
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
<allow own="org.freedesktop.NetworkManager"/>
<allow send_destination="org.freedesktop.NetworkManager"/>
<allow send_interface="org.freedesktop.NetworkManager"/>
</policy>
<policy group="users">
<allow send_destination="org.freedesktop.NetworkManager"/>
<allow send_interface="org.freedesktop.NetworkManager"/>
</policy>
<policy user="hal">
<allow send_destination="org.freedesktop.NetworkManager"/>
<allow send_interface="org.freedesktop.NetworkManager"/>
</policy>
<policy context="default">
<deny own="org.freedesktop.NetworkManager"/>
<deny send_destination="org.freedesktop.NetworkManager"/>
<deny send_interface="org.freedesktop.NetworkManager"/>
</policy>
</busconfig> -
[SOLVED] Network manager only works as root
Hello everyone,
I am brand new to arch and have been quite impressed over the past few days over all it has to offer. Everything has been running quite smoothly and I am now in the process of setting up wireless. I installed network manager and was able to connect to a wireless network as root. For my regular user, however, I am running into some issues. First one was that the nm-applet could not be opened in fluxbox. I received the following error:
** (nm-applet:1576): WARNING **: <WARN> request_name(): Could not acquire the NetworkManagerUserSettings service.
Error: (9) Connection ":1.27" is not allowed to own the service "org.freedesktop.NetworkManagerUserSettings" due to security policies in the configuration file
I "fixed" this by adding the following to /etc/dbus-1/system.d/nm-applet.conf. Original credit goes to the user in this thread (I only slightly modified his code): https://bbs.archlinux.org/viewtopic.php?id=63576
<!-- hack -->
<policy user="myusername">
<allow own="org.freedesktop.NetworkManagerUserSettings"/>
<allow send_destination="org.freedesktop.NetworkManagerUserSettings"/>
<allow send_interface="org.freedesktop.NetworkManagerUserSettings"/>
<deny send_interface="org.freedesktop.NetworkManagerSetting.Secrets"/>
</policy>
<!-- end of hack -->
Now the applet shows up for my regular user, the problem being that it doesn't connect to the wireless networks (only wired). Whenever I try to connect to wireless, nothing happens (the symbol doesn't change in any way, i.e. the green spheres should start circling); I am still able to succesfully connect to wireless using root. Does anyone know what the source of this issue may be? Thank you very much in advance.
Last edited by Ipozya (2011-01-20 04:49:55)Solved: Had to install consolekit and add "ck-launch-session" to my .xinitrc file when starting fluxbox.
Edit: Please note that this also allowed me to remove the previous change to nm-applet.conf (no longer necessary)!
Last edited by Ipozya (2011-01-20 04:54:20) -
[SOLVED]Network Manager dispatcher unexpected unmounting davfs folders
I have used Network Manager dispatcher to configure automatic mount of cloud storage using webdav. i have used davfs2 to perform mounting and wrote a script for NM dispatcher.
If i run /etc/NetworkManager/dispatcher.d/10-YandexDisk.sh manualy all works perfect.
If this script will be executed by NM-dispatcher all will fine(YandexDisk mounts successfully, sycronization - successfully), but after ~10 seconds mount.davfs gets signal 15.
sudo systemctl status NetworkManager-dispatcher
NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service
Loaded: loaded (/usr/lib/systemd/system/NetworkManager-dispatcher.service; enabled)
Active: inactive (dead) since Wed 2013-07-31 23:12:55 EEST; 11s ago
Process: 12132 ExecStart=/usr/lib/networkmanager/nm-dispatcher.action (code=exited, status=0/SUCCESS)
Jul 31 23:12:44 DellLaptop nm-dispatcher.action[12132]: --- yandex.ru ping statistics ---
Jul 31 23:12:44 DellLaptop nm-dispatcher.action[12132]: 2 packets transmitted, 2 received, 0% packet loss, time 1000ms
Jul 31 23:12:44 DellLaptop nm-dispatcher.action[12132]: rtt min/avg/max/mdev = 36.570/37.776/38.983/1.222 ms
Jul 31 23:12:44 DellLaptop mount.davfs[12138]: davfs2 1.4.7
Jul 31 23:12:44 DellLaptop mount.davfs[12138]: mount.davfs -o auto,nodev,dir_mode=755,exec,file_mode=755,gid=users,_netdev,rw,uid=lexa https://webdav.yandex.ru/ /home/lexa/.../YandexDisk
Jul 31 23:12:44 DellLaptop nm-dispatcher.action[12132]: >mounted https://webdav.yandex.ru/ to /home/lexa/Data/YandexDisk
Jul 31 23:12:44 DellLaptop nm-dispatcher.action[12132]: >exiting!!
Jul 31 23:12:55 DellLaptop mount.davfs[12140]: pid 12140, got signal 15
Jul 31 23:12:55 DellLaptop mount.davfs[12140]: unmounting /home/lexa/Data/YandexDisk
Jul 31 23:12:55 DellLaptop mount.davfs[12140]: unmounting failed
Why does this happen? Who send this signal ?
/etc/NetworkManager/dispatcher.d/10-YandexDisk.sh
#!/bin/bash
#this script will mount WebDav folder
# by pirat9600q
#given arguments are
#$1 is interface name
#$2 is state "up" or "down"
eth="enp7s0" #ethernet interface
wlan="wlp8s0" #wireless interface
ignore_connections="Pirat9600q" #WiFi SSIDs that must be ignored
mount_dir="/home/lexa/Data/YandexDisk" #mount point directory
remote_server="https://webdav.yandex.ru/" #server address
#local acces options
local_user="lexa" #files owner user
local_group="users" #files owner group
echo "<<<started with '$1' and '$2' arguments>>>"
echo "> our mount dir is '$mount_dir'"
echo "> and remote server is '$remote_server'"
case "$2" in
up)
#first of all we need to check internet connection
if (ping -c 2 -q yandex.ru); then
#we are online
if [ "$1" = "$wlan" ]; then
#Does this network is ignored ?
SSID=$(iwgetid -r)
for x in $ignore_connections; do
if [ "$x" = "$SSID" ]; then
echo "> WiFi SSID '$SSID' is in ignore list, exiting"
exit
fi
done
fi
if [ ! -d "$mount_dir" ]; then
fusermount -u "$mount_dir"
fi
if(mount.davfs -o auto,nodev,dir_mode=755,exec,file_mode=755,gid=$local_group,_netdev,rw,uid=$local_user "$remote_server" "$mount_dir"); then
echo ">mounted $remote_server to $mount_dir"
echo ">invoking syncronization script"
/home/lexa/.scripts/SyncYandexDisk.sh
else
echo ">error mounting $remote_server to $mount_dir !!!"
fi
else
echo ">network down";
exit
fi;;
down)
echo ">unmounting '$mount_dir'"
fusermount -u "$mount_dir"
echo ">removing $mount_dir"
rmdir $mount_dir
echo ">finished";;
esac
echo ">exiting!!"
exit
/home/lexa/.scripts/SyncYandexDisk.sh
#!/bin/bash
#this script will synchronize local storage
#with mounted Yandex Disk folder
# by pirat9600q
source_dir="/home/lexa/Data/YandexDisk/" #mount point directory
dest_dir="/home/lexa/Data/ARC/CloudSync/" #local storage location
echo "<<<started with:"
echo " source folder '$source_dir'"
echo " and destination folder '$dest_dir'"
if [ ! -L ${source_dir}Foto ]; then #if not link
echo ">invoking syncronization from '$source_dir' to '$dest_dir'"
echo ">syncronizing 'Foto' folder"
if !(rsync --quiet --recursive --update --executability --owner --group --delete-before ${source_dir}Foto/ ${dest_dir}Foto/); then
echo ">>error"
else
echo ">>success"
fi
echo ">syncronizing 'Documents' folder"
if !(rsync --quiet --recursive --update --executability --owner --group --delete-before ${source_dir}Documents/ ${dest_dir}Documents/); then
echo ">>error"
else
echo ">>success"
fi
else
echo ">syncronization will not be made, because source is fake"
fi
echo ">exiting"
exit 0
P.S. sorry for my English
Last edited by pirat9600q (2013-08-02 08:14:44)I solved the problem. Here is a little explanation.
After NetworkManager establishes network connection, NetworkManager-dispatcher service is started( for ~10 seconds). This service execute /usr/lib/networkmanager/nm-dispatcher.action, which execute scripts in /etc/NetworkManager/dispatcher.d. After exiting nm-dispatcher.action mount.davfs process appears in NetworkManager-dispatcher`s CGroup. By default all processes in CGroup must be killed when service stops. To change this behavior I have added KillMode=process to [Service] section of NetworkManager-dispatcher.service file.
sudo nano /usr/lib/systemd/system/NetworkManager-dispatcher.service
Here is it`s code now.
[Unit]
Description=Network Manager Script Dispatcher Service
[Service]
Type=dbus
BusName=org.freedesktop.nm_dispatcher
ExecStart=/usr/lib/networkmanager/nm-dispatcher.action
KillMode=process
[Install]
WantedBy=multi-user.target
Alias=dbus-org.freedesktop.nm-dispatcher.service -
[solved] Network manager error
I installed network manager as the wiki says, added myself to the network group and added the policy kit file. When I did this process on my main box, it worked perfectly, but on my laptop running largely the same things (except 32 bit not 64) I'm getting a little authentication box whenever my network interface comes up, asking for root's password. I put it in, and it instantly says it disconnected. If I run nm-applet from a terminal, I get this error after typing in root's password:
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
I'm using xfce if that makes any difference. Anyone got anything I can try?
Oh and the only reason I'm using NM is because I'm sick of wicd deciding HERP DERP IMA DISCONNECT RIGHT NOW and then not connecting again afterwards. Though since NM isn't working I have to use wpa_supplicant and dhcpcd directly myself.
EDIT: Ooops, this is the wrong section Could a mod please move it to Networking?
Last edited by biltong (2011-09-12 12:58:28)Now I find gnome-keyring is not installed. That should be made a dependancy for network manager. I also (thanks to that thread) double checked I had the file the wiki said I needed to create, and it turns out I made a typo with my extension. It had .plka instead of .pkla XD Mah bad! So now I just need to get wpa_supplicant to connect one more time and I should be good to go
Maybe you are looking for
-
We updated our Apple ID's with our new email and home address etc... with no issues. But.....icloud won't update and I can't figure out how to edit it. It shows the old Apple ID info.
-
Error while validating Business rules in EAS
Hi, Iam new to hyperion. I created business rule in EAS (using a user with businessrule admin role). when i tried to validate the same, it gives an error message like *"Unable to validate or run this business rule. Detail:Exception occurred. Please c
-
Problems updating to 3.1.2 & syncing
I'm getting fed up of this iphone!!! For some reason my phone does not want to update to the latest version available to it - 3.1.2 - but there is no message coming up that says what the problem is or even that it hasn't workedwhen I connect it to th
-
My touch id is not working for app purchasing loading up my ipod touch back up
my touch id is not working for app purchasing after loading up my iPod touch back up to the iPhone 5S
-
Tcode: MR8M---Logistic invoice verification'document can't be reversed
Dear Experts. I have a logistic invoiceverification' document and use tcode:MR8M to reverse it ,but can't be reverseed ,the system issue the wrong information :"No reversal possible. Reverse value must be reset".please tell me how I should do? than