Skip to content

Commit

Permalink
Tested and ready for release with updated documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe De Swert <philippedeswert@gmail.com>
  • Loading branch information
philippedeswert committed Nov 19, 2012
1 parent 1b6ee42 commit cdb619d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions dbus-send-test.txt
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions debian/changelog
Expand Up @@ -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

Expand Down
7 changes: 7 additions & 0 deletions docs/usb_moded-doc.txt
Expand Up @@ -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
--------------------

Expand Down

0 comments on commit cdb619d

Please sign in to comment.