The things I am missing: SMB Solved!

Issue 4 of the things I was missing was connecting to my network share to access my music.With some help from Mark via the comments, it is now working! The solution was a little trickier than I’d hope for. The basic idea is to mount the SMB share into the file system so apps can “see” it. I was trying this by using the shell’s Places–>Connect to Server menu but this results in something like smb://server/share and apps don’t seem to like this.So the solution:

  1. from a terminal, type mount.smbfs //192.168.0.1/share /home/paul/shareName
  2. Get an error that mount.smbfs isn’t installed. Copy the apt-get command and install it.
  3. Figure out that you really need mount.smbfs //192.168.0.1/share /home/paul/shareName -o username:paul password:yourPassword

That’s it! At this point I have Banshee playing my music. Next up will be testing a few music players to see if they can reliably synch with my iPod. That will remove Issue 0. Thanks for the help Mark!This does bring up an idea for the Ubuntu guys: could you modify the Places–>Connect to Server process so this could all be done via the UI? In other words when you offer to connect to a Windows Share which is one of the choices, offer to mount the share somewhere in the filesystem so applications will just work.Update: just noticed this resolves Issue 2 as well — thumbnails work just fine once you mount the SMB share into the file system. Very cool, almost there! As noted in the comments I need to figure out why my sound card isn’t working and then also write a script to mount the SMB share at login time.

2 thoughts on “The things I am missing: SMB Solved!

  1. Gr… now that I have my music in a player I have discovered my sound card isn’t working. I know the card itself works as this machine dual-boots into XP and it works there.

  2. Well, I have a Ubuntu session in front of me now, and there is a GUI provided for this. Under "Places > Connect to Server…", it will open up a dialog. Select "Windows share" as the Service Type, then use the "Browse Network" button at the bottom. You don’t need to write a script to mount the SMB drive. Just add it into your /etc/fstab file (file system table). Linux will handle it automatically from you whenever you boot or shutdown that way.As for your sound card, did it ever work in Ubuntu? Either as live, or as install? Does a Knoppix LiveCD work? (I’m not suggesting switching to Knoppix, but it is – or used to be, anyhow – the gold standard in LiveCDs)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s