Unable to get full internet access : only Google works !!
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 :D
You can check the nameserver by typing this:
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 ?..
for a good clue as to what may be happening.
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.
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.
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.
Also post the output of
Here are the results of my searches :
1. cat/etc/resolv.conf gives
nameserver 192.168.0.250 (IP address of the router)
2. ifconfig gives
eth0 Lien encap : Ethernet HWaddr 00:0e:A6:AB:3F:B8
UP BROADCAST MULTICAST MTU:1500 Metric : 1
RX packets : 0 errors : 0 dropped : 0 overruns : 0 Frame : 0
TX packets :0 errors :0 dropped :0 overruns :0 carrier :0
collisions :0 lg file transmission : 1000
RX bytes :0 (0.0 b) TW bytes :0 (0.0 b)
Interruption : 18 Adresse de base :0xec00
lo Lien encap : Boucle locale
Inet add : 127.0.0.1 Masque : 255.0.0.0
UP LOOPBACK RUNNING MTU: 16436 Metric:1
RX packets : 1958 errors:0 dropped :0 overruns:0 frame:0
TX packets : 1958 errors:0 dropped :0 overruns:0 carrier:0
collisions : 0 lg file transmission : 0
RX bytes : 236304 (230.7 kb) TX bytes : 236304 (230.7 kb)
3. route -n gives : nothing at all just :
Destination Gateway Genmask .... with no indication whatsoever below.
If I enter netstat : I get "connected" on each line..
Hope you could try to figure out a solution.. Thanks again
Yup, your network interface is not "UP" nor has it queried the DHCP server.
at the prompt and then run the same commands again.
Thanks a lot,
It didn't work, though. I already tried this command a few days ago.
For the moment I' stay stuck with Google and that's all..
THanks for your answers anyway.
The google response might be cached locally as your TCP/IP configuration is not functional.
That is your interface is still "down" for all intents and purposes.
Try setting up the IP addresses manually and then after you've done this post the output of ipconfig.
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...
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.
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 220.127.116.11, and 18.104.22.168)
2. see if you can ping your router
3. post the results
Ah, the magic point of information!
So your ISP serves up IP's via DHCP.
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.
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.
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.
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.
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 ?
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..:mad:
|All times are GMT -5. The time now is 11:48 AM.|