IP adresa

Evo nadam se da sam postavio temu na odgovarajucem mjestu :). Imam problem sa namjestanjem no-ip softvera .Naime on bi trebao da pri svakoj promjeni moje IP adrese postavi istu da resolv na neki hostname (npr. amar.no-ip.org) i tako bi imao ‘staticku’ IP. Problem je u sljedecem kada pokrenem binary file :

:~/noip-2.1.1/binaries> ./noip2-Linux
Can’t locate configuration file /usr/local/etc/no-ip2.conf. (Try -c). Ending!

Pokusao sam i ovo :

~/noip-2.1.1/binaries> ./noip2-Linux -C

Auto configuration for Linux client of no-ip.com.

Can’t create config file (/usr/local/etc/no-ip2.conf)
No such file or directory
Re-run noip, adding ‘-c configfilename’ as a parameter.

Pa ako je iko radio s ovim bio bi mu zahvalan da mi pomogne :slight_smile:

Pokrećeš kao root ili korisnik? Da li postoji datoteka /usr/local/etc/no-ip2.conf? -C ili -c?

mashina:/usr/local # ls
. … bin doc games include kde lib man rav8 sbin share src

Samo ovo ima :? tj. nema etc uopste

Sa root kad pokrenem isto je sve a ovo gore sam uradio sa -C, a sa -c izadje ovo:

/noip2-Linux -c
./noip2-Linux: option requires an argument – c

USAGE: noip2-Linux [ -C [ -F][ -Y][ -U #min]
[ -u username][ -p password][ -x progname]]
[ -c file][ -d][ -D pid][ -i addr][ -S][ -M][ -h]

Version Linux-2.1.1
Options: -C create configuration data
-F force NAT off
-Y select all hosts/groups
-U minutes set update interval
-u username use supplied username
-p password use supplied password
-x executable use supplied executable
-c config_file use alternate data path
-d increase debug verbosity
-D processID toggle debug flag for PID
-i IPaddress use supplied address
-I interface use supplied interface
-S show configuration data
-M permit multiple instances
-K processID terminate instance PID
-h help (this text)

./noip2-Linux -c /usr/local/etc/no-ip2.conf
Ako bude pravio probleme, napravi /usr/local/etc

Pa ćemo vidjeti šta dalje.

Isto sve bono. Napravio sam i etc u /usr/local i opet :

Can’t locate configuration file /usr/local/etc/no-ip2.conf. (Try -c). Ending!

Vidi imaš li u /tmp/no-ip2.conf?
Ovo nije veliki problem… ništa komplikovano, logička greška, prema tome da se lagano riješiti.

Nema u /tmp nista ni slicno… :slight_smile: . Vec me pocinje panika hvatati :slight_smile:

Kako si instalirao paket? Je li bio make install?

Ma nema nista , samo sam ga otpakovao i ima folder binaries u kojem je ovaj… ono ostalo je readme i nesto redhat blabla .

evo probaj sama http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz

Evo ovako trebaš:

make
cp binaries/noip2-Linux noip2
make install

Odeš na http://www.no-ip.com/ i kreiraš account, aktiviraš ga i dodaš jedan host. Onda kucaš:

./noip2 -c /usr/local/etc/no-ip2.conf -C

Izlaz:

[quote]makina:/home/bono/install/noip-2.1.1# ./noip2 -c /usr/local/etc/no-ip2.conf -C

Auto configuration for Linux client of no-ip.com.

Please enter the login/email string for no-ip.com bono@xxxxxxxxxxx
Please enter the password for user ‘bono@xxxxxxxxx’ ********

Only one host [yyy.xxxxxxxxx.xxxx] is registered to this account.
It will be used.
Do you wish to run something at successful update?[N] (y/N) ^M

New configuration file ‘/usr/local/etc/no-ip2.conf’ created.[/quote]
Probaj, pa javi može li…

Uradio sam to sve, i kreirao account tamo i sad se u pojavio ‘zeleni’ file noip2 i pokusao ga run sa ./noip2 i opet :

~/noip-2.1.1> ./noip2
Can’t locate configuration file /usr/local/etc/no-ip2.conf. (Try -c). Ending!

Nemam ja pojma :slight_smile:

Evo ga radi sad :smiley: .Hvala bono