PDA

View Full Version : dns problem with knoppix 3.8.1 Live CD



someuser77
08-06-2005, 04:58 PM
hello. :)
i am using Knoppix 3.8.1 live from the cdrom and for some reason i am unable to access urls, only ip address.
if i wont to open a site, i must use host command to get the ip.
here is the resolv.conf content:

nameserver 10.0.0.138

i asked the isp for dns ip and added them to my router.
i run windows 2000 on the same computer and everything is okay there.
what is wrong and how can i fix this?

UnderScore
08-06-2005, 05:12 PM
First make sure Knoppix is detecting & loading the appropriate driver. At the prompt: ifconfig -a
It should list a eth0 device. If that is not listed, then the driver is not being loaded.

If it is listed, does it have a IP address? Did it use DHCP automatically or did you have to manual enter an address using the command netcardconfig.
Can you ping the gateway?
Can you ping another machine on the LAN?
Can you ping the DNS server?

someuser77
08-06-2005, 06:33 PM
eth0 is listed.
i did not change any DHCP configurations.

Can you ping the gateway? Yes.

Can you ping another machine on the LAN? No other machine on the LAN.

Can you ping the DNS server?Only the main DNS server.

when i try to connect to a server first it uses "1.0.0.0" as the address, then i get a "Connection timed out" error.

Harry Kuhman
08-06-2005, 06:38 PM
What does ifconfig tell you about eth0? What brand and model router is it? You are on a wired connection, correct?

someuser77
08-06-2005, 07:14 PM
What does ifconfig tell you about eth0?

knoppix@1[knoppix]$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:20:ED:53:E1:5D
inet addr:10.0.0.2 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::220:edff:fe53:e15d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:282 errors:0 dropped:0 overruns:0 frame:0
TX packets:290 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:274089 (267.6 KiB) TX bytes:61307 (59.8 KiB)
Interrupt:18 Base address:0xee00


What brand and model router is it? Aztech DSL-600E (http://www.aztech.com.sg/DSL-600E.htm)

You are on a wired connection, correct? yes. ADSL.

Harry Kuhman
08-06-2005, 09:51 PM
Interesting and quite a strange problem. Unfortunately I have no experience with an Aztech router, so no quick help there. I see it is assigning addresses in the 10.x.x.x. range. Most home DSL/cable routers hand out NAT addresses in the 192.168.x.x. blocks, but I don't think there should be any problem in your router using the 10. block (it's also a private block, but larger than many home routers can deal with, particularly with that 255.0.0.0 mask). I was asking about your being wired on the off chance that you got wireless working but were sometimes connecting to a router other than your own (I've seen it happen). No worry of that. The only thing that looks dubious is the 1500 MTU. With DSL you tend to encapsulate the packets and need to shrink the MTU a little (usually around 1492 max) for best throughput. But MTU is certainly not an issue for DNS resolution, which will happen with packets much smaller than this limit. You might want to do a netcardconfig and manually make the settings rather than let DHCP do it for you to see if that has any effect on the DNS problem, but I'm really running short of ideas.

someuser77
08-07-2005, 12:08 AM
i used "ipconfig /all" under windows 2000 to get the data i need.
using the "host" command i got my isp dns server.
i added it all in the "netcardconfig" wizard and i think its under control now. thanks everyone! :D