Re: networking/internet connection in console mode
Mark Quitoriano <[email protected]> Tue, 6 Dec 2005 02:54:32 -0800
| Newsgroups | gmane.org.user-groups.linux.philippine.newbies |
|---|---|
| Message-ID | <[email protected]> |
--===============1495536043== Content-Type: multipart/alternative; boundary="----=_Part_5388_23614961.1133866472076" ------=_Part_5388_23614961.1133866472076 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline try to execute netconfig for an esier configuration. On 12/6/05, mhay bernardo <[email protected]> wrote: > > i copy ifcfg-eth0 and make antother one and enter the following > i also restarted the network service. > > Now. how do i know that i already connected to the internet, > How do I check. > > this is my new ifcfg-eth0 file > > *DEVICE=3Deth0 > ONBOOT=3Dyes > BOOTPROTO=3Ddynamic > 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 > > > * > > ------------------------------ > *Yahoo! Personals* > Single? There's someone we'd like you to meet. > Lots of someones, actually. Yahoo! Personals<http://us.rd.yahoo.com/evt= =3D36108/*http://personals.yahoo.com+%0A> > > > _________________________________________________________ > 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 > > -- Regards, Mark Quitoriano, CCNA Fan the flame... http://www.spreadfirefox.com/?q=3Duser/register&r=3D19441 ------=_Part_5388_23614961.1133866472076 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline try to execute netconfig for an esier configuration.<br><br><div><span clas= s=3D"gmail_quote">On 12/6/05, <b class=3D"gmail_sendername">mhay bernardo</= b> <<a href=3D"mailto:[email protected]">[email protected]</= a>> 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;"><div> <di= v><font color=3D"#000000" face=3D"Arial" size=3D"2">i copy ifcfg-= eth0 <span id=3D"st" name=3D"st" class=3D"st0"> and</span> make antother one <span id=3D"st" name=3D"st" class=3D"st0">and<= /span> enter the following</font></div> <div><font color=3D"#000000" face= =3D"Arial" size=3D"2">i also restarted the network service. </font></div> = <div> </div> <div><font color=3D"#000000" face=3D"Arial" size=3D"2">Now. how do = i know that i already connected to the internet, </font></div> <div><font = color=3D"#000000" face=3D"Arial" size=3D"2">How do I check.</font></div> <= div> </div> =20 <div><font color=3D"#000000" face=3D"Arial" size=3D"2">this is my new ifcfg= -eth0 file</font></div> <div> </div> <div><font color=3D"#000000" fa= ce=3D"Arial" size=3D"2"><strong><span class=3D"q">DEVICE=3Deth0<br>ONBOOT= =3Dyes<br>BOOTPROTO=3Ddynamic <br></span>TYPE=3DEthernet</strong></font></div><span class=3D"q"> <div><f= ont color=3D"#000000" face=3D"Arial" size=3D"2"></font> </div> <div><= font color=3D"#000000" face=3D"Arial" size=3D"2"></font> </div> <div>= <font color=3D"#000000" face=3D"Arial" size=3D"2"> </font> </div> <div><font color=3D"#000000" face=3D"Arial" size=3D"2"= >----------------<br></font><font color=3D"#000000" face=3D"Arial" size=3D"= 2"><br>Reset the interface by issuing the command<br>#service network resta= rt<br><br>how about the ip address? netmask? gateway? do i have to enter th= e value <i><br>> base on our working network current setting.<br>></i><br><br= >no need since your ip settings are assigned dynamically<br><br><span id=3D= "st" name=3D"st" class=3D"st0">and</span> for resolv.conf<i><br>> the va= lue is nameserver=20 <a href=3D"http://202.78.97.41" target=3D"_blank" onclick=3D"return top.js.= OpenExtLink(window,event,this)">202.78.97.41</a><br>></i><br><br>try rem= oving the line "nameserver ...."<br><br>search <a href=3D"http://= ourcompany.com" target=3D"_blank" onclick=3D"return top.js.OpenExtLink(wind= ow,event,this)"> ourcompany.com</a><i><br>><br>> <span id=3D"st" name=3D"st" class=3D"= st0">and</span> for /etc/sysconfig/network<br>> networking=3Dyes<br>>= hostname=3Dlocalhost.localdomain<br>><br></i></font></div></span></div>= <span class=3D"ad"> <p> =09=09</p><hr size=3D"1"> <b>Yahoo! Personals</b><br>=20 Single? There's someone we'd like you to meet.<br>=20 Lots of someones, actually. <a href=3D"http://us.rd.yahoo.com/evt=3D36108/*= http://personals.yahoo.com+%0A" target=3D"_blank" onclick=3D"return top.js.= OpenExtLink(window,event,this)">Yahoo! Personals</a> <p></p></span><br>_________________________________________________________= <br>Philippine Linux Users' Group (PLUG) Newbie Mailing List<br><a onclick= =3D"return top.js.OpenExtLink(window,event,this)" href=3D"mailto:plug-newbi= [email protected]"> [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><br clear=3D"all"><br>-- <br>Regards,<br>Mark Quitoriano, CCNA<br><br>F= an the flame...<br><a href=3D"http://www.spreadfirefox.com/?q=3Duser/regist= er&r=3D19441">http://www.spreadfirefox.com/?q=3Duser/register&r=3D1= 9441</a> ------=_Part_5388_23614961.1133866472076-- --===============1495536043== 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 --===============1495536043==--