Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Ubuntu install

  Date: Dec 28    Category: Unix / Linux / Ubuntu    Views: 376
  

I have Ubuntu installed on my laptop, and a dual boot on my
desktop. I so much prefer Ubuntu and want to go to that exclusively on
my desktop.

BUT, I also have a wireless network. As long as my desktop is in
Windows, I can access files on it from my laptop and use the printer
remotely through samba.

Short version, if both computers are in Ubuntu, how do I set up a
network, so that I can access files from my desktop while I'm on my
laptop and I can print remotely from my laptop? I've read a zillion
things online, but I can't quite figure it out. I need a fairly SIMPLE
way to do this.

Share: 

 

6 Answers Found

 
Answer #1    Answered On: Dec 28    

Unfortunately the approaches may not be simple.

To just get access to the files on your desktop,
you could set up the desktop to act as an SSH server,
then you could just "shell in" from your laptop
and get to the files.

Or, samba shares could also be set up as well.

If I'm not mistaken, each machine will need
to have a static IP address assigned to it -
the software config (HTML) page inside your
router (if using a router) should be able to
reserve IP addresses to each machine once you
tell the router the MAC address of each machine.

As for printer sharing - if the printer has an
ethernet (RJ-45) connecter, then most likely it
can be set up as a network printer- again it will
need a non-changing (Static) IP address, and from
there I'm pretty sure you can just set up each
Ubuntu install to "add a network printer" and point
it at the printer name/IP address and in theory
you should be good to go.

Sorry I don't have exact "step by step" directions
here, but the above is at the least a good
"high-level" starting point.

 
Answer #2    Answered On: Dec 28    

It was very simple for me... Using Ubuntu install samba:

sudo apt-get install samba

Then Somewhere in the GUI for Gnome (Settings I think) there is
something about shared folders. You need to set up your folders there
as being shared as SMB (as Windows won't really do well with NSF) You
also should do a few other things...

If you have a router that gives IP addresses (using DHCP), which is most
common when using a DSL modem or Cable modem for several computers to
access the 'net. You need to configure it to give out a WINS server IP.

> To just get access to the files on your desktop,
> you could set up the desktop to act as an SSH server,
> then you could just "shell in" from your laptop
> and get to the files.

SSH is a good solution, but for Windows using samba works better for LAN
while SSH works better for going in from the 'net.

> Or, samba shares could also be set up as well.

See above.

> If I'm not mistaken, each machine will need
> to have a static IP address assigned to it -
> the software config (HTML) page inside your
> router (if using a router) should be able to
> reserve IP addresses to each machine once you
> tell the router the MAC address of each machine.

The only computer that will need a static IP is going to be the server
(the Desktop). You also need to configure Samba to act as a WINS
server, then set your DHCP in your router to give out the Desktop's IP
as the WINS server (this setting should be near but separate from the
router's settings on static DNS).

> As for printer sharing - if the printer has an
> ethernet (RJ-45) connecter, then most likely it
> can be set up as a network printer- again it will
> need a non-changing (Static) IP address, and from
> there I'm pretty sure you can just set up each
> Ubuntu install to "add a network printer" and point
> it at the printer name/IP address and in theory
> you should be good to go.

This is what the WINS server is for, NetBIOS/SMB/Samba tells the WINS
server where services are, Samba acts as a very nice WINS server.
Ironic since WINS is "Windows Internet Naming Service" (MS file sharing
server that operates like DNS).

> Sorry I don't have exact "step by step" directions
> here, but the above is at the least a good
> "high-level" starting point.
>
> Hope this helps,

I don't have step by step either... Most of your options should be
found in your Ubuntu's GUI... Try googling using Ubuntu as a WINS
Server that should yield some results that could be handy.

Basically, you want to make sure all computers go to your Desktop for
information on what is on the network if you plan to use Samba, if you
plan to use SSH, it is not nearly as complicated.

 
Answer #3    Answered On: Dec 28    

I'm still rather confused, but it's
getting more clear. I'm just falling in love with Ubuntu and really want
to make the complete switch on both of my home computers, but not until
I can - at the very least - print remotely from my laptop.

 
Answer #4    Answered On: Dec 28    

OK ... so I got the file sharing thing figured out (yey!) - thank you
very much - but I still don't know how to connect to the printer from
the laptop through the desktop. The printer is connected to the desktop
by USB, but the network is wireless. Am I making any sense?! I hate to
be so stupid about things, but it's all new to me.

 
Answer #5    Answered On: Dec 28    

Also Windows can use a DNS server for resolution of NetBIOS names but
that would require set IP's.

Hope everyone finds this info useful.

 
Answer #6    Answered On: Dec 28    

Is Samba still the only way to transfer files if
they're on a dual-boot PC? I have XP and Kubuntu
and need to move files to the Kubuntu sector. Is
Samba the only way, or is there a simpler solution??

If it is, does anyone know of a web page that lists
the protocol for the transfer?

 
Didn't find what you were looking for? Find more on Ubuntu install Or get search suggestion and latest updates.




Tagged: