LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-31-2004, 07:37 AM   #1
Idle
LQ Newbie
 
Registered: Nov 2002
Location: Iceland
Distribution: RHEL, CentOS, Slackware
Posts: 26

Rep: Reputation: 15
XMMS - Streaming via Samba?


Greetings!

I have two computers connected by a crossover cable. One is a Windows 2000 box, and the other is Slackware 10.0 (kernel 2.6.10). I've just compiled and installed Samba 3.0.10, and am able to access shared directories on the Windows box in Konqueror (different problem, but is there a way to make Firefox recognise the SMB protocol?). Now, I have some music on my Win box I'd like to play in XMMS, but so far the only method that has worked for me is to enqueue individual files (definitely tedious and annoying if one's got lots of music).

I've tried the whole drag'n'drop shebang, adding files by URL, et cetera in XMMS, but without luck. There has to be some way, righ'?

Mind you, I'm relatively new to Linux, so don't get too advanced on me.
 
Old 12-31-2004, 07:47 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,406

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
firefox doesn't, and will never, recognise smb protocols. firefox is a very focused web browser, and so has nothing at all to do with lan shares.

why not just mount the thing as a local drive??

mount -t smbfs //windows/share /mnt/windows_share
 
Old 12-31-2004, 08:09 AM   #3
Idle
LQ Newbie
 
Registered: Nov 2002
Location: Iceland
Distribution: RHEL, CentOS, Slackware
Posts: 26

Original Poster
Rep: Reputation: 15
That's what I was hoping I could do. Now, I just tried that, but clearly I must be doing something wrong.
Code:
root@armageddon:~# mount -t smbfs //athena/G$ /mnt/athena_g
Could not resolve mount point /mnt/athena_g
The Windows box is called "athena" and the share name is "G$". Illegal characters somewhere, perhaps?

Edit: Never mind... Got it working. Just had to read a bit more.
Thanks!

Last edited by Idle; 12-31-2004 at 08:17 AM.
 
Old 12-31-2004, 09:13 AM   #4
Zyrix
LQ Newbie
 
Registered: Dec 2004
Posts: 17

Rep: Reputation: 0
What was the solution? Had to change the computername to IP address or add that to hosts file?
 
Old 12-31-2004, 09:32 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,406

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
/mnt/athena_g presumably did not already exist as a directory. it needs to be there as an empty directory in order to be used.
 
Old 12-31-2004, 10:12 AM   #6
Zyrix
LQ Newbie
 
Registered: Dec 2004
Posts: 17

Rep: Reputation: 0
Ahhh, gotcha.... gonna give that a try when i get home. Thanks!
 
Old 12-31-2004, 02:14 PM   #7
Idle
LQ Newbie
 
Registered: Nov 2002
Location: Iceland
Distribution: RHEL, CentOS, Slackware
Posts: 26

Original Poster
Rep: Reputation: 15
Lightbulb

Aye, I forgot to create the directory I was attempting to mount it to. Isn't it just wonderful how easy it is to overlook something as simple?

Also, I didn't know why it didn't work at first after adding it to fstab, but of course that was equally simple. I forgot to throw in the user name and password (i. e. "//computer/share /someplace smbfs dmask=777,fmask=777,username=HellNo,password=ForgetIt 1 0").
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XMMS freezes while streaming audio General Linux - Software 2 10-17-2005 01:18 PM
xmms and streaming mp3 TuxLives Linux - Software 0 01-17-2005 09:03 PM
xmms freeze with streaming internet radio goverd Linux - Software 1 04-24-2004 11:51 AM
XMMS - Streaming Radio - Buffer Problem thomassounness Linux - Newbie 1 08-29-2003 10:23 AM
xmms and streaming radio TravisB Linux - General 2 03-27-2002 02:26 PM


All times are GMT -5. The time now is 05:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration