Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.07 KB

File metadata and controls

49 lines (30 loc) · 1.07 KB

UzbekNetwork docs

Where to talk with UzbekNetwork?

UzbekNetwork uses two FIFO files, which you can use to talk with UzbekNetwork. If you want simple connect, try this command:

echo "your command here" | sudo tee /tmp/uzbeknetwork.fifo.in && cat /tmp/uzbeknetwork.fifo.out

Listing interfaces

To list all interfaces, you can use command:

list interfaces

This will send you interface list, splitted by space. UzbekNetwork can understand interfaces, starting with e (wired connections) and with w (wireless connections)

Connecting

Ethernet

interface wake YOUR_INTERFACE 

This will "wake" your interface

Wi-Fi

interface wake YOUR_INTERFACE SSID PASS

This will "wake" your interface using given ssid and pass

Scanning Wi-Fi

interface scan YOUR_INTERFACE

This will scan and send you a list of networks splitted by newline

How to connect automatically?

When started, UzbekNetwork automatically reads file /etc/uzbeknetwork.autostart. Just throw bunch of commands in this file.