Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
N00B at linux.... and lovn it
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
Todd Z
n00b
n00b


Joined: 06 Jul 2004
Posts: 23

PostPosted: Tue Jul 06, 2004 8:58 pm    Post subject: N00B at linux.... and lovn it Reply with quote

Yes, sound the horn, ring the bell, I have finally converted to the good guys. I'm dual booting my gentoo system on my winXP comp. Its been a relatively easy transition... Anyways, when i load up after a restart, i have no internet connection, but i run dhcpcd (/sbin/) and the internet connection is established... How do i make this automated? Thanx
Back to top
View user's profile Send private message
Lajasha
Veteran
Veteran


Joined: 17 Mar 2004
Posts: 1040
Location: Vibe Central

PostPosted: Tue Jul 06, 2004 9:01 pm    Post subject: Reply with quote

Well if all you do is run that then I would venture to say that you may have a messed up /etc/resolv.conf file. However this should not be replaced on a reboot.

What type of internet connection are you working with by the way?
_________________
Come and play in my land
Back to top
View user's profile Send private message
Todd Z
n00b
n00b


Joined: 06 Jul 2004
Posts: 23

PostPosted: Tue Jul 06, 2004 9:02 pm    Post subject: Reply with quote

cable - comcast - remember, im a noob, i dont kno wut a /etc/resolv.conf is
Back to top
View user's profile Send private message
Lajasha
Veteran
Veteran


Joined: 17 Mar 2004
Posts: 1040
Location: Vibe Central

PostPosted: Tue Jul 06, 2004 9:07 pm    Post subject: Reply with quote

That is the actual file that stores the ips of the DNS servers you use.
If you boot up and type ifconfig do you see eth0? Also can you ping an IP address like 64.233.167.104 (google)?

If you can ping then something is probly overwritting your /etc/resolv.conf file.

Can you post the contents of the /etc/resolv.conf file before it is working and after it is working.
_________________
Come and play in my land
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Tue Jul 06, 2004 9:10 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
Back to top
View user's profile Send private message
Todd Z
n00b
n00b


Joined: 06 Jul 2004
Posts: 23

PostPosted: Tue Jul 06, 2004 9:10 pm    Post subject: Reply with quote

Doesn't ping before i run that app, and these are the contents:

nameserver 63.240.76.19
nameserver 204.127.198.19
search ne2.client2.attbi.com

I really don't feel like rebooting now tho...


~Moved from installing Gentoo? ~
I used anaconda, that might have helped the process
Back to top
View user's profile Send private message
Lajasha
Veteran
Veteran


Joined: 17 Mar 2004
Posts: 1040
Location: Vibe Central

PostPosted: Tue Jul 06, 2004 9:14 pm    Post subject: Reply with quote

Well if you can not ping an IP before you run that then my next question is did you add it to start on boot?

Code:
rc-update add net.eth0 default

_________________
Come and play in my land
Back to top
View user's profile Send private message
Todd Z
n00b
n00b


Joined: 06 Jul 2004
Posts: 23

PostPosted: Tue Jul 06, 2004 9:15 pm    Post subject: Reply with quote

Where would i put that line of code?
Back to top
View user's profile Send private message
codemaker
Guru
Guru


Joined: 03 Jun 2004
Posts: 398
Location: Lisboa, Portugal

PostPosted: Tue Jul 06, 2004 9:17 pm    Post subject: Reply with quote

Have you read the gentoo handbook? It explains quite well about setting up the network and services.
Back to top
View user's profile Send private message
Lajasha
Veteran
Veteran


Joined: 17 Mar 2004
Posts: 1040
Location: Vibe Central

PostPosted: Tue Jul 06, 2004 9:19 pm    Post subject: Reply with quote

Todd Z wrote:
Where would i put that line of code?
You would run that in a terminal.

You can check out the manual and get the same info for loading a connection on boot Code Listing 1.10: Set up Networking
_________________
Come and play in my land
Back to top
View user's profile Send private message
Todd Z
n00b
n00b


Joined: 06 Jul 2004
Posts: 23

PostPosted: Tue Jul 06, 2004 9:26 pm    Post subject: Reply with quote

I added to the terminal, and it said all went well, so next time i reboot ill see how it went. Thanx
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