You are not logged in.

#1 2009-07-27 22:51:18

cryticfarm
Member
Registered: 2009-07-27
Posts: 47

Configs don't exist?

After the reboot in install my internet isn't working, so I decide to go and look through my config files again.  So I type after I log in as root:
sudo nano /ect/rc.conf and it can't find it (new file button).

So I try to do some digging with the ls -r command so first I type:
sudo cd /ect

And it sends a message saying that the path cannot be found.

Help?

Offline

#2 2009-07-27 22:55:05

Skripka
Member
From: 2X1280X1024
Registered: 2009-02-19
Posts: 555

Re: Configs don't exist?

Hint:

It should be:

/etc/rc.conf

NOT

/ect/rc.conf

Have some more coffee wink

Last edited by Skripka (2009-07-27 22:55:59)

Offline

#3 2009-07-28 00:17:30

cryticfarm
Member
Registered: 2009-07-27
Posts: 47

Re: Configs don't exist?

Wow, I didn't notice that, however, I now need help finding out what is wrong with my config's network settings.
rc.conf has in the networking section:

HOSTNAME="neo"
eth="dhcp"
INTERFACES=(eth0)
gateway="default gw 192.168.1.254"
ROUTES=(!gateway)

And for /etc/hosts:

127.0.0.1   localhost.localdomain   localhost neo

Offline

#4 2009-07-28 00:24:32

Skripka
Member
From: 2X1280X1024
Registered: 2009-02-19
Posts: 555

Re: Configs don't exist?

cryticfarm wrote:

Wow, I didn't notice that, however, I now need help finding out what is wrong with my config's network settings.
rc.conf has in the networking section:

HOSTNAME="neo"
eth="dhcp"
INTERFACES=(eth0)
gateway="default gw 192.168.1.254"
ROUTES=(!gateway)

Did you intend to have the second line read:

eth="dhcp"

?

The default should read:

eth0="dhcp"

Also is your wireless adapter located at eth0?  If not remember that all network interfaces should be specified in the following line:

INTERFACES=()

Last edited by Skripka (2009-07-28 00:25:57)

Offline

#5 2009-07-28 00:41:53

cryticfarm
Member
Registered: 2009-07-27
Posts: 47

Re: Configs don't exist?

I'm running through a mobo lan port. Does this make a difference?
Oh and yes that was a typo, it's eth0="dhcp".
EDIT:
This is in virtualbox if that makes a difference.

Last edited by cryticfarm (2009-07-28 00:42:44)

Offline

#6 2009-07-28 00:48:46

Skripka
Member
From: 2X1280X1024
Registered: 2009-02-19
Posts: 555

Re: Configs don't exist?

cryticfarm wrote:

I'm running through a mobo lan port. Does this make a difference?
Oh and yes that was a typo, it's eth0="dhcp".

That should be eth0.

wrote:

EDIT:
This is in virtualbox if that makes a difference.

It does actually, Arch runs poorly VM'd from what I hear.

Offline

#7 2009-07-28 01:20:16

cryticfarm
Member
Registered: 2009-07-27
Posts: 47

Re: Configs don't exist?

Skripka wrote:
cryticfarm wrote:

I'm running through a mobo lan port. Does this make a difference?
Oh and yes that was a typo, it's eth0="dhcp".

That should be eth0.

It is...

Offline

#8 2009-07-28 02:04:06

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Configs don't exist?

Skripka wrote:
cryticfarm wrote:

I'm running through a mobo lan port. Does this make a difference?
Oh and yes that was a typo, it's eth0="dhcp".

That should be eth0.

wrote:

EDIT:
This is in virtualbox if that makes a difference.

It does actually, Arch runs poorly VM'd from what I hear.

I can confirm that it USED to. I just started using Arch again in a VM (with hardware virtualisation) and it runs fast.
The last time I tried it I didn't have hardware virtualisation enabled but I don't know if that is what made such a huge difference or not. I'm willing to bet it was a kernel issue.


neutral

Offline

#9 2009-07-28 02:10:33

cryticfarm
Member
Registered: 2009-07-27
Posts: 47

Re: Configs don't exist?

sand_man wrote:
Skripka wrote:
cryticfarm wrote:

I'm running through a mobo lan port. Does this make a difference?
Oh and yes that was a typo, it's eth0="dhcp".

That should be eth0.

wrote:

EDIT:
This is in virtualbox if that makes a difference.

It does actually, Arch runs poorly VM'd from what I hear.

I can confirm that it USED to. I just started using Arch again in a VM (with hardware virtualisation) and it runs fast.
The last time I tried it I didn't have hardware virtualisation enabled but I don't know if that is what made such a huge difference or not. I'm willing to bet it was a kernel issue.

Can you help me on my network config seeing that you were able to run it on a VM?

Offline

#10 2009-07-28 02:49:40

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: Configs don't exist?

Can you post your complete rc.conf contents?  You'll need to be adding the 'network' daemon to the DAEMONS array if not already present.  For more information, see these links:

http://wiki.archlinux.org/index.php/Network
http://wiki.archlinux.org/index.php/VirtualBox (even if you're not using VirtualBox)


thayer williams ~ cinderwick.ca

Offline

#11 2009-07-28 02:51:53

cryticfarm
Member
Registered: 2009-07-27
Posts: 47

Re: Configs don't exist?

Is there an easier way to post the contents of my rc.conf then typing it up manually?

Offline

#12 2009-07-28 03:35:54

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Configs don't exist?

VirtualBox is set to NAT

rc.conf:

eth0="dhcp"
INTERFACES(eth0)

Couldn't be simpler smile


neutral

Offline

#13 2009-07-28 11:21:03

cryticfarm
Member
Registered: 2009-07-27
Posts: 47

Re: Configs don't exist?

So I delete everything else in the network section of rc.conf except those 2 lines?

Offline

Board footer

Powered by FluxBB