vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| hello. I feel a little embarrassed about asking this question because I suspect the answer is staring me in the face but here it is: the situation: 2 pcs connected via USB Wireless adapter. host pc has dialup ppp connection to ISP, and has gentoo and windows 2000 installed client pc has fedora FC3 installed. client has no problems accessing internet if I use win2k on the gateway. however, if without changing anything else, I then switch to gentoo on the gateway, client can only ping internet using IP (a.b.c.d) addresses; it cannot ping internet using domain names UNLESS I put the actual IP addresses of my ISP's nameservers into client's '/etc/resolv.conf' (client can of course 'ping bigbird' if I put big_bird 192.168.0.1 in client's '/etc/resolv.conf'). question: what am I not doing on my gentoo gateway host that is causing this problem? thank you. billh |
| |||
| student wrote: > > client has no problems accessing internet > if I use win2k on the gateway. > > however, if without changing anything else, > I then switch to gentoo on the gateway, > client can only ping internet using IP (a.b.c.d) addresses; > it cannot ping internet using domain names > UNLESS I put the actual IP addresses of my ISP's nameservers > into client's '/etc/resolv.conf' > > what am I not doing on my gentoo gateway host that is > causing this problem? You need to setup DNS forwarding. Emerge named. Also, the following guide may help (not specifically for Gentoo): http://enterprise.linux.com/enterpri....shtml?tid=100 Alternatively, you may be able to setup your DHCP server to issue the ISP nameservers (probably better). Hth, -- Ben M. |
| |||
| Ben Measures wrote: > student wrote: > >> >> client has no problems accessing internet >> if I use win2k on the gateway. >> >> however, if without changing anything else, >> I then switch to gentoo on the gateway, >> client can only ping internet using IP (a.b.c.d) addresses; >> it cannot ping internet using domain names >> UNLESS I put the actual IP addresses of my ISP's nameservers >> into client's '/etc/resolv.conf' >> >> what am I not doing on my gentoo gateway host that is >> causing this problem? > > > You need to setup DNS forwarding. Emerge named. > > Also, the following guide may help (not specifically for Gentoo): > http://enterprise.linux.com/enterpri....shtml?tid=100 > > Alternatively, you may be able to setup your DHCP server to issue the > ISP nameservers (probably better). > Maybe it will help to narrow the range of possible answers if I show how I start the wireless interface: 1. on the gateway: a. execute shell script ------------------------------------- # commands common to host and clients: iwconfig wlan0 essid boogaloo iwconfig wlan0 nick big_gentoo iwconfig wlan0 mode ad-hoc ifconfig wlan0 192.168.0.1 netmask 255.255.255.0 up iwconfig wlan0 key off iwconfig wlan0 key <password> iwconfig wlan0 key restricted sysctl -w net.ipv4.icmp_echo_ignore_all=0 # commands specific to hosts: sysctl -w net.ipv4.ip_forward=1 # for dialup connections, this goes in /etc/ppp/ip-up.local: #iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE # this should be the last line in this file. ----------------------------------------------------- b. start dhcpd c. start named 2: on the client: a. execute shell script -------------------------------------- # commands common to host and clients: iwconfig wlan0 essid boogaloo iwconfig wlan0 nick little_fedora iwconfig wlan0 mode ad-hoc ifconfig wlan0 192.168.0.3 netmask 255.255.255.0 up iwconfig wlan0 key off iwconfig wlan0 key <password> iwconfig wlan0 key restricted sysctl -w net.ipv4.icmp_echo_ignore_all=0 # commands specific to clients: route add default wlan0 route add default gw 192.168.0.1 # this should be the last line in this file. ---------------------------------------------- b. make sure named is *not* running. What I am trying to figure out is, specifically what is windows 2000 doing when it is the gateway that gentoo is not doing when it is the gateway and specifically how do I make gentoo do that? HTH |
| |||
| student wrote: > Ben Measures wrote: >> student wrote: >> >>> gentoo on the gateway, >>> client cannot ping internet using domain names >> >> You need to setup DNS forwarding. Emerge named. >> >> Also, the following guide may help (not specifically for Gentoo): >> http://enterprise.linux.com/enterpri....shtml?tid=100 > > [snipped:] > Maybe it will help to narrow the range of possible answers if I show > how I start the wireless interface: > > 1. on the gateway: > b. start dhcpd This isn't needed since the client has a static ip. > c. start named Did you configure named at all? If not you need to look at the guide I offered earlier. TTFN, -- Ben M. |