v-noob: connecting two pc's through eth interface
good day! i am to state beforehand I am a TOTAL noob at networking, so please forgive the dumbness of my questions... last day a friend of mine asked me to setup debian on his box, i now have his pc sitting beside mine and have been trying over the last few hours to ssh onto it... of course i already have a minimal debian setup running oh his machine as well as a ssh server... i thought dhcp was the way to go, but had no luck... so i came up with the idea: do I actually need all this dhcp crap? i decided to go the "static" way and edited the eth section in the /etc/network/interfaces file as follows on both pc's:
iface eth0 inet static
files differ only on the "address" section (one is set on 192.168.1.1, 192.168.1.2 the other one)... but, needless to say, i can't seem to ping the other pc, i can't understand what i am doing wrong 'cause when i plug in my dlink ethernet modem I can see it on 192.168.1.1 (that's the modem default lan ip address) without having to run the dhcp server on it... any idea? btw, im using the ethernet cable supplied with my modem to link these two pc's... thanks in advance for your help, and forgive me for being such a nooooob at networking...
Last edited by garba; 06-13-2005 at 06:25 PM.