|
Setting Up a Network Setting up a Network? Just what does that mean?? Hmmmm... Well, I guess the first thing to do, would be to describe, or find out what a Network is. Then, see if it will fit our needs. Now in the course of this discussion, as in others on my site, I will quote from FOLDOC and Webopedia. Two excellent places for information on computers and stuff. A Network:
A group of two or more computer systems linked together. Now what does that mean, linked
together?? Well, back in the old days it meant connecting them together with cables. Nowadays, we can
also connect them together with radio waves. Not the same ones that you listen to but similar. For the
most part, only the cable type connections will be discussed here. But ... most topics and discussions
will apply to both. As we continue it will, or should, become intuitive and I will try to remember to mention
the similarities. The following two pieces (and others) were extracted from: COX.NET 18 Jan 06: Well, we learned something last evening. Now then, I work part time at Wal-mart in the electronics section. Many people have asked me about wireless connections. I, personally never had any real experience with them till these past few days. My pat response to the customers was: "You can't just buy a wireless receiver and get connected to the Internet." Well, I found out that is not entirely, true. You can't have a WebSite or an E-mail address BUT ... you can get connected to the Net. How.?.? That was my question... Well, two of my friends got new Notebook computers. One lives in another city an hour and a half away and the other is my next door neighbor. Both computers contained wireless LAN hardware. The ones that live in another city went to Best Buy on their own and, in my humble opinion, got taken to the cleaners. They ended up getting an HP Notebook, a DV1331, which was the best part of the whole deal. The sales people at Best Buy ended up selling them a total of $6000.00 worth of equipment, including the LapTop. They got stuff they may eventually use ... but it wasn't needed at this time. Buyers beware!! Take a knowledgeable person with you when you are purchasing a computer, especially if it is your first one. Don't buy everything at once ... UNLESS ... you really and truly need it. Prices on all this Computer equipment keep comming down and they continually are making improvements and outright changes. So wait if you can. At any rate, the store signed them up for AOL and the Geek Squad came out to set them up. Phone connections were not good. They ended up getting a cable connection. In this setup they also have a wireless router. One of the items that they were sld was a Bluetooth USB plugin. I assumed it was to be used with the Wireless Router. I found later after reading the labels on the computer that it already had wireless LAN hardware inside it. As a test I removed the LapTop from it's Desktop Cradle, and removed the Bluetooth USB plugin. Went into another room and could power on the Laptop and get connected to the Internet. I went outside into the street and could still get connected to the internet. Distance of about 25 yards. Allllrighty now. They wanted to know if they could travel around and use their Laptop. I told them that they would need to be in the vicinity of another wireless router and then maybe they could get connected. But they just couldn't go off and be connected. Well, I was correct ... more than I realized ... and that leads into my neighbor. As I said, I work part time in the electroncs section at a Wal-Mart Super Center. She came in to purchase a laptop to use for school. We didn't have one in her price range but another local Wal-Mart store did. She went there and bought an eMachine Laptop. When I got home from work I went next door to check it out. Not bad. Not bad at all. It is powered by an AMD Sempron, and operated very nicely. Now then, they already have an Internet connection. They have a router... a wired type... that was not hooked up. They just got their cable connection setup and it was going to one computer. So it just went from the modem to the PC. Now then I was going to help them setup the connections... the next day... but in the meantime I was playing with the Laptop. On a reboot, to check out the messages that she said she had gotten, I was greeted with a Wireless Lan Connection question. She had ignored and canceled it but I decided to see whta was going on. I got a "Connected" dialog box!! Ok, let's fire up IE and see what happens. We got the M$ default home page connection!! We were connecting to the Internet through a LinkSys router somewhere. We believe that it belongs to the neighbors on the corner, about 50 yards away. The connection was fast and clean. I was able to connect to my neighbors E-mail through this connection so they must have a Cox cable setup... which the other neighbors on the corner do. So sitting at the neighbors kitchen table with the only cord connected was the power cord, we were able to got out to the Net. Sooooo.... Yes. All you have to buy is a receiver LAN card ... IF ... you live close to someone who already has an internet connection.
Which is better: Cable Modem or DSL?It all depends on the particular providers, the particular geographic area, and your specific requirements. There is no hard and fast rule. Either one can be good, mediocre, or poor.Which is better: Ethernet or USB or PCI?External modems usually come with either an Ethernet or a USB interface. Another alternative is an internal modem, which usually comes with a PCI connector. Each interface has certain advantages and disadvantages:Ethernet
Bottom line: Ethernet is preferred unless there is a compelling reason to use some other type. USB is better suited for low-speed devices (e.g., mice) than for Cable Modem or DSL. The above two descriptions were lifted from: DSL-Cable Please visit their site for more info... tons of info! Equipment: The PCs will all be Hewlett Packard Pavilions. Four to be exact. Networking will use a Netgear router and print server. Also a Hawking Technology switch. Each computer must also have a Network Interface Card ... a NIC. TCP/IP - Five Layer Protocol
My main machine is an HP 9995 with a 2Ghz P4 and 1GB of memory. I run both Linux and Windows on it. Dual boot and Windows inside Linux via VMware. I have programs/tools on both that I use. Using VMware allows the use of both without having to re-boot in order to use the different system. You can also check out your Networking configuration on one single machine before going to the others. VMware is one of the best things produced for computers. Setup correctly, it is like having two computers right there in front of you. Check it out. So why ... why would I, or you, want to Network computers together? Well, one reason is to spy on each other.
A Pic of My Network Well, I found the problem.
Now then, the above diagram doesn't do a thing for you unless I tell you what is needed where. Right? Issallight. Soooo, let's start at the beginning ... here in the middle. In order to Network you need two or more computers. Here we have four. One of them should be set up as a server. Why? Well, you need a central point, a master controller, a main source of information. Also a central point for printing. This server will contain apache, DNS, and a few other items that I can't think of right at the moment, but we will get to them. Segmentation and Bridging is a neat write up on connecting and expanding multiple computers. How Stuff Works - Bridging. So were do we start?? How's about we start with two PCs? One called Dusty-tr and the other called Workhorse. Both of these machines are dual-bootable. What does that mean, you ask? It means that I can boot Dusty-tr as a Linux machine or a WinXP machine. For Workhorse I can boot it as a Win98 PC or a Win2k PC. Is this required or do you need that?? No. It just so happens to be the setup I have and it shows some interesting cases. Which is one of the main reasons I am documenting this. I can't remember all that I did the last time to get this working. HP 9995 - Dusty-tr: So I have my WinXP drive E, on Dusty-tr, as my FAT32 common area. When in Linux this is referred to as windrve (/windows/E). I had this mounted automatically in my fstab but that was a bad idea. This made root the owner and group. So I made it user mountable and then when I mount it, it will have my ctaylor and users IDs. I had intended to create my public_html on windrve so that I could access it from either WinXP or Linux. Couldn't get the permissions correct for a linked public_html. Kept complaining about not having permissions to execute /~ctaylor on the server. I suspect a problem with it not being in my home dir and on another drive. I will investigate that further... later. BULL! Need to know now! Take the time and find the answers. From the Apache Docs: Apache on SuSE Linux:
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
The following is extracted from the httpd.conf file.
# forbid access to the entire filesystem by default
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
</Directory>
# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
# List of resources to look for when the client requests a directory
DirectoryIndex index.php index.html index.html.var index.jsp index.asp
The above items seem to dictate where the index files will be found. Also referred to as
your home page. However, notice the access directives. In the first group it is allowing
access to /home/*/public_html. The * is translated into your user name, in this case ctaylor.
Now then, the next set of directives show that all access is denied. But, we can still have
specific places that we are allowed to go determined by the .htaccess file.
A table of my problems/experiences. From the Samba file:
[global]
workgroup = TRCOMPUTING
netbios name = dusty-tr
server string = Samba SMB server 2.2.8a
os level = 33
local master = yes
preferred master = yes
socket options = TCP_NODELAY
#
browseable = yes
writeable = yes
hosts allow = 192.168.0. 127.
log file = /var/log/samba/log.%m
max log size = 50
#
password server = dusty-tr
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = yes
passwd program = /usr/bin/passwd
user = ctaylor, administrator
security = share
add user script =
domain master = false
domain logons = no
Passwords Well it appears that all my problems with accessing, except one, were because of playing with the passwords... encrypted or not. Way back in the beggining (Ver 7.0 and before) I had similar problems. At that time I set all the passwords to PlainText. Evidently I changed them back to encrypted and forgot to tell myself! So in this present fiasco I apparently had a mixture. My correction, or at least it appears to be, was to set all the passwords back to encrypted. Now I had also played around with the lines, in red above, in the smb.conf file. The ones concerning the password were commented out. The last three concerning user and domain were added by the utilities somhow. I also experimented with them commented out. So the result is ... I can access files on all of the machines by providing a password only or a user id and a password. But I still didn't come up with a valid explaination for a linked public_html. I had the
same problem in later versions of SuSE. Further disucussion and explanations can be found in: BUT I still have a problem with the Hobby Room Win2k. I can access the files but I can not access the WebPages on my Server. Can from all the other machines and even that one, if I am in Win98 mode.(remember Hobby Room PC is dual bootable) Hmmmmm... just hate it when this happens. Well, I found the problem. It's a dual boot machine. Has multiple partitions.
When in Win98 mode, C: is the main drive. However, when in Win2k mode, the drive referred
to as C: is NOT the main drive. The I: drive is!! It contains all the Win2k files.
I have been making changes to the wrong files even though they were the correct files (for Win98).
Changes I was making worked ... in Win98 ... even though I was accidently making them in Win2k
thinking I was in Win2k files. I out-foxed myself, so to speak. Mixing USB and EtherNet This is well covered on WindowsNetworking.com. However, I am making my own notes here cause my equipment is a little different. I went to our local Fry's Electronics and purchased a SanMax Data Link USB cable. This cable is designed to connect two PCs together. The connectors on both ends are of type "A" and there is a hub in the middle. Got new drivers. GeneLinkRev1_08.zip contains the drivers and a Software Router. The router is only needed on the system which has both an EtherNet and this USB Net. The driver software goes in \\Program Files\\Genesys Logic\\Gensys Drivers\\. On re-boot you will get the detected new hardware dialog. USB Host to Host Bridge. Click on NEXT and you will get two choices. One is for Windows to look for a new driver and the other is for you to select from a list. Choose the second option, "Select from a List", and then click on next. From the list presented select "Universal Serial Bus Controller" and click on NEXT. Now you are presented with a Manufactures selection and of course we will pick "Generic USB Hub" from the list. Well, "Houston, we have a problem". Says that the software was not written for the device and may not work! This was during the attempt to install the Software on my known good Win98 machine and not the customer's WinME box. Got New USB Cable Well, enough of the previous garbage. The "Plug and Play" turned into "Plug and Pray" and even that didn't work. Using their software, following instructions, obtaining Updated Software and it still didn't work. I have experienced this to many times. I returned the SanMax DataLink cable to the store and got my money back. Fry's Electronics did not have a USB DataLink cable from another Vendor in stock. So, I went where I probably should have went in the first place... CompUSA. The CompUSA package was not only packaged better but it also cost less. So for, $26.94 versus $32.42, I got a reusable package, a printed User's Guide and a CD with Software that worked!! (I hate shrink wrap!!) By the way, the first one didn't even have a User's Guide on the CD, let alone not having one in print. After installing the Software, smoothly as it should be, I was able to move
files between the two machines. I never got a warning or error message that something didn't work. The
process even went smooth on the WinME machine. Before leaving this subject I need to say that the first cable package promised a bridge between the USB network and an existing network. I wasn't really looking for this feature but I thought it would be nice. However, since the whole mess didn't work in the first place I guess it is a mute point. The second USB cable only promised PC to PC transfers with no interference to your existing network... which is all I really wanted in the first place. So, if you get a "Plug and Play" device, make sure it has Software included AND a printed Manual.
|
|||||||||||||||||||||||||||||||||||
|
|
|