Skip to content

Commit

Permalink
Need sudo for certain commands
Browse files Browse the repository at this point in the history
  • Loading branch information
TMRh20 committed Jun 17, 2024
1 parent 036480a commit 5254638
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/config_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ On the Raspberry Pi, a companion program, <a href="http://nRF24.github.io/RF24Ga
```
3. The application will require the user to specify an IP address and Subnet Mask: 10.10.2.2 and 255.255.255.0 are the defaults with RF24Ethernet examples, but this only works when running as root. Run the following commands to configure the interface and IP, where `pi` is your username:
```shell
ip tuntap add dev tun_nrf24 mode tun user pi multi_queue
ifconfig tun_nrf24 10.10.2.2/24
sudo ip tuntap add dev tun_nrf24 mode tun user pi multi_queue
sudo ifconfig tun_nrf24 10.10.2.2/24
```
4. Raspberry Pi defaults to the master node (00) using RF24Mesh. Secondary Raspberry pi nodes need to specify their RF24Network address or RF24Mesh nodeID.

Expand Down

0 comments on commit 5254638

Please sign in to comment.