This is a discussion on Another DSL quesiton: adding second user within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I was told by Thomas set up /etc/hosts sort of as follows: 127.0.0.1 localhost 192.168.1.10 mycomputer.com mycomputer 192.168.1.20 wifecomputer.com ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I was told by Thomas set up /etc/hosts sort of as follows: 127.0.0.1 localhost 192.168.1.10 mycomputer.com mycomputer 192.168.1.20 wifecomputer.com wife He told me how to set up eth0 in the inet1.conf file. Is eth0 my wife's computer or is that just a spot for a second ethernet card (which I don't have.)? And he told me what to set in the router to. Wife uses Win 98 right now. Where in Windows do I make a setting? I assume I enter 192.168.1.20 (her IP) there? (This will probably be in the setup manual SBC gives me but if anyone knows I'd appreciate a heads up.) So here's the big question: How does the router know to route my web pages and email to me and her's to her? I'd really LOVE to know how this REALLY works at a more detailed level. If anyone knows of a good book (for the idiot) or a good site that explains how it all comes together, please post title/url here. You taught me to fish. Now I gotta find a lake!! Al |
| |||
| On Sat, 17 Apr 2004 09:17:41 -0700, A-B C. wrote: > > Wife uses Win 98 right now. Where in Windows do I make a setting? I assume I > enter 192.168.1.20 (her IP) there? (This will probably be in the setup manual > SBC gives me but if anyone knows I'd appreciate a heads up.) > > So here's the big question: How does the router know to route my web pages and > email to me and her's to her? I'd really LOVE to know how this REALLY works > at a more detailed level. If anyone knows of a good book (for the idiot) or a > good site that explains how it all comes together, please post title/url > here. > > You taught me to fish. Now I gotta find a lake!! > > Al http://www.dslreports.com/sitesearch...421acf&s= faq |
| |||
| On Sat, 17 Apr 2004 09:17:41 -0700, A-B C. wrote: > I was told by Thomas set up /etc/hosts sort of as follows: > > 127.0.0.1 localhost > 192.168.1.10 mycomputer.com mycomputer > 192.168.1.20 wifecomputer.com wife > > He told me how to set up eth0 in the inet1.conf file. Well, all should be fine then, isn't it? > Is eth0 my wife's computer or is that just a spot for a second ethernet > card (which I don't have.)? This the label used for the _first_ Ethernet interface. > And he told me what to set in the router to. > > Wife uses Win 98 right now. Where in Windows do I make a setting? What setting? I'm having a guess here, you want the MS-Windows box to be able to resolf "mycomputer" as well... If i'm correct at that, edit: %windir%\hosts To make it look like the file you posted. > I assume I enter 192.168.1.20 (her IP) there? Well, the /etc/hosts file you posted maps it to "wifecomputer.com" and aliases that to "wife". So if you want to connect to the machine at IP adress 192.168.1.20 , you can use the "wife" name instead. > (This will probably be in he setup manual SBC gives me but if anyone > knows I'd appreciate a heads up.) I don't understand ... Are you asking how to setup the win98 box? (That would be off-topic, a clue though: "start"->"execute"->"control" .) > So here's the big question: How does the router know to route my web > pages and email to me and her's to her? Becouse it runs software that can, and you configured it to do so. > I'd really LOVE to know how this REALLY works at a more detailed level. Generally about routers: http://computer.howstuffworks.com/router.htm However, your router would be doing NAT: http://www.howstuffworks.com/nat.htm > If anyone knows of a good book (for the idiot) or a good site that > explains how it all comes together, please post title/url here. Well, read above (i didn't myself, but they /do/ have "router" and "nat" in the URL ...) > You taught me to fish. Now I gotta find a lake!! http://www.google.com/ -- -Menno. |
| |||
| I'll just add my understanding of how I did it with the same ideas as your needs; Linux box has 2 Ethernet cards, eth0 and eth1. On my machine, ETH0 connects to my Westell DSL modem (or Cisco) ETH1 Connects to the router. If you haven't already, run NETCONFIG - basic network setup, input DNS, names... you said you had all that already. When you setup your Linux computer, you give it an IP address. I gave mine 10.0.0.1 Under windows I have my settings as IP 10.0.0.2 and my wife's as 10.0.0.3. You don't need 2 IP's from your provider. You can run multiple with 1 IP... Only problem is if you both access the same game online multi-player, like QUAKE, or UT2004. Setup in windows: Subnet is 255.255.255.0, Gateway for me is 10.0.0.1, and the DNS as given to you by your provider. Linux uses IP Masquerading to take what you send and push it out the DSL modem, and receiving signals from the modem and routing them to you or your wife's computer. The only other thing you need to setup is a basic firewall (/etc/rc.d/rc.firewall). Sounds harder than it is, but within 5-10 minutes of a clean install you can get it working with the firewall being the most time consuming. If you would like, I can post it or email it to you. Darrell "A-B C." <atakeoutcanton@adams-blaketakeout.com> wrote in message news:1082m78avjdgle0@news20.forteinc.com... > I was told by Thomas set up /etc/hosts sort of as follows: > > 127.0.0.1 localhost > 192.168.1.10 mycomputer.com mycomputer > 192.168.1.20 wifecomputer.com wife > > He told me how to set up eth0 in the inet1.conf file. Is eth0 my wife's > computer or is that just a spot for a second ethernet card (which I don't > have.)? > > And he told me what to set in the router to. > > Wife uses Win 98 right now. Where in Windows do I make a setting? I assume I > enter 192.168.1.20 (her IP) there? (This will probably be in the setup manual > SBC gives me but if anyone knows I'd appreciate a heads up.) > > So here's the big question: How does the router know to route my web pages and > email to me and her's to her? I'd really LOVE to know how this REALLY works > at a more detailed level. If anyone knows of a good book (for the idiot) or a > good site that explains how it all comes together, please post title/url > here. > > You taught me to fish. Now I gotta find a lake!! > > Al > |
| |||
| "Darrell Brooks" <sylord@hotmail.com> a écrit dans le message de news:4081edea$0$67186$a0465688@nnrp.fuse.net... > Only problem is if you both access the same game online multi-player, like > QUAKE, or UT2004. > This in not true. I have a linux gateway, and we can play several players on the same CS internet server. With the NAT properly set, the packets are routed to the right PC. Le Banni. |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In alt.os.linux.slackware, Darrell Brooks dared to utter, > Under windows I have my settings as IP 10.0.0.2 and my wife's as 10.0.0.3. > You don't need 2 IP's from your provider. You can run multiple with 1 IP... > Only problem is if you both access the same game online multi-player, like > QUAKE, or UT2004. What Darrel is talking about is wrong. He seems to be confused on how ports and sockets work. This shows a distinct lack of understanding concerning how TCP/IP works. According to this thinking, only one person in all the world would be able to access any given web page at a time. This would mean that big sites like www.google.com that have thousands of silmultaneous visitors couldn't exist. This is the exact problem we had in the BBS days, and was a chief design goal of the internet. - -- It is better to hear the rebuke of the wise, Than for a man to hear the song of fools. Ecclesiastes 7:5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAgrwUL3KiNGOqr6ERAoBNAKDQUg14+QiRwTFGLwub5J daAUQ/HgCgzLFo frYA+fnX0AiIyevdy2CD0oE= =iGvC -----END PGP SIGNATURE----- |
| |||
| A-B C. wrote: >I was told by Thomas set up /etc/hosts sort of as follows: > >127.0.0.1 localhost >192.168.1.10 mycomputer.com mycomputer >192.168.1.20 wifecomputer.com wife > >He told me how to set up eth0 in the inet1.conf file. Is eth0 my wife's >computer or is that just a spot for a second ethernet card (which I don't >have.)? > > eth0 is the first Ethernet card (aka NIC or Network Interface Card) in your Slackware box. You do not need, nor should you install, any additional NIC's in your Slackware box to do what you're trying to do. >And he told me what to set in the router to. > >Wife uses Win 98 right now. Where in Windows do I make a setting? I assume I >enter 192.168.1.20 (her IP) there? (This will probably be in the setup manual >SBC gives me but if anyone knows I'd appreciate a heads up.) > > Ah, Ha! Winders! Well, that changes things a little. If you've already gone and bought a Linksys (or something) router, read the setup guide that came with it -- if you've got a Linksys BEFSR41, go to http://www.linksys.com, click on the EtherFast Cable/DSL Router with 4-Port Switch selection in the Top Sellers list then click on User Guide in the More Information section of the page that opens up. Read chapter 4, paying close attention to what it says about setting up the router with win98. Read ALL of chapter 4, that'll answer some questions for you. Please, please, bear in mind that win98 is one thing and Slackware is something else entirely -- set the Slackware box as per previous discussions, set the winders box the way Linksys tells you. Forget about your wife's machine in /etc/hosts, wipe it from your memory. Also, SBC is PPPoE, so pay attention to those instructions and ignore all the rest. >So here's the big question: How does the router know to route my web pages and >email to me and her's to her? I'd really LOVE to know how this REALLY works >at a more detailed level. If anyone knows of a good book (for the idiot) or a >good site that explains how it all comes together, please post title/url >here. > > You've got an e-mail address? She's got an e-mail address? Set 'em up on the respective machines, or, in the case of Slackware, she has an account on your Slackware machine? Set up Mozilla (or whatever) in her account for her account information and e-mail address. The reason you're using a router is so that individual machines can talk to the internet via the same DSL connection independently. >You taught me to fish. Now I gotta find a lake!! > > Don't drown. >Al > > > |
| |||
| Thomas Ronayne wrote: > Ah, Ha! Winders! Well, that changes things a little. If you've already > gone and bought a Linksys (or something) router, read the setup guide > that came with it -- if you've got a Linksys BEFSR41, go to > http://www.linksys.com, click on the EtherFast Cable/DSL Router with > 4-Port Switch selection in the Top Sellers list then click on User Guide > in the More Information section of the page that opens up. Read chapter > 4, paying close attention to what it says about setting up the router > with win98. Read ALL of chapter 4, that'll answer some questions for you. > Yes! I did this last night. Folks, the Linksys people really put together a great little tutorial on how to "do" a router. They go into great detail on DHCP and/or PPPoE. I don't know if the equipment is any good, but the docs are great!!!! I'm going to order one from Stables this PM. Thanks for clearing up the idea of putting my wife's IP in /etc/hosts. I know (um, think!) I need mine there, but could not figure out why wife's would need to be there. (Still not sure why ANYTHING has to be there.... but I'll figure that out later.) Now here is the question. Linksys says to set wife's Win98 TCP/IP config screen to "Assign IP automatically" or something like that. Fine. But in the appendex it says that if you have problems, to go ahead and make up an IP for her (ie. 192.158.1.20) and enter it along with the SBC DNS IPs (which, by the way are on http://global.pacbell.net/help/config.html .) It seems to me that doing this (assign an IP) would be the fool-proof way of setting her up??? So what is all this "auto assignment" stuff about? How come the router can't assign my Slack box an "auto IP?" Al |
| |||
| In article <1085qrbo9rqqd74@news20.forteinc.com>, A-B C. wrote: > that doing this (assign an IP) would be the fool-proof way of setting her > up??? So what is all this "auto assignment" stuff about? > > How come the router can't assign my Slack box an "auto IP?" It can. it uses a series of adddresses in the 192.168.10.100-200 address block (based on my friends Linksys DSL router setup). all your slackware would need to do is in netconfig tell it to get its info via dhcp. If you set up a series of static IPs (as the book shows you.) just don't make them in the range that the dynamic ones are generated at. a good example based on my friends for both you and your wife would be 192.168.10.50 (you) and 192.168.10.60 (her) to have the router automatically configure these you need your cards MAC addresses (think of Social Security numbers, they are the cards social security numbers. these are like this one). 00:C0:26:E9:FD:35 When your box requests its address it gives its MAC address to the built in dhcp server on the router and it will be given the static address, DNS info and even the box's hostname (need to check on that.) -- From the Desk of the Sysop of: Planet Maca's Opus, a Free open BBS system. Telephone 860-738-7176 300-33.6kbps Telnet://pinkrose.net.dhis.org The New Cnews maintainer B'ichela |
| ||||
| Alan Hicks wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > In alt.os.linux.slackware, Darrell Brooks dared to utter, > >>Under windows I have my settings as IP 10.0.0.2 and my wife's as 10.0.0.3. >>You don't need 2 IP's from your provider. You can run multiple with 1 IP... >>Only problem is if you both access the same game online multi-player, like >>QUAKE, or UT2004. > > What Darrel is talking about is wrong. He seems to be confused on how > ports and sockets work. > > This shows a distinct lack of understanding concerning how TCP/IP > works. According to this thinking, only one person in all the world > would be able to access any given web page at a time. You seem to have misunderstood his first sentence. I don't need two IP numbers from my provider to have computers from 10.0.0.1 to 10.255.255.254. I just set up IP masquerading. /usr/doc/Linux-HOWTOs/Masquerading-Simple-HOWTO Cheers! Rich |