Changeset 531:d1cb0dadc22d in freeDiameter
- Timestamp:
- Sep 6, 2010, 2:40:16 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- contrib/OpenWRT
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/OpenWRT/HOWTO
r498 r531 66 66 # opkg update 67 67 68 8) Install freeDiameter, you're done. Optionnaly, install also certtool and libgnutls-extraon the router before, to68 8) Install freeDiameter, you're done. Optionnaly, install also certtool on the router before, to 69 69 generate the TLS certificate. 70 70 # opkg install freeDiameter … … 200 200 ============================================== 201 201 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 202 UPDATE: Starting from revision r22917, sctp and kmod-sctp are included in the OpenWRT distribution, and have been removed 203 from freeDiameter package. One may consider using a freeDiameter package prior to 2010/09/05 in order to get the sctp 204 package, or a more recent OpenWRT environment. 205 206 PREVIOUS SITUATION: If you are using components prior to 2010/09/05, the following applies: 207 P: 208 P: There are other dependencies for freeDiameter that are not provided by OpenWRT packages. 209 P: For convenience, we include these meta-packages in the freeDiameter distribution -- but they 210 P: might not be up-to-date. 211 P: 212 P: a) Adding the contributed directory to the feeds 213 P: Add the following line in your feeds.conf file: 214 P: src-link freediameter /path/to/freediameter/contrib/OpenWRT/packages/ 215 P: 216 P: Then run: 217 P: $ scripts/feeds update 218 P: 219 P: This should allow you to install the missing dependencies as follow: 220 P: 221 P: 222 P: b) SCTP library (note: you might alternatively compile freeDiameter without SCTP support). 223 P: $ scripts/feeds install sctp 224 P: 225 P: 226 P: c) Select these components in the menu: 227 P: $ make menuconfig 228 P: - Libraries ---> 229 P: sctp (M) 230 P: 231 P: Quit and save the new config, then: 232 P: $ make world 233 P: 234 P: 235 P: d) Install this on the router as well: 236 P: root@OpenWrt:~# opkg update 237 P: root@OpenWrt:~# opkg install sctp 238 239 240 ============================================== 241 4) freediameter package: 242 ============================================== 243 244 Now, your environment should be ready to compile the freeDiameter ipkg package. 245 $ scripts/feeds install freeDiameter 246 247 Note 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 225 253 Quit and save the new config, then: 226 254 $ make world 227 255 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 256 On your router, run: 257 # opkg update 258 # opkg install freeDiameter 259 260 261
Note: See TracChangeset
for help on using the changeset viewer.