I am starting the dhcpcd manually and I am getting an ip address from the server but I am not able to browse the net. What settings should I check? Ricardo --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
On Sun, 2 Feb 2003 14:27:51 -0800 (PST)
Ricardo
I am starting the dhcpcd manually and I am getting an ip address from the server but I am not able to browse the net. What settings should I check?
2 things.
First, check to see if you have a working DNS server.
(/etc/resolv.conf).
Secondly check your routing table.
netstat -nr
This should have 2 entries similar to mine (except I have a router)
gaf@gaf:~> netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 40 0 0 eth0
The second line is the most important because it has the IP address of
the gateway. The routing table should be generated automatically.
The first thing you should do if the routing table looks ok is to ping
an address in your ISP's networkby using the IP address (the gateway
will work). If you are successful, then try pinging an address by name
to see if DNS is working. If DNS is not working, you may have the wrong
DNS servers set up. I recommend editing resolv.conf manually just to
avoid the YaSt overhead for the time being. Any valid DNS server should
be able to work, but it is best to have a DNS server provided by your
ISP for performance reason.
--
Jerry Feldman
I'm having (perhaps) the same problem (see [SLE] dhcpcd creates 0 byte resolve.conf (at first) topic). In my case it is because a 0 byte resolve.conf file is being created. Check to see if it's there. " ls -l /etc/resolve.conf " Also check the timestamp (to see if it was created recently), and if it is there "cat /etc/resolve.conf " or vi or whatever, to see if it actually has entries for your nameservers. Good luck! -Mettius On Sun, 2003-02-02 at 16:27, Ricardo wrote:
I am starting the dhcpcd manually and I am getting an ip address from the server but I am not able to browse the net. What settings should I check?
Ricardo
--------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
--
Mettius
On 5 Feb 2003, Mettius wrote:
I'm having (perhaps) the same problem (see [SLE] dhcpcd creates 0 byte resolve.conf (at first) topic).
In my case it is because a 0 byte resolve.conf file is being created. Check to see if it's there. " ls -l /etc/resolve.conf " Also check the timestamp (to see if it was created recently), and if it is there "cat /etc/resolve.conf " or vi or whatever, to see if it actually has entries for your nameservers.
This is just a nit, but it could be confusing/frustrating to people. The name of the file to look for is /etc/resolv.conf, NOT resolve.conf Jim
Thank you Mettius, I reposted my issue as solved a
couple of days ago. In my case was a DNS problem, I
add them manually to the file I had and it worked.
Thnx,
Ricardo.
--- Mettius
I'm having (perhaps) the same problem (see [SLE] dhcpcd creates 0 byte resolve.conf (at first) topic).
In my case it is because a 0 byte resolve.conf file is being created. Check to see if it's there. " ls -l /etc/resolve.conf " Also check the timestamp (to see if it was created recently), and if it is there "cat /etc/resolve.conf " or vi or whatever, to see if it actually has entries for your nameservers.
Good luck!
-Mettius
On Sun, 2003-02-02 at 16:27, Ricardo wrote:
I am starting the dhcpcd manually and I am getting an ip address from the server but I am not able to browse the net. What settings should I check?
Ricardo
--------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
-- Mettius
ATTACHMENT part 2 application/pgp-signature name=signature.asc
__________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
participants (4)
-
Jerry Feldman
-
Jim Cunning
-
Mettius
-
Ricardo