View Full Version : P2P Network?
blue192
2006-02-25, 03:08 PM CST
How do I set up a P2P network? I've given both computers static IP's in the same subnet. What program or option do I use to browse to places on the network? Red Hat 9.0, Nautulus file browser dealie.
Crux
2006-02-25, 03:23 PM CST
Samba browser, or VNC if you want to manipulate the screen of a networked box.
Also, if they are not going through a router, you will need a 'twisted pair' patch cable. 15 bucks at Best Buy, or you can google for the pin out and make your own for about 3 bucks.
GL!!!!
blue192
2006-02-25, 03:30 PM CST
Is Samba supposed to come with Red Hat? And if not, where can I get it?
bytesniper
2006-02-25, 03:51 PM CST
first, you would use a patch cable to connect a machine to a router/hub/switch. you would use a crossover cable to attach 2 machine using their nic's without any sort of hub/switch/router.
yes, samba comes with just about any *nix disto you can think of. in fedora you can configure samba using the included GUI: system-config-samba as root.
for that to work you also have to make sure the network is configured correctly and are assigned IP's from the same subnet on both computers. (192.168.1.x where x=any number 1-254, different on each machine)
joseph
Crux
2006-02-25, 04:54 PM CST
first, you would use a patch cable to connect a machine to a router/hub/switch. you would use a crossover cable to attach 2 machine using their nic's without any sort of hub/switch/router.
I suppose I am showing my age when I use older terms. Tomato, tomato.. In 'true' definition, a 'patch cable' is ANY cable that links two peripherials together. i.e. CD-ROM 'patch cable' for audio...
If you went to college, you should sue them. For they taught you wrong. If not, then my Red Hat is off to you. Just learn before you bash others statements.
geeze.... BTW, you said the same as me with only more words. :rolleyes: People are not impressed with technobabble. They only remember you when they understand you....
bytesniper
2006-02-25, 08:41 PM CST
if i came off as trying to bash anyone statements then my apologies, as it was not my intention, i just didnt want him to get a normal 'ol patch cable which means its pinned the exact same straight though the cable like this (http://images.google.com/imgres?imgurl=http://pinouts.ru/images/utp_colors.gif&imgrefurl=http://pinouts.ru/data/Ethernet10BaseTStraightThru_pinout.shtml&h=450&w=350&sz=5&tbnid=PdIcxFBTgEEJ:&tbnh=124&tbnw=96&prev=/images%3Fq%3Dethernet%2Bpinout%26hl%3Den%26lr%3D&oi=imagesr&start=1). so between the 2 nics his transmits on one box would go to the transmits on the other box.... basically creating one big collision and no communication. to link 2 nics in a p2p he would need a crossover, like this (http://images.google.com/imgres?imgurl=http://pinouts.ru/images/utp_crossed_colors.gif&imgrefurl=http://pinouts.ru/data/Ethernet100BaseT4Crossover_pinout.shtml&h=450&w=345&sz=8&tbnid=6xjzfltcqE8J:&tbnh=124&tbnw=95&prev=/images%3Fq%3Dethernet%2Bpinout%26hl%3Den%26lr%3D&oi=imagesr&start=2) so that the transmits on one would go the the recieves on the other (and vice versa)
and in my horrible way of explaining things, if he went to his favorite local computer shop and asked for a patch cable they would give him something that would not work in that particular application, no bashing, just clarification, and no techobable, thats just what they are actually called.
joseph
blue192
2006-02-25, 10:25 PM CST
Yes, I know about the cable, bridge, NICs, et cetera. The computers were communicating fine when I had Windows installed on both of them. It's just that I don't know anything about Linux. Thanks. I'll install Samba and see how that goes.
Crux
2006-02-26, 12:08 AM CST
Well, I suppose I am put in my BS holding, Doctorate, Minister, 17 years in the computer field standing place then.
Yeah, I've a Ph.D. in Computer Information Systems. But hey, you showed me eh?
Damn, all this time I never knew the difference between a patch cable, and a twisted pair patch cable..
thanks for clearing it up.
blue192
2006-02-26, 07:39 PM CST
Okay, I installed Samba, but where do I find it now? Lol.
bytesniper
2006-02-26, 09:04 PM CST
samba is not really an application that you can run, like open office... its a matter of starting a daemon and then accessing it through an application that can utilize the samba protocol. to start the daemon, as root:
to start it: service smb start
if you dont get anything there its probably already started.
to check its status: service smb status
that will just start it for that boot.
to have it start automatically everytime: chkconfig smb on
to use it you need to choose your favorite application for accessing remote shares. i usually use konqueror since its default with kde. in the konquerors addesss box i would type: smb://machine_name/share_name. if you entered a vaild machine and share then it will prompt you for authentication. this will be the user/pass of an account on the machine your trying to access, not the one your on.
joseph
blue192
2006-02-26, 11:32 PM CST
oh, and will I need samba or smb service running on the computer I want to access?
bytesniper
2006-02-26, 11:36 PM CST
depends... what OS is on the computer you are trying to access? if its windows, then no, because samba is an implementation of windows file sharing for *nix. you would just share out a folder on the windows box and its done.. use smb to access a windows share from a *nix box. if the other computer is running *nix, then yes, but there are better file sharing protocols to use other than samba if you are sharing between 2 linux boxes (like nfs).
joseph
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.