View previous topic :: View next topic |
Author |
Message |
chickengenius n00b
Joined: 18 Apr 2005 Posts: 56
|
Posted: Tue Apr 26, 2005 12:38 am Post subject: No Internet HELP!! |
|
|
I had internet all the way through install until I rebooted. I tried everything the handbook references. It cant be that freakin hard, I have comcast and everything is dhcp. Please help. From my point of view it seems to be a dns issue because I can't ping anything "cant resolve name www.yahoo.com". What should be enabled where and what should be disabled in what *.conf files? |
|
Back to top |
|
|
cantao Apprentice
Joined: 07 Jan 2004 Posts: 166
|
Posted: Tue Apr 26, 2005 12:43 am Post subject: |
|
|
Hi chickengenius!
What kind of connection do you have? ADSL or are you part of a LAN? Post your /etc/conf.d/net with the comments striped, please.
Regards, Cantão! |
|
Back to top |
|
|
chickengenius n00b
Joined: 18 Apr 2005 Posts: 56
|
Posted: Tue Apr 26, 2005 12:50 am Post subject: |
|
|
cantao wrote: | Hi chickengenius!
What kind of connection do you have? ADSL or are you part of a LAN? Post your /etc/conf.d/net with the comments striped, please.
Regards, Cantão! |
how can I do that while dual booting winxp and only having a command prompt in gentoo with no internet? I have comcast cable modem since you ask. |
|
Back to top |
|
|
chickengenius n00b
Joined: 18 Apr 2005 Posts: 56
|
Posted: Tue Apr 26, 2005 2:56 am Post subject: |
|
|
After booting the live cd I noticed that it does something my kernel doesn't and thats actually try to obtain an address from dhcp and bring up eth0. Anyone know why my kernel or module or whatever is not trying to get an address? |
|
Back to top |
|
|
polle Veteran
Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Tue Apr 26, 2005 3:07 am Post subject: |
|
|
you emerged dhcpd?
and did
rc-update add net.eth0 default |
|
Back to top |
|
|
opentaka l33t
Joined: 18 Feb 2005 Posts: 840 Location: Japan
|
Posted: Tue Apr 26, 2005 6:43 am Post subject: |
|
|
checked ifconfig that you have Global IP? _________________ "Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
|
|
Back to top |
|
|
Teslamike n00b
Joined: 26 Apr 2005 Posts: 10
|
Posted: Tue Apr 26, 2005 8:50 am Post subject: no eth0 |
|
|
I have a similar problem, but I think I've tracked it down to eth0 just plain not existing.
Can you ?
If anyone can help with my problem here I'd appreciate that... _________________ Teslamike |
|
Back to top |
|
|
AliasXZ l33t
Joined: 08 Feb 2005 Posts: 847 Location: England, Wakefield
|
Posted: Tue Apr 26, 2005 9:39 am Post subject: |
|
|
also make sure u copied resolv.conf and correctly configured /etc/conf.d/net
you probably have, jus checking _________________ Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved |
|
Back to top |
|
|
dhris Tux's lil' helper
Joined: 28 Nov 2004 Posts: 90
|
Posted: Tue Apr 26, 2005 10:30 am Post subject: |
|
|
You probably haven't got the module for your ethernet card loaded. For some reason, this is not included in the install handbook steps - at least it wasn't when I did it. You have to find out what module represents your card. A couple of common ones are tulip and forcedeth but yours might be different. The easiest way to find out is to boot from the livecd, go lsmod and write down all the modules that appear. One of them is your ethernet. When you reboot back into your install, go lsmod, see which are not loaded then load them in order with "modprobe module-name" where module-name is the name of the module, and see which one brings up internet (check with ifconfig). Once you've figured that out, put that module in /etc/modules.autoload.d/yourkernel. |
|
Back to top |
|
|
Akaroo n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Wed Apr 27, 2005 8:50 pm Post subject: |
|
|
im having exactly the same problem as the poster. comcast dhcp here too, but i don't think either of us configed conf.d/net
i just did but that made it worse, it doesn't even show up on ifconfig now.
i uncommented a line allowing dhcp and as well as a line setting the default gateway to 192.168.0.1
two things which should've fixed it and now i have nothing |
|
Back to top |
|
|
Khlept0 n00b
Joined: 15 Apr 2005 Posts: 18
|
Posted: Wed Apr 27, 2005 8:52 pm Post subject: |
|
|
Akaroo wrote: | im having exactly the same problem as the poster. comcast dhcp here too, but i don't think either of us configed conf.d/net
i just did but that made it worse, it doesn't even show up on ifconfig now.
i uncommented a line allowing dhcp and as well as a line setting the default gateway to 192.168.0.1
two things which should've fixed it and now i have nothing |
What does ifconfig tell you?
Did you start your net?
/etc/init.d/net.eth0 start
or eth1... depending on your setup. |
|
Back to top |
|
|
Akaroo n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Wed Apr 27, 2005 8:54 pm Post subject: |
|
|
already started, but all i see in ifconfig is localhost |
|
Back to top |
|
|
Khlept0 n00b
Joined: 15 Apr 2005 Posts: 18
|
Posted: Wed Apr 27, 2005 9:00 pm Post subject: |
|
|
Akaroo wrote: | already started, but all i see in ifconfig is localhost |
So the livecd detected your card and you rebooted and now it's not detected, correct?
Boot back into the live CD and do
lsmod
See what modules it loaded for your card. |
|
Back to top |
|
|
Akaroo n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Wed Apr 27, 2005 9:13 pm Post subject: |
|
|
yeah, it worked great on livecd
something i forgot to add, i have two network cards. one is onboard and busted and the main one is pcmcia and the one i'm using. livecd gives eth0 to the busted network card, but i never see it on ifconfig... although it still reserves the name. so my working network in livecd is always eth1.
anyway, lsmod reports this:
Code: |
Module (size omitted) Used by
rtc 0
8139too 0
mii 1 8139too
yenta_socket 1
rsrc_nonstatic 1 yenta_socket
pcmcia (i 2 yenta_socket, rsrc_nonstatic
evdev 0
slamr 0
r8169 0
parport_pc 0
parport 1 parport_pc
ahci 0
(about ten sata modules)
libata 10 dependencies, most sata and then ahci
dm_mirror 0
dm_mod 1 dm_mirror
sbp2 0
ohci1394 0
ieee1394 2 sbp2, ohci1394
sl811_hcd 0
ohci_hcd 0
uhci_hcd 0
usb_storage 0
usbhid 0
ehci_hcd 0
usbcore 7 (request if you need, but usb is pretty irrelevant here) |
|
|
Back to top |
|
|
chickengenius n00b
Joined: 18 Apr 2005 Posts: 56
|
Posted: Wed Apr 27, 2005 9:21 pm Post subject: |
|
|
Damn it!! I am 99% sure that modprobe thing was my issue because my eth0 was plain not loading at all on bootup and was loading with the live cd. But do to nagging girlfriend about having no internet due to my gentoo setup for days on end I reloaded SUSE 9.2. I freakin hate how I can install nothing on suse do to all the dependency issues I run into at every turn. Now I have to start all over agian! sorry about the rant. |
|
Back to top |
|
|
Akaroo n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Wed Apr 27, 2005 9:23 pm Post subject: |
|
|
ouch... |
|
Back to top |
|
|
Akaroo n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Wed Apr 27, 2005 9:26 pm Post subject: |
|
|
oh, one other thing... i get just one error on boot
Code: | * You need to set /etc/hostname to a valid hostname
* Setting hostname to localhost... |
Maybe that's not related, but just making sure |
|
Back to top |
|
|
chickengenius n00b
Joined: 18 Apr 2005 Posts: 56
|
Posted: Wed Apr 27, 2005 9:28 pm Post subject: |
|
|
Akaroo wrote: | im having exactly the same problem as the poster. comcast dhcp here too, but i don't think either of us configed conf.d/net
i just did but that made it worse, it doesn't even show up on ifconfig now.
i uncommented a line allowing dhcp and as well as a line setting the default gateway to 192.168.0.1
two things which should've fixed it and now i have nothing |
Sorry to burst your bubble but I am the original poster and I did everything you mentioned and then some but had no success. I suggest you use shift+pageup after you get to your prompt and search for anything mentioning eth0 being loaded and seeking an ip address from dhcp, if you don't (like me) then you are probaly not having the module load like the previous guy said a couple of times in this thread. I don't beleive it is a config file type thing but more like the network not even being initialized at all. Good luck. |
|
Back to top |
|
|
Akaroo n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Wed Apr 27, 2005 9:38 pm Post subject: |
|
|
No, I don't think it is, but since I'm extremely new to the scene, I wouldn't know how to load the module anyway. |
|
Back to top |
|
|
Akaroo n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Wed Apr 27, 2005 10:53 pm Post subject: |
|
|
fixed it |
|
Back to top |
|
|
AliasXZ l33t
Joined: 08 Feb 2005 Posts: 847 Location: England, Wakefield
|
Posted: Thu Apr 28, 2005 7:57 am Post subject: |
|
|
_________________ Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved |
|
Back to top |
|
|
opentaka l33t
Joined: 18 Feb 2005 Posts: 840 Location: Japan
|
Posted: Thu Apr 28, 2005 8:08 am Post subject: |
|
|
cool _________________ "Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
|
|
Back to top |
|
|
martindv Apprentice
Joined: 16 Jul 2005 Posts: 171 Location: Argentina
|
Posted: Tue Aug 30, 2005 1:56 pm Post subject: |
|
|
AliasXZ wrote: | also make sure u copied resolv.conf and correctly configured /etc/conf.d/net
you probably have, jus checking |
You have the same mobo than me. Please can you tell me what is the module for the 10/100 ethernet on our mobo?
Thanks. _________________ Gentoo Rulez
AMD Athlon XP 2800+ @2.08Ghz
Asus A7V8NX-E-Deluxe
Nvidia Nforce2 chipset
1GB Ram
ASUS GeForce N6600 256MB RAM
2 IDE HDDS @Primary/Secondary Master
1 120GB HDD @Sata Channel #0 |
|
Back to top |
|
|
AuthorityAction n00b
Joined: 30 Aug 2005 Posts: 6
|
Posted: Tue Aug 30, 2005 11:18 pm Post subject: |
|
|
dhris wrote: | You probably haven't got the module for your ethernet card loaded. For some reason, this is not included in the install handbook steps - at least it wasn't when I did it. You have to find out what module represents your card. A couple of common ones are tulip and forcedeth but yours might be different. The easiest way to find out is to boot from the livecd, go lsmod and write down all the modules that appear. One of them is your ethernet. When you reboot back into your install, go lsmod, see which are not loaded then load them in order with "modprobe module-name" where module-name is the name of the module, and see which one brings up internet (check with ifconfig). Once you've figured that out, put that module in /etc/modules.autoload.d/yourkernel. |
Thanks dhris! That helped me solve the problem I was having with my NIC's drivers. |
|
Back to top |
|
|
EdRiZzLe n00b
Joined: 30 Aug 2005 Posts: 24
|
Posted: Tue Aug 30, 2005 11:58 pm Post subject: |
|
|
Nothing is working, I tried all the modules from lsmod on LiveCD and used modprobe, but I get FATAL: Module so and so not found. Everything works but ethernet, my nic isnt even being detected, eth0. The list of modules that are currently running on my Gentoo box are
iptable_raw
ipt_NOTRACK
libcrc32c
phidgetservo
cytherm
touchkitusb
sata_sx4
sata_sis
ipr
s2io
dummy
intel_mch_agp
firmware_class
video
All I get when I ifconfig is my localhost or lo. I used stage3-i686 and manually configured kernel, I configured just like the manual for 2005.0 which is the distro im using. I even tried adding modules into /etc/modules.autoload.d/kernel-2.6/ but it just says it could not load the modules, that I tried adding for eth0. It loads my default modules fine but not the ones from the LiveCD. HELP!!! : ) |
|
Back to top |
|
|
|