Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No networking during install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
apollyon0810
n00b
n00b


Joined: 10 Feb 2008
Posts: 6

PostPosted: Sun Feb 10, 2008 6:03 pm    Post subject: No networking during install Reply with quote

I'm trying to install Gentoo on my laptop with a minimal install CD. Gentoo correctly recognizes my network adapter. However, I can't ping any servers, and have no connectivity to the internet. I've tried other distros with no problems. All set to DHCP. I just have a small Linksys broadband router. What could my problem be?

When I ping I get quite immediately:

ping: unknown host www.gentoo.org

dhcpcd eth0 (i only have one) yields:

Error, timed out waiting for a valid DHCP server response

Any help would be greatly appreciated.
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2608

PostPosted: Sun Feb 10, 2008 6:05 pm    Post subject: Reply with quote

The router shouldn't be a problem at all. Did you do net-setup on your network adapter before trying to ping? What NIC do you have?
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
apollyon0810
n00b
n00b


Joined: 10 Feb 2008
Posts: 6

PostPosted: Sun Feb 10, 2008 6:09 pm    Post subject: Wow Reply with quote

Wow. Thanks for the prompt reply.

Yes, I have done net-setup. It's pretty short. Select "wired" connection and then "DHCP" and that's it.

I do notice when I "ifconfig" it doesnt list an IP address for eth0

Adapter is Realtek. Listed as "RTL8101E PCI Express Fast Ethernet controller"

It's using driver "r8169"

ifconfig eth0 gives me this

eth0 Link encap:Ethernet HWaddr 00:1B:38:43:60:7A
UP BROADCAST NOTRAILERS MULTICAST MTU:1500 Metric:1

All values are 0.
Back to top
View user's profile Send private message
akirhol
n00b
n00b


Joined: 10 Feb 2008
Posts: 13

PostPosted: Sun Feb 10, 2008 6:29 pm    Post subject: Reply with quote

Dumb question: Is the router's DHCP server turned on?

Can you set an IP address manually and ping the router's address? This would confirm the network adapter is at least functioning.

I'm not too entirely sure of how to set the IP address manually on the fly, but a quick google search turned this up:
Code:

ifconfig eth0 192.168.1.100 netmask 255.255.255.0 up
ping -c 4 192.168.1.1


Apologies if the above isn't correct, I'm still a bit of a noob to the finer points of linux myself, but this sounds more like a networking issue than linux.

EDIT: Re-read the posts here, I haven't used net-setup yet, haven't had to... does it allow you to specify an IP address there? If so, you can set your values statically that way and test your ability to contact the router that way.
Back to top
View user's profile Send private message
apollyon0810
n00b
n00b


Joined: 10 Feb 2008
Posts: 6

PostPosted: Sun Feb 10, 2008 6:34 pm    Post subject: Reply with quote

Good point. I hadn't thought to ping the router.

ping 192.168.1.1 gives me

connect: Network is unreachable

And I did double-check to make sure the DHCP server was running on the router :-D
Back to top
View user's profile Send private message
akirhol
n00b
n00b


Joined: 10 Feb 2008
Posts: 13

PostPosted: Sun Feb 10, 2008 6:44 pm    Post subject: Reply with quote

apollyon0810 wrote:
Good point. I hadn't thought to ping the router.

ping 192.168.1.1 gives me

connect: Network is unreachable

And I did double-check to make sure the DHCP server was running on the router :-D


The ping gives you that after manually setting the IP address? And confirming it with another ifconfig to make sure eth0 was set? The error is a routing error, the NIC doesn't know where to send packets addressed to 192.168.1.1 ...

Just realized, you probably need to set the gateway too. :oops:

Should be:
Code:

route add default gw 192.168.1.1


This is all assuming your router is 192.168.1.1 of course... I have a linksys and it is, I think they all are.
Back to top
View user's profile Send private message
apollyon0810
n00b
n00b


Joined: 10 Feb 2008
Posts: 6

PostPosted: Sun Feb 10, 2008 6:58 pm    Post subject: Reply with quote

I'm starting to think it's just a compatibility problem between Gentoo and my laptop. I plugged my cable modem straight into the laptop, and again nothing. There are no activity lights blinking either on the RJ-45 port. Thanks for everybody's help. I'm going to try with liveDVD (I know I wont get x to work) and see if it has more modules available or something and it'll work.
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2608

PostPosted: Sun Feb 10, 2008 7:17 pm    Post subject: Reply with quote

Sorry about the delay in responding. The problem is your network card; it is not supported by the kernel on the Gentoo installation disc. The best thing to do is to boot up PCLinuxOS Gnome Edition (has to be the Gnome Edition because of the newer kernel), and install Gentoo from inside that live environment using these instructions. I have that exact card and ran into the same problem. If you need further help, please don't hesitate to ask. :)

EDIT: Please do not use the Live DVD; it will also not help your cause, and will take quite some time to download.
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
apollyon0810
n00b
n00b


Joined: 10 Feb 2008
Posts: 6

PostPosted: Sun Feb 10, 2008 8:47 pm    Post subject: Reply with quote

If I install gentoo using a liveCD environment, will I have network ability after installation?
Back to top
View user's profile Send private message
apollyon0810
n00b
n00b


Joined: 10 Feb 2008
Posts: 6

PostPosted: Mon Feb 11, 2008 2:41 am    Post subject: Update Reply with quote

I've got a fully working Gentoo linux install on my laptop. Minus a GUI of course. I did it using an Unbuntu liveCD.

Now on to trying to install a GUI... If anybody has any suggestions or links, go ahead and shoot them my way.

Thanks!
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2608

PostPosted: Mon Feb 11, 2008 7:58 am    Post subject: Reply with quote

No problem, glad that helped. I knew it had to be your NIC, because I ran into that problem with the exact same card. As far as a GUI, there are tons of choices. Suggestions will really depend on what you want from your desktop environment, and what you want to do with the computer.
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Fri Feb 22, 2008 12:26 am    Post subject: Reply with quote

Split off topic "Alternative installation media.".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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