Re: Sarge box network connection broken
On Fri, 16 Feb 2007 10:12:32 -0500
Andrei Popescu wrote:
On Tue, 13 Feb 2007 21:54:24 -0500
Ken Heard <ken@heard.name> wrote:
>>> > >> Ifconfig only reports the loop back IP address. The IP address
>>> > >> assigned by the gateway, 192.168.0.114, was not reported by
>>> > >> ifconfig, presumably because the operating system cannot connect
>>> > >> to the network.
> >
> > Back to Kent, with my responses.
> >
>> > > What happens when you run "/etc/init.d/networking restart"?
> >
> > Returned:
> >
> > Setting up IP spoofing protection: rp_filter.
> > Reconfiguring network interfaces...Failed to bring up eth0.
> > done.
> >
> > Then a series of messages scrolled down the screen, similar,
> > maybe identical to what appears as part of the boot-up.
> >
> > One line which I caught seemed to read:
> >
> > tried to execve (/etc/dhclient -script, ...): Permission denied
> >
> > followed by several attempts to connect with the network, all of which
> > failed.
It would be nice to get the exact error messages. But I'm guessing your
computer doesn't connect to your dhcp server.
Precisely.
> > Since these two problems emerged, the syslog has always shown
> > the following:
> >
> > Feb 8 09:04:24 localhost kernel: eth0: RealTek RTL8139 at 0xa000,
> > 00:50:ba:4f:b1:24, IRQ 169
> > Feb 8 09:04:24 localhost kernel: eth0: Identified 8139 chip type
> > 'RTL-8139C'
This looks ok
I thought so too.
> > whereupon the boot-up continued, trying unsuccessfully to connect to
> > the network, including a line with execve in it, and always ending
> > with these last two lines:
> >
> > Feb 8 09:04:41 localhost kdm_greet[2943]: Can't open default user
> > face Feb 8 09:04:47 localhost kdm: :0[2948]: Session
> > "/etc/kde3/kdm/Xsession" execution failed: Permission denied
This is definitely not related to the networking problem, but to your X
problem.
Yes, I know, but thought to include it anyway, for good measure. I am
not sure that the two problems are not somehow connected.
>> > > What does your /etc/network/interfaces file look like?
[snip interfaces]
Your interfaces looks normal (for a dhcp connection). You can try the
following. As root run:
ifconfig eth0 address 192.168.0.114 up
then try to ping your gateway. If this works then it is a problem with
your gateway not responding to the dhcp query.
See my other post today in the same thread, where earlier today I did
what Kent West suggested in his last post on this subject. I now have a
connection to the network from that desktop.
I did however run that ifconfig command you suggested. It returned
"unknown host". In any event, thank you for your interest.
-----------------------------------------------------------------------
P.S. A new thread should really be a new thread (not just a change of
subject). You could get more answers that way.
My mistake. I had intended to create a new thread, only to discover
that a "reply" message stays attached to the same thread even if the
title is changed. When I discovered my mistake I created a new thread.
This message is attached to that new thread.
I am not sure that the two problems I encountered, broken Xserver on two
computers and inability to connect to the network are not connected.
See my post today to my original thread "Etch and Sarge X-server
failures on two different boxes the same day.
Ken
Reply to: