View previous topic :: View next topic |
Author |
Message |
Dillius Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 12 Mar 2005 Posts: 119
|
Posted: Mon Mar 21, 2005 12:19 am Post subject: Ethernet moved, ethernet died |
|
|
Well... I came home from college for spring break, and I'm trying to get my ethernet connection to work at my friends house. Thought I had it all handled, because I had things working pretty well at school. DHCP enabled, etc...
Well now I've come and made a few modifications, and I can't be quite sure what I need to change to get this thing working correctly again.
Firstly, I removed an extra network card that I had plugged into the computer, and that made it absolutely freak out. That card had previously been eth2, because I have 2 built onto the motherboard and then it.
After it was removed, for some reason now, the previous working one, eth1, has had it's name apparently changed to eth0, and the original eth0 has disappeared from my computer. I don't understand why it would have done this, as the only changes I have made to any of the network settings in the kernel consisted of adding some interfaces so that I might be able to get dial up working when I was at my own home.
So now, I have what i THINK is eth1 at eth0, I can't really tell because I haven't memorized the MAC addresses to the two built onto the motherboard, and I don't know how to check and refer to it unless it's in lspci and i just don't understand.
This friends home network is nothing fancy. DSL modem plugged directly into a router, router to switch, switch spreads through house, including to a hub in his room, which I am plugging into. uses dhcp on his windows computer to configure everything, the router is the normal.
But for some reason, this thing will just not work. I have manually configured things in /etc/conf.d/net and /etc/resolv.conf and changed the set domain name to the name of his network.
I'm sure i'm just missing something minor, but I'm at an absolute loss for what it is.
I'm simply bringing it up with ifconfig eth0 up, once i've changed things in the abovementioned files. Am I not setting something properly? Am i forgetting one of the configuration files?
Also, do domain names when interfacing with windows computer have to be in all Caps? Do i have to have anything special since i'm on a DSL connection, though the DSL is really mainly interfacing with the router?
I'm pretty much just asking for ideas to inspire me as to what in the world I could be missing, any advice would be appreciated.
EDIT: The main error seems to be "connect: network is unreachable" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hds Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/355080659412b4a64ca828.jpg)
Joined: 21 Aug 2004 Posts: 2629 Location: Sprockhoevel [GER]
|
Posted: Mon Mar 21, 2005 12:37 am Post subject: |
|
|
hmm, in your /etc/conf.d/net.. is the gateway address correct?
Code: |
# For setting the default gateway
#
gateway="eth0/192.168.0.254"
|
my guess is, you might perhaps still have the gateway address of your scoolnetwork in there ![Shocked 8O](images/smiles/icon_eek.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Dillius Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 12 Mar 2005 Posts: 119
|
Posted: Mon Mar 21, 2005 12:40 am Post subject: |
|
|
Nope, set to new one.
EDIT: Still trying to get DHCP to work but everytime I start up eth0 tries to load with DHCP but nothing happes, and netmount fails to load.
EDIT2 : I know it's a software problem not a hardware problem because dmesg indicates that it loads the driver, finds the ethernet device, matches it up, and the mac address it shows is the same one used for the eth0 interface listing with ifconfig. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Dillius Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 12 Mar 2005 Posts: 119
|
Posted: Mon Mar 21, 2005 3:46 am Post subject: |
|
|
I guess the wierdest thing is, that I have 2 onboard network cards, but only one is showing up at all. Could that be a problem? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|