LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-24-2004, 07:56 AM   #1
Jazeker
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Rep: Reputation: 0
newbie question : info on p2p network windows-linux


Hello,

I am a newbie user of Linux. I now have two boxes, windows2000 and mandrake linux. I want to set up networking between both but I do not exactly know where to start. I can set up both network cards with private IP addresses and put a cross-over cable in between but that's where my knowledge of cross-platform networking ends.

Basically, I would like to :
* control some dirs on the linux box from windows (drop some files in it, etc...)
* be able to remotely use the desktop of Linux from the win2000 machine (I only have one good monitor and mouse/keyboard )
* use the database and web services from the Linux box over the network.

A whole bunch of things and I do not know where to start

Any links to articles, how-to's and 'you are an idiot' flash movies are appreciated.

Thanks !
 
Old 10-24-2004, 08:39 AM   #2
brumela
LQ Newbie
 
Registered: May 2004
Location: MB, Slovenia
Distribution: Fedora 1, Redhat 8, White box
Posts: 21

Rep: Reputation: 15
> * control some dirs on the linux box from windows (drop some files in it, etc...)
you can do that with samba.org

>* be able to remotely use the desktop of Linux from the win2000 machine (I only have one good monitor and mouse/keyboard )
try VNC - www.tightvnc.com or you can install cygwin with Xserver and use linux desktop directly with X protocol

>* use the database and web services from the Linux box over the network.
try mysql with apache

you can find great tutorial on site http://www.linuxhomenetworking.com/

regards bruma
 
Old 10-24-2004, 09:11 AM   #3
Jazeker
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by brumela
> * control some dirs on the linux box from windows (drop some files in it, etc...)
you can do that with samba.org

>* be able to remotely use the desktop of Linux from the win2000 machine (I only have one good monitor and mouse/keyboard )
try VNC - www.tightvnc.com or you can install cygwin with Xserver and use linux desktop directly with X protocol

>* use the database and web services from the Linux box over the network.
try mysql with apache

you can find great tutorial on site http://www.linuxhomenetworking.com/

regards bruma
Thank you very much so far. I have been trying a tightvnc server on the linux box already with the client on windows, but for the moment it won't do squad... looking at my connection I saw that the windows machine only receives one packet from the linux box Must be more to it than just simply setting both cards to a private address...
 
Old 10-24-2004, 10:32 AM   #4
mangolicious
Member
 
Registered: Sep 2004
Location: Nowhere Special (if you don't get it, rent Blazing Saddles)
Distribution: Gentoo Linux
Posts: 63

Rep: Reputation: 15
Quote:
* be able to remotely use the desktop of Linux from the win2000 machine (I only have one good monitor and mouse/keyboard )
use vnc. it's the best there is and it's compatible in between windows and linux. it's very easy to set up too.
just log onto the main (NOT ROOT (!!!!!!!!!)) user of your mandrake computer and run the command:
vnc-server.
then go into $HOME/.vnc and adjust all of the configuration files to your liking. (eg. if you don't want to use twm and you want to use gnome or kde, read the configuration file and it should say how to do it)
 
Old 10-24-2004, 10:39 AM   #5
mangolicious
Member
 
Registered: Sep 2004
Location: Nowhere Special (if you don't get it, rent Blazing Saddles)
Distribution: Gentoo Linux
Posts: 63

Rep: Reputation: 15
http://toplist.funnyjunk.com/hoho/badluck.swf
 
Old 10-24-2004, 10:40 AM   #6
mangolicious
Member
 
Registered: Sep 2004
Location: Nowhere Special (if you don't get it, rent Blazing Saddles)
Distribution: Gentoo Linux
Posts: 63

Rep: Reputation: 15
(just kidding)lol
 
Old 10-24-2004, 10:46 AM   #7
Jazeker
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by mangolicious
use vnc. it's the best there is and it's compatible in between windows and linux. it's very easy to set up too.
just log onto the main (NOT ROOT (!!!!!!!!!)) user of your mandrake computer and run the command:
vnc-server.
then go into $HOME/.vnc and adjust all of the configuration files to your liking. (eg. if you don't want to use twm and you want to use gnome or kde, read the configuration file and it should say how to do it)
yup TightVNC is installed :-)

However... seems there is something wrong with the network. I do have the link lights on both NIC's burning and also windows tells me the cable is connected. However... can't even do a ping. I brought both firewalls down but to no avail. I checked the link above to troubleshoot the network, but a command like ifconfig is not available in mandrake 10 it seems .

I do need to get the link up and VNC running first. I am getting freaked out from crawling under my desk to switch keyboard and monitor
 
Old 10-24-2004, 10:47 AM   #8
Jazeker
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by mangolicious
(just kidding)lol
Let me just say : http://users.pandora.be/Jazeker/_misc/youare.swf

 
Old 10-24-2004, 11:07 AM   #9
mangolicious
Member
 
Registered: Sep 2004
Location: Nowhere Special (if you don't get it, rent Blazing Saddles)
Distribution: Gentoo Linux
Posts: 63

Rep: Reputation: 15
Jazeker: thanks for that wonderful flash variation of the "you are an idiot" song. now, about your network, have you assigned an ip address to both of your computers? (eg. linux would be 192.168.0.1 and windows xp would be 192.168.0.2) This is MANDATORY if you do not have a dhcp server on your network (which you certainly do not if you're using cross-over networking)also, your subnet mask is 255.255.255.0. you have to nclude that too. ALSO on your linux computer, run ifconfig, route, and "cat /etc/host and post the results so I can make sure everything's alright.
 
Old 10-24-2004, 02:07 PM   #10
Jazeker
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by mangolicious
Jazeker: thanks for that wonderful flash variation of the "you are an idiot" song.
No problem... if you want to use it, please do download it before you throw it on slashdot and my provider kills me ;-)

Quote:
now, about your network, have you assigned an ip address to both of your computers? (eg. linux would be 192.168.0.1 and windows xp would be 192.168.0.2) This is MANDATORY if you do not have a dhcp server on your network (which you certainly do not if you're using cross-over networking)also, your subnet mask is 255.255.255.0. you have to nclude that too. ALSO on your linux computer, run ifconfig, route, and "cat /etc/host and post the results so I can make sure everything's alright.
Yes yes yes... I finally got a ping to go over the cable :-D. The remedy is (why didn't I think of that myself ?) : I forgot there is a windows machine in the game... this means : reboot it !! After reboot the windows machine was suddenly able to ping my linux box. Now why do you think I am starting to experiment with Linux ??? ;-)

Thank you very much so far. I will now get to try the other things I wanted to do (VNC, etc...). I guess you haven't heard the last of me ;-)

Cheers,
Jaz
 
  


Reply



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
Samba/ Windows network problems (Newbie question) cheese6590 Linux - Software 4 04-10-2005 11:17 PM
Risk of Linux P2P vs. Windows P2P software snatale1 Linux - Software 2 12-04-2004 07:14 PM
Xorg Info - Newbie Question Devon Linux - Software 1 08-06-2004 12:36 PM
Linux newbie needing help installing P2P program rmpdark Linux - Software 4 04-22-2004 12:21 PM
Windows XP/Linux Network Question jbstew32 General 0 01-04-2004 03:16 PM

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

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