LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-13-2011, 08:04 PM   #1
JNKlikesLinux
LQ Newbie
 
Registered: Jan 2011
Posts: 28

Rep: Reputation: 0
Can I access my ubuntu file server if it's connected to a router?


I want to access files on my ubuntu server wireless. Is there a way I can do that?

I'm sorry if this is a stupid question, but I'm kind of new at this whole server thing.
 
Old 02-13-2011, 08:15 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Yes, of course. But what do wireless and a router have to do with anything? You haven't been specific enough as to what you want to do.
 
Old 02-13-2011, 08:24 PM   #3
ionrivera
Member
 
Registered: May 2010
Distribution: Debian, RHEL, AIX, Solaris, HP-UX
Posts: 61

Rep: Reputation: 4
Yes you can. You just need to setup your wireless connection on your ubuntu server properly.

There are many methods of accessing files like ftp, ssh, scp , rsync and more. It always depends on your needs. In addition to that, if you want to share your files to a windows based clients you need to install "samba package". But if all your clients are linux/unix based, I would recommend you to use "NFS".

Installing SAMBA share:
Code:
apt-get update 
apt-get install samba smbclient
Installing NFS
Code:
sudo apt-get install nfs-kernel-server nfs-common portmap
edit /etc/exports to configure nfs shares on your Ubuntu server.

Hope you find it helpful...
 
Old 02-14-2011, 07:14 AM   #4
JNKlikesLinux
LQ Newbie
 
Registered: Jan 2011
Posts: 28

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by AlucardZero View Post
Yes, of course. But what do wireless and a router have to do with anything? You haven't been specific enough as to what you want to do.
I want to be able to access files on the server through a wireless connection.
 
Old 02-18-2011, 01:56 PM   #5
Brewmaster619
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by JNKlikesLinux View Post
I want to be able to access files on the server through a wireless connection.
I'm guessing the wireless is through a router? and the server is connected to the router via wired ethernet? Then it's most likely the same as if it were wired, unless the wireless is blocked by a rule from accessing the rest of the network (other than to go out to The Internet ).
The post by ionrivera is a starter.

My experience in a nutshell:
I recently set up Samba from scratch, there are a few "gotchas" but it's not hard. My biggest problems was setting up permissions correctly, in my case I learned I had to use the forcegroup setting (Which forces the permissions of files written to the Samba share to belong to a particular group, so others can also read/write, if that's what you want. That, and the tutorial I initially read on it, I (Linux N00b that I am) assumed a group name they were using was a default group, but it wasn't; once I made my own group, and changed the permissions to that group, it's worked great since then.
 
Old 02-18-2011, 03:58 PM   #6
sneakyimp
Senior Member
 
Registered: Dec 2004
Posts: 1,056

Rep: Reputation: 78
If your ubuntu file server connects to your router either wirelessly or via ethernet cable, then it has the opportunity to share its files. Whether other computers can actually see those files will depend on a few things:

1)Do they understand a common file sharing protocol? Windows machines use Server Message Block (SMB) (and macs understand this protocol and can gain access to windows shares via wirless router). According to this article, "[Macs] can share files using Apple Filing Protocol (AFP), File Transfer Protocol (FTP) or Server Message Block (SMB) protocol." I'm not entirely sure what file sharing protocol linux machines might use natively, but you can in fact download and install SMB for debian/ubuntu as described by ionRivera.

2) Have you set up file sharing on the Ubuntu machines so that it is in fact sharing the files you want to share? This is partly an issue of installing the sharing protocol described in step 1 and partly an issue of configuring it. Just because you have the protocol installed doesn't mean your files are suddently visible. You typically have to specify what is to be shared by changing configurations. For example, in Windows you can right click something in File Manager and select "sharing..." and gain access to the share options. Macs have something similar. Ubuntu probably also has something similar.

3) Does a particular client have access to the shared items? Keep in mind that each computer on your network typically has a 'current user' (it may be Admin or Sneakyimp or Brewmaster619 or whatever) and that user has a username and a password. When something is shared (see step 2) you typically describe what users or groups may access the shared item. Some sharing protocols let you describe groups or just share things for everyone.

So YES you can share files on your ubuntu file server with out computers over wireless, but you'll need to figure some things out.
 
  


Reply

Tags
fileserver, server, ubuntuserver, wireless


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
Suse Linux server having 1 NIC and connected to 2 ISP router lexroxas Linux - Enterprise 2 06-28-2010 09:55 AM
Transparent Proxy Server Connected to LinkSys Router greenepenguin Linux - Networking 3 08-06-2009 01:19 AM
Install ubuntu server from laptop because no kybd no display connected with server cicca82 Linux - Newbie 1 05-06-2009 10:02 PM
Connected to router,but not able to access internet. JAKK Linux - Networking 5 06-14-2006 08:37 AM
How to access MAC id of a machine in WAN set up thru router connected via ISDNline? Ramanathan Linux - Security 1 04-08-2004 03:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:42 PM.

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