Re: Determining IP information for eth0 failed
by Jeroen Van Goey
> Am Mi, den 31.03.2004 schrieb Jeroen Van Goey um 02:19:
>
> > I'm unable to make contact with the internet. I get an "Unable to find
> > IP
> > address for server name "localhost.localdomain" - Host name lookup
> > failure" error message. The step-by-step procedure I've followed so
> > far.
> >
> > I have a Fast Ethernet 10/100M PCI network card from Genius on a linux
> > PC running Fedora core 1, kernel 2.4.22-1.2115.nptl and GNOME. My
> > system recognizes the networkcard, because at bootup, I see (using the
> > command "dmesg | grep eth0"):
> > eth0: RealTek RTL8139 Fast Ethernet at 0xc48bd000, 00:40:f4:6f:b4:90,
> > IRQ 11
> > eth0: Identified 8139 chip type 'RTL-8100B/8139D'
> > divert: freeing divert_blk for eth0
> > divert: allocating divert_blk for eth0
> > eth0: RealTek RTL8139 Fast Ethernet at 0xc48d6000, 00:40:f4:6f:b4:90,
> > IRQ 11
> > eth0: Identified 8139 chip type 'RTL-8100B/8139D'
> > eth0: link up, 10Mbps, half-duplex, lpa 0x0000
>
> > So I presumed the driver is 8139too, which I loaded -I think-
> > succesfully (using "modprobe 8139too io=0e400 irq=11"), because
> > "lsmod" gives me:
>
> > [note: yes, I am aware about the recent discussion on this list that the 8139too is
> not a
> > good ethernet chipset, but I bought it because I originally had on my Windows-machine
> a
> > USB to Ethernet convertor (USB LAN 100 from Topcom), that didn't support Linux; and
> I'm
> > not very jumpy to run to the shops a third time.]
> >
> > I adapted /etc/modules.conf to:
> > alias usb-controller usb-uhci
> > alias eth0 8139too
> > options 8139too io=0xe400 irq=11
>
> The card is an ISA one? Only to ISA cards you have to and can pass
> resource information for IO and IRQ. PCI cards will detect that
> themselves.
>
> > I'm not sure if that was entirely correct. Are 2 aliasses allowed? Is
> > my choice for IRQ=11 correct? On "cat /proc/interrupts" both my
> > ethernetcard and my USB are listed on 11, both won't this give any
> > confusion?
> > CPU0
> > 0: 748046 XT-PIC timer
> > 1: 10625 XT-PIC keyboard
> > 2: 0 XT-PIC cascade
> > 8: 1 XT-PIC rtc
> > 11: 81790 XT-PIC usb-uhci, eth0 <---------
> > 12: 60518 XT-PIC PS/2 Mouse
> > 14: 154475 XT-PIC ide0
> > NMI: 0
> > ERR: 0
>
> So far all looks pretty.
>
> > I then went on to configure my network with the command
> > "redhat-config-network", which gives a GUI. In the tab "Devices" I
> > selected "New" > Ethernet connection > RTL-8139/8139C/8139C+ (eth0) >
> > automatically obtain IP adress settings with DHCP. When I then save
> > and select my eth0, there is the error message "Determining IP information for
> eth0....
> > Failed"
>
> > In /var/log/cups/error_log.1 I find this line:
> > E [27/Mar/2004:00:21:53 -0500] StartListening: Unable to find IP
> > address for server name "localhost.localdomain" - Host name lookup
> > failure
> >
> > The command "ifconfig -a" gives this output. I notice that the IPs for inet
> > addr, Bcast and Mask are missing.
> > eth0 Link encap:Ethernet HWaddr 00:40:F4:6F:B4:90
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > RX packets:236210 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:845 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:1000
> > RX bytes:14275029 (13.6 Mb) TX bytes:288990 (282.2 Kb)
> > Interrupt:11 Base address:0x6000
> >
> > lo Link encap:Local Loopback
> > UP LOOPBACK RUNNING MTU:16436 Metric:1
> > RX packets:5939 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:5939 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:0
> > RX bytes:5271644 (5.0 Mb) TX bytes:5271644 (5.0 Mb)
>
> Weird that loopback (lo) has no assigned IP address. Please check the
> content of
>
> $ cat /etc/sysconfig/network-scripts/ifcfg-lo
> DEVICE=lo
> IPADDR=127.0.0.1
> NETMASK=255.0.0.0
> NETWORK=127.0.0.0
> # If you're having problems with gated making 127.0.0.0/8 a martian,
> # you can change this to something else (255.255.255.255, for example)
> BROADCAST=127.255.255.255
> ONBOOT=yes
> NAME=loopback
>
> Many services rely on a proper setup of the loopback device. I think the
> other errors are mainly follwing errors because loopback has no address.
The contents of /etc/sysconfig/network-scripts/ifcfg-lo are exactly as stated above.
Some more info that may be helpfull: I can ping localhost, but no other adress (network
unreachable).
PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=0 ttl=64 time=0.140 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.139 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.137 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.126 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=4 ttl=64 time=0.136 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=5 ttl=64 time=0.132 ms
--- localhost.localdomain ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5012ms
rtt min/avg/max/mdev = 0.126/0.135/0.140/0.004 ms, pipe 2
The output of "route -n"
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 lo
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
The output of "iptables -L -n -v"
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
2728 303K RH-Firewall-1-INPUT all -- * * 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 RH-Firewall-1-INPUT all -- * * 0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy ACCEPT 277 packets, 55759 bytes)
pkts bytes target prot opt in out source destination
Chain RH-Firewall-1-INPUT (2 references)
pkts bytes target prot opt in out source destination
277 55759 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0
icmp type 255
0 0 ACCEPT esp -- * * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT ah -- * * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0
state RELATED,ESTABLISHED
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0
state NEW tcp dpt:25
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0
state NEW tcp dpt:80
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0
state NEW tcp dpt:21
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0
state NEW tcp dpt:22
2451 247K REJECT all -- * * 0.0.0.0/0 0.0.0.0/0
reject-with icmp-host-prohibited
Sorry for making the mail so long, but I hope that it can shed some light on the problem.
>
> > I can't get much out of this, but sometimes I recognized something, like in:
> >
> > 52:21.988678 81.83.160.1.bootps > 255.255.255.255.bootpc: xid:0x3abb2391
> > flags:0x8000 Y:81.83.160.26 G:81.83.160.1 ether 0:0:39:bb:23:91 vend-rfc1048
> > DHCP:OFFER SID:195.130.132.97 LT:7200 SM:255.255.240.0
> > NS:195.130.131.4,195.130.130.4 DN:"pandora.be" RSZ:576 TTL:64
> > BR:255.255.255.255 RN:3600 RB:3601 HN:"toshiba" DG:81.83.160.1
> > 4500 0160 f72c 0000 ff11 d20b 5153 a001
> > Where "pandora.be" is the name of the ISP which provides me with dynamic
> > IPs.
> >
> > Some more info that I was able to squeeze out of my machine:
> > The contents of my /etc/sysconfig/networking/devices/ifcfg-eth0 file:
> > USERCTL=yes
> > PEERDNS=yes
> > TYPE=Ethernet
> > DEVICE=eth0
> > HWADDR=00:40:f4:6f:b4:90
> > BOOTPROTO=dhcp
> >
> > The following came from a log file. A lot of things are not yet filled in.
> > Should I change and add them in in ifcfg-eth0 manually, or should dhclient
> > (or some other program) do that for me?
> > Mon Mar 29 10:10:31 2004: -+ //etc/sysconfig/networking/devices/ifcfg-eth0
> > NETMASK=''
> > DOMAIN=''
> > BOOTPROTO='dhcp'
> > HWADDR='00:40:f4:6f:b4:90'
> > DEVICE='eth0'
> > IPADDR=''
> > DHCP_HOSTNAME=''
> > TYPE='Ethernet'
> > GATEWAY=''
> > PEERDNS='yes'
> > USERCTL='no'
> > ONBOOT='yes'
> > NETWORK
> > BROADCAST
> > DOMAIN
> > DHCP_HOSTNAME
> > IPADDR
> > NETMASK
> > GATEWAY
> >
> > That's about as much information as I can give you.
> > Where did I go wrong, or what did I forget?
> > Thanks for the help.
> >
> > Jeroen
>
> Alexander
Jeroen
___________________________________________________________
WIN FREE WORLDWIDE FLIGHTS - nominate a cafe in the Yahoo! Mail Internet Cafe Awards www.yahoo.co.uk/internetcafes
20 years
Re: thinking of moving to Fedora
by Paul Vandenberg
I also tried Mandrake 10 Community. There are things I like about
Mandrake, but overall, I like the way Fedora does things better. I
like the Bluecurve interface very much. It's more a look 'n feel thing
for me.
I also like the Fedora Community better. Everyone here seems much more
positive. Sometimes I feel that the Mandrake Club forums are just one
big whining session.
Well....that's my 2 cents.
Paul
20 years
RE: undefined reference while building non SMP kernels
by Floros Athanassios (athanassios.floros@intracom.gr)
Thanks, that really solved my problem. However, I must point out that
searching the archives for "active_load_balance" produced no results.
Athanassios
-----Original Message-----
From: Christoph Wickert [mailto:christoph.wickert@web.de]
Sent: Tuesday, March 30, 2004 4:08 PM
To: For users of Fedora Core releases
> Any ideas why this error occurs even with the original non SMP kernel
> configuration?
Because you did not rum "make oldconfig"?
Run make oldconfig twice (!) before you start compiling. Has been
discussed on this list a mio times, search the archives for
"active_load_balance" if you want more info.
Christoph
20 years
thinking of moving to Fedora
by ems
As some of you know, I'm new to this list.
Regarding my hardware post, I feel it should be OK with Fedora.
At the moment, I'm having an issue with Mandrake. I'm not happy with the way
they are doing things.
Anyway, what I would like to ask is if some of you folk here could kindly tell
you prefer Fedora to Mandrake or any other distro for that matter.
I might also mention that presently I'm running Mandrake 10 Community, with
the 2.6 kernel and the latest Kde etc. And the new kernel is definitely alot
faster and smoother.
So when Core 2 comes with all this new stuff, it should be a real beauty for
you all :)
Cheers ems
ps: Mdk 10 C, has about 500-800 megs of bugfixes to download :)
20 years
Fedora Core 2 test2 and 2.6 kernel questions
by John Que
Hello,
according to fedora WebSite,
http://fedora.redhat.com,
"Fedora Core 2 test2 Available!
A test release of Fedora Core 2 is now available from Red Hat and at
distinguished mirror sites near you, .... This test release is specifically
designed for SELinux testing, as well as testing the 2.6 kernel..."
questions:
is the official long awaited 2.6.0 kernel (or 2.6.1,2.6.2 , etc.).?
Is it a full kernel release or only a part of it ?
what is approximately the intended time interval between test2 to test 3 ,
to test4?
Is it a week or 2 ? or 1-2 months ?
regards,
John
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
20 years
OpenGl Ati
by Mike Atamas
I am using the properiety ati drivers. When I installed them everything
worked fine. Now it tells me Error: couldn't get fbconfig when I try to
run fgl_glxgears and all opengl things barely crawl. What is the problem?
Thanks
Mike
psychomohel(a)comcast.net
20 years
RE: unresolved symbol schedule_work while building non SMP kernel s
by Floros Athanassios (athanassios.floros@intracom.gr)
Thanks. The post you mention had the solution to my problem
Athanassios
-----Original Message-----
From: Andre Costa [mailto:acosta@ar.microlink.com.br]
Sent: Tuesday, March 30, 2004 4:30 PM
To: For users of Fedora Core releases
Subject: Re: unresolved symbol schedule_work while building non SMP
kernels
...
I've seen this before. You have to manually create some files on the
ALSA source tree before compiling it. Check out this post:
http://www.linuxquestions.org/questions/showthread.php?postid=701246#post701
246
I guess newer kernels/ALSA fixed this (not sure though).
HTH
Andre
--
Andre Oliveira da Costa
20 years
RE: About RULE for FC1, was: 486 install?
by M. Fioretti
> >
> >Yes, currently RULE is "stuck" to Red Hat 9.
[....]
>
> I looked over your website and cannot find any of the downloads, even for
> RH9. I take it there won't be any until all of the developers are settled
> back in. I'd love to try this out for a small charter school whose network
> I'm working on. They have a bunch of 133MHz white boxes that I want to use
> as non-essential file servers.
Tom, and everybody else.
The RULE ISO image for RH9 *is* available at an alternative savannah location:
ftp://ftp.gnu.org/savannah/files/rule/slinky/slinky-v0.3.96/
the md5sum matches what we had, so it doesn't seem cracked.
For the record, I successfully used it just last week to an install fest
here in Italy. Right after giving without problems a RULE slideshow:
with KOffice 1.2
from the standard Koffice/KDE rpms for rh9
off a laptop with 133 MHz Pentium and 32 MB of RAM
on which I had installed RH9+kdrive with the same ISO above
for a total of ~700 MB of disk space
Neat, uh?
Plese try it, subscribe to the RULE list and let us know!
HTH,
Marco Fioretti
20 years
Installing OO.org with yum
by Anduriek
Hi,
I tried to install openoffice.org via yum. It tells me that OO need
mozilla 1.4 to solve dependencies, but I already have installed Mozilla 1.6
(without yum).
I don't want have 2 versions of mozilla on my machine. Is there any way
to tell
yum that I have mozilla already installed, or installing OO with out
mozilla 1.4
via yum?
20 years
issue upgrading libdb
by Robert P. J. Day
as part of the process of upgrading subversion on my FC1 system, i
updated against the yum repository:
http://summersoft.fay.ar.us/pub/subversion/1.0.1/fedora/bin/
which seems to have caused some problems related to the version of
libdb being used.
what i also got from that repository were a couple new RPMs related
to libdb: db42 and db42-devel. i didn't think much of it at the time,
but these RPMs seem to clash with the RPMs you find in rawhide.
rawhide contains the RPMs
db4-4.2.52-3.1
db4-devel-4.2.52-3.1
while, from the subversion repo, i got and installed
db42-4.2.52-0.1
db42-devel-4.2.52-0.1
currently, on my system, i now have the subversion repo RPMs, as well as
the originals, for a grand total of installed db4-related RPMs:
db4-4.1.25-14
db4-devel-4.1.25-14
db42-4.2.52-0.1
db42-devel-4.2.52-0.1
now, when i try to do a "yum update" (without including rawhide in my
yum.conf file), i get
Package python needs libdb-4.1.so, this is not available.
Package cyrus-sasl needs libdb-4.1.so, this is not available.
Package sendmail needs libdb-4.1.so, this is not available.
Package webalizer needs libdb-4.1.so, this is not available.
Package xemacs needs libdb-4.1.so, this is not available.
Package ruby-libs needs libdb-4.1.so, this is not available.
Package kdesdk needs libdb-4.1.so, this is not available.
Package libtabe needs libdb-4.1.so, this is not available.
Package inn needs libdb-4.1.so, this is not available.
Package gnucash needs libdb-4.1.so, this is not available.
Package php needs libdb-4.1.so, this is not available.
Package perl needs libdb-4.1.so, this is not available.
Package mod_perl needs libdb-4.1.so, this is not available.
Package openoffice.org-libs needs libdb_cxx-4.1.so, this is not available.
Package openoffice.org needs libdb_cxx-4.1.so, this is not available.
i'm really regretting having installed those libdb RPMs from the
subversion repo but that subversion repo updated a lot of other
packages as well, like apr-util, httpd, etc.
before getting into this any deeper, has anyone else updated from
that summersoft repo? comments?
rday
20 years