View previous topic :: View next topic |
Author |
Message |
superlaundry n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/41635077046a1160dca2e9.gif)
Joined: 09 Apr 2006 Posts: 65
|
Posted: Fri Apr 28, 2006 3:43 am Post subject: Setting up a Small Home Network [SOLVED] |
|
|
I know that this is probably a n00b problem, but I'm having trouble setting up a small home network, two Linux boxes. No static IPs or anything fancy. I just need to be able to print over the network and share files.
Thanks.
Last edited by superlaundry on Sun Apr 30, 2006 10:32 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hegga Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 04 Jun 2003 Posts: 210 Location: Norway
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
simeli Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/5458094245b483fb66b76.jpg)
Joined: 15 Jun 2005 Posts: 193 Location: Switzerland, Zurich
|
Posted: Fri Apr 28, 2006 8:36 am Post subject: |
|
|
well, static ip addresses in a home network often facilitate things, there is no dhcp server to be set up. if you have a router that does it fine. but you probably don't want to have the printer change its address I personally stick with static, to me this seems easier. what exactly is the problem you face? is the printer hooked up directly to the switch having it's own interface or is it connected via usb to one machine that also serves as a print server? _________________ Pentium M 740 on MSI 915GM SPEEDSTER-FA4, 2x512MB Corsair XMS2 DDR2 667 Memory, Zalman CNPS7000B AlCu, Samsung SpinPoint P120 250GB SATAII, Hauppauge WinTV PVR-500, Enermaxx Liberty 400, Antec P180
Husaberg FS650e Force Edition [http://www.husaberg.se] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
superlaundry n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/41635077046a1160dca2e9.gif)
Joined: 09 Apr 2006 Posts: 65
|
Posted: Fri Apr 28, 2006 1:57 pm Post subject: |
|
|
All I have is a Gentoo Box and a Suse 9.1 Box with a printer attached, via the parallel port or whatever. The Suse box is wired to a wireless router and the Gentoo box is using the wireless. I don't want a server. I just want to send over print jobs. I know that I've gotten this to work with the same two compters when they had Fedora Core 4 and Windows XP on the printer. I was thinking that two linux boxes would surely work. However, if static IP is the easiest way, can you help me out on that? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
simeli Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/5458094245b483fb66b76.jpg)
Joined: 15 Jun 2005 Posts: 193 Location: Switzerland, Zurich
|
Posted: Fri Apr 28, 2006 2:53 pm Post subject: |
|
|
i have it usually set up this way:
internal router address (router gets its public info via dhcp) 10.0.1.1
computer 1: 10.0.1.2
computer 3: 10.0.1.3
etc.
default gateway for the computers 10.0.1.1
dns for the computers 10.0.1.1
netmask 255.255.255.0 that gives you all the adresses from 10.0.1.1 to 10.0.1.255 to use for local machines.
the 10.x.x.x is a private class A network.
hope this helps _________________ Pentium M 740 on MSI 915GM SPEEDSTER-FA4, 2x512MB Corsair XMS2 DDR2 667 Memory, Zalman CNPS7000B AlCu, Samsung SpinPoint P120 250GB SATAII, Hauppauge WinTV PVR-500, Enermaxx Liberty 400, Antec P180
Husaberg FS650e Force Edition [http://www.husaberg.se] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
superlaundry n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/41635077046a1160dca2e9.gif)
Joined: 09 Apr 2006 Posts: 65
|
Posted: Sat Apr 29, 2006 3:18 am Post subject: |
|
|
Thanks a lot for the help so far.
But before I do anything stupid...
So I set the computers' IP address in the /etc/hosts file.
After that, I'm lost. First, how do I set the default gateway and the dns for the computers? Also, what exactly does the internal router address mean? What should my /etc/conf.d/net file look like? Will the wireless affect anything?
Thanks again. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chrisruwe Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/56672402844514657eb981.jpg)
Joined: 17 Apr 2006 Posts: 160
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
simeli Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/5458094245b483fb66b76.jpg)
Joined: 15 Jun 2005 Posts: 193 Location: Switzerland, Zurich
|
Posted: Sat Apr 29, 2006 3:22 pm Post subject: |
|
|
probably best to read the gentoo handbook on setting up the network. everything is well explained in there what goes in /etc/conf.d/net _________________ Pentium M 740 on MSI 915GM SPEEDSTER-FA4, 2x512MB Corsair XMS2 DDR2 667 Memory, Zalman CNPS7000B AlCu, Samsung SpinPoint P120 250GB SATAII, Hauppauge WinTV PVR-500, Enermaxx Liberty 400, Antec P180
Husaberg FS650e Force Edition [http://www.husaberg.se] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|