Find the answer to your Linux question:
Results 1 to 8 of 8
I have 2 machines. One has XP Pro and RH9 and the other has Win98SE and RH9. Both machines will see the network from Redhat if the other one is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    sam
    sam is offline
    Just Joined!
    Join Date
    Nov 2003
    Location
    Ky
    Posts
    66

    Linux to Linux


    I have 2 machines. One has XP Pro and RH9 and the other has Win98SE and RH9. Both machines will see the network from Redhat if the other one is in Windows. When both machines are booted into Rdhat I get this error meaasge;

    Couldn't display "smb:///", because Nautilus cannot contact the SMB master browser.
    Check that an SMB server is running in the local network.

    How can I make them connect? I have checked
    SMB in the server settings with no success.

  2. #2
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319
    What happens when you use UNC like smb://<comp name>/<share name>?

    Can you tell us more about the settings of this network and possibly post the smb.conf file using the "code" buttons from the tool area?
    The best things in life are free.

  3. #3
    sam
    sam is offline
    Just Joined!
    Join Date
    Nov 2003
    Location
    Ky
    Posts
    66
    Thanks for the help but I am very new to Linux and don't know

    smb://<comp name>/<share name>

    or where to find my smb.conf in tools.

  4. #4
    sam
    sam is offline
    Just Joined!
    Join Date
    Nov 2003
    Location
    Ky
    Posts
    66
    I did manage to find the raw smb.conf file and it is large. Should I try to send the whole thing?

  5. #5
    Linux Engineer
    Join Date
    Dec 2002
    Location
    New Zealand
    Posts
    766
    post it after u have removed all the commented lines. (lines starting with #)

    <edit> dont actually delete them from the file, jsut the posted version</edit>

  6. #6
    Linux User
    Join Date
    Jan 2004
    Posts
    357
    Sam, just an fyi,

    smb://<comp name>/<share name>

    means to open a terminal (something like the dos command line in a windows machine) and type in

    smb://<the computer that I want to connect to>/<the share on the computer that I want to connect to>

    minus the < and >

    and hit the enter key.

  7. #7
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    I didnt really understand what you want to accomplish but here is some examples. Your samba configuration is located under /etc/samba/smb.conf, you can open that with a terminal... an easy configration section can look like this..

    Code:
    &#91;music&#93;
            comment =  My music share
            path = /mnt/mp3
            valid users = +musicusers
    That means that /mnt/mp3 structure will be shared as music on the windows network.

    To connect for example windowsshares to you linux box you should use follwing commands:

    Code:
    smbmount //client IP/dir /mnt/mountdir -o username=windowsusername,password=windowspassword
    
    # Or this one...if you have shared your windows drive for everyone you can skip username and password
    
    mount -t smbfs -o username=windowsusername,password=windowspassword //client IP/dir /mnt/mountdir
    Regards

    Andutt

  8. #8
    sam
    sam is offline
    Just Joined!
    Join Date
    Nov 2003
    Location
    Ky
    Posts
    66
    Thanks to everyone for the help. My main goal here is to be able to share files and a printer on the network between the two machines when both are booted into Linux.
    Here is my smb.conf file with comments removed.

    [global]

    ; hosts allow = 192.168.1. 192.168.2. 127.

    ; guest account = pcguest

    ; password server = <NT-Server-Name>

    ; password level = 8
    ; username level = 8

    ; ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt

    unix password sync = Yes
    passwd program = /usr/bin/passwd %u
    passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*success fully*


    pam password change = yes


    ; username map = /etc/samba/smbusers

    ; include = /etc/samba/smb.conf.%m


    obey pam restrictions = yes

    ; interfaces = 192.168.12.2/24 192.168.13.2/24

    ; remote browse sync = 192.168.3.25 192.168.5.255

    ; remote announce = 192.168.1.255 192.168.2.44

    ; local master = no

    ; os level = 33

    ; domain master = yes

    ; preferred master = yes

    ; domain logons = yes

    ; logon script = %m.bat

    ; logon script = %U.bat

    ; logon path = \\%L\Profiles\%U

    ; wins support = yes

    ; wins server = w.x.y.z

    ; wins proxy = yes

    dns proxy = no

    ; preserve case = no
    ; short preserve case = no

    ; default case = lower

    ; case sensitive = no


    [homes]
    comment = Home Directories
    browseable = no
    writable = yes
    valid users = %S
    create mode = 0664
    directory mode = 0775

    ; map to guest = bad user



    ; [netlogon]
    ; comment = Network Logon Service
    ; path = /usr/local/samba/lib/netlogon
    ; guest ok = yes
    ; writable = no
    ; share modes = no


    ;[Profiles]
    ; path = /usr/local/samba/profiles
    ; browseable = no
    ; guest ok = yes


    [printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = no

    guest ok = no
    writable = no
    printable = yes


    ;[tmp]
    ; comment = Temporary file space
    ; path = /tmp
    ; read only = no
    ; public = yes

    ;[public]
    ; comment = Public Stuff
    ; path = /home/samba
    ; public = yes
    ; writable = yes
    ; printable = no
    ; write list = @staff

    ;[fredsprn]
    ; comment = Fred's Printer
    ; valid users = fred
    ; path = /home/fred
    ; printer = freds_printer
    ; public = no
    ; writable = no
    ; printable = yes

    ;[fredsdir]
    ; comment = Fred's Service
    ; path = /usr/somewhere/private
    ; valid users = fred
    ; public = no
    ; writable = yes
    ; printable = no

    ;[pchome]
    ; comment = PC Directories
    ; path = /usr/local/pc/%m
    ; public = no
    ; writable = yes

    ;[public]
    ; path = /usr/somewhere/else/public
    ; public = yes
    ; only guest = yes
    ; writable = yes
    ; printable = no

    ;[myshare]
    ; comment = Mary's and Fred's stuff
    ; path = /usr/somewhere/shared
    ; valid users = mary fred
    ; public = no
    ; writable = yes
    ; printable = no
    ; create mask = 0765

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •