Duncan Baynes wrote: > james wrote: >> Hi to all: >> >> First of all, first time post here. >> I successfully build LFS-6.5 with virtually no problems at all and want >> to say thanks to the developers. >> >> Now it was on to BLFS and I have installed these additional packages: >> Openssl-0.9.8g >> Openssh-4.7.p1 >> Portmap-6.0 >> tcpwrapper-7.6 >> >> These all work but I have a nagging problem that has eluded me so far. >> I can ping any machine on my local lan, both with IP address or hostname. >> I can ping my router, and my gateway no problem. >> I can ping my ISP or google.ca with their IP address, BUT I cannot ping >> them with their hostname. >> >> That is, ping google.ca gives: ping: unknown host. >> >> Here is my /etc/resolve.conf: >> domain workgroup >> search workgroup >> nameserver 192.168.1.1 >> nameserver <my ISP's primary address> >> nameserver <my ISP's secondary address> >> >> Here is my /etc/sysconfig/network-devices/ifconfig.eth1/ipv4: >> ONBOOT=yes >> SERVICE=ipv4-static >> IP=192.168.1.149 >> GATEWAY=192.168.1.1 >> PREFIX=24 >> BROADCAST=192.168.1.255 >> >> I'm sure it is quite obvious but I can't seem to find the problem. >> Also. ifconfig doesnot appear to be installed so have had to use ip link >> .... for checking things. >> >> Any help would be greatly appreciated. >> >> Thanks, >> James >> >> >> > If your file is named /etc/resolve.conf change it to /etc/resolv.conf
And remove the nameserver 192.168.1.1 line unless that system has a properly installed nameserver installed. Also the domain/search lines are meaningless. First, the last one specified overrides any earlier domain/search line and second, it should be a proper domain name. Also, a domain/search line is not required at all. It is only there as a convenience so you can specify something like 'ftp server' when you really mean ftp.example.com. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
