On Sat, 2008-07-26 at 20:04 +0100, Robert Piasek wrote: > Hi, > > Could anyone be kind enough to send me an example of keyfile plugin file for > wireless config?
[802-11-wireless-security] key-mgmt=none wep-tx-keyidx=0 auth-alg=open wep-key0=33b7af2400ba80f060f144e195 [connection] id=Wireless connection 1 type=802-11-wireless autoconnect=true timestamp=0 [802-11-wireless] ssid=102;111;111;98;97;114; mode=infrastructure channel=0 rate=0 tx-power=0 mtu=0 security=802-11-wireless-security [ipv4] method=manual addresses1=192.168.1.2;24;192.168.1.1; routes1=192.168.1.2;24;192.168.1.1; ignore-dhcp-dns=false How I got this: 1) stop NetworkManager 2) killall -TERM nm-system-settings 3) /usr/sbin/nm-system-settings --debug --plugins=keyfile 4) /usr/bin/nm-connection-editor 5) Make a new wireless connection, fill everything out, then hit OK 6) re-open the connection and check the "System connection" checkbox, then hit OK again Steps 5 & 6 may not need to be separate, that's just how I did them because I hit OK too fast in step 5 then remembered why I was there :) The routes1 field is also bogus here and shouldn't be filled in, but apparently we're screwing something up in the connection editor. Dan > > On Saturday 19 July 2008 01:52:42 Robert Piasek wrote: > > Hi, > > > > I would like to use system wide configuration for NM, but there is no > > native plugin for my distribution. That leaves me with keyfile plugin. > > I've tried to use it, but so far without any luck. > > First I tried to find a decent example of configuration file, but I > > could only find a specification page without any examples. My tries to > > create a config file based on on that specification failed. > > > > Than I tried to save my current config by selecting system settings > > checkbox. But every time I click OK, it always comes up with the error > > message "Adding connection failed: Launch helper exited with unknown > > return code 1." (not very useful error message :p). > > BTW this error message is generated when you try to save your connection as > system-settings, and /etc/NetworkManager/nm-system-settings.conf does not > exists. > > > > Since system wide > > settings are using policykit, so I'm _guessing_ it might be related. > > I've added section below to my policykit.conf, but it didn't change > > anything. > > > > > > my PolicyKit.conf contains: > > > > <?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- --> > > > > <!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration > > 1.0//EN" > > "http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd"> > > > > <!-- See the manual page PolicyKit.conf(5) for file format --> > > > > <config version="0.1"> > > <match user="my_username"> > > <return result="yes"/> > > </match> > > </config> > > > > > > > > Any help appreciated. > > > > > > > > Cheers, > > Rob > > > > _______________________________________________ > > NetworkManager-list mailing list > > [email protected] > > http://mail.gnome.org/mailman/listinfo/networkmanager-list > > _______________________________________________ > NetworkManager-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/networkmanager-list _______________________________________________ NetworkManager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
