Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No internet after chroot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
crazedmodder
n00b
n00b


Joined: 22 Oct 2003
Posts: 24

PostPosted: Fri Oct 24, 2003 11:14 am    Post subject: No internet after chroot Reply with quote

After a succesful install of gentoo I boot up to find there is no internet. So I come into the LiveCD try everything everyone tells me, but after I do adsl-setup and adsl-start I lose the internet on my LiveCD! The weird thing is, it's only after I chroot I lose my net on my LiveCD. Any ideas as to why?

8139too net card
Back to top
View user's profile Send private message
bonsaikitten
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 213
Location: Shanghai, China

PostPosted: Fri Oct 24, 2003 12:52 pm    Post subject: Reply with quote

If by "lose internet" you mean "can't do anything inside chroot", try copying /etc/resolv.conf --> (chroot)/etc/resolv.conf , otherwise name-->ip resolution won't work
Back to top
View user's profile Send private message
jaalex
n00b
n00b


Joined: 22 Oct 2003
Posts: 39

PostPosted: Fri Oct 24, 2003 1:52 pm    Post subject: Ifconfig Reply with quote

You might want to also issues an "ifconfig" to see if your network interfaces are up and running and also properly configured.
_________________
No Matter Where You Go, There You Are
Back to top
View user's profile Send private message
crazedmodder
n00b
n00b


Joined: 22 Oct 2003
Posts: 24

PostPosted: Fri Oct 24, 2003 7:48 pm    Post subject: Reply with quote

I copied resolv.conf but it didnt't help. I type ifconfig and got my eth0 card and loopback. Which means my ethernet card is seen right? Just a bit more information on what happened:
I installled Gentoo, chrooted, installed gnome kde and all that.
Rebooted into my new gentoo install, it failed to bring eth0 up. My internet didn't work on the system itself but always seemed to work on the LiveCD (I did lsmod and I know I have the right card in the kernel). So my friend told me to try adsl-setup (though I was skeptical, I was behind a router and that handled the password and username to connect to the server). He said to emerge rp-pppoe also, so I did. But the I lost internet on my LiveCD.

I'm curious about two things now.
What can I do to fix my internet on the actually installed system and how can I get the chrooted net to work? Maybe somehow a config file got written by rp-pppoe or adsl-setup that corrupted it?

P.S as far as teh actual system internet not working, it works on slack 9 with the same kernel (not optimized though, the standard slack) and it even told me my card was a 8139(too). When I lsmod the livecd it has 8139too module loaded. At this point, I doubt it's a kernel problem (do I need to emerge pppd or anything specific?)

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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