public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Gentoo not starting with eth0, router not giving IP
@ 2007-01-23 23:51 Samuel Baldwin
  2007-01-24  5:40 ` Joseph
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Baldwin @ 2007-01-23 23:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1593 bytes --]

Hello.

Recently after rebooting from Windows to Gentoo, I noticed I had no internet
access.
My router, which is set to give my mac address the same IP (192.168.0.104),
seems to
have decided NOT to do this anymore. Nothing has changed in my settings on
either my computer
or the router. I get the same thing for every OS (Gentoo LiveCD, Gentoo
installed, SuSE installed)
besides windows. I'm totally stumped. Sometimes eth0 gets enabled at startup
but gets no IP (SuSE),
other times (Gentoo & Gentoo LiveCD) it doesn't and I have to run ifconfig
eth0 up.

Running "route add eth0 192.168.0.1" returns "eth0: Host name lookup
failure"

ifconfig returns:


eth0      Link encap:Ethernet HWaddr 00:16:17:18:D5:4A
            UP BROADCAST RUNNING MULTICAST  MTU:1500 Metric:1
            RX packets:498 errors:0 dropped:0 overruns:0 frame:0
            TX packets:0 errors:0 dropped:2 overruns:0 carrier:0
            collisions:0 txqueuelen:1000
            RX bytes:152940 (149.3 Kb)   TX bytes:0 (0.0 b)
            Interrupt:19 base address:0xe000

lo         Link encap: Local Loopback
            inet addr:127.0.0.1 Mask:255.0.0.0
            UP LOOPBACK RUNNING MTU:16436 Metric:1
            RX packets:16 errors:0 dropped:0 overruns:0 frame:0
            TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0
            RX bytes:1188 (1.1 Kb)   TX bytes:1188 (1.1 b)

Any help would be apreciated, I'm stumped.

-- 
Samuel (shardz)

Shardz's Igloo:
shardz.homelinux.net

Registered Linux User #410639

amarok.kde.org
defectivebydesign.org
usmc.mil

[-- Attachment #2: Type: text/html, Size: 2805 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Gentoo not starting with eth0, router not giving IP
  2007-01-23 23:51 [gentoo-user] Gentoo not starting with eth0, router not giving IP Samuel Baldwin
@ 2007-01-24  5:40 ` Joseph
  2007-01-24 16:22   ` Samuel Baldwin
  0 siblings, 1 reply; 4+ messages in thread
From: Joseph @ 2007-01-24  5:40 UTC (permalink / raw
  To: gentoo-user

What kind of router is it?
I'm assuming you are running dhcpd on your router, can you access it
from windows and check if dhcpd is enabled?

-- 
#Joseph

On Tue, 2007-01-23 at 18:51 -0500, Samuel Baldwin wrote:
> Hello.
> 
> Recently after rebooting from Windows to Gentoo, I noticed I had no
> internet access. 
> My router, which is set to give my mac address the same IP
> (192.168.0.104), seems to 
> have decided NOT to do this anymore. Nothing has changed in my
> settings on either my computer
> or the router. I get the same thing for every OS (Gentoo LiveCD,
> Gentoo installed, SuSE installed)
> besides windows. I'm totally stumped. Sometimes eth0 gets enabled at
> startup but gets no IP (SuSE), 
> other times (Gentoo & Gentoo LiveCD) it doesn't and I have to run
> ifconfig eth0 up. 
> 
> Running "route add eth0 192.168.0.1" returns "eth0: Host name lookup
> failure" 
> 
> ifconfig returns:
> 
> 
> eth0      Link encap:Ethernet HWaddr 00:16:17:18:D5:4A
>             UP BROADCAST RUNNING MULTICAST  MTU:1500 Metric:1
>             RX packets:498 errors:0 dropped:0 overruns:0 frame:0 
>             TX packets:0 errors:0 dropped:2 overruns:0 carrier:0
>             collisions:0 txqueuelen:1000
>             RX bytes:152940 (149.3 Kb)   TX bytes:0 (0.0 b)
>             Interrupt:19 base address:0xe000 
> 
> lo         Link encap: Local Loopback
>             inet addr:127.0.0.1 Mask:255.0.0.0
>             UP LOOPBACK RUNNING MTU:16436 Metric:1
>             RX packets:16 errors:0 dropped:0 overruns:0 frame:0
>             TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
>             collisions:0 txqueuelen:0
>             RX bytes:1188 (1.1 Kb)   TX bytes:1188 (1.1 b)
> 
> Any help would be apreciated, I'm stumped.
> 
> -- 
> Samuel (shardz)
> 
> Shardz's Igloo: 
> shardz.homelinux.net
> 
> Registered Linux User #410639
> 
> amarok.kde.org
> defectivebydesign.org
> usmc.mil

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Gentoo not starting with eth0, router not giving IP
  2007-01-24  5:40 ` Joseph
@ 2007-01-24 16:22   ` Samuel Baldwin
  0 siblings, 0 replies; 4+ messages in thread
From: Samuel Baldwin @ 2007-01-24 16:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

> What kind of router is it?
It's a DX-E401

> check if dhcpd is enabled?
Yeah, it's running. However, it's setup to give me a static local IP to
my mac address, but that shouldn't matter, since It's been like that
long before the problem started.

The only thing new that I can think of
is the introduction of a switch to the network, between me and the router.
I don't think that should cause any problems, as it's serving Windows
and my OpenBSD server just fine, but I'm going to try taking it out of the
loop and see if Linux will get an IP.
-- 
Samuel (shardz)

Shardz's Igloo:
shardz.homelinux.net

Registered Linux User #410639

amarok.kde.org
defectivebydesign.org
usmc.mil

[-- Attachment #2: Type: text/html, Size: 1140 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [gentoo-user] Gentoo not starting with eth0, router not giving  IP
@ 2007-01-25  3:30 Adam Carter
  0 siblings, 0 replies; 4+ messages in thread
From: Adam Carter @ 2007-01-25  3:30 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1162 bytes --]




	

	Recently after rebooting from Windows to Gentoo, I noticed I had
no internet access. 
	My router, which is set to give my mac address the same IP
(192.168.0.104), seems to 
	have decided NOT to do this anymore. Nothing has changed in my
settings on either my computer
	or the router. I get the same thing for every OS (Gentoo LiveCD,
Gentoo installed, SuSE installed)
	besides windows. I'm totally stumped. Sometimes eth0 gets
enabled at startup but gets no IP (SuSE), 
	other times (Gentoo & Gentoo LiveCD) it doesn't and I have to
run ifconfig eth0 up. 
	
	Running "route add eth0 192.168.0.1" returns "eth0: Host name
lookup failure"  

Does the system have link? Depending on the driver, you may have to use
"mii-daig eth0" or "ethtool eth0" to show that. If you dont have link
you either have a dead cable, dead port on the router or dead NIC.
 
The route is of no use until you can get your DHCP stuff sorted out.
BTW, the format of the command you've shown is incorrect;
 
I use "route add default gw <ip address of gateway>", but until you can
ping the gateway there's no point in adding the route.
 
HTH,
Adam
 

[-- Attachment #2: Type: text/html, Size: 2938 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-01-25  3:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-23 23:51 [gentoo-user] Gentoo not starting with eth0, router not giving IP Samuel Baldwin
2007-01-24  5:40 ` Joseph
2007-01-24 16:22   ` Samuel Baldwin
  -- strict thread matches above, loose matches on Subject: below --
2007-01-25  3:30 Adam Carter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox