Can't get IP by DHCP (Wired network)

Njoku, George O. njokug at winthrop.edu
Mon Jul 9 19:24:56 UTC 2007


If your using a cable/dsl modem....try pushing and hold the reset button
(pin size)

Then restart network script.



George

 

 

From: ubuntu-users-bounces at lists.ubuntu.com
[mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of User Iam
Sent: Monday, July 09, 2007 2:29 PM
To: Ubuntu user technical support,not for general discussions
Subject: Re: Can't get IP by DHCP (Wired network)

 

 

On 7/9/07, Bondarenko Dmitry <imperator.bm at gmail.com> wrote:

Hello, Derek.

You wrote:

> If you expect NetworkManager to handle eth1, remove it
> from /etc/network/interfaces
> --
> derek

I've removed everything, but the 'lo' interface in this file. It 
didn't help me. As soon as I set the manual configuration in the
network manager and set the dhcp on the wired network and enable it,
the network manager adds the entries about this interface to
/etc/network/interfaces itself. If I don't set it manually, it also 
does nothing.

And again, after I manually set the dhcp connection it connects
somewhere, and I see address 0.0.0.0. I tried to restart the server.
Here is what the dhcp client told me (after restart): 

sudo /etc/init.d/networking restart
* Reconfiguring network interfaces...
There is already a pid file /var/run/dhclient.eth0.pid with pid 9739
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:16:36:4d:cf:3a 
Sending on   LPF/eth0/00:16:36:4d:cf:3a
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 192.168.100.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address. 
There is already a pid file /var/run/dhclient.eth0.pid with pid
134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:16:36:4d:cf:3a
Sending on   LPF/eth0/00:16:36:4d:cf:3a
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12 
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
No DHCPOFFERS received.
No working leases in persistent database - sleeping.





So, I still can't get access to the internet :( I don't understand why 
on the WinXP it is so quick and easy with the same wire, the same
router, the same all? What is the difference? Maybe the router is
designed to work with Windows or something... Could you please give me
any idea how to setup the internet? 



What ip do you get in windows..

What ethx do you get in windows...

note both:

boot linux

from the command line as sudo or root

/sbin/ifconfig  eth<number from windows> <ipfrom windows>/some_class up 
example

/sbin/ifconfig eth0 192.168.100.2/16 up

HTH

Me





	--
	ubuntu-users mailing list
	ubuntu-users at lists.ubuntu.com
	Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070709/1e65a2ab/attachment.html>


More information about the ubuntu-users mailing list