LinuxQuestions.org
Review your favorite Linux distribution.
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-07-2003, 07:27 AM   #1
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 30
network???


Hi,

Pretty soon I'll be receiving a router with built in ADSL modem. I'm pretty sure that i'll be able to get adsl going with it but:
I also want to built a little network between my pc and my boyfriends laptop so he can simple plug in to it use the adsl and connect to my pc and vice versa.
I understand that this is possible via the router, but I'm absolutely clueless as to how to achieve it.
This internet part should be relatively easy (same way as I configure my own pc?), but how to make it so that as soon as the laptop is plugged in to the network we can browse each other's files and maybe even connect to each other desktop (via a sort of remote desktop tool?)

And would it be possible to build a kind of remote network between my pc and his at his home so that he could use his own pc in my house and vice versa (again via a sort of remote desktop tool?) We will then both have a adsl connection so it should be fast enough.

A colleague of mine uses mgetty to log in to his linux server so I know that's possible, but I would really like it with the desktop included.

Sorry if this is asking to much, I would really apreciate it if at least someone could put me on the right track.

Anne
 
Old 05-07-2003, 08:07 AM   #2
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
Hi Anne!

This shouldn't be too difficult....
Lets start with the 1st part:
Quote:
I also want to built a little network between my pc and my boyfriends laptop so he can simple plug in to it use the adsl and connect to my pc and vice versa.
I don't know which type of router / adsl modem your going to use, but since youre from NL (As I am) I presume you will use the draytek vigor? (AFAIK thats the only one with modem in it working with KPN-ADSL)

However, Regardless of your router type: This router will have a switch build in. So, lets take some steps: (If I'm being too simple, im sorry, i don't know the level where to start)

1: In the manual of your router is a default "IP-Address" of your router. Probable will be 192.168.0.1 (or something similar)
Please note the last digit. (1)

2: Configure your PC's to use the same subnet, so change its IP address to: (i.e.) 192.16.0.2 (please note, the last digit has changed, so this is a different IP in the same subnet)

3: Depending on your preferences, you might want to setup the router as a DHCP server: This will give the machines on your LAN an IP address on request.If you do this, remember to set your client PC to use DHCP.
3.a If you intend to use DHCP server, set the DNS servers to the DNS servers of your provider (or to their current settings).
3.b Set the default gateway to your router (192.168.0.1)
3.c Set the subnetmask to 255.255.255.0
3.d Set the clients to use dhcp.


4. Independing on your OS (linux vs M$) you should be able to see eachother: try ping 192.168.0.1 : you should get reply.
In M$ use the command-prompt and type ipconfig (w9x: winipcfg)
In linux type ifconfig
You should see an ip address.. If this is also in the 192.168.0.x range, you could think it went OK.. Try to ping your boyfriends machine by typeing: ping: 192.168.0.X Where X is the digit you saw on your boyfriends machine using ipconfig or ifconfig...

If this works, you should be fine. See if both your PCS can go to the internet (Should be).

Quote:
And would it be possible to build a kind of remote network between my pc and his at his home so that he could use his own pc in my house and vice versa (again via a sort of remote desktop tool?) We will then both have a adsl connection so it should be fast enough.
Depending on the configurations and the possibilities of your firewall, there souldn't be a problem. You could build a VPN between the two routers, and use that. you also might consider prot forwarding and IIP-packet filters... This is a step ahead maybe, but I need more info to know exactly what it is you want.


Good Luck

Satriani
 
Old 05-07-2003, 08:25 AM   #3
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Satriani
I don't know which type of router / adsl modem your going to use, but since youre from NL (As I am) I presume you will use the draytek vigor? (AFAIK thats the only one with modem in it working with KPN-ADSL)
I signed up with studentenadsl (studenten.net) and they had a e-tech 4-port router on offer which they claim to have tested thoroughly and they are even offering technical support for linux. So that should be good.
(They work with babyxl btw)

