LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-22-2008, 05:12 AM   #1
Dr Nick
LQ Newbie
 
Registered: Oct 2008
Posts: 22

Rep: Reputation: 15
Question How to: Peer to Peer Ubuntu networking?


Hey,
I am currently studying IT at school and need to know how to make a peer to peer network between two ubuntu computers (and then possible add in a win 98 to it). Our class is going to create a games arcade at our school in which students can play against one another over a peer to peer network.

No one is quite sure how to do this, so I'm hoping to get some help here (1st post)

Thanks in advance,
Nick

EDIT: So far the computers are hooked up to a router type thing (allowing info to pass to each comp from each comp, and have drivers installed, but nothing else has been done. The computers do not even recognize that the others are attached.

Last edited by Dr Nick; 10-22-2008 at 05:15 AM. Reason: Adding info
 
Old 10-22-2008, 05:48 AM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 87
What you need is a 'server' machine which all the other machines report back to for central games. For example, setting up multi player half-life requires you to set up one machine as a master or server. Then the other machines login to the server when you start the game. Dunno will this example work in ubuntu tho!
 
Old 10-22-2008, 06:47 AM   #3
francescopost
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
is it a network or developing/code problem?

i think i misunderstand your question?

can your computers ping each others?
which language are you using?
 
Old 10-22-2008, 09:55 PM   #4
Dr Nick
LQ Newbie
 
Registered: Oct 2008
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
is it a network or developing/code problem?

i think i misunderstand your question?

can your computers ping each others?
which language are you using?
We tried using ping, which on ubuntu computers is incredibly easy, which suggests that the networking capabilities are reasonable.
However we failed to locate the computers, this suggests that the network itself (or drivers) are to blame. Given this current information, can anybody offer any assistance for my ubuntu networking dilema?.

As for the language, I'm not entirely sure I understand, we used a programming language to ping the other computers.. but we didn't write any code, we're working off of a plug-and-play sort of networking server..

once again, can anybody offer any assistance??
 
Old 10-23-2008, 03:05 AM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,116

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Quote:
once again, can anybody offer any assistance??
Not until you ask a question that is answerable.
You need to learn about the basics of networking.
Here's a link:
http://www.yolinux.com/HOWTO/Net-HOWTO.html
But there are many other HOWTOs and tutorials on the net. Start reading.
 
Old 10-23-2008, 06:24 AM   #6
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 87
what I think you mean is that you can't see the computers like you would in a windows network. linux does not automatically work the same way, but you can make it work as a windows network by installing the samba services.
 
Old 11-05-2008, 09:03 PM   #7
Dr Nick
LQ Newbie
 
Registered: Oct 2008
Posts: 22

Original Poster
Rep: Reputation: 15
The computers are correctly connected and installed now. We can ping eachother and do a traceroute to confirm that they are correctly connected.

How do we go about setting up the network so we will be able to get network games working?
 
Old 11-07-2008, 06:44 AM   #8
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 87
Well, if the computers can see each other, then all you have to do is install your game? What game do you want to install?
 
Old 11-07-2008, 06:53 PM   #9
Dr Nick
LQ Newbie
 
Registered: Oct 2008
Posts: 22

Original Poster
Rep: Reputation: 15
OK, I got a remote desktop connection working yesty, this is so exciting.

I think, as irishbitte said, the games will work now.

Im currently downloading LieroX to try on monday.

Pity only 2 computers work atm, the 3rd one's CD drive wont work, so we cant install an operating system yet, but no doubt we'll find a working one lying around.

Thanks for all your help everyone.
 
Old 11-07-2008, 07:26 PM   #10
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 131Reputation: 131
FWIW, you don't really need a cd drive to install linux. You could simply pop its hard drive into one of the computers that does have a working cd drive, install your distro and then put it back. You could even do a network install.
 
Old 11-07-2008, 07:34 PM   #11
Dr Nick
LQ Newbie
 
Registered: Oct 2008
Posts: 22

Original Poster
Rep: Reputation: 15
forgot to mention, i did actually try this, but this computer is an old school computer, and the BIOS is somehow set up to only accept hard drives with particular boot programs on it or something, long story short, it wont boot from any other hard drives. anyway, I'm hoping that we can fix this before the OS installation (istall a new BIOS or something)

Nick
 
Old 11-07-2008, 07:43 PM   #12
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 131Reputation: 131
Well, if it's old, you may want to explore other Linux distros as Ubuntu is quite "demanding" (in Linux terms that is) and it won't run really very well if it is a PIII with 256MB RAM or lower - unless you set it up as a command line only system (which does not sound like what you need). Xubuntu is a lightweight version that requires far fewer resources. You could also look into Debian, which is the "mothership" of all Buntus. It's pretty much like Ubuntu, just not as demanding as long as you don't set it up to be exactly like ubuntu.
 
Old 11-07-2008, 07:47 PM   #13
Dr Nick
LQ Newbie
 
Registered: Oct 2008
Posts: 22

Original Poster
Rep: Reputation: 15
All computers are the same in terms of resources, and the others are running very well, but i guess we'll see when the games are running... The install should go fine once we get the Booting sorted out.

Nick.
 
Old 03-20-2009, 07:32 PM   #14
AHolyMonk
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
Quote:
forgot to mention, i did actually try this, but this computer is an old school computer, and the BIOS is somehow set up to only accept hard drives with particular boot programs on it or something, long story short, it wont boot from any other hard drives. anyway, I'm hoping that we can fix this before the OS installation (istall a new BIOS or something)

Nick
Have you tried pulling the CMOS battery on the motherboard?
 
Old 03-21-2009, 01:05 AM   #15
Dr Nick
LQ Newbie
 
Registered: Oct 2008
Posts: 22

Original Poster
Rep: Reputation: 15
This was all a long time ago...

We resolved the problem in the BOIS settings concerning the size of the boot sector etc. We just got the settings off the one that worked, and used these settings for the rest.

This project is now very much completed and all works perfectly fine.

Thanks for your concern and help.
Nick
 
  


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
Linux Peer-to-Peer Networking fc6_user Linux - Desktop 30 03-08-2007 03:46 PM
peer-to-peer networking in Debian Sarge farnell_mark Linux - Networking 1 05-09-2005 09:04 AM
Suse 9.1 peer to peer networking pracslipkerm Linux - Networking 2 03-07-2005 08:17 PM
peer to peer networking in suse linux 8.1 Jonathanedwards Linux - Networking 3 11-01-2004 10:57 PM
Networking linux and XP peer to peer? milo1135 Linux - Networking 5 06-25-2004 10:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:03 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