Results 1 to 2 of 2
After doing the following procedures, I still unable to connect to the Internet. However, I can ping my modem, but not google.com or any other websites. Pls help. Thanks.
slax ...
- 11-27-2006 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 7
Linux Backtrack Internet Problem (After Doing the Following Procedures)
After doing the following procedures, I still unable to connect to the Internet. However, I can ping my modem, but not google.com or any other websites. Pls help. Thanks.
slax ~ # ifconfig eth0 up
slax ~ # dhcpcd
**** dhcpcd: already running
**** dhcpcd: if not then delete /etc/dhcpc/dhcpcd-eth0.pid file
slax ~ # ifconfig eth0 up
slax ~ # ping 192.168.1.1 (This is my default gateway / modem address)
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=255 time=3.64ms
...
...
(ping successful)
slax ~ # ping google.com
ping: unknown host google.com
- 11-27-2006 #2Just Joined!
- Join Date
- Nov 2006
- Posts
- 38
In some cases when using dhcp it is necessary to enter your IP provider's DNS address in /etc/resolv.conf
It may be that dhcpcd is assigning your router/modem address as the DNS, in which case it may be impossible to access the internet.
Just add the following lines to /etc/resolv.conf
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
xxx. etc replace with the appropriate values for your providers DNS, primary and secondary.
In most cases you can delete any address assigned by dhcpcd in resolv.conf.
Hope it works for you.


Reply With Quote