1 |
Drake Donahue ha scritto: |
2 |
> On Thu, 2008-11-06 at 17:38 -0500, Drake Donahue wrote: |
3 |
> |
4 |
>> On Thu, 2008-11-06 at 21:54 +0000, Beso wrote: |
5 |
>> |
6 |
>>> 2008/11/6 manuel <kaos@××××××××××××.com>: |
7 |
>>> |
8 |
>>>> Hi All, |
9 |
>>>> |
10 |
>>>> I have two gentoo os on my pc, same HD, different partitions. Now they are |
11 |
>>>> both 2008! |
12 |
>>>> I really don't understand why on the "first" system I can get a static IP |
13 |
>>>> address working, the same configuration does not work on the "second os" and |
14 |
>>>> I must set it to dhcp to get it working! I need to get a static Ip address |
15 |
>>>> 'cause I would like to map ports on my router! I've tried a lot of |
16 |
>>>> configurations but it still does not work and at the moment i've no Ideas!!! |
17 |
>>>> |
18 |
>>>> |
19 |
>>>> |
20 |
>>> if you have the same identical configuration one connects and the |
21 |
>>> other doesn't. you cannot assign the same ip to 2 different boards at |
22 |
>>> the same time. also if your router has saved the mac addresses and |
23 |
>>> binded the ips for some time (usually routers can be set to do this) |
24 |
>>> then you cannot bind the same ip for another pc. |
25 |
>>> an alternative is to set the static bind routes in the dhcp |
26 |
>>> configuration panel of your router and use dhcp. in this way you're |
27 |
>>> able to use dhcp on the pcs that will still get the same ip address |
28 |
>>> and so you'll be able to use them as they would have got the static |
29 |
>>> route. you'll just have to bind without lease the mac address to an ip |
30 |
>>> and then enable the dhcp in the router. i use this way of routing in |
31 |
>>> my network. |
32 |
>>> |
33 |
>>> |
34 |
>>> |
35 |
>> same pc same card same mac address for most of us who do this kind of |
36 |
>> thing. |
37 |
>> can "does not work" be made more specific? error/failure messages? |
38 |
>> wireless or wired connection? |
39 |
>> |
40 |
>> |
41 |
> If the problem is an inability to use the internet and not one of |
42 |
> "net.eth0 failed to" being reported at startup; check |
43 |
> that /etc/resolv.conf contains a valid "nameserver xxx.xxx.xxx.xxx" type |
44 |
> entry. |
45 |
> |
46 |
> |
47 |
> |
48 |
> |
49 |
> |
50 |
|
51 |
|
52 |
I've checked router configuration, and seems to be ok! even If I |
53 |
restart my router I get the same issue! |
54 |
I checked: no mac is associated with ips! |
55 |
I've tried different Ip addresses but nothing, I've checked |
56 |
/etc/resolv.conf they are Identical in both oses! |
57 |
When I assign the static IP address to my second os and I start it I |
58 |
don't receive any error messages: |
59 |
|
60 |
> gentoo manu # /etc/init.d/net.eth0 start |
61 |
> * Caching service dependencies ... [ ok ] |
62 |
> * Starting eth0 |
63 |
> * Bringing up eth0 |
64 |
> * 192.168.0.109 [ ok ] |
65 |
|
66 |
|
67 |
Everything seems to be ok but I sill can't connect to the internet! |
68 |
I've two Macintosh too in my home net with static ip addresses assigned |
69 |
(both working!) and I usually use Samba to comunicate beetween them and |
70 |
my gentoo box. When i'm using static IP on my gentoo box it becomes no |
71 |
more available on the net, but I can connect from it to the other cmptrs |
72 |
using Ftp! |
73 |
I'm really getting mad..... |
74 |
|
75 |
Thanks for your help |