LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-08-2009, 12:13 PM   #1
mrspaghetti
LQ Newbie
 
Registered: Aug 2009
Posts: 10

Rep: Reputation: 1
Suddenly not able to get ipv4 address ?!


I have a Debian Lenny box with Apache & MySQL on it that has been sitting idle for a few months. Before I got sidetracked, I was connecting to it remotely and doing stuff with it with no problem. Now I have booted it up again and suddenly it can't find the network. When I do ifconfig it shows it has an ipv6 address but no ipv4 address. Weird, because I don't remember doing anything to it that would have affected networking (in fact, I don't remember doing anything with this box at all since it went idle).

I don't think it is my router, since I have a couple other machines connected to it as usual and no problems with them getting ip addresses and connecting.

On bootup I get the message that it cannot reliably identify the ip address.

Any ideas what could have caused this, and the best way to fix it?

Thanks
 
Old 11-08-2009, 12:51 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Disable IPv6 permanently, then reboot the networkinterface to see if it picks up a DHCP address. Otherwise asign a static address.
 
Old 11-08-2009, 04:21 PM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,096

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
Quote:
Disable IPv6 permanently
Here's a link to disable IPv6.

You will have to restart networking, or reboot for this to take effect.

Eventually, hopefully soon, we'll all migrate to IPv6.

Meanwhile we have to put up with "workarounds"
 
Old 11-23-2009, 04:58 AM   #4
mrspaghetti
LQ Newbie
 
Registered: Aug 2009
Posts: 10

Original Poster
Rep: Reputation: 1
Now no ip address at all

I disabled ipv6 and now eth0 gets no ip address at all.

Frustrating! Ideas?
 
Old 11-23-2009, 11:28 AM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,096

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
Quote:
Ideas?
You haven't given us much information to work from.

What happens with
Code:
sudo dhclient eth0
?
 
Old 11-24-2009, 02:31 PM   #6
mrspaghetti
LQ Newbie
 
Registered: Aug 2009
Posts: 10

Original Poster
Rep: Reputation: 1
Solved - hardware went bad

My integrated LAN died. I tried plugging in a PCI ethernet card and everything works fine now.

Thanks for the suggestions.
 
  


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
Local LAN IP address suddenly changed MasterOfTheWind Linux - Networking 4 10-22-2008 10:28 AM
I get IPV6 address and no IPV4. Why? erics_acvw Linux - Networking 2 10-22-2006 08:12 PM
can a NIC have both, IPv4 and IPv6, address simultaneously?? b0nd Linux - Networking 2 06-04-2006 02:18 PM
no ipv4 address for dhcp client alz3k3 Linux - Networking 0 12-16-2005 09:12 AM
difference between "Web server local URL" and "IPv4 address"? kpachopoulos Linux - General 2 09-17-2004 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration