Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| install_24_4_coova [2026/03/20 20:26] – created system | install_24_4_coova [2026/03/20 20:48] (current) – system | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| * Edit the **/ | * Edit the **/ | ||
| * Find the line net.ipv4.ip_forward=1 and comment it out. | * Find the line net.ipv4.ip_forward=1 and comment it out. | ||
| + | * Apply the change | ||
| + | <code bash> | ||
| + | sudo sysctl -p | ||
| + | </ | ||
| + | * Verify it worked | ||
| + | <code bash> | ||
| + | sysctl net.ipv4.ip_forward | ||
| + | </ | ||
| ===== Installation of CoovaChilli ===== | ===== Installation of CoovaChilli ===== | ||
| * The version of CoovaChilli at the time of writing is 1.8. | * The version of CoovaChilli at the time of writing is 1.8. | ||
| Line 25: | Line 32: | ||
| </ | </ | ||
| - | * Download the .tar.gz file of the source code of version 1.6 here: https:// | + | * Download the .tar.bz2 file of the source code of version 1.8 here: https:// |
| * Before we can build the package, we need to remove a dependency (**hasrl**) specified in the Debian control file. | * Before we can build the package, we need to remove a dependency (**hasrl**) specified in the Debian control file. | ||
| * This dependency is not required and its inclusion will cause problems if you want to install the package. | * This dependency is not required and its inclusion will cause problems if you want to install the package. | ||
| - | |||
| <code bash> | <code bash> | ||
| - | # If you downloaded with wget | + | # Extract |
| - | tar -xzvf 1.8.tar.gz | + | tar -xjf coova-chilli-1.8.tar.bz2 |
| - | # If you downloaded with the browser | + | # Change to working directory |
| - | tar -xzvf coova-chilli-1.8.tar.gz | + | |
| cd coova-chilli-1.8/ | cd coova-chilli-1.8/ | ||
| + | # Edit the control file | ||
| vi debian/ | vi debian/ | ||
| #Look for this part | #Look for this part | ||
| Line 59: | Line 64: | ||
| * From the output of the dpkg command, you can see that CoovaChilli is disabled by default. n the next section we will configure it to work. | * From the output of the dpkg command, you can see that CoovaChilli is disabled by default. n the next section we will configure it to work. | ||
| <code bash> | <code bash> | ||
| + | sudo dpkg --install coova-chilli_1.8_amd64.deb | ||
| + | ... | ||
| + | ... | ||
| Selecting previously unselected package coova-chilli. | Selecting previously unselected package coova-chilli. | ||
| - | (Reading database ... 125842 | + | (Reading database ... 263113 |
| Preparing to unpack coova-chilli_1.8_amd64.deb ... | Preparing to unpack coova-chilli_1.8_amd64.deb ... | ||
| Unpacking coova-chilli (1.8) ... | Unpacking coova-chilli (1.8) ... | ||
| Setting up coova-chilli (1.8) ... | Setting up coova-chilli (1.8) ... | ||
| Chilli default off. Look at / | Chilli default off. Look at / | ||
| - | Processing triggers for libc-bin (2.31-0ubuntu9.2) ... | + | Processing triggers for libc-bin (2.39-0ubuntu8.7) ... |
| - | Processing triggers for systemd (245.4-4ubuntu3.6) ... | + | Processing triggers for man-db (2.12.0-4build2) ... |
| - | Processing triggers for man-db (2.9.1-1) ... | + | |
| </ | </ | ||
| ===== Configuring CoovaChilli ===== | ===== Configuring CoovaChilli ===== | ||
| Line 73: | Line 80: | ||
| * Edit the following file | * Edit the following file | ||
| <code bash> | <code bash> | ||
| - | | + | sudo vi / |
| </ | </ | ||
| * Change the file so that it looks like this | * Change the file so that it looks like this | ||
| <code bash> | <code bash> | ||
| - | | + | START_CHILLI=1 |
| - | CONFFILE="/ | + | CONFFILE="/ |
| - | HS_USER=" | + | HS_USER=" |
| </ | </ | ||
| * Save the file and start CoovaChilli | * Save the file and start CoovaChilli | ||
| <code bash> | <code bash> | ||
| - | #First enable the service so that it is started at boot time | + | #First enable the service so that it is started at boot time |
| - | | + | sudo systemctl enable chilli |
| - | | + | # Feedback code should be... |
| - | | + | # chilli.service is not a native service, redirecting to systemd-sysv-install. |
| - | | + | # Executing: / |
| - | | + | sudo systemctl start chilli |
| </ | </ | ||
| * Check the feedback on our start attempt. | * Check the feedback on our start attempt. | ||
| Line 98: | Line 105: | ||
| ● chilli.service - LSB: Start CoovaChilli daemon at boot time | ● chilli.service - LSB: Start CoovaChilli daemon at boot time | ||
| | | ||
| - | | + | |
| Docs: man: | Docs: man: | ||
| - | Process: | + | Process: |
| + | CPU: 130ms | ||
| - | Jan 18 10:03:07 osboxes | + | Mar 20 20:46:20 Lenovo-IdeaPad-Y510P |
| - | Jan 18 10:03:07 osboxes | + | Mar 20 20:46:20 Lenovo-IdeaPad-Y510P |
| - | Jan 18 10:03:07 osboxes | + | Mar 20 20:46:20 Lenovo-IdeaPad-Y510P |
| - | Jan 18 10:03:07 osboxes chilli[98540]: | + | Mar 20 20:46:20 Lenovo-IdeaPad-Y510P |
| - | Jan 18 10:03:07 osboxes | + | Mar 20 20:46:20 Lenovo-IdeaPad-Y510P |
| - | Jan 18 10:03:07 osboxes | + | Mar 20 20:46:20 Lenovo-IdeaPad-Y510P |
| - | Jan 18 10:03:07 osboxes | + | Mar 20 20:46:20 Lenovo-IdeaPad-Y510P |
| - | Jan 18 10:03:07 osboxes | + | Mar 20 20:46:20 Lenovo-IdeaPad-Y510P chilli[986258]: No such device: ioctl(SIOCSIFADDR) failed |
| - | Jan 18 10:03:07 osboxes | + | Mar 20 20:46:20 Lenovo-IdeaPad-Y510P |
| - | Jan 18 10:03:07 osboxes | + | Mar 20 20:46:20 Lenovo-IdeaPad-Y510P |
| </ | </ | ||