Erez Boym wrote:
>
> I have a Modem and a NIC on the same machine. As long
> as my NIC is set with a dynamic IP (Configured using
> netconfig) my Mozilla browser works perfectly, but my
> NIC, since I dont have a NET yet (The NIC socket just
> hangs without a cord plugged in to it), is unable to
> go up on boot. Not a problem but since my NET is not
> there yet but trying to go up the NIC halts my boot
> for almost a minute before deciding that there is no
> NET and continue on with the boot process.
>
> So to avoid waiting on boot I have used netconfig
> again to install my NIC with an imaginary IP
> 118.118.0.0 and net mask 255.255.0.0
You shoud use an IP that belongs to the group of unconnected IPs, such
as 192.168.x.yyy netmask 255.255.255.0.
This should be a static IP. You should NOT!!! have a gateway defined on
this network.
> Once my NIC is installed with the static IP Mozilla is
> enable to resolve names > I sent it to
> www.linux.org.il it gives a message that "Name could
> not be resolved.
Make sure your /etc/nsswitch.conf file has the line:
hosts: files dns
with NO other options.
Find the IP addresses of your ISP's namesevers and use them in
/etc/resolv.conf. Remove "usepeerdns" from your dialup ppp parameters.
DO NOT run named. If you do, make sure that your /etc/resolv.conf file
contains:
search <whatever.your.default.domain.is>
nameserver 127.0.0.1
In your /etc/named.conf:
options
{
recursion yes;
dialup yes;
directory "/var/named";
listen-on { 192.168.x.y; };
listen-on { 127.0.0.1; };
forwarders { 194.90.1.4; 212.143.212.143; 172.19.5.5; };
};
Forwarders are nameservers you forward requests TO. The example I used
is for a cable modem connected to netvision.
Geoff.
--
Geoffrey S. Mendelson
MobilEye Vision Technologies Ltd, R.M.P.E House, 10 Hartom St. Har Hotzvim
Jerusalem, 91450 Israel Tel: +972-2-5417-356 Cell: +972-55-667-090
Do sysadmins count networked sheep?
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]