Need some help setting up networking
Both machines, which are running Kubuntu Feisty, are wired through a linksys router and are receiving IP's. I can connect to the internet on both, and they can ping eachother, as well as print to my network printer. I have shared both my home directories through NFS, but I cannot see the directory, nor the machines for that matter. When I look in System Services, networking, nfs-common and nfs-kernel-server are not running, nor will they start, and they are all set to start on boot. What am I missing? Thanks!
|
You are missing LISA. It allows network browsing.
There is a section in the control center where you configure it. Then, you start is as any normal service. Then, you can access a list of computers on the network, much like network neighborhood in Windows. I'm at work, and can't remember specifics off the top of my head. I'll write again this evening if somebody else doesn't fill in the missing info. |
OK, got LISA installed on both, and they appear to see eachother cuz now I get an authentication error when I try to connect by doing
Code:
nfs://192.168.1.103/home/keith |
Bahhhh.
xubuntu is much easier than that... 1. Get rid of NFS and use Samba 2. Install "samba" server package from synaptic. 3. Then, from start menu in xubuntu choose system->Shared Folders. 4. Click add and add your share. Give it a name and make sure Share Through is set to SMB. If you assign a network domain/group name the same as Windows, then any linux and windows, Xbox etc client can see them!!! 5. As root, enter: /etc/init.d/samba restart EASY! depending on how you are accessing your shares, you may need a separate client to see the share - e.g. xubuntu Thunar file manager cannot "see" samba shares, not natively anyway. To test you could, as root, enter: cd /tmp smbget smb://<host>/<share>/<a file name> where <host> is the host name of the smb server (the pc you installed samba on). You can get the hostname by the command "hostname". <share> is the share name you assigned the folder (as above) <a file name> any file in the share folder. If everything is setup okay, the file will be copied to /tmp Check setup with the command "smbtree" as root. |
Be aware that samba is known to run considerably slower than NFS.
You might look and see if you have the right ports open. Do not know about buntu but on Fedora hosts.allow, and exports are also involved. |
Quote:
OMG. This is a REALLY old debate, like the GNOME versus KDE issue. EVERYONE but everyone has a view on this. We could forum this for a day and eternity. For every link you provide to NFS being superior, I could probably provide one to academia research here at UCL UK on smb/samba being more responsive. It depends on what you are doing and the size and location of the blocks constituting the filesystems. I'm not getting into the debate, period! thekid: Just try both and see which one suits you. p.s. I dont have any special ports open LAN side of the router!! |
Ok, I got Samba setup, and using Smb4k, I can see the respective machines, but I cannot connect, because it keeps asking for authentication data, i.e. username and password, and I don't know what it wants. Any clues?
|
For info (in laymen terms)
The samba server needs to authenticate access to the files, just as a login server ("login:") would ask you to enter a username and password for the session. A client connecting to a smb chare may not necessarily be a linux O/S or a Windows O/S. Provided it knows how to "talk samba" then it can see the share - but it cannot connect to the files in the share, until it provides a user name and password assigned by the samba server. You just need to set this up. Its pretty simple. You've done the "hard bit". Okay, post the output of your /etc/samba/smb.conf file. |
Code:
# |
change end of file to :-
Code:
[KEITH] |
..and then as root enter:-
/etc/init.d/samba restart |
Great thanks! I got everything working now and am able to share my stuff across my network. Just curious, do you know how I can get movies to play on my laptop from the PC without having to copy it to the tmp folder first? I open it with Mplayer, but it copies it before playing, and I would rather it stream it.
|
cool!
unfortunately I dont use mplayer however if a samba share can be seen then there is no reason for a file to be copied. example: I have an Xbox that can see a linux filesystem on which is mounted a WindowsXP partition containing music+video. Nothing gets copied in my setup. does mplayer have any "buffering" options I wonder, like to smooth playback it may be copying part or all of the file to /tmp? have you tried other media players? look in synaptic. |
All times are GMT -5. The time now is 06:56 PM. |