LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 03-01-2007, 05:45 AM   #1
ferradura
Member
 
Registered: Jun 2006
Location: PT
Distribution: CRUX & Slackware
Posts: 100

Rep: Reputation: 15
problem with eth ... no dhcpoffers received ?


i have installed ubuntu 6.10 on a hp nx6110 laptop.
my main problem is my ethernet card sometimes does not work...very strange.

sometimes right after boot i have no network.
rebooting solves the problem *sometimes*
in other situations i have network after boot but after a few minutes the network is off again.

i am a slackware user, first time using ubuntu, so i tried the command line:
$ sudo dhclient
after some time i get: "no dhcpoffers received. no working leases in persistent database - sleeping"

any ideas?
thanks
 
Old 03-01-2007, 06:15 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
I connected to a new network 2 days ago and I have the same problem as you.
That's an old problem, I already had it before with the same wireless network.
I'm running debian unstable so it could be the same.
You're not talking of wireless so it look like a conflict somewhere.

For me it works 1 time out of 20. I've never rebooted tho', can't be bothered.

I will look at this because it's annoying.

Meanwhile, I do the dhcp myself:
ifconfig eth2 192.168.1.20 up <--- set it to static .20
route add default gw 192.168.1.1 <--- that's the gateway to go outside
modify /etc/resolv.conf and add
nameserver 192.168.1.1 <--- dns server


Quote:
in other situations i have network after boot but after a few minutes the network is off again.
You mean sometimes you get disconnected?
This I don't have and that's far worse!
Try static and see if it stays longer

If anybody has idea on this, I'm interested too
 
Old 03-02-2007, 04:52 AM   #3
ferradura
Member
 
Registered: Jun 2006
Location: PT
Distribution: CRUX & Slackware
Posts: 100

Original Poster
Rep: Reputation: 15
yes the network gets disconnected, and i am not understanding why.
meanwhile i am solving this with:
$sudo killall dhclient3
&
$sudo dhclient 3 eth0

but i would like to try something more permanent...
 
Old 03-02-2007, 07:30 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
Well, yesterday I tried for an hour to find the root cause of my problem ( we probably don't have the same but the same effect..)
I'm currently in a hotel and I'm not sure about their setup. I will continue testing when I get back there begginning of next week.
I was unable to get a dhcp offer during my complete test. Even worse than the days before.
Then I got fed up, took a fixed IP. And I found a way to surf for free so I prefered this task than debugging dhclient

I launched a network sniffer. The udp dhcp packets are sent but no answer.
The funny thing is that when I do
ifdown eth2
it tells me
dhcp release from 192.168.1.1. So the dhcp server accepts the releasing but does not accept the offer.

For your problem, try to see on ubuntu forums, there has been similar problems like yours.
Have a look also there:
http://bugs.debian.org/cgi-bin/pkgre...;dist=unstable

Also when you say network disconnected, check if you still have an IP. Maybe the server does not renew your address??? Does it happen at constant time after you have done dhclient3 eth0 ?
 
  


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
No DHCPOFFERS received m0llbuz_ Linux - Networking 6 07-29-2010 03:08 PM
no DHCPOFFERS received. murrayfoss *BSD 9 02-09-2007 09:32 PM
No DHCPOFFERS received antonucc Linux - Networking 8 12-07-2006 05:06 AM
NO DHCPOFFERS received ekdya Debian 7 04-27-2006 05:09 AM


All times are GMT -5. The time now is 10:05 AM.

Main Menu
Advertisement
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