Network Manager, Blueman
Hi,
I've just started using Arch Linux and I've been able to work through most problems I've encountered up until I came across this one.
I'm trying to connect my phone by bluetooth and then access my phones' internet connection. I am using blueman to connect the phone, and this seems to work ok, I right click my phone in the device window and select network access point or one of the serial ports and they report being successful and the connection starts up on my phone.
I try to ping 209.85.229.106 (google.com) and the terminal says Network is unreachable.
I am using Networkmanager too and I've tried adding a Mobile Broadband connection (GSM) using my providers APN settings but this connection does not show up when I left click to connect to a network.
Any assistance would be gratefully received. I have tried many Wikis and HowTos.
Thanks
maliciouspixies wrote:I am using Networkmanager too and I've tried adding a Mobile Broadband connection (GSM) using my providers APN settings but this connection does not show up when I left click to connect to a network.
According to this:
http://live.gnome.org/NetworkManager/MobileBroadband
NetworkManager won't support bluetooth DUN until 0.8.1. It says 'late 2009' so I guess it can't be long now.
James.
Similar Messages
-
[SOLVED] Network Manager with iPhone 3G S
OK, so work got me a shiny new iPhone 3G S today. When I'm being paid to play with it, I'll give it a shot
Anyway, I've successfully paired the iPhone over bluetooth with Arch on my laptop, which creates the bnep0 network interface. If I run dhcpcd on this interface, the iPhone gives me a DHCP lease in the 192.168.20.x subnet, and after configuring the opendns nameservers, I'm successfully tethered to the iPhone with full network connectivity
Is there a way I can get Network Manager to do the 'dhcp' and 'nameserver' parts for me? In the nm-applet GUI, there's no option for specifying interfaces or anything just "wired" (eth0) and "wireless" (wlan0) as well as the VPN, 3G etc tabs.
Also (I know someone wants to mention this), I am already aware that bluetooth is going to be speed limiting, but this connection will generally only be used for SSH sessions back to the office, so I don't really care about that. I'm happy to use bluetooth to reduce the number of cables required - already have external mouse, external hard drive, power supply and serial cable when I'm at a client site, I don't really want a USB cable to the iPhone as well. Unless Network Manager can't do this over bluetooth, but it can over USB, then I'll concede on the extra cable.
Last edited by fukawi2 (2009-10-01 02:38:02)Here's instructions for Ubuntu, I doubt there will be many discrepancies between Ubuntu and Arch though. Just translate the apt-get crap with the appropriate yaourt or pacman command.
http://undulynoted.net/2009/06/tether-i … -required/
Ubuntu:
Why oh why does apple hardware suck so hard with linux. You will get constant disconnects if your phone is more than a few feet away from the computer. But alas, it is still faster than pdanet or iphonemodem2.
If you are not on a mac congratulations, you have had fewer headaches.
Open the terminal and type:
sudo apt-get install blueman bluez-compat
This will remove wcid which hopefully isn't a problem for most of you.
It will ask you to restart, please do.
Once Ubuntu is back up click on your bluetooth icon in the upper right (which is now managed by blueman)
IMPORTANT: Right click on the bluetooth icon and choose local services. Make sure to click the radio box that says "Network manager" instead of "blueman" under the network pane. This will allow Network Manager to take over the controlling of your connection (which is good). REBOOT AFTER THIS STEP!
Go to the bluetooth settings in your iphone (Settings > General > Bluetooth) and make sure they are on.
Hit the search button in blueman and you should see your iphone after a few seconds.
WARNING: This is where it gets flaky on the macbook pro. Best results I have has is to highlight the phone in blueman and hit "Bond"
Choose to auto generate a pass on the next option. Next. Now wait for the iPhone to ask you to type in the passphrase. Type in the 4 digit one that blueman gives you. VERY IMPORTANT. While they are joining eachother keep you eye on the computer. It will ask you if you always want to trust the iPhone (device name). Hit Always or else you will have trouble.
Always initiate the connection from the iPhone. In the bluetooth settings on the iphone you will now see your computer name listed and the words "not conencted" next to it. Click it. Wait a few and it will hopefully say connected. Look back to blueman and you will now see status bars on the iphone. Right click on your iphone in blueman. Choose "Setup". Network access point is click by default so just hit "Next".
Now head over to Network Manager and you should see "Auto benp0″. Click it to connect and give it a few to generate an IP. DONE enjoy surfing the internet through your data plan without jailbreaking. I have noticed quite a few speed gains over pdanet. Also, i noticed I got better results when i used openDNS's servers (208.67.220.220 and 208.67.222.222).
If you have done everything correctly and Network Manager won't take over the connection of you can see it and it says "not managed" or something of the sort you need to check out the following:
Open terminal and type: sudo gedit /etc/network/interfaces
see if you have bnep0 located there. if you do, comment out or delete that line. and reboot your machine. -
Network manager no option for bluetooth devices
I am using network manager version 0.8.1-1
as stated in the wiki http://wiki.archlinux.org/index.php/Blu … GPRS_Howto
"Right click on nm-applet and choose "Edit Connections", choose Mobile Broadband tab, click "add" it will pop you up to choose a Mobile Broadband Connection, there you can see your bluetooth device. "
I followed this and I couldnt see any bluetooth device option in the pop up
In my previous version It was showingHello,
I'm having the same Problem with missing bluetooth modem/device when trying to add a new "Mobile Broadband" connection in NM.
Installed versions are
bluez 4.84-1
blueman 1.21-6
networkmanager 0.8.3-0.20101130
modemmanager 0.4-1
Im using Kernel 2.6.36-ARCH with KDE on my Lenovo Thinkpad X201. Mobile phone is Nokia E52 with installed Internetprofile.
Is somebody still on it?
Has someone an explaination/solution?
Best Wishes
P.S. with gnome-bluetooth doesn't work as well. It even does not serve any other services than OBEX for my Phone.
Edit: In fact gnome-bluetooth is the solution:
1) Do not use blueman-applet. Use bluetooth-applet instead (package gnome-bluetooth)
2) Re-pair Phone, enter PIN
3) Last step of the pairing wizard offers a checkbox to 'use this phone as modem'.
4) After enabling that checkbox another wizard appears to set up your mobile-internet-provider or connection details.
5) Finally the phone is listed in tray-menu of networkmanager. One click on it establishes the connection. (Disconnect works the same way)
Sadly I can't rename the connection in the tray-menu of networkmanager. This connection is not listed under "Mobile Broadband", only in tray-menu.
Last edited by pforcht (2011-01-09 02:02:38) -
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
Maybe you are looking for
-
How to get process start time from BI BPM Data Source
Hi, I would like to get the process start time using the VC data source BI_BPM_MY_PROCESSES_DS. The return parameter BI_START_TIME_VALUE returns numbers like 1.271.858.563.350,00. This seems to be ms beginning from 1970. I tried the following to get
-
Submit PDF form via email = Operation is not permited!
Hi there, I just downloaded a trial version of Acrobat 9.0 to see if we can make a bunch of our forms more user friendly and possibly interacive. I have created a form, and now I'd like to enable the user to submit the entire form by email to one of
-
HELP Need wre54g V3 setup wizard!
Hey guys, PLEASE help me out as NO ONE at linksys has been able to; I lost the setup cd and can't configure my range ext to match my router. I called cust support and tried Everything! connecting the ethernet cables using the WRE's ip address, etc an
-
The creative cloud client on my Mac is in the menubar. But it appears way to often. When I start my Computer and occasionally. The window just appears. Is there any way to hide cc from the menubar and keep the cc client window from appearing? This is
-
I have a Macbook Pro thats 2 years old. Everyday now the display just goes black, I get no picture but there seems to be power still going to the screen because you can see the black going brighter when you turn the brightness up. The only way to get