View previous topic :: View next topic |
Author |
Message |
Goronmon n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Jun 2005 Posts: 49
|
Posted: Sat Jun 11, 2005 6:38 pm Post subject: Configured wrong network adapter, how can I fix it? (Solved) |
|
|
I just installed Gentoo for the first time, I rebooted, but the network isn't working. Well...it seems I managed to set-up my eth0 fine, except for the fact that somehow its not the ethernet adapter (possibly firewire from what I have found) and the ethernet is on eth1.
How do I change the stuff around so that it tries to connect through eth1 instead of eth0?
I tried doing
Code: | # cd /etc/init.d
# ln -s net.eth0 net.eth1
# rc-update add net.eth1 default |
But on the third step it keeps saying that /etc/init.d/net.eth1 not found
Last edited by Goronmon on Sun Jun 12, 2005 10:08 pm; edited 3 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54842 Location: 56N 3W
|
Posted: Sat Jun 11, 2005 6:48 pm Post subject: |
|
|
Goronmon,
What you were doing looks right.
You can remove the eth1394 module from /lib/modules<kernel ver>/.... so it cannot load, then your real NIC will become eth0 after the next boot.
Thats only a temporary fix. eth1394 will come back at the next kernel build unless you turn it off in the config file.
To avoid the boot step, remove eth1394 and your NIC module, then modprobe your NIC module, it will become eth0 and then Code: | /etc/init.d/net.eth0 restart | should work _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pete M Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 30 Apr 2005 Posts: 154
|
Posted: Sat Jun 11, 2005 6:58 pm Post subject: |
|
|
Goronmon
I added eth1394 to /etc/hotplug/blacklist then configured eth0 as normal
Pete |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Goronmon n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Jun 2005 Posts: 49
|
Posted: Sat Jun 11, 2005 9:03 pm Post subject: |
|
|
What should the NIC module look like? I have module.alias, ccwmap, dep, inputmap, isapnpmap, pcimap, symbols, ans usb |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Goronmon n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Jun 2005 Posts: 49
|
Posted: Sat Jun 11, 2005 9:10 pm Post subject: |
|
|
Pete M wrote: | Goronmon
I added eth1394 to /etc/hotplug/blacklist then configured eth0 as normal
Pete |
Sweet, it seems as though that did the trick! Thanks! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Goronmon n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Jun 2005 Posts: 49
|
Posted: Sat Jun 11, 2005 9:59 pm Post subject: |
|
|
Alright, I lied, it just reset itself after I restarted and doesn't work anymore... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Goronmon n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Jun 2005 Posts: 49
|
Posted: Sun Jun 12, 2005 1:16 am Post subject: |
|
|
Goronmon wrote: | What should the NIC module look like? I have module.alias, ccwmap, dep, inputmap, isapnpmap, pcimap, symbols, ans usb |
If anyone could give me an answer to this, it would really help. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Goronmon n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Jun 2005 Posts: 49
|
Posted: Sun Jun 12, 2005 3:21 am Post subject: |
|
|
I still can't get this working at all and I've been spending hours, I'd really appreciate some more ideas for this. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54842 Location: 56N 3W
|
Posted: Sun Jun 12, 2005 9:49 am Post subject: |
|
|
Goronmon,
Do you have both eth1394 and your real NIC module both loading?
if so, witl show eth0 and eth1
You either need to configure eth1 and fix your routing table so it gets your default route or stop eth1394 from loading (if its loaded). will show you what modules are loaded
Code: | modprobe -l | grep eth1394 | will show you the full path to eth1394.ko for the running kernel, so you can rename (mv) or delete (rm) it. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Goronmon n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Jun 2005 Posts: 49
|
Posted: Sun Jun 12, 2005 10:06 pm Post subject: |
|
|
Thanks a ton, that seemed to ahve fixed it! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|