By default, Bering is using dnscache and so /etc/resolv.conf has 192.168.1.254. Seems to me that ISP's DNSes are not used at all if you do not change settings in dnscache. dnscache still works because it uses root DNSes. Correct me if I am wrong.
Thank you. M Lu. ----- Original Message ----- From: "Ray Olszewski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 16, 2003 12:13 PM Subject: Re: [leaf-user] How to show default gateway IP? > At 11:04 AM 6/16/2003 -0700, M Lu wrote: > >Thank you Ray, > > > >I would like to see the information, not to set or change it. 'netstat' is > >not installed by default in Bering, and /etc/resolv.conf does not contain > >the ISP DNSes by default, either. I can install 'netstat' or look inside log > >files of DHCP client. > > > >I just think Bering could have something similar to Win2K's 'ipconfig /all'. > >I tried 'ip' but do not know which parameter I should use to show gateway. > > Sorry for the initial absent mindedness. > > The ip command you want it is "ip route show". The last line listed will > (normally) be the default gateway. > > As to /etc/resolv.conf ... if the information is not there, how does the > router itself *use* the DNS-server addresses? If dhcpcd (or is it dhclient? > or pump? they all do this) gets DNS addresses as part of a lease, it is > supposed to put them in /etc/resolv.conf, so the resolver can use them. > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > ------------------------------------------------------------------------ > leaf-user mailing list: [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/leaf-user > SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html > ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
