1 |
On Mon, 26 Feb 2007 17:00:21 -0800 (PST) |
2 |
Harbir Singh Hundal <hshundal@×××××.com> wrote: |
3 |
|
4 |
> Hi! |
5 |
> |
6 |
> I have build the system, with kernel-2.6, and during the instillation |
7 |
> I have emerged dhcpcd, but my internet is not working. |
8 |
> |
9 |
> When I do # ifconfig I can see the assigned IP 192.168.0.2 for eth0, |
10 |
> and I am using a router as a gateway with address 192.168.0.1 |
11 |
> |
12 |
> |
13 |
> |
14 |
> I am able to ping 192.168.0.1, but when I try to ping www.google.com |
15 |
> or any other site it gives the message "unknown Host". |
16 |
> |
17 |
> |
18 |
> |
19 |
> I don’t know what to do now, any sort of help will be appreciated. |
20 |
> |
21 |
> |
22 |
> |
23 |
> Thank you |
24 |
> |
25 |
> Harbir |
26 |
> |
27 |
> |
28 |
> Regards |
29 |
> Harbir Singh Hundal |
30 |
Steps to manually set up a network device with dhcpcd |
31 |
# dhcpcd eth0 |
32 |
# echo "search mynetwork.net |
33 |
nameserver 192.168.0.1 |
34 |
" > /etc/resolv.conf |
35 |
|
36 |
You would want to replace mynetwork.net and 192.168.0.1 with |
37 |
appropriate values for your domain and nameserver, respectively. |
38 |
|
39 |
-- |
40 |
gentoo-user@g.o mailing list |