Results 11 to 20 of 53
what does it list when you type ifconfig.
if it does not list eth0 then type. ifconfig eth0 up
dhcpcd or dhclient eth0
and that might do it. If this ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-20-2005 #11
what does it list when you type ifconfig.
if it does not list eth0 then type. ifconfig eth0 up
dhcpcd or dhclient eth0
and that might do it. If this is the case you need to add eth0 to you run time default. rc-update add net.eth0 defaultAll right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL
- 03-20-2005 #12Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
ifconfig still posts the same output that I have listed in an above, i think the first, post. I have net.eth0 added to my default run time. and when I manually try I get the output
and anytime I try to do anything with eth0, such as ifconfig eth0 up I get the outputCode:*Bringing eth0 up via DHCP.... [!!]
so I figure that I have to somehow add the device and assign the eth card to be eth0...Code:eth0: unkown interface: No such device
confused and now a bit dazed,
thanks for your time,
JohnOperating System: GNU Emacs
- 03-20-2005 #13
try this in a vt that is not chrooted
also tryCode:net-setup eth0
sometimes i dont know why but it gives it eth1 even though there is only 1 nic in the box.... then in that same vtCode:net-setup eth1
then go back to your chroot`d vt and checkCode:cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
to see that the nameserver info is there then ping something[/code]Code:cat /etclresolv.conf
~Mike ~~~ Forum Rules
Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
http://loft306.org
- 03-20-2005 #14Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
Ah, looks promising, but the command is not found, shoul I use a live cd, chroot, and emerge net-setup, or is the app of another name? Or is there a more manual way to do this?Code:-bash: net-setup: command not found
Thanks for your time,
I appreciate all your help so far,
Hopefully we'll get this thing working soon
thanks,
JohnOperating System: GNU Emacs
- 03-20-2005 #15
wait
i thought u were installing
if u have a full install then simply edit yourand asfar as' netmount' mine borks everytime but works....i'll fig that out somedayCode:/etc/conf.d/net
~Mike ~~~ Forum Rules
Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
http://loft306.org
- 03-20-2005 #16Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
not sure what it is supposed to look like but my /etc/conf.d/net looks like this, I left out comment sentances but left in commented options in order to keep this post with some degree of brevity.
so what do I configure manually. I just installed and had network capability within the install environment, which I did through slax via chroot, following the instructions for gentoos alternate install method, so I guess that is why net-setup is not working. There must be a way to turn the dev on and assign its designation, i know this isn't the correct terminology, to be eth0.Code:iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0" #iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0" iface_eth0="dhcp" #iface_eth0="-HD" #alias_eth0="192.168.0.3 192.168.0.4" #broadcast_eth0="192.168.0.255 192.168.0.255" #netmask_eth0="255.255.255.0 255.255.255.0"
Not sure, seems like I've tried everything, but it will work eventually.
Thanks for your time,
JohnOperating System: GNU Emacs
- 03-20-2005 #17Just Joined!
- Join Date
- Mar 2005
- Posts
- 3
kernel support
I have a strong feeling that you might have not compiled in the support for your nic or at least done so as module and the module hasn't been loaded.
Please check the kernel settings and make sure you have the proper network driver compiled in as either builtin or as a module. When it is done as a module, of course, you have to make sure to load it before you use it.
AFAIK, the interface names are registered when the kernel detects the hardware and loads the proper driver for it. So, I would hope that you forgot to load the driver, because if you do have the driver and still it is not working, then I have no idea
lspci only shows what stuffs are actually present and they only pull the identification strings from the device itself. Which means is that just because it shows up on lspci doesn't mean it is correctly "recognized" by the kernel. It's just showing what's there. Loading a proper driver for it is a different matter.
to see what modules are currently available
to load a specific moduleCode:modprobe -l
to check currently loaded modulesCode:modprobe <module-name>
to check the current kernel settings (assuming /usr/src/linux is properly symlinked)Code:lsmod
to compile kernel & install modulesCode:cd /usr/src/linux make menuconfig
As long as you have correctly set up dhcp server running at the other end of which your computer is connected to, be it another *nix box or just a stock router, your network settings look just fine. It even assumes dhcp when there is no settings present, which is how my /etc/conf.d/net is (it's an empty file!!!)Code:make && make modules_install
hope you have luck w/ your setup.
networkless gentoo is, quite frankly, useless LOL
- 03-20-2005 #18
I agree with ajck check under device drivers > network support > then find you lan settings and make sure you have then checked. If your not sure which ones try a bunch and see if it works.
All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL
- 03-20-2005 #19Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
ok, I'll look around at the kernel config menu and recompile and post the results, thank guys, this looks promising, already found xircom drivers in the kernel...maybe

take care,
JohnOperating System: GNU Emacs
- 03-20-2005 #20Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
ok I thought that I was onto something, the xircom drivers were not seleced in my menuconfig file, so I selected them, compiled the kernel, reboot, still same error, no netmount and eth0 not recognized. The xircom drivers were under the pcmcia section and not the section ethernet 10/100. So maybe that is the problem, do I unselect ethernet 10/100 and all devices if my card is pcmcia, which I think it is?
Getting closer I can feel it!
even manual bringing up of eth0 fails.../etc/init.d/net.eth0 start looks like it'll work but still returns the damn [!!]. I even tried selecting all ethernet drivers, recompiled, still fail on netmount and bringing up eth0 via DHCP...hmmm
thanks guys, anymore ideas?
JohnOperating System: GNU Emacs


Reply With Quote
