You are not logged in.

#1 2009-02-21 19:43:32

completist
Member
From: /media/knock_knock
Registered: 2009-02-21
Posts: 62

help with /etc/host and /etc/rc.conf

Good morning everyone

Installing Arch in a VM to check it out before I commit

following guide here  http://wiki.archlinux.org/index.php/Beginners_Guide

after install and reboot I enter:

ping -c 3 www.google.com

result is

ping: unknown host www.google.com

Networking section of /etc/rc.conf is as follows:

HOSTNAME="mythos"
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0)
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

and /etc/hosts is:

#
# /etc/hosts: static lookuptable for hostnames
#
#<ip-address>                 <hostname.domain.org>       <hostname>
127.0.0.1                         localhost.localdomain             localhost mythos

Everything seems correct, am I missing something?

Last edited by completist (2009-02-21 20:03:24)

Offline

#2 2009-02-21 19:58:22

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: help with /etc/host and /etc/rc.conf

localhost.localdomain maybe?

Offline

#3 2009-02-21 20:00:04

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: help with /etc/host and /etc/rc.conf

Can you ping your router and 64.233.183.99? If so, check your dns in /etc/resolv.conf. If no, check your routing $(route)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#4 2009-02-21 20:02:50

completist
Member
From: /media/knock_knock
Registered: 2009-02-21
Posts: 62

Re: help with /etc/host and /etc/rc.conf

that line in the file actually is     localhost.localdomain  just a typo in the thread sorry
good eye there skottish

Offline

#5 2009-02-21 20:08:24

completist
Member
From: /media/knock_knock
Registered: 2009-02-21
Posts: 62

Re: help with /etc/host and /etc/rc.conf

tried to ping router Mr.Elendig and it says  Network is unreachable

checked route and I see

Destination   Gateway   Genmask     Flags Metric Ref     User Iface

Last edited by completist (2009-02-21 20:10:55)

Offline

#6 2009-02-21 20:13:17

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: help with /etc/host and /etc/rc.conf

You probably don't have an ip at all. Do you have multiple network interfaces, or a firewire card? Try dhcpcd eth[0..n] untill you get a responce.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2009-02-21 20:20:50

completist
Member
From: /media/knock_knock
Registered: 2009-02-21
Posts: 62

Re: help with /etc/host and /etc/rc.conf

tells me command not found. I am running this in a virtual machine inside of ubuntu 8.10

at the bottom of VM I see a network icon and it says:

Adapter 1 (NAT) cable connected

Last edited by completist (2009-02-21 20:22:18)

Offline

#8 2009-02-21 20:33:07

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: help with /etc/host and /etc/rc.conf

Check that you $PATH includes /sbin and /usr/sbin. (or call dhcpcd with it's full path.)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#9 2009-02-21 21:46:53

completist
Member
From: /media/knock_knock
Registered: 2009-02-21
Posts: 62

Re: help with /etc/host and /etc/rc.conf

Still it tells me no known command.  I am currently resizing a partition to use for Arch. I'm going to install it there and see if I get the same issue.

Offline

#10 2009-02-21 22:14:15

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: help with /etc/host and /etc/rc.conf

Uhm, sounds like you didn't install dhcpcd the, and in that case, no wounder that your network didn't come up.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#11 2009-02-21 22:23:29

completist
Member
From: /media/knock_knock
Registered: 2009-02-21
Posts: 62

Re: help with /etc/host and /etc/rc.conf

good point, trying again. the hard part for me is when I install packages.  The names aren't exactly the most descriptive. But on a lighter note I won't give up, wanna make my own arch.





Update:

That did the trick Mr.Elendig.  Thank you for pointing that mistake out.  Have xfce4 installed on top of it all so far.
Now going to go figure out how to get a web browser installed on arch.

Last edited by completist (2009-02-22 01:21:56)

Offline

#12 2009-02-23 08:42:11

Xiong Chiamiov
Member
From: central coast, california
Registered: 2008-06-18
Posts: 142
Website

Re: help with /etc/host and /etc/rc.conf

completist wrote:

Now going to go figure out how to get a web browser installed on arch.

# pacman -Sy [name]

Offline

Board footer

Powered by FluxBB