Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 01-23-2004, 12:58 PM   #1 (permalink)
beauty in the breakdown
 
Location: Chapel Hill, NC
Why do I always have to dhcpcd eth0?

OK... I just got my new install of Gentoo working, but I am having an interesting problem. Whenever the machine is booted up, I must bring down eth0, dhdpcd it, and then bring it up for it to work. My connection is set to DHCP, so I shouldnt have to be doing this. It is also interesting because before I bring it down and dhcpcd it, an IP is assigned to me, so it seems like it should be working--but it wont connect to anything. Below are the results for ifconfig eth0 before and after the dhcpd...

BEFORE

Link encap:Ethernet HWaddr 00:50:8B:F3:E0:F7
inet addr:152.23.99.44 Bcast:152.23.127.255 Mask:255.255.224.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13390463 errors:2 dropped:0 overruns:0 frame:2
TX packets:211 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:813283283 (775.6 Mb) TX bytes:55844 (54.5 Kb)
Interrupt:5 Base address:0x1000 Memory:40a00000-40a00038

AFTER

Link encap:Ethernet HWaddr 00:50:8B:F3:E0:F7
inet addr:152.23.99.44 Bcast:152.23.127.255 Mask:255.255.224.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13399462 errors:2 dropped:0 overruns:0 frame:2
TX packets:215 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:813883316 (776.1 Mb) TX bytes:57144 (55.8 Kb)
Interrupt:5 Base address:0x1000 Memory:40a00000-40a00038

Thanks for any help...
__________________
"Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws."
--Plato
sailor is offline  
Old 01-23-2004, 01:05 PM   #2 (permalink)
paranoid
 
Silvy's Avatar
 
Location: The Netherlands
I use fixed IP's in my LAN, but whenever I bring down an interface it always resets the RX and TX byte counters IIRC.
That does not appear to be the case with your setup.

I'm not offering a soultion, I just think it's odd.
__________________
"Do not kill. Do not rape. Do not steal. These are principles which every man of every faith can embrace. "
- Murphy MacManus (Boondock Saints)
Silvy is offline  
Old 01-23-2004, 01:31 PM   #3 (permalink)
Crazy
 
Location: Bit Bucket
We had a problem similar to this at one point that was our default gateway not being remembered after a reboot. Like you mentioned, we were obtaining the IP address and everythiing just fine, but could never get anywhere. Check to make sure your gateway is in fact getting set properly at boot time.

Type 'route' from the command line and take a look at what you see. It should be something like...

PHP Code:
[root@ns1 root]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    
Use Iface
65.65.65.0      
*               255.255.255.128 U     0      0        0 eth0
127.0.0.0       
*               255.0.0.0       U     0      0        0 lo
default         65.65.65.1      0.0.0.0         UG    0      0        0 eth0 
We had to type the following in manually:

route add default gw GATEWAY'S-IP

That will probably be something like 192.168.1.1 depending on your setup.
devnull is offline  
 

Tags
dhcpcd, eth0


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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 01:20 PM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54