Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ssetting up local network
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
killfire
l33t
l33t


Joined: 04 Oct 2003
Posts: 618

PostPosted: Mon May 31, 2004 5:40 pm    Post subject: ssetting up local network Reply with quote

i would like to set up a local network, complete with ssh access, nfs and everything else that a network would have.


tha problem is that i am secluded, not close to a highspeed lan with a dhcp server.

how do i get the computer to see each other. i have an ethernet crossover cable, but do i need a hub?


i have assigned each an ip, but whenevr i try anything it says netwrok unreachable.

even pinging.



can someone post a step by step.


thanks,

killfire
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Mon May 31, 2004 6:36 pm    Post subject: Reply with quote

Hi...

I think nobody will guide you step-by-step through the installation :wink: Most steps are written down in the manuals...

But here are some steps you could procede:

- set up ip addresses in /etc/conf.d/net
- start network card: '/etc/init.d/net.eth0 start'
- if this succedes add it to default runlevel 'rc-update add net.eth0 default'
- try pinging the other computer
- start sshd (and add it to default runlevel)
- installing and configuring some other 'programms'/daemons like ftp service or nfs server...

Markus
Back to top
View user's profile Send private message
dmoulton
n00b
n00b


Joined: 07 Jul 2003
Posts: 72
Location: Somewhere in the Rockies

PostPosted: Mon May 31, 2004 6:45 pm    Post subject: Re: ssetting up local network Reply with quote

killfire wrote:

how do i get the computer to see each other. i have an ethernet crossover cable, but do i need a hub?


Your choice, but I'd get a cheap 4 port hub.It'll be easier to expand that way. But a crossover cable will work.
Back to top
View user's profile Send private message
killfire
l33t
l33t


Joined: 04 Oct 2003
Posts: 618

PostPosted: Mon May 31, 2004 6:54 pm    Post subject: Reply with quote

i set up ip addresses, but i dont think i set up the network card (though i did get it all working via dhcp, through a comp using macosx, and internet sharing.)


what manuals go through this, because ive looked around and it all seems to assume you already can ping the computer.


thanks,
killfire
Back to top
View user's profile Send private message
genfoo
Apprentice
Apprentice


Joined: 17 Apr 2003
Posts: 192

PostPosted: Mon May 31, 2004 8:44 pm    Post subject: Reply with quote

computer 1:

Code:

ifconfig eth0 192.168.0.1


computer 2:
Code:

ifconfig eth0 192.168.0.2
ping 192.168.0.1


that should be all you need ... also it is good to setup those addresses in your /etc/hosts file to match the local name of each machine.

if that stuff doesn't work it might be something else in your setup. If that does work you can then put the settings into /etc/conf.d/net (and make sure that you do rc-update add net.eth0 default) on both machines and you should be ready to roll.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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