Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Setting up a Small Home Network [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
superlaundry
n00b
n00b


Joined: 09 Apr 2006
Posts: 65

PostPosted: Fri Apr 28, 2006 3:43 am    Post subject: Setting up a Small Home Network [SOLVED] Reply with quote

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
View user's profile Send private message
hegga
Apprentice
Apprentice


Joined: 04 Jun 2003
Posts: 210
Location: Norway

PostPosted: Fri Apr 28, 2006 7:21 am    Post subject: Reply with quote

is it something like this you are after?
http://gentoo-wiki.com/HOWTO_setup_a_home-server
_________________
hegga
Back to top
View user's profile Send private message
simeli
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 193
Location: Switzerland, Zurich

PostPosted: Fri Apr 28, 2006 8:36 am    Post subject: Reply with quote

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
View user's profile Send private message
superlaundry
n00b
n00b


Joined: 09 Apr 2006
Posts: 65

PostPosted: Fri Apr 28, 2006 1:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
simeli
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 193
Location: Switzerland, Zurich

PostPosted: Fri Apr 28, 2006 2:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
superlaundry
n00b
n00b


Joined: 09 Apr 2006
Posts: 65

PostPosted: Sat Apr 29, 2006 3:18 am    Post subject: Reply with quote

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
View user's profile Send private message
chrisruwe
Apprentice
Apprentice


Joined: 17 Apr 2006
Posts: 160

PostPosted: Sat Apr 29, 2006 1:30 pm    Post subject: Reply with quote

Most modern routers have an option that even when using dhcp, they recognize computers via the mac-adress and always give these the same preconfigured ip. This might save a lot of work.

http://www.cups.org/doc-1.1/sam.html covers anything you might need for the network-printer configuration.

http://www.gentoo.org/doc/en/printing-howto.xml is excellent.
Back to top
View user's profile Send private message
simeli
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 193
Location: Switzerland, Zurich

PostPosted: Sat Apr 29, 2006 3:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum