Personal computing discussed

Moderators: renee, SecretSquirrel, notfred

 
lex-ington
Minister of Gerbil Affairs
Topic Author
Posts: 2956
Joined: Fri Apr 25, 2003 10:59 pm
Location: Toronto, ON

What is the easiest way to join Ubuntu to a Windows network?

Fri Jul 10, 2009 4:22 pm

When I go to places/network - I see all of the computers hooked up to my router. I can even ping the windows boxes.

Is there an easy way - besides the 100 steps to use Samba (which confuses me alot) - to just join the windows network currently setup to share files?
. . . this is the digital projection of your mental self. . . .
 
just brew it!
Administrator
Posts: 54500
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: What is the easiest way to join Ubuntu to a Windows network?

Fri Jul 10, 2009 4:31 pm

Do you want to access files on the Windows boxes from the Ubuntu box, or the other way around? (Or both?)

Edit: I assume you want to access the Ubuntu box from Windows? (Otherwise Places / Network would've gotten the job done...)

To share Ubuntu files out to Windows, you're going to need Samba. But setting it up is a lot simpler than it used to be...
Nostalgia isn't what it used to be.
 
bthylafh
Maximum Gerbil
Posts: 4320
Joined: Mon Dec 29, 2003 11:55 pm
Location: Southwest Missouri, USA

Re: What is the easiest way to join Ubuntu to a Windows network?

Sat Jul 11, 2009 10:47 am

Actually, in newer Ubuntus you can just right-click on a folder, select Properties, go to the Share tab, and select "Share this folder". You'll still need Samba in the background (if it's not installed, it should automatically get installed), but further configuration isn't necessary if you're not too worried about security or fine-grained permissions.
Hakkaa päälle!
i7-8700K|Asus Z-370 Pro|32GB DDR4|Asus Radeon RX-580|Samsung 960 EVO 1TB|1988 Model M||Logitech MX 518 & F310|Samsung C24FG70|Dell 2209WA|ATH-M50x
 
[SDG]Mantis
Gerbil XP
Posts: 351
Joined: Wed Oct 27, 2004 5:39 am

Re: What is the easiest way to join Ubuntu to a Windows network?

Sat Jul 11, 2009 12:26 pm

The installation and GUI tools to use samba are much improved. It more-or-less boils down to installing samba using the package manager. The samba meta-package includes client and server.

I *believe* that the newer versions of Ubuntu automatically install and configure samba when you share a folder.

