RADIUSdesk

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
getting_started:20_install_ubuntu_coovachilli [2021/01/26 15:28] – [Introduction] admingetting_started:20_install_ubuntu_coovachilli [2021/06/15 22:10] (current) – [Installing CoovaChilli] admin
Line 16: Line 16:
  
 ===== Installing CoovaChilli ===== ===== Installing CoovaChilli =====
-   * The version of CoovaChilli is 1.as of this writing.+   * The version of CoovaChilli is 1.as of this writing.
    * We will download and build the .deb package from source.    * We will download and build the .deb package from source.
    * First ensure the required packages to build the .deb package are installed.    * First ensure the required packages to build the .deb package are installed.
Line 25: Line 25:
 </code> </code>
  
-   * Download the **release 1.5**'s .tar.gz file of the source here: https://github.com/coova/coova-chilli/releases +   * Download the **release 1.6**'s .tar.gz file of the source here: https://github.com/coova/coova-chilli/releases
-    A point of interest is that although the source's tar file specifies it as version 1.5; the package itself will be specified as 1.4.+
    * Before we can build the package, we have to remove a dependency (**hasrl**) specified in the Debian control file.    * Before we can build the package, we have to remove a dependency (**hasrl**) specified in the Debian control file.
    * This dependency is not required and including it causes trouble when you want to **install** the package.    * This dependency is not required and including it causes trouble when you want to **install** the package.
-   * We also have to tweak one file that specifies the compiler flags. 
-   * With the newer versions of GCC that comes with Ubuntu we have to **add** some compiler flags in order for the package to be created. 
-   * You can read more about the issue here: https://github.com/coova/coova-chilli/issues/501 
  
 <code bash> <code bash>
 # If you downloaded with wget # If you downloaded with wget
-tar -xzvf 1.5.tar.gz+tar -xzvf 1.6.tar.gz
 # If you downloaded with the browser  # If you downloaded with the browser 
-tar -xzvf coova-chilli-1.5.tar.gz +tar -xzvf coova-chilli-1.6.tar.gz 
-cd coova-chilli-1.5/+cd coova-chilli-1.6/
  
 vi debian/control vi debian/control
Line 56: Line 52:
 # adduser, # adduser,
 #----- #-----
- 
- 
- 
-vi debian/rules  
-#Look for this part 
-#------ 
-#config.status: configure 
-#        dh_testdir 
-#        CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ 
-#        --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \ 
-#------ 
-#------ CHANGE TO THIS (add -Wno-error=stringop-truncation -Wno-error=address-of-packed-member ) 
-#------ 
-#config.status: configure 
-#        dh_testdir 
-#        CFLAGS="-Wno-error=stringop-truncation -Wno-error=address-of-packed-member $(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ 
-#        --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \ 
-#------- 
- 
  
 debuild -i -us -uc -b debuild -i -us -uc -b
 cd .. cd ..
-sudo dpkg --install coova-chilli_1.4_amd64.deb+sudo dpkg --install coova-chilli_1.6_amd64.deb
 </code> </code>
    * From the output of the dpkg command you will see that CoovaChilli is by default disabled. In the next section we will configure it to become a working entity.    * From the output of the dpkg command you will see that CoovaChilli is by default disabled. In the next section we will configure it to become a working entity.
-   * You can also see it is listed as **version 1.4** although we actually downloaded and built **version 1.5** 
 <code bash> <code bash>
-sudo dpkg --install coova-chilli_1.4_amd64.deb +Selecting previously unselected package coova-chilli
-(Reading database ... 122030 files and directories currently installed.) +(Reading database ... 125842 files and directories currently installed.) 
-Preparing to unpack coova-chilli_1.4_amd64.deb ... +Preparing to unpack coova-chilli_1.6_amd64.deb ... 
-Unpacking coova-chilli (1.4) over (1.4) ... +Unpacking coova-chilli (1.6) ... 
-Setting up coova-chilli (1.4) ...+Setting up coova-chilli (1.6) ...
 Chilli default off. Look at /etc/default/chilli Chilli default off. Look at /etc/default/chilli
-Processing triggers for libc-bin (2.31-0ubuntu9.1) ... +Processing triggers for libc-bin (2.31-0ubuntu9.2) ... 
-Processing triggers for systemd (245.4-4ubuntu3.3) ...+Processing triggers for systemd (245.4-4ubuntu3.6) ...
 Processing triggers for man-db (2.9.1-1) ... Processing triggers for man-db (2.9.1-1) ...
 </code> </code>