On Thu, Nov 18, 2004 at 05:23:09PM -0600, Chris LaForce wrote: > On Thu, 2004-11-18 at 06:18, Pybe wrote: > > On Wed, 17 Nov 2004 21:11:50 -0600, Chris LaForce > > <ctn82020@xxxxxxxxxxxxxx> wrote: > > > > > > Hello, > > > I am having problem installing my new Netgear Rp114 router ..... > > Does your router provide your pc's with an ip address via dhcp? If so > > does it also provide the dns servers for your connection? By default the rp114 will do dhcp for the first 30 ip addresses or so in a 192.168.0.x class c block. > > If the ip address works you will need to add the dns servers provided > > by your ips to /etc/resolve.conf. The RP114 can act as a pass through DNS server. By default it passes its own IP address to DHCP clients. On the setup screen of the RP114 you can set the DNS servers of your ISP. It is also possible to put the ISP name servers in /etc/resolv.conf as nameservers and bypass the RP114.... nscd is a big help with name services through the RP114. i.e. nscd is a good thing. chkconfig nscd on > > Thanks, > The solution was to enter the ip addresses for my isp's dns servers. I > do have another question about this setup. Now that I installed my > router when I boot up I get the error: > "Could not look up internet address for dhcppc2. > This will prevent GNOME from operating correctly. > It may be possible to correct the problem by adding > dhcppc2 to the file /etc/hosts." Yes, adding lines like this to the host file can help. 192.168.0.2 dhcppc2.my.nat.localnet dhcppc2 192.168.0.3 dhcppc3.my.nat.localnet dhcppc3 192.168.0.4 dhcppc4.my.nat.localnet dhcppc4 .... 192.168.0.32 dhcppc32.my.nat.localnet dhcppc32 The fullish list is important for some, recall that DHCP might get you an address different than dhcppc2. > Also, now when I enter a terminal instead of get > myusername@xxxxxxxxxxxxxxxxxxxx I get myusername@dhcppc2. Can someone > tell me how to change this back or why it is happening? Note that you can also use fixed IP addresses in Linux and the RP114. I would suggest that you save a block of 10 IP addresses for specific hosts on your personal internet. Something like 192.168.0.40 -- 192.168.0.49. Then in the NAT port forwarding screen of the RP114 you can open a port or range of ports to a host (ssh, smtp, ftp, torrent). DHCP and NAT port forwarding is a pain... I like and use the RP114.. I have a friend that only knows how to use ftp for some stuff. I keep ftp nat/forwarded to 192.168.0.140 and when I need to open it up for her I just backspace over the 1 I.E. I toggle 192.168.0.140 <--> 192.168.0.40 as needed. This trick makes it easy to open or lock ports. When I know I am home I can lock ssh and never see the dumb ssh probes... When I am loading a new version of any OS I close my inbound ports until I have all the updates loaded. The RP114 is not as nifty as firestarter and all the stuff that can be done with iptables and Linux networking but for the money it has been a very good little box. It has a DMZ feature that can let you bypass the RP114 and expore the richness and dangers of Linux networking (or not). At the hardware level I do find that the RP114 had smallish problems as a switch with full duplex and 100baseT. I bypass that... mii-tool -A 100baseTx-HD eth0 -- T o m M i t c h e l l spam unwanted email. SPAM, good eats, and a trademark of Hormel Foods.