Quote:
3: Depending on your preferences, you might want to setup the router as a DHCP server: This will give the machines on your LAN an IP address on request.If you do this, remember to set your client PC to use DHCP.
I'll have to read up on this and decide on my preferences after that

Quote:
Try to ping your boyfriends machine by typeing: ping: 192.168.0.X Where X is the digit you saw on your boyfriends machine using ipconfig or ifconfig...
and then I can type that adres in a browser and I should be able to get in to his files? Or should I install something else for that?
Preferably I would like his pc to show up in mc or some oher file browser just like novel does at the office where I work.

Quote:
Depending on the configurations and the possibilities of your firewall, there souldn't be a problem. You could build a VPN between the two routers, and use that. you also might consider prot forwarding and IIP-packet filters... This is a step ahead maybe, but I need more info to know exactly what it is you want.
Am searching google for vpn right now

Thanks for the response,

Anne
 
Old 05-07-2003, 08:48 AM   #4
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Original Poster
Rep: Reputation: 30
OK,
So I'm a litte bit wiser now. I found out that I could either use (thight)vnc of putty with X11 forwarding to run programs from a remote pc... I'm a happy girl.

Anne
 
Old 05-07-2003, 09:19 AM   #5
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
Hi Anne,

Can you please help me out a bit: What kind of machines are we talking about? Both Linux, Or M$, what OS is on what machine ?

This info is needed to provide you the solution for sharing eachothers drives....
 
Old 05-07-2003, 09:24 AM   #6
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
And, for being able to answer you more precise: which option did you choose on studentenadsl? (Doe Het zelf-pakket 1,2,3 of 4 ?)
 
Old 05-07-2003, 10:01 AM   #7
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Original Poster
Rep: Reputation: 30
I run a pc with Windows XP, RH 8.0, Debian and knoppix (I know a little overboard, but I'm still trying distro's out to see which I like best, RH will be Suse as soon as I get adsl btw),

My boyfriends laptop runs Debian (although he'll try to install knoppix on it via the network to be b/c it's cd-rom-less) and his home pc dual boots between Windows 98 and RH 8.0.

Networking between the windows os's is definately not a must though, those are mainly for gaming and banking.

I went for adsl option 1: Do it your self kit with e-tech 4-port router and adsl modem for normal phone line.

Anything I forgot to mention?

Anne
 
Old 05-07-2003, 11:19 AM   #8
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
OK: If you want the clientmachines to be able to talk to eachother (file sharing) trhough both linux and windows, you will need software to do so:
For windows-drive sharing SAMBA is your tool...
For Linux-drive-sharing you could use NFS. (Don't ask me too much about NFS, i'm still a newbie..... :-) )
To take over desktops from a windows machine, there are a few tools: I personally use xwin-pro (currently named WinaXe) and im quite happy with it. If you want to know how this works, you might want to take a look at my dutch site: linux.abdala.nl (This was a start to gather all info about my Linux experiences, but time, time time......)

For linux to linux desktops there's not very much needed: just export DISPLAY=your.IP; and run startx from a ssh-session....

Hopefully i was of any use to you.....
 
Old 05-08-2003, 02:31 AM   #9
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Original Poster
Rep: Reputation: 30
You have certainly given me a good start on where to look to get started on all of it, Thanks!

I'll keep you updated as soon as adsl is working.

Anne
 
Old 05-09-2003, 07:26 PM   #10
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
Hi Anne,

Sorry, was away, but: good luck, and i would appriciate a follow-up when its working! Just to learn and so....
 
  


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
Fedora C2 - Wireless network drivers? Broadcom 802.11g Network Adapter FragTek Linux - Wireless Networking 7 01-22-2010 01:10 AM
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 07:48 AM
3c905C network card in docking station. Cannot activate network device eth0. pathelms Linux - Networking 4 04-12-2006 03:55 PM
Xandros mount point for Windows Network & NFS Network jaagut Linux - Distributions 1 09-14-2005 08:21 AM
Newbie wanna setup up a linux network on existing home network... marvc Linux - Networking 3 03-19-2003 10:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:47 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration