[ previous ] [ next ] [ threads ]
 
 From:  Dmitry Sorokin <dimon at intellinet dot ca>
 To:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  ld-elf.so.1 not found
 Date:  Sun, 2 Jan 2005 22:36:00 -0700
Hi All,

I'm trying to hack m0n0wall to run a printserver (lpd + samba)
I was able to add lpt support to the kernel, recompiled the image to include 
binaries and configs for lpd and samba.
lpd seems to be working fine, I can print with lp command locally
Also I cam run nmbd -D and smbd -D with no errors, but when I try to print 
something from the client computer, here what smbd -i says:

[root@dimm root]# smbd -i
smbd version 2.2.12 started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
INFO: Debug class all level = 2   (pid 188 from pid 188)
Processing section "[lp]"
added interface ip=xx.xxx.xx.xx bcast=xx.xxx.xx.255 nmask=255.255.255.0
added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
file_init: Information only: requested 10000 open files, 937 are available.
waiting for a connection
netbios connect: name1=M0N0WALL         name2=DIMON
netbios connect: local=m0n0wall remote=dimon
Defaulting to Lanman password for admin
ELF interpreter /usr/libexec/ld-elf.so.1 not found
ELF interpreter /usr/libexec/ld-elf.so.1 not found


The same binaries and config files work just fine on the fresh FreeBSD 4.10 
installation (bin+crypto only)
I tried to create an image with all libs from /usr/lib included and also tried 
replace MONOWALL_GENERIC with FreeBSD's GENERIC kernel, but didn't have any luck

Please, if somebody have an idea where I need to look to fix that, let me know.

I know, most of you will say right away, that m0n0wall is not intended for that 
kind of hacks, but that's something I personally would like to have at home, so 
I don't have to keep one of my workstations on to print from another. And I'm 
pretty sure a lot of people out there would like to have printserver on their 
PC based m0n0 boxes at their homes or small offices.

Best regards,
Dmitry