PDA

Bekijk de volledige versie : Samba Compiling or Installation



huuk
21-12-2005, 08:27
So here is my problem,

iam working round with the new OLEG Firmware. I'd like to install Samba on the Router ( tough i know it is installed ).

I'd tried installing it with the binaries from samba.org ...
i get stucked when i have to run


$ ./autogen.sh
-sh: ./autogen.sh: not found


i also tried to download the precompiled version mentioned on

http://wiki.wl500g.info/index.php/PackageSamba

but the link to

http://www.chupa.nl/forum/attachment.php?attachmentid=37
is down :/

wondering what i wanna do? i'd like to have samba running on my WLG500 Deluxe with User Managment in my Homenetwork. The Problem is that i like to have shares which are password protected ... and public shares.

i already did this tutorial http://www.macsat.com/samba.php ...

is there any possibility to run samba with a large HDD ( ~300gig ) in another way with user managment? i created a SWAP on the HDD to fix up the problem with the LOW RAM Problem.

greetz huuk

PS: Also tried http://www.wl500g.info/showthread.php?t=1984 but i get stucked again when i have to run


mke2fs -j /dev/scsi/host0/bus0/target0/lub0/part5


The process terminates itself. I think it can't handle the HDD ( ~300gig )
i use a ext3 partition with ~270gig and a ~200mb swap... however i bought a 300gig it just got 272gig ... it sucks but i think you know this issue ;)

sohottoday
22-02-2006, 10:22
hi all ...
i got the same error message , but i dont know how to do
i compile(mipsel-linux) openssl, libpcap and tcpdump on debian by myself ...
then i put the tcpdump bin under /tmp/local/root/ (AP) and type "./tcpdump" , shell show "sh- ./tcpdump not found"

my ap is wl-500g deluxe and use oleg1.9.2.7-7b firmware
anybody know how to solve this prolbem? thx...



some info about tcpdump ...

debian:~/tcpdump/tcpdump-3.9.4# file tcpdump
tcpdump: ELF 32-bit LSB MIPS-I executable, MIPS, version 1 (SYSV), for GNU/Linux 2.2.15, dynamically linked (uses shared libs), not stripped

debian:~/tcpdump/tcpdump-3.9.4# ls -l tcpdump
-rwxr-xr-x 1 root root 2226005 2006-02-22 17:37 tcpdump

sohottoday
22-02-2006, 15:22
i try to run sshd on my ap ...
but shell show the same error message "-sh: ./sshd not found" again
should i need change any setting on my ap for run those program?
thx...


some info about sshd...

debian:~/ssh/openssh-4.3p2# file sshd
sshd: ELF 32-bit LSB MIPS-I executable, MIPS, version 1 (SYSV), dynamically linked (uses shared libs), not stripped

debian:~/ssh/openssh-4.3p2# ls -l sshd
-rwxr-xr-x 1 root root 3859982 2006-02-22 21:29 sshd

oleo
22-02-2006, 16:29
this wiki pages are outdated. Latest packages are available through ipkg.
See: http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/

sohottoday
22-02-2006, 16:45
but i wanna compile program by myself
because i am learning how to use cross-compiler
so i must resolve this problem ...
still thank you ...:D

oleo
22-02-2006, 22:32
Join the club with
http://www.nslu2-linux.org/wiki/FAQ/OptwareWl500gBuild
http://www.nslu2-linux.org/wiki/Unslung/AddAPackageToUnslung

And please upgrade samba to higher version! .14 takes more than 50MB of disk space to install!
http://cvs.sourceforge.net/viewcvs.py/nslu/unslung/make/samba.mk

sohottoday
23-02-2006, 08:42
i've reslove this problem by myself ...
i try to use mipsel-uclibc-gcc recompile my program , and it's working now.

thx everybody ...