LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-04-2007, 08:29 AM   #1
aliasgherman
LQ Newbie
 
Registered: Jan 2007
Location: Pakistan
Distribution: Ubuntu 6.06
Posts: 5

Rep: Reputation: 0
Strange DHCP Problem in UBUNTU 6.06.


Sometimes when I restart my computer, my DHCP connection is detected, and I can connect to the Internet. But at other times Internet is not accessible. I try ifconfig all the times. My network is always detected and is active (eth0). MAC Address is shown correctly. Which means that my network card is always detected correctly. But when I run dhclient3, or just try to ifdown then ifup, sometimes I will be able to connect to the server, while sometimes not.

The same problem was experienced by me when I was using static addresses. Sometimes my net was working, sometimes not.

Now-a-days it hangs aroung while saying DHCPDISCOVER on 255.255.255.255 ..... and it can't get the IP address. Although when I reboot to windows98, its all ok. Please tell me the solution as I want to completely remove windows from my PC.
 
Old 01-09-2007, 09:53 AM   #2
Nishtya
Member
 
Registered: Feb 2004
Location: Homeless/nursing homes
Distribution: Mint Cinnamon, Debian SID KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 279

Rep: Reputation: 32
Are you using a router and limiting the number of ip's it gives out? If so I had a similar problem when I switched to Debian. For whatever reason, after a reboot I couldn't get back the previous ip address. I went through all sorts of lease settings, etc. It just kept giving out the next higher IP and if I used static IP, I was up a creek and if DHCP the router was limiting them (by my choice to troubleshoot this) and I would run out after a few reboots. In my case when I removed dnsmasq all was well. If you don't need it you might try removing that package. Keep track if it tries to remove anything else! I also removed dhcp SERVER since I only need the client.
 
Old 01-10-2007, 11:34 PM   #3
aliasgherman
LQ Newbie
 
Registered: Jan 2007
Location: Pakistan
Distribution: Ubuntu 6.06
Posts: 5

Original Poster
Rep: Reputation: 0
Connectivity problem in Ubuntu + Kubuntu.

Here is my configuration.
I am connected to a cable network. Each user is given a fixed bandwidth of 80Kbps. Each user's MAC address is the binding element for this limit. Now when I run Ubuntu, sometimes it detects the network and all is ok. But most of the times It will just tell me that, eth0 is up and running, but I have no IP. If I use ifdown and ifup then ifup will say DHCPDISCOVER messages. but no dhcp is discovered. But at the sametime if I restart into windows, all is right.
 
Old 01-11-2007, 06:03 AM   #4
Nishtya
Member
 
Registered: Feb 2004
Location: Homeless/nursing homes
Distribution: Mint Cinnamon, Debian SID KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 279

Rep: Reputation: 32
well, with me the fix seemed to be the removal of dnsmasq that caches IPs I think so if my router limited the IPs or I set static ones, it couldn't get it back on the next reboot. I too, had no problems in windows but boot it very rarely.
 
Old 01-11-2007, 06:59 AM   #5
aliasgherman
LQ Newbie
 
Registered: Jan 2007
Location: Pakistan
Distribution: Ubuntu 6.06
Posts: 5

Original Poster
Rep: Reputation: 0
DNSMASQ was not installed.

I had not installed dnsmasq first. The problem was there. After that, I read somewhere that Ubuntu faces the connectivity problem, and the solution is to install "pump", "dnsmasq" and "resolvconf". I installed them all, and the result is still the same.
Anyways, thankyou for all the support you have given. Please inform me if you find anything useful in this regard. You might contact me at aliasgherman@yahoo.com.
 
  


Reply



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
UBUNTU 5.04 PPTP configuration problem . On the Help Page of ubuntu is strange proble ReGgaE-Bg Linux - Networking 1 06-13-2006 08:05 AM
UBUNTU 5.04 PPTP configuration problem . On the Help Page of ubuntu is strange proble ReGgaE-Bg Ubuntu 0 06-13-2006 06:33 AM
really strange problem in Ubuntu bigmoe Linux - Networking 11 02-12-2006 09:00 PM
Really strange ubuntu display problem radelgla Linux - Newbie 0 10-27-2004 04:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:13 PM.

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
Open Source Consulting | Domain Registration