LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-29-2002, 08:42 AM   #1
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
Mount a file system through the internet?


Is it possible to mount a file system through the Internet?
What program does the trick?
I already searched through the Internet but only found WebNFS Client SDK from Sun which seems to offer something like that, but I am not sure if it is just what I need.
Did anyone try webNFS? What are the experiences? Security?

(My aim is to synchronize two databases located on two servers ondifferent intranet networks, which only have a connection via the Internet.)
 
Old 05-29-2002, 08:45 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
well yes of course it is, THE internet is just a damn large network... it obviously entirely depends what the file system IS that you want to mount, and how you want to share it.. nfs, smb etc.....
 
Old 05-29-2002, 12:39 PM   #3
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
you could also go for vpn (tunnel)
like vtun.sourceforge.net and that way have secure connection and use any service securely.
another option is samba with ssl which is easier
 
Old 05-30-2002, 03:32 AM   #4
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Original Poster
Rep: Reputation: 58
We have two separate private networks located on separate premises, which can only be connected together through the Internet using slow (and limited-time) dial-up connections (the ISP of the two sites is the same).
The private networks have similar structure: FreeBSD machines with samba servers, and Win98 clients.
My aim is to create a symbolic link on a FreeBSD machine on one of the private networks, which points to a directory on an other FreeBSD machine on the other private network. This symbolic link would be shared with samba, so that the Windows clients could see it, too.
Is it possible?
 
Old 05-30-2002, 10:02 AM   #5
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
your aim should be buying/finding(in your garage) two 28.k external modems if you haven't yet and connect two servers directly with dial-in<---> dial-out

regards
 
Old 05-30-2002, 10:17 AM   #6
Rashkae
Member
 
Registered: May 2002
Distribution: Slackware
Posts: 125

Rep: Reputation: 15
Well, you *could* mount a remote FS over slow link if you really wanted to, but would rsync over ssh not serve your purpose *much* better?
 
Old 06-03-2002, 03:57 AM   #7
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Original Poster
Rep: Reputation: 58
If I could mount a remote file system and share it with samba, then I could use the database synchronization functions of MSAccess.
Otherwise I should write a lengthy code to establish the same task (database synchronization).

I took a glance at rsync, too, and I suspect that it would not do the trick:
- there are not many files of which only some change, but there is only one big file (the mdb file) that always changes.
I think that file would be always transmitted as a whole.
Am I wrong?
 
Old 06-03-2002, 07:56 AM   #8
Rashkae
Member
 
Registered: May 2002
Distribution: Slackware
Posts: 125

Rep: Reputation: 15
Actually, what I think needs be done in your case is setup an SQL Database and connect your Access app. to that.
 
Old 06-03-2002, 09:56 AM   #9
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Original Poster
Rep: Reputation: 58
Hi, Raskae,

Do you mean that

a) I should setup one SQL database at the main server and create e.g. a PHP script allowing data entry from the remote site?, Or

b) I should create two SQL servers, i.e. one at both ends of the connection (while keeping MSAccess as the user interface at both ends) I heard something that SQL servers can do database synchronization. Does it need extensive programming?

I do not know which way to go, yet, but I know that I should avoid extensive programming, and keep MS access as the user interface since the users prefer that.

Meanwhile I took an other glance at rsync and found that it promises limited traffic even if a large file changes. So, maybe that is the good choice. I will install it on two servers on the intranet and watch how much traffic it generates. If it suits the dial-up connection, too, that can be the simplest solution.
 
Old 06-03-2002, 12:38 PM   #10
Rashkae
Member
 
Registered: May 2002
Distribution: Slackware
Posts: 125

Rep: Reputation: 15
My knowledge of MS ODBC is a little skethy, but what I meant was, create the SQL server at the main site. You should be able to add SQL databases in MS ODBC as a data source that connects to remote SQL Server and connect your Access front end to that database. (Access as a database front end is a real waste, IMNSHO, you might eventually want to investigate re-creating yoru forms / code in Visual Basic or other RAD tool of your choice.) Synchronizing a Database file for concurent usage is just a *bad* thing overall, made even worse if you try to do it over a slow link.
 
Old 06-03-2002, 11:51 PM   #11
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Original Poster
Rep: Reputation: 58
In this practical case, it would be sufficient if synchronization were done once in every night. Syncronization during the working hours is not a must, but it can also be established occasionally, meanwhile the access to the database is naturally denied to the users.

So, I will try rsync today.

P.S.
I already have some experience with MySQL with MSAccess as a front-end on the Windows platform. Queries, data-lookups were OK, but I had difficulties with data entry, especially when there were related tables in the database.

Last edited by J_Szucs; 06-03-2002 at 11:57 PM.
 
Old 06-04-2002, 08:07 AM   #12
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Original Poster
Rep: Reputation: 58
By first sight rsync did a good job:
I entered one record into the database having a size of cca. 13Megs and run rsync.
Traffic: 5,9kB; and the duplicate database is just as the original one.
Great!
 
  


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
How to read .chm file in fedora, can't mount ntfs file system ishti_du Linux - Newbie 12 03-06-2007 03:27 AM
Mounting file system in a file with mount Denes Programming 6 11-11-2005 12:04 PM
How to mount my vfat file system? sathyguy Linux - Newbie 13 11-01-2005 04:08 AM
Cannot Mount File System slappycakes Linux - Hardware 18 10-13-2003 10:33 AM
Mount Points In File System pankajtakawale Linux - Newbie 2 10-08-2003 10:27 AM


All times are GMT -5. The time now is 04:40 PM.

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