Commit cdb619d2 authored by phdeswer's avatar phdeswer

Tested and ready for release with updated documentation

Signed-off-by: phdeswer's avatarPhilippe De Swert <philippedeswert@gmail.com>
parent 1b6ee424
......@@ -2,6 +2,7 @@ dbus-send --system --type=method_call --print-reply --dest=com.meego.usb_moded /
dbus-send --system --type=method_call --print-reply --dest=com.meego.usb_moded /com/meego/usb_moded com.meego.usb_moded.set_mode string:'ovi_suite'
dbus-send --system --type=method_call --print-reply --dest=com.meego.usb_moded /com/meego/usb_moded com.meego.usb_moded.set_config string:'ovi_suite'
dbus-send --system --type=method_call --print-reply --dest=com.meego.usb_moded /com/meego/usb_moded com.meego.usb_moded.set_mode string:'mass_storage'
dbus-send --system --type=method_call --print-reply --dest=com.meego.usb_moded /com/meego/usb_moded com.meego.usb_moded.net_config string:'ip' string:'192.168.2.15'
security extra:
aegis-exec -a usb-moded::USBControl
......
......@@ -2,6 +2,7 @@ usb-moded (0.54) unstable; urgency=low
* Instead of spawning shells with system() use libkmod
* Make config file optional as defaults work for most
* Add dbus method to set network configuration
-- Philippe De Swert <philippedeswert@gmail.com> Tue. 13 Nov 2012 18:56:23 +0300
......
......@@ -103,6 +103,13 @@ By default usb0 will be used, so no need to fill it in if not needed. The gatewa
and will not be set if there is no value filled in.
If the ip is set to dhcp, usb_moded will try to use dhcp to configure the network (requires dhclient atm)
The network configuration can also be set with dbus method calls via the net_config method.
This requires two strings as arguments. Supported are: ip, interface and gateway
for exmaple:
dbus-send --system --type=method_call --print-reply --dest=com.meego.usb_moded /com/meego/usb_moded com.meego.usb_moded.net_config string:'ip' string:'192.168.2.15'
Functional overview
--------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment