From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1H5Kfh-0007xV-Jx for garchives@archives.gentoo.org; Fri, 12 Jan 2007 11:34:10 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l0CBX4Zp016768; Fri, 12 Jan 2007 11:33:04 GMT Received: from ilievnet.com ([84.21.204.200]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l0CBSe65013366 for ; Fri, 12 Jan 2007 11:28:42 GMT Received: from localhost (localhost [127.0.0.1]) by ilievnet.com (Postfix) with ESMTP id ABC2E211069 for ; Fri, 12 Jan 2007 13:28:36 +0200 (EET) X-Virus-Scanned: amavisd-new at ilievnet.com Received: from ilievnet.com ([127.0.0.1]) by localhost (ilievnet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nX7fZOjWIOyL for ; Fri, 12 Jan 2007 13:27:01 +0200 (EET) Received: from [10.0.1.1] (mail.ilievnet.com [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ilievnet.com (Postfix) with ESMTP id 26C0A216014 for ; Fri, 12 Jan 2007 13:22:05 +0200 (EET) Message-ID: <45A76F4F.7050306@ilievnet.com> Date: Fri, 12 Jan 2007 13:21:51 +0200 From: Daniel Iliev User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.0.9) Gecko/20070111 SeaMonkey/1.0.7 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Need help networking two machines. References: <45A75E6C.7070802@exceedtech.net> In-Reply-To: <45A75E6C.7070802@exceedtech.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 9b6a38f6-248f-4af1-81d4-71b3b768ba6e X-Archives-Hash: ee321e50e30125f2a89556972f6a71b0 Dale wrote: > Hi > > I have done this before. Maybe something has changed because I can not > get it to work now. My main rig is called smoker. The second rig is > currently booted off the CD. I plan to use my main rig to sync and get > distfiles off of. This is off smokers /etc/conf.d/net file: > > >> config_eth0=( "192.168.0.1 netmask 255.255.255.0 broadcast >> 192.168.0.255" ) >> > More info from smoker: > > >> eth0 Link encap:Ethernet HWaddr 00:01:53:81:00:E7 >> inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 >> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 >> RX packets:34 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:205 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:1000 >> RX bytes:16458 (16.0 Kb) TX bytes:5670 (5.5 Kb) >> Interrupt:10 Base address:0xc000 >> > > >> root@smoker / # ping 192.168.0.2 >> PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data. >> From 192.168.0.1 icmp_seq=1 Destination Host Unreachable >> From 192.168.0.1 icmp_seq=2 Destination Host Unreachable >> From 192.168.0.1 icmp_seq=3 Destination Host Unreachable >> >> --- 192.168.0.2 ping statistics --- >> 5 packets transmitted, 0 received, +3 errors, 100% packet loss, time >> 4009ms >> , pipe 3 >> root@smoker / # >> > > If it helps any, I see traffic going over the network in gkrellm. > > >> root@smoker / # route >> Kernel IP routing table >> Destination Gateway Genmask Flags Metric Ref >> Use Iface >> nas2.greenwood1 * 255.255.255.255 UH 0 0 >> 0 ppp0 >> 192.168.0.0 * 255.255.255.0 U 0 0 >> 0 eth0 >> loopback * 255.0.0.0 U 0 0 0 lo >> default nas2.greenwood1 0.0.0.0 UG 0 0 >> 0 ppp0 >> root@smoker / # >> > Yea, ppp0 would be that slow as crap dial-up connection I have. < cries > > >> root@smoker / # iptables -L >> Chain INPUT (policy ACCEPT) >> target prot opt source destination >> ACCEPT tcp -- anywhere anywhere tcp dpt:http >> DROP all -- anywhere anywhere state >> INVALID,NEW >> >> Chain FORWARD (policy ACCEPT) >> target prot opt source destination >> DROP all -- anywhere anywhere state >> INVALID,NEW >> >> Chain OUTPUT (policy ACCEPT) >> target prot opt source destination >> root@smoker / # >> > > Now the info from the second rig is a bit hard to get. I can't exactly > copy and paste here. Help me get this working and I'll copy and paste > all you want. LOL Second rig is the same setup except it is set to > address 192.168.0.2. I did restart the network though, on both rigs. > > Route returns loopback and that is all. Looks suspicious to me. It > doesn't have iptables installed on the CD. I guess there are none. > > Oh, to test the cable, I set both to the same address. When I tried to > bring up the network, it gave me a error that the address was in use or > something like that. It saw it at least. > > Can someone tell me what I am doing wrong? It has to be me. It almost > always is. > > Thanks for the help. > > Dale > > :-) :-) :-) > > Hi, Dale I suspect you don't have a proper module for your network card loaded into the kernel. Is the interface of "rig-2" up? What does "ifconfig eth0" say? -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list