View previous topic :: View next topic |
Author |
Message |
orangecakez Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Feb 2007 Posts: 116
|
Posted: Tue Jul 24, 2007 4:57 pm Post subject: Ethernet no longer working for no reason |
|
|
So recently I just got wireless working. But now when I try to connect by ethernet wire, it doesn't get any DHCP offers or whatever and it doesn't connect to anything. I do ifconfig ath0 down and ifconfig eth0 up and dhclient eth0 but it doesn't find anything. Maybe I have to do something in the kernel? It was working fine last week when wireless was not working at all. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
didymos Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1790706086435438446060f.jpg)
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Tue Jul 24, 2007 5:10 pm Post subject: |
|
|
Post /etc/conf.d/net. Wait, are you using that, or doing this all manually? _________________ Thomas S. Howard |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
orangecakez Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Feb 2007 Posts: 116
|
Posted: Tue Jul 24, 2007 5:14 pm Post subject: |
|
|
I'm using the default net.lo and symlinking that to net.ath0 and net.eth0. It was working fine before the wireless got working |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
orangecakez Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Feb 2007 Posts: 116
|
Posted: Wed Jul 25, 2007 12:42 am Post subject: |
|
|
I see wifi0 starting so I think wireless is overriding the ethernet cord line and it keeps redirecting to wireless now. How do I make it stop and see that I have the cord plugged in?
On my Gentoo LiveCD, the LiveCD doesn't even connect to the internet anymore. Maybe it's my internet? I just got new cable internet and I never used it before. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
orangecakez Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Feb 2007 Posts: 116
|
Posted: Wed Jul 25, 2007 12:50 am Post subject: |
|
|
Well on Ubuntu I plugged it in and it worked perfectly. How can I get this working on Gentoo?
So now I'm pretty sure it has something to do with my wireless ath0 overriding eth0 and making it think eth0 is wireless. How do I make my computer know that there is a ethernet cord attached? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
orangecakez Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Feb 2007 Posts: 116
|
Posted: Wed Jul 25, 2007 1:02 am Post subject: |
|
|
dmesg | grep "eth"
it gives me some lines that look good, like it sees my network card RealTek and it says eth0 link is up and it becomes read, but then it gives me this that don't look so good:
eth0: no IPv6 routers present
That's the only bad line it looks like. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
orangecakez Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Feb 2007 Posts: 116
|
Posted: Wed Jul 25, 2007 1:37 am Post subject: |
|
|
I booted up the Gentoo LiveCD and now the LiveCD won't connect anymore. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
didymos Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1790706086435438446060f.jpg)
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Wed Jul 25, 2007 2:00 am Post subject: |
|
|
OK, try this in /etc/conf.d/net:
Code: |
# Ethernet
config_eth0=("dhcp")
# Wireless
modules=( "iwconfig" )
config_ath0=( "dhcp" )
|
We'll see if spelling it out can get it to behave. You said you weren't using any special configuration, so I hope that's sufficient. Oh, and don't worry about the no IPv6 routers message. It just means the system can talk IPv6, but there's no one for it to talk to, so it's not going to use it. _________________ Thomas S. Howard |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
orangecakez Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Feb 2007 Posts: 116
|
Posted: Wed Jul 25, 2007 2:07 am Post subject: |
|
|
Okay thanks are you sure there's no spaces between the parenthesis and quote in the "dhcp" ?
Anyway I tried both but it's not working anyway. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
didymos Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1790706086435438446060f.jpg)
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Wed Jul 25, 2007 2:14 am Post subject: |
|
|
Umm, yeah, I forgot the spaces. I was cut-and-pasting. _________________ Thomas S. Howard |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
orangecakez Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Feb 2007 Posts: 116
|
Posted: Wed Jul 25, 2007 2:16 am Post subject: |
|
|
When I do "dhclient eth0" it says wifi0 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
didymos Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1790706086435438446060f.jpg)
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Wed Jul 25, 2007 3:10 am Post subject: |
|
|
Have you edited dhclient.conf? _________________ Thomas S. Howard |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|