Unable to get full internet access : only Google works !!
MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Unable to get full internet access : only Google works !!
Hi everyone,
I've got Mandrake 10.0 OE on an Asus pc with 512Mo ddr.
It's a Linux only box. I've also got a Dell running on winXP.
Both machines are linked to the net through an Olitec SX 500 adsl Modem router.
Well, everything is fine for the Dell, but, though I can connect with the Asus -eth0 is ok at boot-, all I can get to work is Google; I can't reach other sites..
Ok, it seems I've got a DNS problem but how to get it solved?
I got a message from another forum telling me I have to put the IP addresses of the DNS servers in the proper resolveconf file.
Er, how to do that please ?? Can any one feels like helping me in that ?
Any idea would be appreciated. Thanks
Thanks very much , Boby !
Unfortunately, this has not worked much.
I couldn't get the IP for the nameserver 1 or 2 of my ISP (aol.com, i.e.), just that which seems strange : 127.0.0.1.
There was an IP, anyway, which is one provided by my router, so I swapped it with the 127etc.., but to no avail.
Perhaps I should change the ISP ?
If you've got another idea ?..
Originally posted by samael26 Thanks very much , Boby !
Unfortunately, this has not worked much.
I couldn't get the IP for the nameserver 1 or 2 of my ISP (aol.com, i.e.), just that which seems strange : 127.0.0.1.
There was an IP, anyway, which is one provided by my router, so I swapped it with the 127etc.., but to no avail.
Perhaps I should change the ISP ?
If you've got another idea ?..
Does your router box provide a dhcp service for your network? If it does then your Windows machine is getting it's network information from the router regarding what dns servers to use, or your router is forwarding requests to your isp's dns servers. If you can, use the mandrake control centre to change the network connection so that it uses DHCP to get it's ip address instead of being assigned manually.
When you reboot or restart the network service your pc should ask the router what ip address and what dns servers it should use.
Hi,
Thanks for taking interest in my problem.
I have tried this several times but to no avail..
I really wonder whether it's a problem of configuration, of kernel, of the router itself(though it works well with Windows), or of ISP.
I must say I'm quite lost.
Thanks anyway..
Originally posted by samael26 Hi,
Thanks for taking interest in my problem.
I have tried this several times but to no avail..
I really wonder whether it's a problem of configuration, of kernel, of the router itself(though it works well with Windows), or of ISP.
I must say I'm quite lost.
Thanks anyway..
Again
cat /etc/resolv.conf
This you a REAL clue as to what is happening.
I'll bet that the resolver is not getting pointed to a valid DNS.
This may be due to (as the previous poster alluded to) bad settings or no DHCP information arriving to the system.
I can't set up the IP addresses 'manually' because my ISP only provides DHCP, so each connexion sees a new address on which I can't have any action...
Thanks anyway
If your behind a router you can still set your ip manually and not be affected by isp dhcp server. Like the relpy in the last post your interface device is still down.
Steps
1. set your IP address manually (in the same range as your router) in the ifcfg-eth0 in /etc/sysconfig/network-scripts
gateway - being your router
nameservers - you can use any nameserver on the net. ( if you want use 142.165.21.5, and 142.165.5.2)
2. see if you can ping your router
3. post the results
What is probably happening is that your machine is getting allocated an IP either by MACHINE NAME or that the cable modem does not recognize the request from Linux since it's previously already doled out an IP address to a prior install or to Windows.
Do this.
1) Make sure that the interface connected to the cable modem is set up to get it's address via DHCP.
2) Shut down Linux. REMOVE the power cord from your computer and press the power button with it disconnected to remove any residual current on capacitors.
3) TURN OFF your cable/dsl modem and also remove power for at least 1 minute.
4) Make sure that your cable modem is connected directly to your Linux boxes ethernet port correctly.
5) Turn on your cable modem and permit it to stabilize.
6) Once the modem is done with it's girations, bring up Linux directly. Don't start Windows, etc.
Then once it's up run IPCONFIG again and see if you've obtained a new IP.
IF NOT, again cycle the cable modem, this time with the Linux box up.
Then type
service network restart
and run IPCONFIG again to see if you've received an IP.
If it still fails, you may need to name your Linux box EXACTLY the same way as it was or might have been named previously under Windows, etc.
Some ISP's only dole out IP's to machines with recorded or specific names.
Thanks for your advice.
first :
I know it's really a problem of eth 0 configuration because when I look at the advanced settings in my router, the tests show that everything is OK, EXCEPT the test on pppoE, so I can only get a connexion by pppoALLC (don't know what that means exactly..)
Every other kind of connexion available fails.
Second :
I know I've got DHCP because each time I tried a new way of connexion, the address changed when I got back to pppoAsomething.
Strangely enough at each boot, the eth 0 reports OK, so there must be some kind of code to add or something having to be set on "1" instead of "0", perhaps. Problem is in what file ?
third :
I don't have dual boot but two boxes : one Windows-only and the other Linux-only. Erm, I don't know what name has been given to my Windows machine and don't know where to find such a name..
I'll try to have a look in this ifconfig eth0, as craigvanham suggested..
This really begins to get on my nerves..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.