PDA

View Full Version : DUC run in debian server?



jamie16v
09-06-2012, 06:50
hi, i want to run no-ip`s DUC utility in my debian server. i have downloaded the linux file to my p.c. would running this be a case of ftp the file to /tmp/ then give it executable rights (777) then run a command of some sort to install it?.

wiz569
09-06-2012, 07:32
Didn't even realise they did a linux version lol



Sent from my X10i using Tapatalk 2

jamie16v
09-06-2012, 09:08
yeah mate, and a mac version..
by the way, are you seeing the same sponsored ad above your post as i am seeing?... not much of an advert...lol

wiz569
09-06-2012, 09:13
Not seeing anything using the phone lol

Sent from my X10i using Tapatalk 2

jamie16v
10-06-2012, 01:53
Lol me neither, but, is there a way to run a Linux program on web server? I have the file loaded into /tmp/

jamie16v
10-06-2012, 02:57
Lol me neither, but, is there a way to run a Linux program on web server? I have the file loaded into /tmp/

http://www.linuxtopia.org/online_books/linux_beginner_books/debian_linux_desktop_survival_guide/No_IP.shtml

found this, but still having trouble, even if logging in as user..
i`m getting to this command "cd noip-2.1.1/" and it says no such file or directory.

wiz569
10-06-2012, 03:55
Sorry can't help at the minute as it's my daughters 21st and I'm on my way out the door

But there is an install command for linux,you should be able to find it in google :)

Sent from my X10i using Tapatalk 2

jamie16v
11-06-2012, 01:58
had a google and to be honest its all gobbledy gook to me.. it would be nice to get duc running in debian as i know then my server will always be available and not upsetting any clients..lol
i might have a look at the server and see if i can add any ram as it was a little dodgy when it came to running it the graphical way. i know it would probably run better with just the web server (which is the way it is right now) but if i do have graphical i could probably find my way around it better)

Jaxo
11-06-2012, 03:46
might not be much help but what router do you have? most half decent modern ones have the capability to update dns accounts ;-)

https://help.ubuntu.com/community/DynamicDNS?action=AttachFile&do=get&target=dyndns.jpg

jamie16v
11-06-2012, 03:53
i have a belkin G f5d9630-4 (i think) but it only has dyndns service built in.. not sure if i could configure it to work with no-ip, i did register with dyndns but canceled it as i didnt want the extra cost once the trial expired.

Jaxo
11-06-2012, 03:58
p.s, better not running and services that are not needed for a more stable server,.. the graphic user interface is a bit of a resource hog. best bet is to install what you need through comand prompt or whatever its called on linux

jamie16v
11-06-2012, 04:01
right, ok. do you think i would be able to configure my router for no-ip.. only dyndns shows in the dropdown menu..

Jaxo
11-06-2012, 04:05
you can have a free dns account with 2 dns hosts which doesnt cost anything,. think only the premium account costs money, personally i prefair it to no-ip also...
he
re is what my control panel says


You are using 1 of the 2 hosts currently available in your account You have 1 hostnames remaining

Jaxo
11-06-2012, 04:06
right, ok. do you think i would be able to configure my router for no-ip.. only dyndns shows in the dropdown menu..

Im not too sure tbh, im about head head out but i should be on later after the football so can maybe help then if your about m8?

jamie16v
11-06-2012, 04:07
i thought it was a 2 week trial.. :confused:

jamie16v
11-06-2012, 04:08
Im not too sure tbh, im about head head out but i should be on later after the football so can maybe help then if your about m8?
ok. cheers mate. i`ll be on here about 8:30 - 9pm

Ralleygolfg60
11-06-2012, 04:15
I know they changed policy if you have a free account you can keep it and even drop it and get new one for free.
But for new users its only a few weeks trial from dyndns if I'm right.

sly2803
11-06-2012, 04:30
follow tutorial and you would be able to install DUC on your Debian/Ubuntu ;)

Installing the Client:

The below commands should be executed from a terminal window (command prompt) after logging in as the "root" user. You can become the root user from the command line by entering "sudo su -" followed by the root password on your machine.

Note: If you do not have privileges on the machine you are on, you may add the "sudo" command in from of steps (5 and 6)



cd /usr/local/src
wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
tar xzf noip-duc-linux.tar.gz
cd no-ip-2.1.9
make
make install


If you get "make not found" or "missing gcc" then you do not have the gcc compiler tools on your machine. You will need to install these in order to procede.


To Configure the Client:

As root again (or with sudo) issue the below command:



/usr/local/bin/noip2 -C (dash capital C, this will create the default config file)


You will then be prompted for your username and password for No-IP, as well as which host names you with to update. Be careful, one of the questions is "Do you wish to update all hosts". If answered incorrectly this could effect host names in your account that are pointing at other locations.

Now the client is installed and configured, you just need to launch it. Simply issue this final command to launch the client in the background:



/usr/local/bin/noip2



Read the README file in the no-ip-2.1.9 folder for instructions on how to make the client run at startup. This varies depending on what Linux distribution you are running.

jamie16v
11-06-2012, 04:35
thats exactly what i have been looking for sly, i did find istructions but you have explained it perfectly for me.. i`ll give it a bash later.. BIG THANKS!

wiz569
11-06-2012, 07:16
Buts thats more or less the same thing you linked to earlier,
your problem was this command "cd no-ip-2.1.9" as it could not find the no-ip directory,

the above does not show you how to fix that

the reason you get that error is because the command should actually be

cd noip-2.1.9-1

jamie16v
11-06-2012, 07:23
Buts thats more or less the same thing you linked to earlier,
your problem was this command "cd no-ip-2.1.9" as it could not find the no-ip directory,

the above does not show you how to fix that

the reason you get that error is because the command should actually be

cd noip-2.1.9-1
yeah, i figured that out last night lol... and youre spot on with that bit, but when it came to the rest, it only said "make" not sudo make ect.. perhaps that will work.. or even i need to install gcc compiler tools as sly suggests.. i`ll google that one. lol

wiz569
11-06-2012, 07:26
You should not need to use sudo if your logged on as root,

so that may not be your problem,
it might help when you do get stuck if you tell us exactly where your stuck and what steps you took to get there,
otherwise we could be going round in circles :lol:

jamie16v
11-06-2012, 08:10
indeed.. it must be that i need to get that gcc decompiler or something..

sly2803
11-06-2012, 08:18
:lol:


You need to install package called build-essential package.This package contains an informational list of packages which are considered essential for building Debian packages including gcc compiler, make and other required tools. This package also depends on the packages on that list, to make it easy to have the build-essential packages installed.
Simply type the following command as root user:
# apt-get update && apt-get upgrade
# apt-get install build-essential
# gcc -v
# make -v
Now, you should able to compile software, create Debian packages or simply write a code using C / C++ compilers.

jamie16v
11-06-2012, 08:36
ok cheers sly, anyway the bit that was giving me trouble was when it came to "make" and it says command not found..
i will give those installs a go!
this is head work! lol

jamie16v
11-06-2012, 08:50
right, i think that done the trick sly, well. well soon see if my server dissapears within the next couple of days then we`ll know..lol

sly2803
11-06-2012, 09:00
glad you sort out your problem ;)

jamie16v
11-06-2012, 09:14
thanks mate, will have to keep an eye on the server to make sure it stays on.. i bought an omnikey yesterday so it should arrive by tomorrow.. i will then transfer the card from my dreambox to my debian server... hope i can keep it running then..lol

jamie16v
12-06-2012, 04:20
sorry if server has been down but still experimenting with this.. and still not got a clue how to work it.. haha.. my omnikey has arrived though.... :)

jamie16v
12-06-2012, 04:54
after following this guide, i followed step 1 and 2 and i already have pcsd tools apparently, when i come to cd /home/cccam/omnikey it say no such file or directory?.. should i make a directory first using mkdir /home/cccam/omnikey ?
cheers, jamie.
EDIT: ok, tried that and it didnt work..
EDIT 2: managed to create the directorys by doing them one at a time.. now filezilla wont let me ftp the file to the omnikey folder.. grrrrr....... its saying critical file transfer error.. i`m going to punch this computer in the face!

sly2803
12-06-2012, 05:38
again you need use forum and read ll is there
use that secend post ;)
http://cccam-exchange.com/threads/14292-omnikey-3121-and-oscam?highlight=razler

jamie16v
12-06-2012, 06:13
All well and good if you know where to start looking mate, I did a google search "how to run omnikey on Debian". I will see what I can do with your link mate. Sorry if I seem a bit thick and all but Linux is new to me and I'm struggling to crack it. I have bought a book though :) .

jamie16v
12-06-2012, 09:35
right, after following some of that thread you linked me to i followed it quite blindly..lol after i got so far i tested it with "pcsc_scan" and it does show my card reader with no card inserted (simply because i have no card inserted..lol)
so i think i`m getting somewhere, (SLOWLY) but thankfuly with your help.
i think i may need to edit oscam config (errrr or something) i dont expect you to do this for me guys.. but if someone can explain where i can find it and how i can do it that would be great, please..
i could search the forum but probably wouldnt know if i am looking at the right think,.. as you saw earlier i did a google search and thought i was looking at the right thing but obviously not.. this is like learning another language..lol

jamie16v
14-06-2012, 11:57
right, i am going to wipe the server and start again, i dont know where i am going wrong. and if i dont know where i am going wrong then how can i tell you lot where i am going wrong..lol


EDIT: Well, since i have reinstalled debian i can now run oscam and i can now use the webif. i am having a little trouble downloading the apt-get install pcscd and apt-get install pcsc-tools. (for my omnikey) im not sure if there is a problem with the mirror site but it worked fine last time i did it. also having this issue when trying to install DUC.
EDIT 2: was a problem with my nameserver, now resolved by using my router ip and not my DNS addy