You are not logged in.

#1 2012-01-15 22:20:21

chome4
Member
From: London
Registered: 2012-01-13
Posts: 40

Post Install Issue - No Network Connection. [SOLVED]

Followed the installation instructions and rebooted/signed in as root. OK so far.

When I type: ping -c 3 example.com' but I get the response: 'ping: unknown host example.com'

I'm using a Netgear Router (VMDG280) in wired mode.

Networking works with Windows Vista and Windows 7 as well as with Knoppix and Linux Pardus and Ubuntu.

Don't know how to attach images so I've put a link to a pic showing what I get when I type 'dhcpcd' and 'ip link' gmjones.org/tv/IMAG0131.jpg

Also: here are the contents of rc.conf and hosts

gmjones.org/tv/rc.conf

gmjones.org/tv/hosts

Can someone tell me how to establish a connection to the network. I think I've included all relevant information.

Thanks.

Last edited by chome4 (2012-01-16 11:48:27)

Offline

#2 2012-01-15 22:24:23

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Post Install Issue - No Network Connection. [SOLVED]

Please post the output of ip addr


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2012-01-15 22:45:31

chome4
Member
From: London
Registered: 2012-01-13
Posts: 40

Re: Post Install Issue - No Network Connection. [SOLVED]

ewaller wrote:

Please post the output of ip addr

ip addr:

gmjones.org/tv/IMAG0133.jpg

Offline

#4 2012-01-15 22:53:57

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Post Install Issue - No Network Connection. [SOLVED]

Sorry, missed that hmm
I have to get some fresh air, or something.
You have a carrier - good.  The picture does not show what happens with dhcpcd eth0, however. tongue 
Try that again.  If ip addr still show eth0 as being down, try explicitly putting it up with ifconfig eth0 up.  Verify it is up with ip, then try dhcpcd.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2012-01-15 23:23:57

chome4
Member
From: London
Registered: 2012-01-13
Posts: 40

Re: Post Install Issue - No Network Connection. [SOLVED]

ewaller wrote:

Sorry, missed that hmm
I have to get some fresh air, or something.
You have a carrier - good.  The picture does not show what happens with dhcpcd eth0, however. tongue 
Try that again.  If ip addr still show eth0 as being down, try explicitly putting it up with ifconfig eth0 up.  Verify it is up with ip, then try dhcpcd.


ifconfig is giving me 'command not found'.

Offline

#6 2012-01-15 23:31:15

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Post Install Issue - No Network Connection. [SOLVED]

chome4 wrote:

[ifconfig is giving me 'command not found'.

Oh, very well.  Try ip link set eth0 up


You youngsters with your new fangled commands yikes  (Ifconfig is deprecated, but most installations have it installed)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2012-01-15 23:41:04

chome4
Member
From: London
Registered: 2012-01-13
Posts: 40

Re: Post Install Issue - No Network Connection. [SOLVED]

ewaller wrote:
chome4 wrote:

[ifconfig is giving me 'command not found'.

Oh, very well.  Try ip link set eth0 up


You youngsters with your new fangled commands yikes  (Ifconfig is deprecated, but most installations have it installed)


http://gmjones.org/tv/IMAG0137.jpg

Offline

#8 2012-01-15 23:49:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Post Install Issue - No Network Connection. [SOLVED]

That looks to me like you should have a working network.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2012-01-15 23:55:42

chome4
Member
From: London
Registered: 2012-01-13
Posts: 40

Re: Post Install Issue - No Network Connection. [SOLVED]

I was able to ping www.google.com and got a response but when I rebooted, I got: unknown host www.google.com

I don't mind typing in the suggestions you made but when I get round to installing the graphical stuff, can I make booting up include such commands?

Offline

#10 2012-01-16 00:11:12

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Post Install Issue - No Network Connection. [SOLVED]

Great you launched the DHCP command manually.

Take a look at rc.conf

# DHCP example
# interface=eth0
# address=
# netmask=
# gateway=

https://wiki.archlinux.org/index.php/Be … NG_section


Website - Blog - arch-home
Arch User since March 2005

Offline

#11 2012-01-16 00:26:34

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Post Install Issue - No Network Connection. [SOLVED]

chome4 wrote:

I don't mind typing in the suggestions you made but when I get round to installing the graphical stuff, can I make booting up include such commands?

I was getting there.  Now we know the hardware works.

Can you post your /etc/rc.conf file?  (You may want to do that from your Arch machine after you put the network up by hand)

Also, use the code tags from that BBCode index under the post message box as that file is fairly long.

Edit: Sorry Pyther, I did not see your post.  Clearly we are on the same track here smile

Last edited by ewaller (2012-01-16 00:28:07)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#12 2012-01-16 00:27:01

chome4
Member
From: London
Registered: 2012-01-13
Posts: 40

Re: Post Install Issue - No Network Connection. [SOLVED]

pyther wrote:

Great you launched the DHCP command manually.

Take a look at rc.conf

# DHCP example
# interface=eth0
# address=
# netmask=
# gateway=

https://wiki.archlinux.org/index.php/Be … NG_section


Thanks for that.

Offline

#13 2012-01-16 11:47:44

chome4
Member
From: London
Registered: 2012-01-13
Posts: 40

Re: Post Install Issue - No Network Connection. [SOLVED]

I inserted 'ip link set eth0 up' and 'dhcpcd' into /etc/rc.conf and can now carry on with my install. Don't know if this is the correct way to do things but I'm just starting so I'll carry on with the installation/post-installation stuff and mark this thread as closed - I'll be back with lots and lots of more questions!!!

Offline

#14 2012-01-16 16:43:59

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Post Install Issue - No Network Connection. [SOLVED]

No that is not the correct way to do it.

All you should need is interface=eth0 and then add network to your DAEMONS array


Website - Blog - arch-home
Arch User since March 2005

Offline

#15 2012-01-17 09:22:08

chome4
Member
From: London
Registered: 2012-01-13
Posts: 40

Re: Post Install Issue - No Network Connection. [SOLVED]

pyther wrote:

No that is not the correct way to do it.

All you should need is interface=eth0 and then add network to your DAEMONS array

Thanks. Works perfectly.

Offline

#16 2012-01-17 14:18:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Post Install Issue - No Network Connection. [SOLVED]

chome4, this stuff is in the Beginners' Guide in the wiki, please pay more attention to it.

Offline

Board footer

Powered by FluxBB