LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-08-2012, 03:14 PM   #1
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550

Rep: Reputation: 196Reputation: 196
Adding another machine to my network


I have a new desktop at home and would like to add the old one to the network. The way things are currently, i have a wireless modem at 192.168.15.1 and my desktop machine at 192.168.15.3. Do i just need to buy a hub and connect it to the router and then connect both my machines to the hub?

Thanks
 
Old 05-08-2012, 03:28 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
What router is it? Most routers have ~4 ports that you can connect to.
 
Old 05-08-2012, 03:31 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
quite a jumble of things going on there. what's the hub for? You won't have been able to buy a hub for about a decade now, they are totally obsolete, and you'd have a switch instead. I would expect there to be one in your wireless modem (btw, no such thing as a wireless modem - that's presumably a combined switch / wifi AP / router / modem ) so where is this switch going? are you trying to connect the old pc to the new pc and that then has a wireless adapter? If so, that's not a great direction to head, and you'd need to mess about the the new pc a fair bit. I think you could describe your goals a little more.
 
Old 05-09-2012, 11:29 PM   #4
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550

Original Poster
Rep: Reputation: 196Reputation: 196
Quote:
Originally Posted by acid_kewpie View Post
quite a jumble of things going on there. what's the hub for? You won't have been able to buy a hub for about a decade now, they are totally obsolete, and you'd have a switch instead. I would expect there to be one in your wireless modem (btw, no such thing as a wireless modem - that's presumably a combined switch / wifi AP / router / modem ) so where is this switch going? are you trying to connect the old pc to the new pc and that then has a wireless adapter? If so, that's not a great direction to head, and you'd need to mess about the the new pc a fair bit. I think you could describe your goals a little more.
The goal is to be able to share the internet connection between machines and also to ssh and scp between them. The wireless modem is one of these http://support.sprint.com/support/de...-dvc1020002prd. I dont think they make them anymore, but the outside interface is an internet ip and the internal interface is an ethernet interface for a lan. There is one rj45 jack on the modem, right now my desktop is the only thing plugged into it. You can buy hubs here http://www.amazon.com/s/ref=nb_sb_ss...et%2Caps%2C317
My desktop is at 192.168.15.3 the internal interface of the modem is 192.168.15.1 and the outside interface of the modem is 75.94.164.174. I have been away from networking for a while but its starting to come back to me. Thank you for replying.
I guess i will see what i can do with one of those cheapie hubs.

Last edited by fogpipe; 05-09-2012 at 11:36 PM.
 
Old 05-10-2012, 02:09 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Oh, so wireless means mobile here? Looks like a single port router, so just sticking a switch (NOT A HUB) on the LAN port should sort everything out fine. You already appear to have a functional local subnet, just need more ports.
 
Old 05-10-2012, 02:15 AM   #6
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550

Original Poster
Rep: Reputation: 196Reputation: 196
Quote:
Originally Posted by acid_kewpie View Post
Oh, so wireless means mobile here? Looks like a single port router, so just sticking a switch (NOT A HUB) on the LAN port should sort everything out fine. You already appear to have a functional local subnet, just need more ports.
Yeah that was my suspicion, thanks for the confirmation. BTW what is the difference between a switch and a hub? The last time i had a home network to play with was in 97 or so and i had a linux box running an ipchains script for a firewall and a small hub connected to it.

EDIT: NVM i found a url that explains it, a hub transmits every thing to everybody and i guess the receiving interface either accepts or rejects it. http://www.networkclue.com/hardware/...s-vs-hubs.aspx

Last edited by fogpipe; 05-10-2012 at 02:18 AM.
 
  


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
How to transfer files from a linux machine to a windows machine which are not in the same network Lakshmi Yallampalli Linux - Networking 6 07-16-2010 04:50 AM
Adding a linux machine to WinXP network - DNS problem or what? robek Linux - Networking 2 06-22-2006 10:37 AM
i can't browse my linux machine from windows machine's network neighbourhood window yagneshmistry Linux - Networking 2 08-10-2004 02:52 AM
Adding machine to Domain lapthorn Linux - Networking 2 03-19-2004 09:07 AM
adding cups printer to another machine over the network Mugatu Linux - Software 4 01-02-2004 03:45 PM

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

All times are GMT -5. The time now is 02:54 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
Open Source Consulting | Domain Registration