LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-28-2006, 08:04 AM   #1
daiver
Member
 
Registered: Oct 2003
Location: Uruguay
Distribution: PCLinuxOS
Posts: 53

Rep: Reputation: 15
Question Linux to Linux Network


After many tries, I've decided to make the thread. I just can't seem to get a 2 computer, home network.

I've downloaded samba, samba server, and God know how many other things in attempt to get this going, but it just won't work the way I want it to.

I'm a recently switched user, I used to use Windows and I liked the whole "Network Neighborhood" idea. I like to be able to play mp3 files that are on another computer and directly edit files on it as well.

As a miracle, and by accident, I managed to set up the printer which is on the media/print server in my home network, so they obviously see each other. However, I'm not able to navigate into the shared hard drives on that media server with Konqueror. Instead, Smb4k seems to be scanning all the networks in my neighborhood with some sort of NetBIOS thing. To my surprise, I can access someone else's computer and it's files without autorization, but I can't access my own media server. I'm not even trying to do it wirelessly.

Can anyone please point me in the right direction?

Just for reference:

Media server:
P4 2.8Ghz
Kernel: 2.6.12-oci6.mdk-i586-up-1GB
1GB RAM
320GB SATA HD
160GB SATA HD
IP: 192.168.10.2

Laptop:

Toshiba M65-SP811
Centrino 2.0Ghz
Kernel: 2.6.13-oci2.mdk-i686-up-4GB
2GB RAM
100GB HD
IP: 192.168.10.3

Router and gateway:
Motorola WR850G
IP: 192.168.10.1

Both computers are running PCLinuxOS up to date.

Thanks in advance for any help provided.

Last edited by daiver; 04-28-2006 at 12:10 PM.
 
Old 04-28-2006, 08:19 AM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Rep: Reputation: 46
well, samba is for linux to windows networking and not for linux to linux networking. I am continually amazed as to why people try this... Samba is for windows interoperability. Unix has had networking tools for decades.....

anyway, i would recommed using NFS or SSHFS to share files between your linux boxes. As far as NFS goes, i would recommend sharing both machines files with each other using "automount".


A link for SSHFS (ssh file system): http://fuse.sourceforge.net/sshfs.html

NFS:

http://nfs.sourceforge.net/nfs-howto/

http://www.tldp.org/HOWTO/NFS-HOWTO/

if you want to use a windows machine then setting up samba too.

setting up a simple NFS and samba setup should not be too hard...
 
Old 04-28-2006, 08:26 AM   #3
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
I have an idea for this file sharing in Konqueror.
Use it if it suits your purpose

Open konqueror
Type

fish://IPaddress_Pc_to_Access

This will ask for password and then give you the file list on the remote PC.

Note:
fish is a VFS protocol used in KDE and uses ssh for this purpose.
 
Old 04-28-2006, 08:43 AM   #4
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Rep: Reputation: 46
oh right cool. so it's a bit like sshfs?

i've never tried that. will give it a try......
 
Old 04-28-2006, 08:45 AM   #5
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
And i am hearin about sshfs just now.
Cool :>
 
Old 04-28-2006, 09:06 AM   #6
daiver
Member
 
Registered: Oct 2003
Location: Uruguay
Distribution: PCLinuxOS
Posts: 53

Original Poster
Rep: Reputation: 15
Thanks for all the replies. sshfs sounds kinda cool to me too. I'll give all these options a try and see what I can come up with.
 
Old 04-28-2006, 09:39 AM   #7
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
And konqueror support Samba vfs also

Try this in konqueror window

smb://Ipaddress

This will give access to the samba shares on the given IP.
Sometimes when mount -t smbfs fails this comes in pretty handy.
 
Old 04-28-2006, 09:50 AM   #8
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
This one too

lan://

A lan browser type VFS supported in konqueror
can be used for network browsability
 
Old 04-28-2006, 09:56 AM   #9
daiver
Member
 
Registered: Oct 2003
Location: Uruguay
Distribution: PCLinuxOS
Posts: 53

Original Poster
Rep: Reputation: 15
Well, the fish:// thing works great. I'm able to transfer files back and forth, however I can't stream audio through it.

I mean, what I would like to do is to be able to have the media server stream the audio, without having to download the song locally. I used to be able to do this via SMB and Amarok, but not with fish.

Is there any way to do this?
 
Old 04-28-2006, 11:07 AM   #10
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,033

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Well, I never knew about or used fish:// before, and I have to say that I love it!
I have always used ssh, scp and vnc for this sort of thing before, but fish is excellent! I have ssh set up with key-based authentication, so it doesn't even ask me for a password.

Daiver, when I fish://my_other_PC I can see all my mp3's and video files, and clicking them plays them locally, so I don't understand why you "can't stream audio through it".

I learn something new every day.
 
Old 04-28-2006, 11:21 AM   #11
daiver
Member
 
Registered: Oct 2003
Location: Uruguay
Distribution: PCLinuxOS
Posts: 53

Original Poster
Rep: Reputation: 15
Well, I can't play through FISH, but I can access and manage everything. AmaroK refuses to open the file, and XMMS copies it to a temp directory

What player are you using?

I agree. FISH is the best thing that happened to me since I switched. I've added it to my guide linked in my signature.
 
Old 04-28-2006, 11:22 AM   #12
daiver
Member
 
Registered: Oct 2003
Location: Uruguay
Distribution: PCLinuxOS
Posts: 53

Original Poster
Rep: Reputation: 15
What are the drawbacks of using something that seems so efficient like FISH? Why isn't this the standard?
 
Old 04-28-2006, 11:30 AM   #13
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,033

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Right now I'm sitting at my Mandrake9.1 PC, playing an mp3 on my Mandriva2005LE PC, using "Kaboodle" as my (very simple) player. My network is Ethernet-100, which is fast enough. However, I'm not sure if it is copying the file(s) to tmp locally before playing them, but I don't really care if it does.
I think it is copying them, then playing them: The network lights flicker, then the file plays whilst there is no network activity.

HTH
 
Old 04-28-2006, 11:45 AM   #14
daiver
Member
 
Registered: Oct 2003
Location: Uruguay
Distribution: PCLinuxOS
Posts: 53

Original Poster
Rep: Reputation: 15
Indeed, I think the file is being copied to your /tmp directory. Check especially kdecache-username, that's where XMMS copies them to.
 
Old 04-28-2006, 12:11 PM   #15
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,033

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
For me, playing a mov file from the other computer puts a copy in /home/username/.kde/share/apps/kfmexec/tmp/ which is then deleted when I close xine. This seems sensible as streaming video (or music) without buffering it somewhere is likely to give poor performance over a slow or congested network.
Does the fact that applications may put a copy somewhere bother you?
 
  


Reply

Tags
fish, linux, network, setting


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
Zoom modem/switch & linux<->linux network: DHCP / Static ? tredegar Linux - Networking 8 11-11-2007 04:41 AM
Suggestions for my home network - Linux, other (non-Linux) users, Games, etc. lrt2003 Linux - General 5 05-06-2004 10:11 PM
Crossover network! Linux PC to Linux Laptop! Also what about bluetooth wireless usb?? kane hart Linux - Wireless Networking 2 10-16-2003 07:53 PM
Samba: Linux Not establishing itself on network, WinXP cannot see Linux either shassouneh Linux - Networking 5 07-27-2002 07:28 PM


All times are GMT -5. The time now is 02:14 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