Navigation


Changeset 531:d1cb0dadc22d in freeDiameter


Ignore:
Timestamp:
Sep 6, 2010, 2:40:16 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

SCTP support added upstream in OpenWRT: r22917 in openwrt, r22912 in packages

Location:
contrib/OpenWRT
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/OpenWRT/HOWTO

    r498 r531  
    6666# opkg update
    6767
    68 8) Install freeDiameter, you're done. Optionnaly, install also certtool and libgnutls-extra on the router before, to
     688) Install freeDiameter, you're done. Optionnaly, install also certtool on the router before, to
    6969   generate the TLS certificate.
    7070# opkg install freeDiameter
     
    200200==============================================
    201201
    202 There are other dependencies for freeDiameter that are not provided by OpenWRT packages.
    203 For convenience, we include these meta-packages in the freeDiameter distribution -- but they
    204 might not be up-to-date.
    205 
    206 a) Adding the contributed directory to the feeds
    207   Add the following line in your feeds.conf file:
    208 src-link freediameter /path/to/freediameter/contrib/OpenWRT/packages/
    209 
    210 Then run:
    211 $ scripts/feeds update
    212 
    213 This should allow you to install the missing dependencies as follow:
    214 
    215 
    216 b) SCTP library (note: you might alternatively compile freeDiameter without SCTP support).
    217 $ scripts/feeds install sctp
    218 
    219 
    220 c) Select these components in the menu:
    221 $ make menuconfig
    222 - Libraries --->
    223    sctp (M)
    224 
     202UPDATE: Starting from revision r22917, sctp and kmod-sctp are included in the OpenWRT distribution, and have been removed
     203from freeDiameter package. One may consider using a freeDiameter package prior to 2010/09/05 in order to get the sctp
     204package, or a more recent OpenWRT environment.
     205
     206PREVIOUS SITUATION: If you are using components prior to 2010/09/05, the following applies:
     207P:
     208P: There are other dependencies for freeDiameter that are not provided by OpenWRT packages.
     209P: For convenience, we include these meta-packages in the freeDiameter distribution -- but they
     210P: might not be up-to-date.
     211P:
     212P: a) Adding the contributed directory to the feeds
     213P:   Add the following line in your feeds.conf file:
     214P: src-link freediameter /path/to/freediameter/contrib/OpenWRT/packages/
     215P:
     216P: Then run:
     217P: $ scripts/feeds update
     218P:
     219P: This should allow you to install the missing dependencies as follow:
     220P:
     221P:
     222P: b) SCTP library (note: you might alternatively compile freeDiameter without SCTP support).
     223P: $ scripts/feeds install sctp
     224P:
     225P:
     226P: c) Select these components in the menu:
     227P: $ make menuconfig
     228P: - Libraries --->
     229P:    sctp (M)
     230P:
     231P: Quit and save the new config, then:
     232P: $ make world
     233P:
     234P:
     235P: d) Install this on the router as well:
     236P:  root@OpenWrt:~# opkg update
     237P:  root@OpenWrt:~# opkg install sctp
     238
     239
     240==============================================
     2414) freediameter package:
     242==============================================
     243
     244Now, your environment should be ready to compile the freeDiameter ipkg package.
     245$ scripts/feeds install freeDiameter
     246
     247Note that in order to build this package, you need to have cmake & flex on your compilation machine.
     248
     249$ make menuconfig
     250- Network --->
     251   freeDiameter (M)
     252   
    225253Quit and save the new config, then:
    226254$ make world
    227255
    228 
    229 d) Install this on the router as well:
    230  root@OpenWrt:~# opkg update
    231  root@OpenWrt:~# opkg install sctp
    232 
    233 
    234 ==============================================
    235 4) freediameter package:
    236 ==============================================
    237 
    238 Now, your environment should be ready to compile the freeDiameter ipkg package.
    239 $ scripts/feeds install freeDiameter
    240 
    241 Note that in order to build this package, you need to have cmake & flex on your compilation machine.
    242 
    243 $ make menuconfig
    244 - Network --->
    245    freeDiameter (M)
    246    
    247 Quit and save the new config, then:
    248 $ make world
    249 
    250 
    251 
    252 
     256On your router, run:
     257# opkg update
     258# opkg install freeDiameter
     259
     260
     261
Note: See TracChangeset for help on using the changeset viewer.