* [gentoo-user] Internet not working after instillition
@ 2007-02-27 1:00 Harbir Singh Hundal
2007-02-27 1:13 ` Ryan Curtin
2007-02-27 20:21 ` Dan Farrell
0 siblings, 2 replies; 8+ messages in thread
From: Harbir Singh Hundal @ 2007-02-27 1:00 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 708 bytes --]
Hi!
I have build the system, with kernel-2.6, and during the instillation I have emerged dhcpcd, but my internet is not working.
When I do # ifconfig I can see the assigned IP 192.168.0.2 for eth0, and I am using a router as a gateway with address 192.168.0.1
I am able to ping 192.168.0.1, but when I try to ping www.google.com or any other site it gives the message "unknown Host".
I dont know what to do now, any sort of help will be appreciated.
Thank you
Harbir
Regards
Harbir Singh Hundal
---------------------------------
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
[-- Attachment #2: Type: text/html, Size: 1635 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Internet not working after instillition
2007-02-27 1:00 [gentoo-user] Internet not working after instillition Harbir Singh Hundal
@ 2007-02-27 1:13 ` Ryan Curtin
2007-02-27 8:32 ` Harbir Singh Hundal
2007-02-27 8:38 ` Harbir Singh Hundal
2007-02-27 20:21 ` Dan Farrell
1 sibling, 2 replies; 8+ messages in thread
From: Ryan Curtin @ 2007-02-27 1:13 UTC (permalink / raw
To: gentoo-user
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 869 bytes --]
On Mon, Feb 26, 2007 at 05:00:21PM -0800, Harbir Singh Hundal wrote:
> Hi!
>
> I have build the system, with kernel-2.6, and during the instillation
> I have emerged dhcpcd, but my internet is not working.
>
> When I do # ifconfig I can see the assigned IP 192.168.0.2 for eth0,
> and I am using a router as a gateway with address 192.168.0.1
>
> I am able to ping 192.168.0.1, but when I try to ping www.google.com
> or any other site it gives the message "unknown Host".
>
> I dont know what to do now, any sort of help will be appreciated.
It would seem to me that your DHCP server is not set correctly. Can you
post your /etc/resolv.conf? That would help. Also, try pinging
216.239.51.99. This is the IP of www.google.com.
Ryan Curtin
ryan@www.igglybob.com
--
<www.igglybob.com>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Internet not working after instillition
2007-02-27 1:13 ` Ryan Curtin
@ 2007-02-27 8:32 ` Harbir Singh Hundal
2007-02-27 8:52 ` Dale
2007-02-27 8:38 ` Harbir Singh Hundal
1 sibling, 1 reply; 8+ messages in thread
From: Harbir Singh Hundal @ 2007-02-27 8:32 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1324 bytes --]
Thanx for the reply.
I think there is some problem with my resolv.com
the contents of my resolv.conf file are:
domain homemetwork
Please let me know what should be comming here.
I think I need to put the gateway address here.
Ryan Curtin <ryan@www.igglybob.com> wrote: On Mon, Feb 26, 2007 at 05:00:21PM -0800, Harbir Singh Hundal wrote:
> Hi!
>
> I have build the system, with kernel-2.6, and during the instillation
> I have emerged dhcpcd, but my internet is not working.
>
> When I do # ifconfig I can see the assigned IP 192.168.0.2 for eth0,
> and I am using a router as a gateway with address 192.168.0.1
>
> I am able to ping 192.168.0.1, but when I try to ping www.google.com
> or any other site it gives the message "unknown Host".
>
> I dont know what to do now, any sort of help will be appreciated.
It would seem to me that your DHCP server is not set correctly. Can you
post your /etc/resolv.conf? That would help. Also, try pinging
216.239.51.99. This is the IP of www.google.com.
Ryan Curtin
ryan@www.igglybob.com
--
--
gentoo-user@gentoo.org mailing list
Regards
Harbir Singh Hundal
---------------------------------
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
[-- Attachment #2: Type: text/html, Size: 2030 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Internet not working after instillition
2007-02-27 8:32 ` Harbir Singh Hundal
@ 2007-02-27 8:52 ` Dale
2007-02-27 11:48 ` Harbir Singh Hundal
0 siblings, 1 reply; 8+ messages in thread
From: Dale @ 2007-02-27 8:52 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1599 bytes --]
Harbir Singh Hundal wrote:
> Thanx for the reply.
>
> I think there is some problem with my resolv.com
>
> the contents of my resolv.conf file are:
>
> domain homemetwork
>
> Please let me know what should be comming here.
> I think I need to put the gateway address here.
>
>
>
> */Ryan Curtin <ryan@www.igglybob.com>/* wrote:
>
>
>
> It would seem to me that your DHCP server is not set correctly.
> Can you
> post your /etc/resolv.conf? That would help. Also, try pinging
> 216.239.51.99. This is the IP of www.google.com.
>
> Ryan Curtin
> ryan@www.igglybob.com
>
> --
>
> --
> gentoo-user@gentoo.org mailing list
>
>
>
>
> Regards
> Harbir Singh Hundal
>
>
>
> ------------------------------------------------------------------------
> Be a PS3 game guru.
> Get your game face on with the latest PS3 news and previews at Yahoo!
> Games. <http://us.rd.yahoo.com/evt=49936/*http://videogames.yahoo.com>
Actually the DNS info goes in that file. You may can just copy that
over from another machine but you should set it up so that it gets them
from the machine that connects to the internet. You may want to read
/etc/conf.d/net.example to see if one of the examples in there applies
to you. If one does, copy only the parts you need to /etc/conf.d/net.
Also, don't forget to try to ping as requested in the previous email.
That will let the list know if the rest of the network is working
correctly. It may not work and that may be why it is not getting the
DNS automatically, as it should.
Dale
:-) :-) :-)
--
www.myspace.com/dalek1967
[-- Attachment #2: Type: text/html, Size: 2978 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Internet not working after instillition
2007-02-27 8:52 ` Dale
@ 2007-02-27 11:48 ` Harbir Singh Hundal
2007-02-28 11:20 ` Hans-Werner Hilse
0 siblings, 1 reply; 8+ messages in thread
From: Harbir Singh Hundal @ 2007-02-27 11:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1873 bytes --]
Thanx guys!
I think i did copy resolv.conf during instilation, but anyway I have recopied and not its working.
Appreciate all of yours help
:)
Dale <dalek@exceedtech.net> wrote: Harbir Singh Hundal wrote: Thanx for the reply.
I think there is some problem with my resolv.com
the contents of my resolv.conf file are:
domain homemetwork
Please let me know what should be comming here.
I think I need to put the gateway address here.
Ryan Curtin <ryan@www.igglybob.com> wrote:
It would seem to me that your DHCP server is not set correctly. Can you
post your /etc/resolv.conf? That would help. Also, try pinging
216.239.51.99. This is the IP of www.google.com.
Ryan Curtin
ryan@www.igglybob.com
--
--
gentoo-user@gentoo.org mailing list
Regards
Harbir Singh Hundal
---------------------------------
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
Actually the DNS info goes in that file. You may can just copy that over from another machine but you should set it up so that it gets them from the machine that connects to the internet. You may want to read /etc/conf.d/net.example to see if one of the examples in there applies to you. If one does, copy only the parts you need to /etc/conf.d/net.
Also, don't forget to try to ping as requested in the previous email. That will let the list know if the rest of the network is working correctly. It may not work and that may be why it is not getting the DNS automatically, as it should.
Dale
:-) :-) :-)
--
www.myspace.com/dalek1967
Regards
Harbir Singh Hundal
---------------------------------
Need a quick answer? Get one in minutes from people who know. Ask your question on Yahoo! Answers.
[-- Attachment #2: Type: text/html, Size: 3758 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Internet not working after instillition
2007-02-27 11:48 ` Harbir Singh Hundal
@ 2007-02-28 11:20 ` Hans-Werner Hilse
0 siblings, 0 replies; 8+ messages in thread
From: Hans-Werner Hilse @ 2007-02-28 11:20 UTC (permalink / raw
To: gentoo-user
Hi,
On Tue, 27 Feb 2007 03:48:26 -0800 (PST) Harbir Singh Hundal
<hshundal@yahoo.com> wrote:
> I think i did copy resolv.conf during instilation, but anyway I have
> recopied and not its working.
Please tell a bit about your network infrastructure. When there's a
DHCP server running: Did you set it up? Is it built into a router of
some kind? What are the router's DNS settings? The DHCP server is
supposed to provide valid DNS servers, too. So it probably doesn't at
the moment, and dhcpcd clears /etc/resolv.conf. You can prevent that
with the "-R" switch to dhcpcd. I think there is even an example
in /etc/conf.d/net.example that tells you how to persistently set this
flag. However, I'd prefer to set up the router (i.e. its DHCP server)
correctly to provide valid DNS servers.
-hwh
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Internet not working after instillition
2007-02-27 1:13 ` Ryan Curtin
2007-02-27 8:32 ` Harbir Singh Hundal
@ 2007-02-27 8:38 ` Harbir Singh Hundal
1 sibling, 0 replies; 8+ messages in thread
From: Harbir Singh Hundal @ 2007-02-27 8:38 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1086 bytes --]
Now when I did ifconfig, its not showing me eth0
Ryan Curtin <ryan@www.igglybob.com> wrote: On Mon, Feb 26, 2007 at 05:00:21PM -0800, Harbir Singh Hundal wrote:
> Hi!
>
> I have build the system, with kernel-2.6, and during the instillation
> I have emerged dhcpcd, but my internet is not working.
>
> When I do # ifconfig I can see the assigned IP 192.168.0.2 for eth0,
> and I am using a router as a gateway with address 192.168.0.1
>
> I am able to ping 192.168.0.1, but when I try to ping www.google.com
> or any other site it gives the message "unknown Host".
>
> I dont know what to do now, any sort of help will be appreciated.
It would seem to me that your DHCP server is not set correctly. Can you
post your /etc/resolv.conf? That would help. Also, try pinging
216.239.51.99. This is the IP of www.google.com.
Ryan Curtin
ryan@www.igglybob.com
--
--
gentoo-user@gentoo.org mailing list
Regards
Harbir Singh Hundal
---------------------------------
Everyone is raving about the all-new Yahoo! Mail beta.
[-- Attachment #2: Type: text/html, Size: 1698 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Internet not working after instillition
2007-02-27 1:00 [gentoo-user] Internet not working after instillition Harbir Singh Hundal
2007-02-27 1:13 ` Ryan Curtin
@ 2007-02-27 20:21 ` Dan Farrell
1 sibling, 0 replies; 8+ messages in thread
From: Dan Farrell @ 2007-02-27 20:21 UTC (permalink / raw
To: gentoo-user
On Mon, 26 Feb 2007 17:00:21 -0800 (PST)
Harbir Singh Hundal <hshundal@yahoo.com> wrote:
> Hi!
>
> I have build the system, with kernel-2.6, and during the instillation
> I have emerged dhcpcd, but my internet is not working.
>
> When I do # ifconfig I can see the assigned IP 192.168.0.2 for eth0,
> and I am using a router as a gateway with address 192.168.0.1
>
>
>
> I am able to ping 192.168.0.1, but when I try to ping www.google.com
> or any other site it gives the message "unknown Host".
>
>
>
> I dont know what to do now, any sort of help will be appreciated.
>
>
>
> Thank you
>
> Harbir
>
>
> Regards
> Harbir Singh Hundal
Steps to manually set up a network device with dhcpcd
# dhcpcd eth0
# echo "search mynetwork.net
nameserver 192.168.0.1
" > /etc/resolv.conf
You would want to replace mynetwork.net and 192.168.0.1 with
appropriate values for your domain and nameserver, respectively.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-02-28 11:25 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-27 1:00 [gentoo-user] Internet not working after instillition Harbir Singh Hundal
2007-02-27 1:13 ` Ryan Curtin
2007-02-27 8:32 ` Harbir Singh Hundal
2007-02-27 8:52 ` Dale
2007-02-27 11:48 ` Harbir Singh Hundal
2007-02-28 11:20 ` Hans-Werner Hilse
2007-02-27 8:38 ` Harbir Singh Hundal
2007-02-27 20:21 ` Dan Farrell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox