View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 16 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Nov 04, 2005 2:03 am 
Offline
Joined: Thu Oct 20, 2005 5:43 pm
Posts: 134
I would like to make the drives on my knoppmyth box available over my home network so I can do things like look and edit config files remotely. What would be the best method? I have used Samba to share drives in the past, but as my other machine is a Mandriva linux machine, should I use NFS (which I would have to learn about, but that's OK)?

Is any of this software installed by default in Knoppmyth?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 04, 2005 2:57 am 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
I think samba and nfs are installed by default in r5a22. Samba needs to be told to start on boot, i think this is the command:

update-rc.d /etc/init.d/samba

I've never actually used nfs so i have no idea about that!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 04, 2005 3:00 am 
Offline
Joined: Thu Oct 20, 2005 5:43 pm
Posts: 134
mad_paddler wrote:
I think samba and nfs are installed by default in r5a22. Samba needs to be told to start on boot, i think this is the command:

update-rc.d /etc/init.d/samba

I've never actually used nfs so i have no idea about that!


OK, thanks, I appreciate the quick reply too. :D


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 04, 2005 5:50 am 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
Here is a quick script to get NFS working as it is quicker and probably more reliable than Samba.

Code:
   echo "/myth   *(rw)" >> /etc/exports
   mv /etc/mysql/my.cnf /etc/mysql/my.cnf.old
   < /etc/mysql/my.cnf.old |
      sed -e 's/skip-networking/#skip-networking/g' > /etc/mysql/my.cnf
/etc/init.d/nfs-kernel-server start && update-rc.d nfs-kernel-server defaults


Give that a go.

_________________
Girkers


Last edited by Girkers on Sun Nov 06, 2005 10:00 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 04, 2005 4:14 pm 
Offline
Joined: Thu Oct 20, 2005 5:43 pm
Posts: 134
Girkers wrote:
Here is a quick script to get NFS working as it is quicker and probably more reliable than Samba.

Code:
   echo "/myth   *(rw)" >> /etc/exports
   mv /etc/mysql/my.cnf /etc/mysql/my.cnf.old
   cat /etc/mysql/my.cnf.old | \
      sed -e 's/skip-networking/#skip-networking/g' > /etc/mysql/my.cnf
/etc/init.d/nfs-kernel-server start && update-rc.d nfs-kernel-server defaults


Give that a go.


Yes, that worked nicely thank you. Mandriva (on my remote machine) found and mounted the nfs share easily.

There are a couple of lines in that script that deal with my.cnf. Am I correct that they aren't really anything to do with nfs, but enable network connections into mysql?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 04, 2005 9:27 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Dude! You're getting good at this! :D One minor suggestion - the \ after the pipe is redundant, but so is the cat itself. You can just use '<'.
Girkers wrote:
Here is a quick script to get NFS working as it is quicker and probably more reliable than Samba.
Code:
   echo "/myth   *(rw)" >> /etc/exports
   mv /etc/mysql/my.cnf /etc/mysql/my.cnf.old
   cat /etc/mysql/my.cnf.old | \
      sed -e 's/skip-networking/#skip-networking/g' > /etc/mysql/my.cnf
/etc/init.d/nfs-kernel-server start && update-rc.d nfs-kernel-server defaults


Give that a go.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 06, 2005 10:04 pm 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
Thanks tjc, I have made your amendments as suggested and confirm that it works fine in R5A22. Thanks for your help.

_________________
Girkers


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 01, 2005 9:04 pm 
Offline
Joined: Thu Dec 01, 2005 8:50 pm
Posts: 6
One quick question, can I have NFS and Samba active at the same time. NFS for WinXP machines and NFS for Linux?

Or can NFS work for Windose as well as Linux machines??

Sorry for the newbe question, I have a Mandrake Samba Server ffor my Windose files but hadn't used NFS>

kevin


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 01, 2005 9:49 pm 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
Yeah you can without worry.

_________________
Girkers


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 02, 2005 9:41 am 
Offline
Joined: Thu Dec 01, 2005 8:50 pm
Posts: 6
Thanks for the quick reply. Sorry for the non spell check question.

I did mean NFS for Linux shares and Samba for Windose shares, but from your answer it seems that I can start both and that will work.

Kudos to all who put together the KnoppMyth and associated forums. Couldn't believe how easy it was to get up and recording.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 04, 2005 1:56 pm 
Offline
Joined: Sun Dec 04, 2005 1:54 pm
Posts: 17
mad_paddler wrote:
I think samba and nfs are installed by default in r5a22. Samba needs to be told to start on boot, i think this is the command:

update-rc.d /etc/init.d/samba

I've never actually used nfs so i have no idea about that!


for r5a16 it was:
update-rc.d samba defaults 90
(for run at 90, after networking is up but before the gui starts)


Top
 Profile  
 
PostPosted: Thu Dec 29, 2005 8:58 pm 
Offline
Joined: Mon Sep 20, 2004 4:49 pm
Posts: 26
Location: St. Louis, MO (USA)
I stumbled onto this whole message thread because I was trying to resolve my problem with my R5A16 Myth box and my PowerMac G5 running OS X Tiger 10.4.3.

I followed the advice to enable the Samba server on the Myth box and it seems to be sharing just fine - BUT, whenever I connect to it from my Mac, I get *horribly slow* transfer rates trying to copy over large files to it. (It took about 11 hours to copy an approximately 700MB video file!)

I don't have any other network performance issues copying to/from any other machine on my LAN -- just this issue with Myth and OS X.

I think I'll try switching to NFS as suggested here, but still - this has me puzzled now. Are there configuration settings for Samba I should be changing to optimize it for playing nicely with an OS X machine?


Top
 Profile  
 
 Post subject: Script
PostPosted: Sat Dec 31, 2005 6:22 am 
Offline
Joined: Sat Dec 24, 2005 7:48 am
Posts: 2
Where does this go and how do I get it there?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 31, 2005 3:06 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Could you be anymore vague?

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
PostPosted: Mon Jan 02, 2006 9:03 pm 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
kingtj wrote:
I stumbled onto this whole message thread because I was trying to resolve my problem with my R5A16 Myth box and my PowerMac G5 running OS X Tiger 10.4.3.

I followed the advice to enable the Samba server on the Myth box and it seems to be sharing just fine - BUT, whenever I connect to it from my Mac, I get *horribly slow* transfer rates trying to copy over large files to it. (It took about 11 hours to copy an approximately 700MB video file!)

I don't have any other network performance issues copying to/from any other machine on my LAN -- just this issue with Myth and OS X.

I think I'll try switching to NFS as suggested here, but still - this has me puzzled now. Are there configuration settings for Samba I should be changing to optimize it for playing nicely with an OS X machine?


kingtj,
Mac OS X is based on UNIX so I would suggest trying NFS as this is more efficient than samba. Enable NFS sharing, there is a thread here with a script to do just that, then on the Mac with Finder selected Apple+K and in the server connection box type nfs://ipaddress click connect.
Try that and please report back your results.

_________________
Girkers


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu