On 16/7/03 3:31 am, "reg hughson" <[EMAIL PROTECTED]> wrote:
> I have my computers (win98 and gentoo boxes) sharing an internet > connection through a router but as it stands right now, the two > computers can't 'see' each other. Would someone point me to a guide that > shows how to get the two able to swap files back and forth across the > router? Others have explained a little about Samba (I recommend the Samba HOWTO at <http://www.tldp.org/HOWTO/SMB-HOWTO.html>), but there's a couple of other things I'd like to reply to in your post: > I have my computers (win98 and gentoo boxes) sharing an internet > connection through a router... Your boxes are almost certainly not connected to each other "through" a router, but connected to *the Internet* through a router. If your router has several LAN ports, to which the various machines in your house are connected, then those additional Ethernet posts are functioning as a hub, or switch, which is a dumb device. The PCs are connected to each other through the hub. > ... as it stands right now, the two > computers can't 'see' each other Well, there's seeing, and there's "seeing". ;-] Just because you can't see the connections in Network Neighbourhood or Konqueror, doesn't mean the computers can't see each other. Have you tried pinging..? On the Gentoo box try: $ /sbin/ifconfig eth0 Link encap:Ethernet HWaddr 00:00:B4:C3:5E:5C inet addr:192.168.1.43 Bcast:192.168.1.255 Mask:255.255.255.0 ... We're only interested in that 2nd line, which gives the machine's IP address, in this case 192.168.1.43. Now on the Windows box, go to Start & Run & type "winipcfg" to get it's IP address. Open a DOS prompt & type `ping <ip.of.gentoo.box>` or in my case `ping 192.168.1.43`. You should see some replies. On the Gentoo box type `ping <ip.of.winders.box>`. If you see ping replies, this means that the computers CAN, in fact, see each other. You just can't see any compatible network services running in your network browser. Appropriate compatible network services might be ftp, www, Gnutella, or (as others have mentioned) windows file & print sharing, which is packaged with Windows by default. Linux uses Samba to provide file-sharing compatible with M$'s file & print sharing. I always set that up by editing the /etc/samba/smb.conf file with a text editor - it's a pretty long scary configuration file the first time you edit it, but there's really not much there that needs changing. Don't forget to use the smbpasswd program, and also to add smb to your default runlevel. HTH, Stroller. -- Enjoyed this post? Thanks for reading - please consider employing me! Technical support / system administration - CV available on request Linux / Unix / Windows / Mac OS X - UK or anywhere considered -- [EMAIL PROTECTED] mailing list
