LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 08-30-2012, 05:02 AM   #1
linuxlimbo
Member
 
Registered: Dec 2004
Posts: 43

Rep: Reputation: 15
networking between opensuse machines


I have a desktop machine that I have set up with Samba server. It seems to be set up OK since I can access it from my windows box. It isn't set up as a DC but just a member of my workgroup. I also have a netbook running 12.1. I have setup SAMBA client to the same workgroup. I can see my server when I go thru SAMBA shares, but when I click on it, I get an invalid address message. I want to be able to read and write files to my documents folder on my server from my netbook. Any help would be appreciated.
 
Old 08-31-2012, 09:00 AM   #2
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
So have a Windows box, Linux (OpenSUSE) box and a netbook with (OpenSUSE) installed?

Okay so SAMBA is fine for the Windows <> Linux stuff, but for the Linux <> Linux stuff setup an NFS share (this can be the same directory as the SAMBA share) and use NFS on your netbook.
 
Old 09-06-2012, 04:57 AM   #3
linuxlimbo
Member
 
Registered: Dec 2004
Posts: 43

Original Poster
Rep: Reputation: 15
NFS wants me to be root

So I have been doing research on how to use NFS. On my client machine I get the message that "only root can mount 192.168.1.3/home/hamelc on ...." I want to make it so when I am logged on as hamelc on my netbook, I can read and write stuff to my server. What step am I missing?
 
Old 09-06-2012, 07:49 AM   #4
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
You have three options here.

1) Using sudo or root to mount the drive

2) Putting the NFS share you wish to mount in the fstab file to it mounts it on boot.

The problem is with the second one is that if you can not access your server outside of your LAN then it will hang or cause funny side effects to things trying to resolve to that NFS share.
If always have access to your server (your server is visible to the world) then there are no problems because the netbook can mount the share at boot up without issue. Although this in itself is a bad idea the reason for it being a bad idea is because NFS shares or SAMBA shares should never be exposed to the outside.

3) Setup VPN on your server and connect to it that way then mount the share with sudo this way everything is encrypted when you leave the internal network so there is no risk of exposure.
 
Old 09-06-2012, 04:10 PM   #5
linuxlimbo
Member
 
Registered: Dec 2004
Posts: 43

Original Poster
Rep: Reputation: 15
I do have it in my FSTAB file. Here is the line--
192.168.1.3:/home/hamelc /home/hamelc nfs defaults 0 0

When I start Dolphin it shows up along the left side, but when I click on it I get an error message.

thanks,

Chris
 
Old 09-06-2012, 04:32 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Just in case, see this.

http://doc.opensuse.org/documentatio...e/cha.nfs.html
 
Old 09-06-2012, 06:23 PM   #7
linuxlimbo
Member
 
Registered: Dec 2004
Posts: 43

Original Poster
Rep: Reputation: 15
Thanks,

I had already found this article. I'll keep plugging away at it.

Chris
 
Old 09-07-2012, 09:31 AM   #8
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
Can you please post the exact error message and can you also post the contains of your /etc/fstab?
 
Old 09-08-2012, 12:26 PM   #9
linuxlimbo
Member
 
Registered: Dec 2004
Posts: 43

Original Poster
Rep: Reputation: 15
I finally got it working. I finally found an article that lead me through it "cookbook" style. It had me editing the various configuration files instead of using YAST. Anyway it worked. I am putting a link below if anybody is interested.

http://tldp.org/HOWTO/NFS-HOWTO/server.html
 
  


Reply



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
need to enable networking of one of the virtual machines aliabbass Linux - Virtualization and Cloud 1 02-25-2011 10:42 AM
LXer: Running Virtual Machines With VirtualBox 3.1.x On An OpenSUSE 11.2 Server LXer Syndicated Linux News 0 02-11-2010 07:20 AM
networking 2 RH9.0 machines redrobin77 Red Hat 1 11-12-2005 01:28 PM
networking Red Hat 9.0 machines StressedLemming Linux - Networking 12 11-03-2003 08:41 AM
home networking - installing new machines gehwokka Linux - Networking 3 06-03-2003 11:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:53 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration