Re: Can't get IP by DHCP (Wired network)



On 7/9/07, Bondarenko Dmitry <imperator.bm@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

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


Relevant Pages

  • Re: Cant get IP by DHCP (Wired network)
    ... network manager and set the dhcp on the wired network and enable it, ... There is already a pid file /var/run/dhclient.eth0.pid with pid 9739 ... Internet Systems Consortium DHCP Client V3.0.4 ... Copyright 2004-2006 Internet Systems Consortium. ...
    (Ubuntu)
  • Need Help Configing a Broadcomm Wireless NIC
    ... 01:06.0 Network controller: Broadcom Corporation BCM4318 [AirForce One ... wmaster0 Link encap:UNSPEC HWaddr ... Copyright 2004-2008 Internet Systems Consortium. ... unknown hardware address type 801 ...
    (Debian-User)
  • Re: Wireless network problem after upgrade to 8.04
    ... That wouldn't surprise me but the install told me that it was ... network config approach. ... In Fedora 8, the two did NOT work together ... Copyright 2004-2007 Internet Systems Consortium. ...
    (Ubuntu)
  • Re: Must _reboot_ to restart network
    ... Then network spontaneously disconnects. ... Copyright 2004-2010 Internet Systems Consortium. ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ... subject of "unsubscribe". ...
    (Debian-User)
  • Re: Must _reboot_ to restart network
    ... Then network spontaneously disconnects. ... Copyright 2004-2010 Internet Systems Consortium. ... DHCPRELEASE on eth0 to 10.0.0.138 port 67 ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ...
    (Debian-User)