Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Installing Applications: Packages and Ports - FreeNAS 11

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE
Status
Not open for further replies.

craniu3000bis

Dabbler
Joined
Jun 5, 2017
Messages
13
Hello,

For last couple of days I was search, reading and trying different method to install packages/ports in my FreeNAS
I want to install package call NoIP in order to set a Dynamic DNS on my FreeNAS

All the information i got it from HERE and from HERE
I got pretty confident that it will work so I start testing.

1. I fetch all the ports:
Code:
portsnap fetch

2.
Code:
cd /usr/ports/dns/noip

3.
Code:
make install clean

I got this error: make: "/usr/ports/Mk/bsd.port.mk" line 1148: Unable to determine OS version. Either define OSVERSION, install /usr/include/sys/param.h or define SRC_BASE.

Same error I got installing other packages, like vim

Found some related issues on mighty Google: https://forums.freebsd.org/threads/49295/
But is very inconclusive, i coudn't find any make.conf file

Any help/suggestion will be very appreciated
 
D

dlavigne

Guest
Are you doing this on FreeNAS itself or inside of a jail?

If on FreeNAS itself, don't.

Also, use Services -> Dynamic DNS if you want to use DDNS.
 

craniu3000bis

Dabbler
Joined
Jun 5, 2017
Messages
13
I'm doing on my FreeNAS not in a jail.
If I try to start DDNS from Services -> Dynamic DNS it won't start, even after system reboot.
Found on some forums that I need to install a Dynamic DNS vendor like NoIP in order to use it.
FreeNAS support multiple Dynamic DNS vendors but it doesn't have them install.
 
D

dlavigne

Guest
No-ip is supported. This bug has a hint on how to configure it. If that does not work, post the errors that you get when you try to configure.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
13,326

craniu3000bis

Dabbler
Joined
Jun 5, 2017
Messages
13
No-ip is supported. This bug has a hint on how to configure it. If that does not work, post the errors that you get when you try to configure.
I did that, save my settings but when I check the status of the Dynamic DNS service it is still showing off.

@danb35 thank you for clarifications.
 

craniu3000bis

Dabbler
Joined
Jun 5, 2017
Messages
13
I manage to start the service finally.
the Issue was on my side cause I have put the IP of the FreeNAS in the IP Server section

Provider: no-ip.com
IP Server: blank (before that I used 192.168.0.150 and my service won't start)
Domain name: testname.ddns.net
Username: User used to login to no-ip.com
Update period: 3600

My DDNS service is running
Code:
root@FreeNAS:/var/log # service inadyn-mt status
inadynmt is running as pid 71786.

Then I have try to use a ftp phone app to check if my DDNS is working
Settings I put are:

Hostname: testname.ddns.net
Type: FTP
Port: 21 (which I already forwarded in my router)
username: ftptest

and is not working. But if instead of testname.ddns.net I put my public IP works like a charm
I have run out of ideas :(
 
Last edited by a moderator:

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
13,326
Then I have try to use a ftp phone app to check if my DDNS is working
You shouldn't be able to access anything on your FreeNAS server from the public Internet, and certainly not FTP. You should not under any circumstances be forwarding ports to your FreeNAS installation, with the possible exception of port 22 (SSH), and even then it's recommended to use a random high port rather than forwarding 22 straight through.
 
Status
Not open for further replies.
Top