Dan Williams
f6c383ff14
policy: be more selective when adding hostname to /etc/hosts (debian #567411 )
...
If the user has already mapped the hostname to some other address,
assume the user knows what they are doing (since they probably do)
and leave that mapping alone, and create a minimal 127.0.0.1 entry.
If there was no hostname mapping, add it to the 127.0.0.1 entry
like NM did before.
2010-02-01 17:29:58 -08:00
Dan Williams
0a5a0146f8
bluetooth: finish DUN implementation
2010-01-28 11:21:53 -08:00
Dan Williams
75898f075b
bluetooth: minor cleanup for device connect
2010-01-27 17:28:35 -08:00
Dan Williams
4e5539c895
Merge commit 'origin/master' into btdun
2010-01-27 17:21:06 -08:00
Dan Williams
2d982646b4
trivial: clearer hostname fallback message
2010-01-27 17:16:58 -08:00
Dan Williams
72f936db31
policy: fall back to original hostname before trying reverse DNS
...
Having the original hostname checks in the settings-service code
didn't allow the policy enough granularity to differentiate between
a plugin-provided hostname and the original hostname. We want to
fall back to the original hostname if there isn't a persistent
hostname (from a plugin) and if there isn't a DHCP-provided
hostname. Moving the original hostname checks to the policy
makes that possible. Clarify the precedence order at the same
time, and minimally validate the DHCP hostname as well.
2010-01-27 17:13:35 -08:00
Dan Williams
35c4b97d7d
dhcp6: first stab at autoconf otherconf/managed mode support
2010-01-27 16:20:09 -08:00
Dan Williams
bfcb57f1b9
Merge commit 'origin/master' into dhcp6
2010-01-22 12:06:04 -08:00
Dan Williams
6400f5cb77
misc: license fixups
...
All libs are LGPL, all binaries are GPL.
2010-01-21 15:11:50 -08:00
Dan Williams
ac2505b64c
Merge commit 'origin/master' into dhcp6
2010-01-20 15:42:26 -08:00
Ozan Çağlayan
51a95abef3
backends: add backend for Pardus
2010-01-20 13:37:52 -08:00
Jerone Young
de2205a24e
core: ensure failed /etc/hosts update writes out well-formatted file (lp#471498)
2010-01-19 20:37:46 -08:00
Dan Williams
fbe413cbcd
dhcp: ensure DHCP client is stopped on timeout
2010-01-15 12:50:38 -08:00
Dan Williams
f9bd97020d
ipv6: push router advertisement flags to listeners
2010-01-14 22:57:51 -08:00
Dan Williams
d20c61a1d6
olpc-mesh: fix companion path and active channel property types
...
Companion device should be an object path instead of a string, and
the introspection data property type for the active channel was
wrong.
2010-01-14 14:30:02 -08:00
Dan Williams
d41c35fbf8
netlink: work around kernel cache refill problems
...
Sometimes cause the cache not to refill with all interfaces,
meaning NM sometimes got the wrong carrier state from the
kernel which prevented NM from taking over existing connections.
2010-01-14 14:15:18 -08:00
Dan Williams
a9e32f3c3b
dhcp: add initial DHCPv6 support (managed mode only)
2010-01-14 00:45:10 -08:00
Dan Williams
f094e0ad9d
dhcp: dhclient leasefile and pidfile fixes for IPv6
...
Don't use the same lease and pid files for IPv6 as for IPv4.
2010-01-14 00:39:58 -08:00
Dan Williams
439768db3d
dhcp: add the NMDHCP6Config object
2010-01-13 22:30:40 -08:00
Dan Williams
9e805187cd
core: rename some DHCPv4 specific variables
2010-01-13 18:06:05 -08:00
Dan Williams
2a718bbb1b
core: simplify DHCP setup and cleanup
...
nm_device_set_use_dhcp() and nm_device_get_use_dhcp() were somewhat
confusing and don't really reflect the new DHCP architecture with
NMDHCPClient. Now that timeout and state signals are specific to
the NMDHCPClient it doesn't make sense to check for DHCP use
in the callbacks for those signals since they'll never get called
if DHCP isn't in use. We might as well just keep the DHCP manager
around and check whether a DHCP client instance exists when we need
to figure out whether DHCP is in use.
2010-01-13 17:59:54 -08:00
Dan Williams
3568a98a61
dhcp: fix dhcp 4/6 mixup
2010-01-13 17:59:19 -08:00
Dan Williams
fe62e59c7e
dhcp: add DHCPv6 functionality
2010-01-13 16:51:20 -08:00
Dan Williams
81f23ea383
dhcp: actually use runtime-selected DHCP client
2010-01-12 23:07:44 -08:00
Dan Williams
702836b42f
dhcp: allow runtime DHCP client selection via config file
2010-01-12 22:55:24 -08:00
Dan Williams
1806235049
dhcp: convert dhcp backends to classes
2010-01-12 22:09:28 -08:00
Dan Williams
d997785db3
dhcp6: genericize DHCP client tracking
...
Since the same interface could be used for both DHCPv4 and DHCPv6 we
can't just use 'iface' for tracking DHCP client lease changes. Instead
use a generated client ID, and track DHCP events based on the client's
PID instead of interface name.
2010-01-08 17:16:05 -08:00
Dan Williams
3ee1eb7a6c
dhcp6: add dhclient ipv6 states
2010-01-08 15:22:11 -08:00
Tambet Ingo
7a36b31ced
Merge branch 'master' into wimax
2009-12-29 16:09:17 +02:00
Tambet Ingo
302e62d9c7
core: Fix another crash
...
Need to check if the killswitch type has an object filter function
before trying to use it (in other location as well).
2009-12-29 15:52:36 +02:00
Tambet Ingo
20a4c6c6b6
wimax: Implement RFKILL handling
...
Implement and export over DBus WiMAX enable/disable and hardware state query.
2009-12-29 11:27:10 +02:00
Tambet Ingo
ac0f32537e
Merge branch 'master' into wimax
2009-12-29 11:25:37 +02:00
Dan Williams
644dabd7ab
core: fix crash after wake due to 8f4d4c0463
...
Need to check if the killswitch type has an object filter function
before trying to use it.
2009-12-28 15:20:02 -06:00
Dan Williams
f9318dac55
core: fix reading WWAN state from state file
2009-12-25 14:42:44 -06:00
Dan Williams
58df1b6e36
core: fix error when parsing state file for WirelessEnabled fails
...
Found by Chen Jie <chenj@lemote.com>.
2009-12-25 14:33:02 -06:00
Dan Williams
6a6e231b3e
supplicant: remove unused variables
2009-12-23 11:10:47 -08:00
Dan Williams
412cd1afbf
core: fix possible erroneous warning on auto-ip events
...
Remove unused variable too.
2009-12-23 11:10:11 -08:00
Dan Williams
870cfa489e
wifi: remove useless assignment
2009-12-23 11:09:37 -08:00
Dan Williams
d6799281e1
ethernet: remove unused variable
2009-12-23 11:09:22 -08:00
Dan Williams
0075b41510
dhcp: clarify ignored variable name
2009-12-23 11:08:56 -08:00
Dan Williams
a0984585af
modem: ensure deactivation on disable only happens on disable
2009-12-23 02:44:21 -08:00
Dan Williams
212220f0b4
Merge commit 'origin/master' into btdun
2009-12-23 01:46:59 -08:00
Dan Williams
ac38d65d6d
modem: fix activation after 1379af271138202d406de585cbdcd491ac11ed01
...
Got the return semantics of dbus_g_proxy_end_call() wrong...
2009-12-23 01:30:55 -08:00
Dan Williams
154a41dec9
modem: ensure device is deactivated if the modem is disabled underneath NM
2009-12-23 01:30:54 -08:00
Dan Williams
f61af8e139
modem: enable modem before connecting if required
2009-12-23 01:30:54 -08:00
Dan Williams
8f4d4c0463
manager: add WWAN enable/disable support
2009-12-23 01:30:54 -08:00
Dan Williams
a0f732c8cb
modem: proxy the ModemManager Enabled property
2009-12-23 01:30:54 -08:00
Dan Williams
5605709e80
manager: generalize rfkill operations
...
So it's easier to support other killswitches like WWAN and WiMAX.
2009-12-23 01:30:54 -08:00
Dan Williams
843c251d26
core: add statefile support for WWAN devices
2009-12-23 01:30:54 -08:00
Dan Williams
c80b729e77
udev: add support for other types of rfkill switches
2009-12-23 01:30:54 -08:00