This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
gettingstarted [2018/05/10 20:23] Denis Kenzior |
gettingstarted [2019/10/25 19:38] Tim Kourt |
||
---|---|---|---|
Line 46: | Line 46: | ||
</code> | </code> | ||
- | Now it is time to build iwd source itself. First we need to configure. If your system is not running systemd (like the test system in this example), then you should use '--disable-systemd-service' argument. | + | Now it is time to build iwd source itself. First we need to configure. There are some dependencies required to configure. They are libtool, readline development headers and glib development headers. |
+ | |||
+ | For debian based systems, run the following command | ||
+ | |||
+ | <code> | ||
+ | $ sudo apt install libtool libreadline-dev libdbus-glib-1-dev | ||
+ | </code> | ||
+ | |||
+ | If your system is not running systemd (like the test system in this example), then you should use '--disable-systemd-service' argument. | ||
<code> | <code> | ||
Line 119: | Line 127: | ||
-p, --phys Phys to manage | -p, --phys Phys to manage | ||
-P, --nophys Phys to ignore | -P, --nophys Phys to ignore | ||
- | -c, --config Configuration directory to use | ||
-l, --plugin Plugins to include | -l, --plugin Plugins to include | ||
-L, --noplugin Plugins to exclude | -L, --noplugin Plugins to exclude | ||
+ | -d, --debug Enable debug output | ||
+ | -v, --version Show version | ||
-h, --help Show help options | -h, --help Show help options | ||
</code> | </code> | ||
Line 142: | Line 151: | ||
denkenz@iwd-test ~/iwd $ client/iwctl | denkenz@iwd-test ~/iwd $ client/iwctl | ||
[iwd]# | [iwd]# | ||
- | [iwd]# device list | + | [iwd]# device list |
Devices * | Devices * | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
- | Name Address State Adapter | + | Name Address Powered Adapter Mode |
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
- | wlp2s0b1 5c:ac:4c:ab:3f:7d disconnected phy0 | + | wlp2s0b1 f6:1c:7f:ee:56:24 on phy2 station |
</code> | </code> | ||
- | Here we can see that this system has a single wireless device, 'wlp2s0b1'. Lets try to find a network to connect to: | + | Here we can see that this system has a single wireless device in 'station' mode, 'wlp2s0b1'. Lets try to find a network to connect to: |
- | </code> | + | <code> |
- | [iwd]# device wlp2s0b1 scan | + | [iwd]# station wlp2s0b1 scan |
- | [iwd]# device wlp2s0b1 get-networks | + | [iwd]# station wlp2s0b1 get-networks |
Available networks * | Available networks * | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
Line 166: | Line 175: | ||
<code> | <code> | ||
- | [iwd]# device wlp2s0b1 connect TestWPA2 | + | [iwd]# station wlp2s0b1 connect TestWPA2 |
Type the network passphrase for TestWPA2 psk. | Type the network passphrase for TestWPA2 psk. | ||
Passphrase: ********************* | Passphrase: ********************* | ||
- | [iwd]# device wlp2s0b1 get-networks | + | [iwd]# station wlp2s0b1 get-networks |
Available networks | Available networks | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |