[Samba] Network Interfaces Not Recognized

Nikolaus Rath Nikolaus at rath.org
Fri Jun 29 12:28:05 GMT 2007


Hello,

I am facing the problem that samba does not recognize my network
interfaces:

Jun 29 12:21:59 ebox nmbd[22377]: [2007/06/29 12:21:59, 0] lib/interface.c:load_interfaces(225) 
Jun 29 12:21:59 ebox nmbd[22377]:   WARNING: no network interfaces found 
Jun 29 12:21:59 ebox nmbd[22377]: [2007/06/29 12:21:59, 0] nmbd/nmbd_subnetdb.c:create_subnets(190) 
Jun 29 12:21:59 ebox nmbd[22377]:   create_subnets: No local interfaces ! 
Jun 29 12:21:59 ebox nmbd[22377]: [2007/06/29 12:21:59, 0] nmbd/nmbd_subnetdb.c:create_subnets(191) 
Jun 29 12:21:59 ebox nmbd[22377]:   create_subnets: Waiting for an interface to appear ... 
Jun 29 12:21:59 ebox smbd[22378]: [2007/06/29 12:21:59, 0] lib/interface.c:load_interfaces(225) 
Jun 29 12:21:59 ebox smbd[22378]:   WARNING: no network interfaces found 

However, the interfaces are certainly present and working:

[0] ebox:~# ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1230259094 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1631407780 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1140886155 (1.0 GiB)  TX bytes:1095793772 (1.0 GiB)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:4412 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3471 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:568119 (554.8 KiB)  TX bytes:537793 (525.1 KiB)

venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:85.214.16.64  P-t-P:85.214.16.64  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

I don't have any "interfaces = " or "bind interfaces only ="
configuration settings. Despite the above messages, "smbclient -L
localhost" works fine - but that is the only interface that works:

 [0] ebox:~# smbclient -L localhost
Password: 
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.24]

        Sharename       Type      Comment
        ---------       ----      -------
        IPC$            IPC       IPC Service (Samba 3.0.24)
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.24]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
[0] ebox:~# smbclient -L 85.214.16.64
Error connecting to 85.214.16.64 (Connection refused)
Connection to 85.214.16.64 failed
          
I suppose the problem arises from the fact that Samba is running an a
virtual server with therefore unusal network interfaces. However,
apache for example works flawlessly so I think it should be possible
to run samba as well.

My system:
[0] ebox:~# smbd --version
Version 3.0.24
[0] ebox:~# uname -a
Linux ebox 2.6.9-023stab043.1-smp #1 SMP Mon Mar 5 16:38:22 MSK 2007 i686 GNU/Linux


Thanks in advance for any hints,


  --Nikolaus
-- 
Gefährlich wird es, wenn die Dummen fleissig werden


More information about the samba mailing list