You are not logged in.

#1 2012-01-15 15:08:15

anshulfy
Member
Registered: 2012-01-15
Posts: 2

Problem with network setting

Hi,

I am new to Arch Linux. Running it using virtual box in Ubuntu. Installed it in External HDD. My network settings are not working.  I have doubt on /etc/hosts settings.

File is as below

---
127.0.0.1   localhost.localdomain   localhost  <hostname>
<static ip addr>   <hostname>.domain.org   <hostname>

----

For above setting I followed the instructions from Arckwiki. Please help me with this.

Thanks,
Anshul

Offline

#2 2012-01-15 15:19:52

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,496

Re: Problem with network setting

Delete the second line, leave the first line and put your hostname from rc.conf where the brackets are.

Not sure which wiki you refer to, but have a look here:
https://wiki.archlinux.org/index.php/Be … tc.2Fhosts


The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.

Offline

#3 2012-01-15 15:36:41

anshulfy
Member
Registered: 2012-01-15
Posts: 2

Re: Problem with network setting

I followed the settings from the same link. It also says that .

If you use a static IP, add another line using the syntax: <static-IP> <hostname.domainname.org> <hostname>

Last edited by anshulfy (2012-01-15 15:44:34)

Offline

#4 2012-01-15 21:30:24

d4rkeagle6591
Member
Registered: 2012-01-15
Posts: 18

Re: Problem with network setting

Could you post your /etc/rc.conf, and the output of lspci?

Offline

#5 2012-01-15 21:46:29

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,496

Re: Problem with network setting

anshulfy wrote:

I followed the settings from the same link. It also says that .

If you use a static IP, add another line using the syntax: <static-IP> <hostname.domainname.org> <hostname>

Ok, I was presuming you use dhcp. Then you need the second line. But there is not much to do wrong in filling that line then, is there? What's your question?


The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.

Offline

Board footer

Powered by FluxBB