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 03-14-2006, 05:56 PM   #1
Jamesman
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Rep: Reputation: 0
Problem with eth0


I'm having a problem with my network interface. I just installed Debian Sid testing on my PC and eth0 is showing an IP address of 169.254.97.20. However, I'm able to connect to the internet without a problem. I was running DHCP but I decided to assign a static address just to see if it would go away. When I do a ifconfig, I receive this..

eth0 Link encap:Ethernet HWaddr 00:11:2F:E0:41:CC
inet addr:169.254.97.20 Bcast:0.0.0.0 Mask:255.255.0.0
inet6 addr: fe80::211:2fff:fee0:41cc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13894 errors:0 dropped:0 overruns:0 frame:0
TX packets:18098 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1763369 (1.6 MiB) TX bytes:16674131 (15.9 MiB)
Interrupt:169

I don't understand. The address I'm assigning is 192.168.15.101. I've confirmed that its using this by pinging it from other computers. I've also tried manualy assigning it using the ifconfig command but it returns to this after a reboot. Any ideas? Thanks.
 
Old 03-14-2006, 09:39 PM   #2
lslade
LQ Newbie
 
Registered: Nov 2005
Location: Canada
Distribution: Debian
Posts: 14

Rep: Reputation: 0
More specific

Hi,
What is your problem with your network card?
Please be more specific.

From what I see your address and/or broadcast setting is not correct.

Check with:
http://www.debian.org/doc/manuals/re...ateway.en.html

Look at section:
10.6.1.1 Configuring an interface with a static IP address
Make sure your broadcast line in /etc/network/interfaces is OK.

Also remember to turn off dhcpcd if you are going to set your address statically. This should be one or more of the following:

1) Make sure it is not in /etc/inittab

2) Remove or rename /etc/dhcpcd.conf
Then do 3 and or 4.

3)
# cd /etc/rc{your run level}.d
# rm SXXdhcpcd (if any)
# /etc/init.d/dhcpcd stop (if any such script exists)

4)
# ps -ef |grep dhcpcd
# kill {PID}

Apparently:
# who -r
gives you your run level.

Later,
Lola
 
  


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
Wireless network on eth1 diabled Ethernet eth0 and eth0 never comes back tadatoshi Linux - Wireless Networking 4 09-23-2004 05:57 PM
Firewall WAN eth0 LAN eth1 self-bridges, eth0 does all routeing. Nichole_knc Linux - Networking 5 07-29-2004 02:33 PM
Problem withInternet, DHCP, connect with eth0 down work, connect with eth0 up not zowey Linux - Networking 1 03-12-2004 10:05 AM
eth0:1 problem Dirt Linux - Networking 4 06-12-2003 04:19 PM
eth0 problem the_dash_71 Linux - Networking 1 06-12-2003 12:20 PM

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

All times are GMT -5. The time now is 03:21 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