Re: networking/internet connection in console mode
Kelsey Hartigan Go <[email protected]> Sat, 3 Dec 2005 14:35:29 +0800
| Newsgroups | gmane.org.user-groups.linux.philippine.newbies |
|---|---|
| Message-ID | <[email protected]> |
--===============1438927826== Content-Type: multipart/alternative; boundary="----=_Part_11366_29081044.1133591729800" ------=_Part_11366_29081044.1133591729800 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline If I may suggest, since rh9 does come with sysop tools (duh...I didn't realized I used that word!)...why not try running 'setup' in root. Then select network, then configure from there. See what effect it has on the files in /etc/sysconfig/network-scripts/ifcfg-eth0. Then you learn it how to configure by hand. On 12/2/05, jopoy solano <[email protected]> wrote: > > > > On 12/2/05, mhay bernardo <[email protected]> wrote: > > > > i open those three files > > ifcfg-eth0 > > resolv.conf > > network > > > > and i found out that in in eth0 the value of boottopro =3D static, but = we > > have a dynamic ip address do i have to change to (boototpro=3Ddynamic). > > > > As a linux user, don't be afraid to experiment :) ... try mo muna before > posting ...hehehe > > Anyway, make backups of the files you listed before doing any editing. > > Erase all the values in ifcg-eth0 and replace it with the following > > DEVICE=3Deth0 > ONBOOT=3Dyes > BOOTPROTO=3Ddynamic > HWADDR=3DXX:XX:XX:XX:XX:XX #this is you mac address ... It's also ok if > you don't include this > TYPE=3DEthernet > > Reset the interface by issuing the command > #service network restart > > how about the ip address? netmask? gateway? do i have to enter the value > > base on our working network current setting. > > > > no need since your ip settings are assigned dynamically > > and for resolv.conf > > the value is nameserver 202.78.97.41 > > > > try removing the line "nameserver ...." > > search ourcompany.com > > > > and for /etc/sysconfig/network > > networking=3Dyes > > hostname=3Dlocalhost.localdomain > > > > > > hth. > > 'Jopoy > > _________________________________________________________ > Philippine Linux Users' Group (PLUG) Newbie Mailing List > [email protected] (#PLUG @ irc.free.net.ph) > Read the Guidelines: http://linux.org.ph/lists > Searchable Archives: http://archives.free.net.ph > > ------=_Part_11366_29081044.1133591729800 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline If I may suggest, since rh9 does come with sysop tools (duh...I didn't real= ized I used that word!)...why not try running 'setup' in root. Then s= elect network, then configure from there.<br>See what effect it has on the = files in /etc/sysconfig/network-scripts/ifcfg-eth0. <br>Then you learn it how to configure by hand.<br><br><br><div><span class= =3D"gmail_quote">On 12/2/05, <b class=3D"gmail_sendername">jopoy solano</b>= <<a href=3D"mailto:[email protected]">[email protected]</a>&g= t; wrote: </span><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rg= b(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br><d= iv><span class=3D"q"><span class=3D"gmail_quote">On 12/2/05, <b class=3D"gm= ail_sendername"> mhay bernardo</b> <<a href=3D"mailto:[email protected]" target=3D"= _blank" onclick=3D"return top.js.OpenExtLink(window,event,this)">bernardo_m= [email protected]</a>> wrote:</span><blockquote class=3D"gmail_quote" style= =3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; p= adding-left: 1ex;"> <div>i open those three files</div> <div>ifcfg-eth0</div> <div>resolv.con= f</div> <div>network</div> <div> </div> <div>and i found out that in in eth0 the value of boottopro =3D static, but we have a dynamic ip address do i have to change to (boototpro=3Ddynamic).</di= v></blockquote></span><div><br> As a linux user, don't be afraid to experiment :) ... try mo muna before&nb= sp; posting ...hehehe<br> <br> Anyway, make backups of the files you listed before doing any editing.<br> <br> Erase all the values in ifcg-eth0 and replace it with the following<br> <br> DEVICE=3Deth0<br> ONBOOT=3Dyes<br> BOOTPROTO=3Ddynamic<br> HWADDR=3DXX:XX:XX:XX:XX:XX #this is you mac address ... It's al= so ok if you don't include this<br> TYPE=3DEthernet<br> <br> Reset the interface by issuing the command<br> #service network restart<br> <br> </div><span class=3D"q"><blockquote class=3D"gmail_quote" style=3D"border-l= eft: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:= 1ex;"><div>how about the ip address? netmask? gateway? do i have to enter = the value base on our working network current setting.=20 </div></blockquote></span><div><br> no need since your ip settings are assigned dynamically <br> </div><span class=3D"q"><br><blockquote class=3D"gmail_quote" style=3D"bord= er-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-l= eft: 1ex;"><div>and for resolv.conf</div> <div>the value is nameserver <a = href=3D"http://202.78.97.41" target=3D"_blank" onclick=3D"return top.js.Ope= nExtLink(window,event,this)"> 202.78.97.41</a></div></blockquote></span><div><br> try removing the line "nameserver ...."<br> </div><span class=3D"q"><br><blockquote class=3D"gmail_quote" style=3D"bord= er-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-l= eft: 1ex;"><div>search <a href=3D"http://ourcompany.com" target=3D"_blank" = onclick=3D"return top.js.OpenExtLink(window,event,this)"> ourcompany.com</a></div> <div> </div> <div>and for /etc/sysconfig/ne= twork</div> <div>networking=3Dyes</div> <div>hostname=3Dlocalhost.localdo= main</div> <div> </div></blockquote></span></div><br> hth.<br><span class=3D"sg"> <br> 'Jopoy<br> </span><br>_________________________________________________________<br>Phi= lippine Linux Users' Group (PLUG) Newbie Mailing List<br><a onclick=3D"retu= rn top.js.OpenExtLink(window,event,this)" href=3D"mailto:plug-newbies@lists= .linux.org.ph"> [email protected]</a> (#PLUG @ <a onclick=3D"return top.js.Op= enExtLink(window,event,this)" href=3D"http://irc.free.net.ph" target=3D"_bl= ank">irc.free.net.ph</a>)<br>Read the Guidelines: <a onclick=3D"return top.= js.OpenExtLink(window,event,this)" href=3D"http://linux.org.ph/lists" targe= t=3D"_blank"> http://linux.org.ph/lists</a><br>Searchable Archives: <a onclick=3D"return = top.js.OpenExtLink(window,event,this)" href=3D"http://archives.free.net.ph"= target=3D"_blank">http://archives.free.net.ph</a><br><br></blockquote></di= v> <br> ------=_Part_11366_29081044.1133591729800-- --===============1438927826== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _________________________________________________________ Philippine Linux Users' Group (PLUG) Newbie Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph --===============1438927826==--