Gentoo Archives: gentoo-amd64

From: Drake Donahue <donahue95@×××××××.net>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Problem with ethernet configuration
Date: Fri, 07 Nov 2008 14:50:12
Message-Id: 1226069408.8019.31.camel@oddman.donahues.us
In Reply to: Re: [gentoo-amd64] Problem with ethernet configuration by manuel
1 On Fri, 2008-11-07 at 13:59 +0100, manuel wrote:
2 > Daniel Matei ha scritto:
3 > > Excuse me if my answer might be stupid but did you set up "routes_eth0" and made a default gw?
4 > >
5 > >
6 > > DANIEL MATEI
7 > > ADMINISTRATOR SISTEME, TECHNET CONSULTING
8 > > +4 021 2553636 (w) | +4 0732 770071 (m) | daniel.matei@×××××××.ro
9 > >
10 > >
11 > >
12 > > Technically yours...!
13 > > http://www.technet.ro
14 > >
15 > >
16 > >
17 > > -----Original Message-----
18 > > From: manuel [mailto:kaos@××××××××××××.com]
19 > > Sent: Friday, November 07, 2008 1:27 PM
20 > > To: gentoo-amd64@l.g.o
21 > > Subject: Re: [gentoo-amd64] Problem with ethernet configuration
22 > >
23 > > Drake Donahue ha scritto:
24 > >
25 > >> On Thu, 2008-11-06 at 17:38 -0500, Drake Donahue wrote:
26 > >>
27 > >>
28 > >>> On Thu, 2008-11-06 at 21:54 +0000, Beso wrote:
29 > >>>
30 > >>>
31 > >>>> 2008/11/6 manuel <kaos@××××××××××××.com>:
32 > >>>>
33 > >>>>
34 > >>>>> Hi All,
35 > >>>>>
36 > >>>>> I have two gentoo os on my pc, same HD, different partitions. Now they are
37 > >>>>> both 2008!
38 > >>>>> I really don't understand why on the "first" system I can get a static IP
39 > >>>>> address working, the same configuration does not work on the "second os" and
40 > >>>>> I must set it to dhcp to get it working! I need to get a static Ip address
41 > >>>>> 'cause I would like to map ports on my router! I've tried a lot of
42 > >>>>> configurations but it still does not work and at the moment i've no Ideas!!!
43 > >>>>>
44 > >>>>>
45 > >>>>>
46 > >>>>>
47 > >>>> if you have the same identical configuration one connects and the
48 > >>>> other doesn't. you cannot assign the same ip to 2 different boards at
49 > >>>> the same time. also if your router has saved the mac addresses and
50 > >>>> binded the ips for some time (usually routers can be set to do this)
51 > >>>> then you cannot bind the same ip for another pc.
52 > >>>> an alternative is to set the static bind routes in the dhcp
53 > >>>> configuration panel of your router and use dhcp. in this way you're
54 > >>>> able to use dhcp on the pcs that will still get the same ip address
55 > >>>> and so you'll be able to use them as they would have got the static
56 > >>>> route. you'll just have to bind without lease the mac address to an ip
57 > >>>> and then enable the dhcp in the router. i use this way of routing in
58 > >>>> my network.
59 > >>>>
60 > >>>>
61 > >>>>
62 > >>>>
63 > >>> same pc same card same mac address for most of us who do this kind of
64 > >>> thing.
65 > >>> can "does not work" be made more specific? error/failure messages?
66 > >>> wireless or wired connection?
67 > >>>
68 > >>>
69 > >>>
70 > >> If the problem is an inability to use the internet and not one of
71 > >> "net.eth0 failed to" being reported at startup; check
72 > >> that /etc/resolv.conf contains a valid "nameserver xxx.xxx.xxx.xxx" type
73 > >> entry.
74 > >>
75 > >>
76 > >>
77 > >>
78 > >>
79 > >>
80 > >
81 > >
82 > > I've checked router configuration, and seems to be ok! even If I
83 > > restart my router I get the same issue!
84 > > I checked: no mac is associated with ips!
85 > > I've tried different Ip addresses but nothing, I've checked
86 > > /etc/resolv.conf they are Identical in both oses!
87 > > When I assign the static IP address to my second os and I start it I
88 > > don't receive any error messages:
89 > >
90 > >
91 > >> gentoo manu # /etc/init.d/net.eth0 start
92 > >> * Caching service dependencies ... [ ok ]
93 > >> * Starting eth0
94 > >> * Bringing up eth0
95 > >> * 192.168.0.109
96
97
98 next couple of lines here tell if you have gateway
99
100 > [ ok ]
101 > >>
102 > >
103 > >
104 > > Everything seems to be ok but I sill can't connect to the internet!
105 > > I've two Macintosh too in my home net with static ip addresses assigned
106 > > (both working!) and I usually use Samba to comunicate beetween them and
107 > > my gentoo box. When i'm using static IP on my gentoo box it becomes no
108 > > more available on the net, but I can connect from it to the other cmptrs
109 > > using Ftp!
110 > > I'm really getting mad.....
111 > >
112 > > Thanks for your help
113 > >
114 > >
115 > >
116 > >
117 > >
118 > >
119 > >
120 > >
121 > >
122 > > This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. If you have received this email in error please notify the sender immediately by e-mail and delete this e-mail from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company will not accept responsibility for any loss or damage arising from the use of this email or attachments. The recipient should check this email and any attachments for the presence of viruses.
123 > >
124 > >
125 > >
126 > >
127 > Yes I did, I've just retried but nothing!
128 >
129 > manuel
130 >
131 >
132 >
133 run ifconfig on each and compare the first 4 lines of the output.
134
135 run:
136 ping -c 2 96.17.74.24
137 if you get a return, the problem is probably dns related
138 in the browser, http://192.150.18.117
139 if you get an adobe error page, the problem is probably dns related
140 running:
141 dig adobe.com
142 and
143 nslookup adobe.com
144 may also provide information
145
146 the dns client resolver is supposed to come with glibc, if dns is
147 indicated perhaps emerge -uNDeav system ?
148
149 also can try ping to local subnet computers by ip addresses and names if
150 by ip address succeeds and by names fails; check /etc/hosts
151 check /etc/samba/lmhosts for samba

Replies

Subject Author
Re: [gentoo-amd64] Problem with ethernet configuration manuel <kaos@××××××××××××.com>