|
filodej
|
 |
« Reply #270 on: May 07, 2008, 00:08:35 AM » |
|
@Aqualung: it seems to me that Deluge is implemented in C++ (not in C), it depends on the Boost library; and as such it needs to be compiled against C++ libraries (like uClibc++ http://cxx.uclibc.org - C++ counterpart of uClibc). I am not saying it is hopeless (although the uClibc++ project is currently in the alpha phase, its status seems promising to me), but it would mean to build C++ environment (similar like the one JoKeR provided to us for C ) prior one may even try to build the Deluge project. Others, please, correct me if I am wrong...
|
|
|
|
« Last Edit: May 07, 2008, 00:33:01 AM by filodej »
|
Logged
|
|
|
|
|
JoKeR
|
 |
« Reply #271 on: May 07, 2008, 09:38:38 AM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
JoKeR
|
 |
« Reply #272 on: May 07, 2008, 10:00:59 AM » |
|
For the deployment of built binaries, I currently parametrize the configure script with --prefix pointing to /mnt/C/sys and then gzipping all the files based on its date/time, but it seems to me little bit error prone (for example in case the make install made some changes outside the sys directory).
sometimes --datadir and other prefixes must be used. So I'd like to ask: 1) Did anybody (namely JoKeR) encounter such problem with symbols and if so, do you know a solution?
hand made changes, only. (sed will help you) 2) How do you automate the deployment? Is there a more elegant way to do that? (possibly directly from the configure/make)
prefixes will be enough for most compilations, if path not staticaly writen in sources. I am working on ipkg to the box, it will be easier to install new stuff.
|
|
|
|
« Last Edit: May 07, 2008, 11:52:47 AM by JoKeR »
|
Logged
|
|
|
|
|
|
|
ukez
|
 |
« Reply #274 on: May 11, 2008, 16:35:29 PM » |
|
Can anyone tell me how to use the ushare addon on my mgb111 device, i really really want to set this thing up but i havent got a clue where to start. I know its time consuming, but can anyone help me please? 
|
|
|
|
|
Logged
|
Is a member of the MGB111 syndicate
|
|
|
|
JoKeR
|
 |
« Reply #275 on: May 11, 2008, 18:17:28 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
kind
|
 |
« Reply #276 on: May 12, 2008, 13:55:28 PM » |
|
Hi. I've got wap-0008 with last firmware from here http://mgb111.pradnik.net. I want to use my device as ftp-server for my friends/relatives/people-I-know. So, my question is about vsftpd. In my case ideal solution is: A) I create a user; B) User connects to my server, enters login/password; C) User is free to do whatever he wants (no restriction). What I did: 1. I switched ftp off (in web-interface). 2. Every startup I copy my own vsftpd.conf to /var/config/vsftpd.conf using rc-local and starting daemon from here. 3. My vsftpd.conf has anonymous_anable=NO option. Here I stoped... Please advice what's the best way to add my own users in order only they can login to server? What should I set in vsftpd.conf?
|
|
|
|
« Last Edit: May 12, 2008, 14:02:08 PM by kind »
|
Logged
|
|
|
|
|
JoKeR
|
 |
« Reply #277 on: May 12, 2008, 14:07:11 PM » |
|
add users from webui (storage section) or use rc-local (or rc.d/rc.*) - and copy passwd/users from disk to master /var/config/passwd, every restart
|
|
|
|
« Last Edit: May 12, 2008, 16:12:24 PM by JoKeR »
|
Logged
|
|
|
|
|
kind
|
 |
« Reply #278 on: May 12, 2008, 19:46:35 PM » |
|
Finally did like this: - copied passwd and group files to HDD - made necessary changes (both passwd and group) - on startup (using rc-local): cp -f my_group_file /var/config/group cp -f my_passwd_file /var/config/passwd
Looks "freaky", but it works. There was trouble with setting user password: after adduser -H -G my_group user_name and confiming password I got error message. I solved it up somehow... it's all over now.
|
|
|
|
|
Logged
|
|
|
|
|
JoKeR
|
 |
« Reply #279 on: May 12, 2008, 20:58:05 PM » |
|
echo "user1:_generated_password_:100:99:1:_home_dir1_:/bin/ash" >> /var/config/passwd echo "user2:_generated_password_:101:99:2:_home_dir2_:/bin/ash" >> /var/config/passwd etc.. with this, root and other real users work normal, with webui config. passwd and other system commands not writing passwords to passwd file, but... you can use htpasswd (from apache) to generating the passwords and write result to startup scripts. this mess is the result of closed code parts.
|
|
|
|
« Last Edit: May 12, 2008, 21:10:39 PM by JoKeR »
|
Logged
|
|
|
|
|
kind
|
 |
« Reply #280 on: May 12, 2008, 21:49:04 PM » |
|
JoKeR Thank you really much!
|
|
|
|
|
Logged
|
|
|
|
Aqualung
Newbie
Offline
Posts: 49
Socialite
|
 |
« Reply #281 on: May 13, 2008, 12:34:43 PM » |
|
I want to use my device as ftp-server for my friends/relatives/people-I-know. So, my question is about vsftpd. ... What I did: 1. I switched ftp off (in web-interface). Just curious, any particular reason why you'd not want to use the default FTP server? Why vsftpd? Security? SSL?
|
|
|
|
|
Logged
|
|
|
|
|
JoKeR
|
 |
« Reply #282 on: May 13, 2008, 12:38:36 PM » |
|
vsftpd = default/internal ftp server [-:
|
|
|
|
|
Logged
|
|
|
|
Aqualung
Newbie
Offline
Posts: 49
Socialite
|
 |
« Reply #283 on: May 14, 2008, 11:16:41 AM » |
|
vsftpd = default/internal ftp server [-: Whoa! So why the trouble of working around the Web UI then? Is it more configurable that way? (Just ignore if this is a stupid question.)
|
|
|
|
« Last Edit: May 14, 2008, 11:18:36 AM by Aqualung »
|
Logged
|
|
|
|
|
kind
|
 |
« Reply #284 on: May 14, 2008, 12:30:39 PM » |
|
Aqualung It is. Almost fully functional (look at vsftpd documentation).
|
|
|
|
« Last Edit: May 14, 2008, 12:33:50 PM by kind »
|
Logged
|
|
|
|
|