[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Samba client



On MiNT, it's wonky, but the below is right.

You are missing a route though.

Try doing....

/sbin/route add 192.168.0.0 rtk0

Alan.

On Sat, 2010-08-28 at 12:17 +0200, Peter Slegg wrote:
> I just noticed something:
> 
> bash-2.05a# route
> Destination         Gateway             Flags   Ref      Use Metric Iface
> default             192.168.0.1         UGD       1     1261      0 rtk0
> 192.168.0.201       *                   UH        1      866      0 lo0
> 127.0.0.0           *                   U         1        0      0 lo0
> 127.0.0.1           *                   UH        1        8      0 lo0
> 
> Should the Iface for 192.168.0.201 be rtk0 or lo0  ?
> 
> Peter
> 
> On Mon, 23 Aug 2010 16:13:46 , Peter Slegg <p.slegg@scubadivers.co.uk> wrote:
> > Hi,
> >
> > How many of us use samba to move files across their network ?
> > I have been using it for years but this morning I discovered a problem.
> >
> > I have had a static ip on the Milan because I couldn't get dhcp working.
> > This morning I got it working with a one line change :-)
> >
> > However, it seems that this breaks samba (nmb) Version 3.0.1-1
> >
> > I had this line in smb.conf
> >
> >    interfaces = 192.168.0.21/24 127.0.0.1/8
> >
> > which I replaced with
> >
> >    interfaces = rtk0
> >
> > Now when I start samba, the nmb log shows:
> >
> > [2010/08/23 15:38:55, 0] nmbd/nmbd_subnetdb.c:create_subnets(218)
> >   create_subnets: Waiting for an interface to appear ...
> > [2010/08/23 15:39:00, 0] lib/interface.c:load_interfaces(216)
> >   WARNING: no network interfaces found
> > [2010/08/23 15:39:05, 0] lib/interface.c:load_interfaces(216)
> >   WARNING: no network interfaces found
> >
> > Googling shows there was an AMD64 bug with the same sort of issue
> > in samba 3.0.23 This is later than the samba we have which was built
> > in 2004. The current version 3.5.4
> >
> > The samba docs hint that interface = 192.168.0.0/24 would work but it
> > doesn't.
> >
> > Using a fixed ip in samba works but that defeats the object of dhcp.
> >
> >
> > >smbd -d 10 -i
> > ...
> > file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Mon Aug 23 16:09:03 2010
> > added interface ip=192.168.0.251 bcast=192.168.0.255 nmask=255.255.255.0
> > added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
> > Hash size = 521.
> > Netbios name list:-
> > my_netbios_names[0]="MILAN"
> > tdb(unnamed): tdb_brlock failed (fd=6) at offset 4 rw_type=1 lck_type=6: Permission denied
> > loaded services
> > fcntl_lock 7 6 0 1 0
> > fcntl_lock: fcntl lock gave errno 36 (Permission denied)
> > fcntl_lock: lock failed at offset 0 count 1 op 6 type 0 (Permission denied)
> > ERROR: smbd is already running. File /var/run/smbd.pid exists and process id 721 is running.
> >
> 
> 
> 
> 
>