Edit: You can do a fair bit of manual tweaking and configuration if you like. But reading the docs on the Ubuntu wiki (https://help.ubuntu.com/community/SettingUpSamba) it looks like there is almost nothing strictly necessary for Ubuntu after 8.04. (I primarily run Fedora which has a gui configuration tool for managing shares in the version that I am using on the machine next to me, though it might have been replaced in a later release.)
Image
 
Blazex
Gerbil Team Leader
Posts: 288
Joined: Wed Jul 19, 2006 3:21 am
Location: Oceanside, CA

Re: What is the easiest way to join Ubuntu to a Windows network?

Sat Jul 11, 2009 1:44 pm

the newer versions, like 7.10 or so and up, should automatically join windows networks right off install or even on live, i havent tried that with live disc though.
either way they see the windows machines without doing anything as it is.
probably drinking some tea.
 
just brew it!
Administrator
Posts: 54500
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: What is the easiest way to join Ubuntu to a Windows network?

Sun Jul 12, 2009 1:32 am

A few tips for using Samba on Ubuntu:

- I can confirm bthylafh's comment about Ubuntu 9.04 automatically installing Samba the first time you try to share a folder. One minor quirk: after installing the service, it brings up a dialog telling you that you need to restart your session to complete the installation. But if you click the button to confirm, nothing happens. You do in fact need to restart the session though, or things don't seem to work quite right. So just manually log out and log back in again, and you should be good to go.

- The automatic Samba installation doesn't give you any way to set the Windows workgroup name; you just end up with the default (which is "workgroup"). What you want to do is install the package system-config-samba. This will add a Samba item to your System -> Administration menu, which provides a simple GUI interface for doing the most common Samba administration tasks (like setting the workgroup name, adding arbitrary Samba users and folder shares, etc.)

- Power users may wish to install the swat package, which provides a comprehensive browser-based Samba management interface. After installing swat, change the group of the /etc/samba/smb.conf file to adm, and enable group write permission on it (you must do this to get swat to play nice with Ubuntu's security model where the root account is disabled by default). Restart the system. The management interface is accessed by opening a web browser, entering localhost:901 in the address bar, and giving the login name and password of any account with admin privileges when prompted. (Note: swat is not for the faint of heart; but it still beats manually editing the smb.conf file, which is for masochists only!)
Nostalgia isn't what it used to be.
 
lex-ington
Minister of Gerbil Affairs
Topic Author
Posts: 2956
Joined: Fri Apr 25, 2003 10:59 pm
Location: Toronto, ON

Re: What is the easiest way to join Ubuntu to a Windows network?

Sun Jul 12, 2009 8:53 pm

I am happy to report that I installed samba and smb4 GUI and the network is now running like a dream. It is a glorious feeling to see a network running as easily as this is. WOW!!!!

thanks for all of the replies. 8)
. . . this is the digital projection of your mental self. . . .
 
Nitrodist
Grand Gerbil Poohbah
Posts: 3281
Joined: Wed Jul 19, 2006 1:51 am
Location: Minnesota

Re: What is the easiest way to join Ubuntu to a Windows network?

Mon Jul 13, 2009 1:30 am

Thanks for the tip with system-config-samba, jbi.
Image
 
lex-ington
Minister of Gerbil Affairs
Topic Author
Posts: 2956
Joined: Fri Apr 25, 2003 10:59 pm
Location: Toronto, ON

Re: What is the easiest way to join Ubuntu to a Windows network?

Tue Jul 28, 2009 8:29 am

I think that the ability for the latest version of Ubuntu and Windows 7 to be able to work so seemlessly together is a blessing to behold. Even my wife's laptop which has Vista Home Basic on it is seen by the others flawlessly.

I now need to find a way to speed up the wireless portions of my network (HTPC and wife's laptop). The wireless N USB adaptors that I have both bring down the entire network to the point of me having to reset the router every time i try them!! :evil: (the router and the USB adaptors are Belkin)

Maybe if I put in a wireless N card it would speed up? I have a wireless G card in the HTPC right now.
. . . this is the digital projection of your mental self. . . .
 
lex-ington
Minister of Gerbil Affairs
Topic Author
Posts: 2956
Joined: Fri Apr 25, 2003 10:59 pm
Location: Toronto, ON

(Re-named) Ubuntu 9.10 networking problems.

Wed Dec 02, 2009 7:20 pm

New problem . . .but rather keep this thread going than start a new one.

I had to install Windows XP to get my version of AutoCAD to work properly (OH how I hate the way Autodesk implements their version control!!! :evil: :evil: ). So, I cleared everything on my Linux box and installed XP - the I installed Ubuntu 9.10. No problems. Installed samba. No problems.

Went to Networks and clicked on the Windows Network icon . . . . . problem. I got an error message saying "smb" could not be started. So I go into the synaptic manager and install the smb lib stuff and some other stuff and now I get the message "Failed to retrieve share list from server". The last time I did this - as stated in the previous posts - it was a simple right click and share. Now I can't even get to see the rest of the machines on my network.

Can someone help me out please? I would love to get this back up and running as soon as I can.

Thanks.
. . . this is the digital projection of your mental self. . . .
 
Flying Fox
Gerbil God
Posts: 25690
Joined: Mon May 24, 2004 2:19 am
Contact:

Re: (Re-named) Ubuntu 9.10 networking problems.

Wed Dec 23, 2009 10:06 am

On my Xubuntu, I just use System -> Shared Folders and you can configure users, shares, and workgroup name. I believe Ubuntu has the same thing out of the box. When you first bring up the applet, it will prompt to install NFS and Samba. I just pick Samba and let it do its thing. Works right after setting up and all. My needs for now are just to read the working folder of FAH so I actually need more relaxed security (added nobody to the access list). I may explore smb4 GUI when I really feel like it I guess.

lex-ington wrote:
the I installed Ubuntu 9.10. No problems. Installed samba. No problems.

Went to Networks and clicked on the Windows Network icon . . . . . problem. I got an error message saying "smb" could not be started. So I go into the synaptic manager and install the smb lib stuff and some other stuff and now I get the message "Failed to retrieve share list from server". The last time I did this - as stated in the previous posts - it was a simple right click and share. Now I can't even get to see the rest of the machines on my network.

You may be running to the same thing here. ;) Looks like the community is just starting to try the new release out otherwise this would have been major outcries on the internetz already.

To confirm, I do a "ps -ef|grep nmbd" and you should not see nmbd running. The "fix" the on the known issues page works 100% so far (like 5 reboots on my VM).
The Model M is not for the faint of heart. You either like them or hate them.

Gerbils unite! Fold for UnitedGerbilNation, team 2630.

Who is online

Users browsing this forum: No registered users and 1 guest
GZIP: On