LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-31-2004, 05:02 AM   #1
jalonsom
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
Weird DNS (?) behaviour


Hello everybody.

I'm totally new to Linux and I've tried this week to install a system without success.
The main problem is with network. I have tried to do a net install with many flavours of Debian and a regular (CD) install with Ubuntu, and then tried GENTOO as it seemed to give me a lot of control over the installation process, but the network behaved in a strange way In all cases except with Knoppix Live CD, where there was no problem at all.

What I first noticed is that during Debian netinstall, I couldn't configure apt properly, since the installer couldn't connect to any server, giving a "network unreachable (1.0.0.0)" message.
Then I realized that with some CD images (test, I believe) I had an option to run a command line during install, so I did a ping to a few of those servers... Surprise! ping was successful! But there's more: after doing a ping to a certain server, apt could connect to it by its name!!!!, but only for a little time, after reboot it couldn't.
Even with some netinstall images (tiny test ones, I think) the installer could be downloaded from the net without doing the ping trick, but after the first reboot thing went as I explained before when getting to apt config.

The thing is that before giving up completely the whole Linux thing, I decided to try Knoppix and Ubuntu.
Ubuntu install CD failed exactly as Debian, so I decided to test the Ubuntu Live CD.
To my surprise, even if the two of them are Debian-based, there were no network problems with Knoppix, but there were strange ones with Ubuntu Live CD:
I could ping on terminal any address (IP or name), and could access internet from applications (Firefox browser, Gaim...), but only with IP, there seemed to be no name resolving.

With GENTOO (both LiveCD and Installed): Same as Debian and Ubuntu:
I can ping everywhere,
I can surf with links everywhere,
BUT: emerge gets no proper DNS, it gets (1.0.0.0) for every server name, UNLESS I ping it just before, or UNLESS I add the entry to /etc/hosts.
I have the 8139too module loaded properly, as reported by lsmod, and lspci reports a RLT-8139 net card.

Do you see any explanation? (resolv.conf is OK, and with correct permissions).

It's a shame, I can imagine lots of people giving up and going back to windows because of so many installation/configuration problems..

THANK YOU.


# ip route
10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.2
default via 10.0.0.1 dev eth0


ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:FC:C0:89:3D
inet addr:10.0.0.2 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::250:fcff:fec0:893d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2275 (2.2 KiB) TX bytes:2141 (2.0 KiB)
Interrupt:11 Base address:0xa000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2677 errors:0 dropped:0 overruns:0 frame:0
TX packets:2677 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:197324 (192.6 KiB) TX bytes:197324 (192.6 KiB)


# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
default mygateway 0.0.0.0 UG 0 0 0 eth0
 
Old 10-31-2004, 06:55 AM   #2
jalonsom
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Original Poster
Rep: Reputation: 0
I only have a good DNS behaviour on knoppix, but only when I boot the 2.4.27 kernel.
If I boot the 2.6 kernel, same behaviour as Debian, Ubuntu & Gentoo.....
Maybe this can be a clue?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
9.3 weird behaviour ????? bigjohn Suse/Novell 9 07-06-2005 05:44 AM
[SOLVED] k3b weird behaviour filosophem Linux - Software 3 01-23-2005 04:42 PM
weird slit behaviour RaulConQ Linux - Software 7 10-31-2004 09:14 AM
Weird behaviour after drivers installation incoming Linux - Hardware 0 11-16-2003 11:02 AM
Weird Apache behaviour ? zalmox Linux - Software 1 11-10-2003 08:12 AM


All times are GMT -5. The time now is 01:51 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration