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

Re: samba insists on using virbr0

Mikkel L. Ellertson wrote:
sean darcy wrote:
Using f9 updated, with qemu installed, I can't get samba to work.

I think it's because samba keeps using virbr0, rather than eth0.

I'm not able to browse the .180 machine. Having gone through the samba
troubleshooting fault tree, I came on this problem.

Is there a way to keep qemu ( I use it with kvm)?


Did you try to use "interfaces = " option in smb.conf?


Yes. That was my first thought:

Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[storage]"
Loaded services file OK.
Press enter to see a dump of your service definitions

	workgroup = NEW_NET
	netbios name = VIDEO_SERVER_IN_CLOSET
	server string = server in closet
	interfaces = lo, eth0
	passdb backend = tdbsam
	log file = /var/log/samba/log.%m
	max log size = 50
	domain master = No
	guest ok = Yes

I think the problem is since you've got to have lo, samba figures virbr0 is a local interface.

Your response prompted me to try:

interfaces = lo,
bind interfaces only = Yes

which gave me a different, but still wrong response:

 nmblookup -d 2 '*'
added interface lo ip=::1 bcast=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
added interface lo ip= bcast= netmask=
interpret_interface: using netmask value 24 from config file on interface eth0 added interface eth0 ip= bcast= netmask=
querying * on
Got a positive name query response from ( ) *<00>

only broadcasting on the loopback interface.



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