We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

linux on win network question

Options
I have been playing with ubuntu on an old pc, just to learn it a little & see what is like. The install was great, even installed my wireless usb dongle. just think if the xp install could do that.

I can see the other pc's on the network all xp systems and can also acsess the shared folders & internet, but the win pc's can't see the ubuntu box. Does any one know a way round this. I have looked on the ubuntu guide, but not really sure if I am looking in the correct area
Nudge nudge, Wink wink, Say No More!

Comments

  • Blacksheep1979
    Blacksheep1979 Posts: 4,224 Forumite
    1,000 Posts Combo Breaker
    have a look at samba - and if installing it use swat as well as this will make the settup easier.
  • kingmonkey
    kingmonkey Posts: 846 Forumite
    Have you set up shares at:

    System > Admin > Shared folders
  • wakandem
    wakandem Posts: 591 Forumite
    Thanks for that. I can now see the linux box on the network & have set the home folder to share on the network. When I try and get in there it asks for a user & pass. I input the main user and pass but nothing haqppens. Is it because the user is already logged on to the pc?
    Nudge nudge, Wink wink, Say No More!
  • wolfman
    wolfman Posts: 3,225 Forumite
    I always setup Samba via command line. It sounds like you have enabled anonymous access, which I guess you're trying to do.

    Open a Terminal window and type
    sudo gedit /etc/samba/smb.conf
    

    If you look to the bottom of the file you should have a number of sections like:
    [Music]
    path = /media/Storage/Music
    read only = yes
    guest ok = yes
    writable = no
    browsable = yes
    

    The bracket part, ie [Music] is the name of the share as it'll appear when going on the shared pc. I then use the above settings to get anonymous access to work.

    Also the below command is quite helpful when checking out the status of your Samba shares:
    testparm
    

    Oh and finally for restarting Samba once you've made any changes
    sudo /etc/init.d/samba restart
    

    To allow your account to access it, ie via entering a password you'll need to setup the Samba user
    sudo smbpasswd -L -a robert
    
    sudo smbpasswd -L -e robert
    

    Change "robert" for whatever the user name of your account is. Upon running each one it'll ask for a password. I tend to use my system account for this to stop problems.
    "Boonowa tweepi, ha, ha."
  • wakandem
    wakandem Posts: 591 Forumite
    cheers wolfman, it all works now - tnx
    Nudge nudge, Wink wink, Say No More!
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 351K Banking & Borrowing
  • 253.1K Reduce Debt & Boost Income
  • 453.6K Spending & Discounts
  • 244K Work, Benefits & Business
  • 598.9K Mortgages, Homes & Bills
  • 176.9K Life & Family
  • 257.3K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.