Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi,
Had some time last week and compiled some Progs for my dns 323, and I`m curious if someone else is interested in them, then I could pack them for installation over the fonz Installer.
I don`t like vi, so first I compiled:
nano
Needed a jabber Server so I compiled
ejabberd
And of course I have a bunch of libs n Stuff which was needed to compile these two packages (some of them I compiled for jabberd14, but I then switcht to ejabberd, don`t know which exactly ;-):
asn1c-0.9.21
libgpg-error-1.6
libtasn1-1.4
pkg-config-0.22
libidn-1.8
pth-2.0.7
erlang
libpopt-1.10-1
starttls-0.10
expat-1.95.8
gnutls-2.0.4
libgcrypt-1.4.1
libtasn1-0.3.6
If you`d like me to compile some other stuff, tell me, got some time @ work ;-)
regards
Chris
Offline
Oh that`s a good question, don`t think it realy _needs_ the older Version, I guess I just didn`t saw that it was available on your Site allready ;-)
However, ircd is ready too,...
Offline
stylesuxx wrote:
Hi,
If you`d like me to compile some other stuff, tell me,
Any chance of a TFTP server?
got some time @ work ;-)
In that case I'd be happy to swap jobs
Last edited by thunderbird1 (2008-07-01 12:54:54)
Offline
atftpd would be ok?
Offline
stylesuxx wrote:
atftpd would be ok?
If it works ..... yep!
First thing's first - I'm a total noob when it comes to Linux. The closest I've come to Linux is through dabbling a bit with Asterisk/Trixbox/Elastix. I can change directories, copy & move files/directories & use nano & vi to edit config files without necessarily understanding what I'm editing That's the extent of my knowledge.
Currently, I have a number of VoIP phones which can be configured through the use of a TFTP server running on my Windows XP machine. Having recently purchased a DNS-323, I'd like to be able to use it to it's fullest potential by utilizing the ftp/http features and creating the ability for the phones to pull config files off the DNS-323 rather than my XP machine.
I've installed fun_plug without issue. I downloaded & attempted to install tftp-hpa-0.48 and TFTP Server but got easily confused whilst reading the readme & install files. Obviously I need to undertake quite a lot more reading/research & comprehend the info I come across.
In response to your question, if atftpd can achieve my initial requirements, then by all means I'd be satisfied with that.
Offline
Should work, atftpd is a tftp server, so no reason why it should not work, by the way, it is compiled allready, when I have some more time @ work I will write the startuo script, otherwise I will do that at home in the evening,...
Offline
That would be great. No rush.
Offline
OK, so here we go.
You can install it as all the other fun plug stuff via funpkg -i packagename.
There is a startscript in the /ffp/start/ folder where you can change your default shared directory and port, and add stuff you need to the programm call, don`t forget to make it executable if you want atftpd to be started on startup ;-)
http://stylesuxx.com/dns323/atftpd-0.7.tgz
If there are any Problems please tell me.
Regards Chris
Offline
stylesuxx wrote:
If there are any Problems please tell me.
Don't seem to be having much luck trying to run atftpd.
Dowloaded the tarball, and using Windows Explorer, copied the file to Volume_1 then:
Telnet 192.168.x.x
/ # cd /mnt/HD_a2
/mnt/HD_a2 # funpkg -i atftpd-0.7.tgz
Installing package atftpd-0.7 ...
/mnt/HD_a2 #
I then tried running atftpd but got:
/mnt/HD_a2 # atftpd
Usage: tftpd [options] [directory]
[options] may be:
-t, --tftpd-timeout <value>: number of second of inactivity before exiting
-r, --retry-timeout <value>: time to wait a reply before retransmition
.
.
.
.
-V, --version : print version information
-h, --help : print this help
[directory] must be a world readable/writable directories.
By default /tftpboot is assumed.
/mnt/HD_a2 #
I then created a tftpboot directory:
/mnt/HD_a2 # mkdir tftpboot
/mnt/HD_a2 #
and then edited atftpd.sh:
/mnt/HD_a2/ffp/start # vi atftpd.sh
changing atftpd_share="/mnt/HD_a2/" to atftpd_share="/mnt/HD_a2/tftpboot/"
Tried running atftpd again but got the same result as above. What am I missing?
Offline
Yeah, well atftpd doesn`t run without options, please try to start it over sthe start script which is located in /ffp/start/atftpd.sh =>
sh /ffp/start/atftpd.sh start
then check if it is running
sh /ffp/start/atftpd.sh status
Last edited by stylesuxx (2008-07-03 20:10:34)
Offline
stylesuxx wrote:
please try to start it over sthe start script which is located in /ffp/start/atftpd.sh =>
Code:
sh /ffp/start/atftpd.sh start
That did the trick!
then check if it is running
Code:
sh /ffp/start/atftpd.sh status
You read my mind - that was going to be my next question
I'll test it out with my files over the weekend.
Thanks for the help so far, stylesuxx.
Offline
Hey, no Prob you are welcome, tell me if it works for you :-)
But if I may add one thing: get rid of telnet and activate ssh ;-)
Offline
stylesuxx wrote:
But if I may add one thing: get rid of telnet and activate ssh ;-)
Don't worry, I will. I had it enabled initially but whilst I'm playing around with the unit deleting files, reformatting drives, etc, it's not a concern at this stage. Eventually, the unit will become accessible from the Net which, in that case, I'll definitely enable SSH & disable telnet.
Hey, no Prob you are welcome, tell me if it works for you :-)
Kinda does but it will only allow 1 file to be downloaded before it 'hangs'.
After playing around all weekend trying to get my VoIP phone to download config files off the tftp server without success, I reverted to using the Windows command prompt to try & figure out what was/wasn't happening.
After starting atftpd.sh I opened up a Windows cmd prompt to download a test file. The initial 'GET' would download the file ok but any subsequent attempts resulted in time-outs:
C:\>tftp -i 192.168.1.234 get test1.txt Transfer successful: 10 bytes in 1 second, 10 bytes/s C:\>tftp -i 192.168.1.234 get test1.txt Timeout occurred
Restarting atftpd.sh & trying again yields the same result as above - ie. 1 file downloaded & then time-outs.
During this I ran the 'ps aux' to see what processes were running. I noted that when atftpd.sh first ran, there was only one instance of atftpd:
2791 nobody /ffp/sbin/atftpd --daemon --port 69 --user nobody --group 501 /mnt/HD_a2/
but as soon as I downloaded the test file & ran 'ps aux' again, there were two atftpd processes:
2791 nobody /ffp/sbin/atftpd --daemon --port 69 --user nobody --group 501 /mnt/HD_a2/ 2797 root /ffp/bin/sh 2833 nobody /ffp/sbin/atftpd --daemon --port 69 --user nobody --group 501 /mnt/HD_a2/
and any subsequent download attempts would time-out.
On the other hand, if I add '--no-fork' as a start-up option in atftpd.sh, although the daemon sits in the foreground, I can download multiple instances of the test file without problem.
Got any ideas or suggestions?
Cheers,
-TB1
Offline
Hmmm, quite strange, don`t understand why this happens, so it seems adding --no-fork and sending it then to background with "&" works.
So try exchanging the executable line in the start script with the following =>
/ffp/sbin/atftpd --daemon --port $atftpd_port --user $atftpd_user --group $atftpd_group $atftpd_share --no-fork&
Offline
stylesuxx wrote:
HmmmSo try exchanging the executable line in the start script with the following =>
Thanks heaps stylesuxx - works a treat now
After adding --no-fork& the VoIP phone is now able to pull down all the required config files. To test, I changed a few parameters in the config files & then forced the phone to update. After a reboot the phone initialized with the new changes.
Life is good for now
Thanks once again!
-TB1
Offline
No Problem :-)
Offline
@stylesuxx:
would you like to maintain a repository of compiled packages for the DNS? Or do you have a website where one can download the packages you compiled?
Offline
Yeah, sure if there is interest i can do that, I will do during the week and post the Links ;-)
Offline
stylesuxx, could I get access to your ejabberd compilation. Thank you.
Offline
Sure, right now I`m writing a basic setup script for ejabberd and start and stop stuff, I guess I should be finished today or tomorrow.
Offline
Thank you. Cheers.
Offline
Just wanted to tell you that i didn`t forget.
The config and start script is ready, just need to pack erlang and ejabberd so that they are working, right now there are some probs with dependencies, but I'm compiling erlang again, which takes quite long, I guess after it is compiled in a clean environment ir will work :-)
Offline
it would be really cool if we got a murble service running on the dns323 but ti requires qt.
for info on murble try http://mumble.sourceforge.net/
Offline