Re: How to find what interfaces Samba is using?

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

 





On 19/10/2007, Cameron Simpson <cs@xxxxxxxxxx> wrote:
On 18Oct2007 11:51, Chris G <cl@xxxxxxxx> wrote:
| I have some vmware guests on my Fedora 7 system and they use Samba on
| the Fedora host to access files on the host.
| I'd like to know what interface(s) samba is using for connections from
| the vmware guests, does anyone know how I can do this?



Here are part of smb.conf file. I just add all smaba interfaces (host-only and NAT) in to smb conf. it works well. if you need more, I can send you my exple smb.conf for vmware.


# workgroup = NT-Domain-Name or Workgroup-Name
        workgroup = MYGROUP
;   interfaces = 192.168.12.2/24 192.168.13.2/24
        interfaces = vmnet8 vmnet2 vmnet1 vmnet3



#============================ Share Definitions ==============================
[homes]
        comment = Home Directories
        browseable = yes
        writeable = yes

#[USBG]
#       comment = USBG
#       path = /mnt/USBG
#       writeable = yes
#       browseable = yes
#;      guest ok = no

[PROJECTS]
        path = /data/PROJECTS
        writeable = yes
        browseable = yes
        comment =
;       guest ok = no

 

"netstat -an | grep ESTABLISHED" should show the existing samba
connections (ports 139 or 445 if I recall, see /etc/services)
and their IP endpoints. You should be able to deduce the network
interface from that and "netstat -rn".
--
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

C'est un Nagra.  C'est suisse, et tres, tres precis.    - _Diva_

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux