Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
install_24_4_coova [2026/03/20 20:26] – created systeminstall_24_4_coova [2026/03/20 20:48] (current) system
Line 14: Line 14:
   * Edit the **/etc/sysctl.conf**   * Edit the **/etc/sysctl.conf**
   * 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 
 +</code> 
 +  * Verify it worked 
 +<code bash> 
 +sysctl net.ipv4.ip_forward 
 +</code>
 ===== 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:
 </code> </code>
  
-   * Download the .tar.gz file of the source code of version 1.here: https://github.com/coova/coova-chilli/releases+   * Download the .tar.bz2 file of the source code of version 1.here: https://github.com/coova/coova-chilli/releases
    * 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 the package 
-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/control vi debian/control
 #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 files and directories currently installed.)+(Reading database ... 263113 files and directories currently installed.)
 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 /etc/default/chilli Chilli default off. Look at /etc/default/chilli
-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) ...+
 </code> </code>
 ===== Configuring CoovaChilli ===== ===== Configuring CoovaChilli =====
Line 73: Line 80:
   * Edit the following file   * Edit the following file
 <code bash> <code bash>
-    sudo vi /etc/default/chilli+sudo vi /etc/default/chilli
 </code> </code>
   *  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 +START_CHILLI=1 
-    CONFFILE="/etc/chilli.conf" +CONFFILE="/etc/chilli.conf" 
-    HS_USER="chilli"+HS_USER="chilli"
 </code> </code>
   * 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 +sudo systemctl enable chilli 
-   # Feedback code should be... +# Feedback code should be... 
-   # chilli.service is not a native service, redirecting to systemd-sysv-install. +# chilli.service is not a native service, redirecting to systemd-sysv-install. 
-   # Executing: /lib/systemd/systemd-sysv-install enable chilli +# Executing: /lib/systemd/systemd-sysv-install enable chilli 
-   sudo systemctl start chilli+sudo systemctl start chilli
 </code> </code>
     * 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
      Loaded: loaded (/etc/init.d/chilli; generated)      Loaded: loaded (/etc/init.d/chilli; generated)
-     Active: active (exited) since Mon 2022-01-18 10:03:07 UTC7s ago+     Active: active (exited) since Fri 2026-03-20 20:46:20 SAST11s ago
        Docs: man:systemd-sysv-generator(8)        Docs: man:systemd-sysv-generator(8)
-    Process: 98449 ExecStart=/etc/init.d/chilli start (code=exited, status=0/SUCCESS)+    Process: 986182 ExecStart=/etc/init.d/chilli start (code=exited, status=0/SUCCESS) 
 +        CPU: 130ms
  
-Jan 18 10:03:07 osboxes chilli[98540]: TX queue length set to 100 +Mar 20 20:46:20 Lenovo-IdeaPad-Y510P chilli[986258]: TX queue length set to 100 
-Jan 18 10:03:07 osboxes coova-chilli[98544]: PID 98544 loading binary options file /var/run/chilli.98540.cfg.bin +Mar 20 20:46:20 Lenovo-IdeaPad-Y510P coova-chilli[986260]: PID 986260 loading binary options file /var/run/chilli.986258.cfg.bin 
-Jan 18 10:03:07 osboxes coova-chilli[98544]: Loading modules +Mar 20 20:46:20 Lenovo-IdeaPad-Y510P coova-chilli[986260]: Loading modules 
-Jan 18 10:03:07 osboxes chilli[98540]: No such device: ioctl(SIOCSIFFLAGS) failed on eth1 +Mar 20 20:46:20 Lenovo-IdeaPad-Y510P coova-chilli[986260]: USER root(0/0), GROUP root(0/0) CHILLI[UID 122, GID 128
-Jan 18 10:03:07 osboxes coova-chilli[98544]: USER root(0/0), GROUP root(0/0) CHILLI[UID 113, GID 118+Mar 20 20:46:20 Lenovo-IdeaPad-Y510P coova-chilli[986260]: Running /etc/chilli/up.sh (0/0) 
-Jan 18 10:03:07 osboxes coova-chilli[98544]: Running /etc/chilli/up.sh (0/0) +Mar 20 20:46:20 Lenovo-IdeaPad-Y510P chilli[986258]: No such device: ioctl(SIOCSIFFLAGS) failed on eth1 
-Jan 18 10:03:07 osboxes chilli[98540]: No such device: ioctl(SIOCSIFFLAGS) failed +Mar 20 20:46:20 Lenovo-IdeaPad-Y510P chilli[986258]: No such device: ioctl(SIOCSIFFLAGS) failed 
-Jan 18 10:03:07 osboxes chilli[98540]: No such device: ioctl(SIOCSIFADDR) failed +Mar 20 20:46:20 Lenovo-IdeaPad-Y510P chilli[986258]: No such device: ioctl(SIOCSIFADDR) failed 
-Jan 18 10:03:07 osboxes chilli[98540]: No such device: ioctl(d=2, request=35111) failed +Mar 20 20:46:20 Lenovo-IdeaPad-Y510P chilli[986258]: No such device: ioctl(d=2, request=35111) failed 
-Jan 18 10:03:07 osboxes chilli[98540]: Failed to create dhcp listener on eth1+Mar 20 20:46:20 Lenovo-IdeaPad-Y510P chilli[986258]: Failed to create dhcp listener on eth1
  
 </code> </code>
  • install_24_4_coova.1774031183.txt.gz
  • Last modified: 2026/03/20 20:26
  • by system