Re: networking/internet connection in console mode
jopoy solano <[email protected]> Tue, 6 Dec 2005 19:07:39 +0800
| Newsgroups | gmane.org.user-groups.linux.philippine.newbies |
|---|---|
| Message-ID | <[email protected]> |
--===============0840061944== Content-Type: multipart/alternative; boundary="----=_Part_3165_2550189.1133867259967" ------=_Part_3165_2550189.1133867259967 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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. > > type the following to make sure you got a response from the dhcp server 1. To check if you were assigned an IP #ifconfig 2. To check if you were assigned a default gateway #route -n 3. To check if you were assigned a dns server #cat /etc/resolv.conf 4. If all checks out, try if you could reach google #ping www.google.com hth. 'Jopoy ------=_Part_3165_2550189.1133867259967 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <br><br> <div><span class=3D"gmail_quote">On 12/6/05, <b class=3D"gmail_sendername">= mhay bernardo</b> <<a href=3D"mailto:[email protected]">bernardo_m= [email protected]</a>> wrote:</span> <blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0= px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> <div> <div><font face=3D"Arial" color=3D"#000000" size=3D"2">i copy ifc= fg-eth0 and make antother one and enter the following</font></div> <div><font face=3D"Arial" color=3D"#000000" size=3D"2">i also restarted the= network service. </font></div> <div> </div> <div><font face=3D"Arial" color=3D"#000000" size=3D"2">Now. how do i = know that i already connected to the internet, </font></div> <div><font face=3D"Arial" color=3D"#000000" size=3D"2">How do I check.</fon= t></div> <div> </div></div></blockquote> <div> </div> <div>type the following to make sure you got a response from the dhcp serve= r</div> <div> </div> <div>1. To check if you were assigned an IP</div> <div>#ifconfig </div> <div> </div> <div>2. To check if you were assigned a default gateway</div> <div>#route -n</div> <div> </div> <div>3. To check if you were assigned a dns server</div> <div>#cat /etc/resolv.conf</div> <div> </div> <div>4. If all checks out, try if you could reach google</div> <div>#ping <a href=3D"http://www.google.com">www.google.com</a></div> <div> </div> <div>hth.</div> <div> </div> <div>'Jopoy</div> <div> </div><br> </div><br> ------=_Part_3165_2550189.1133867259967-- --===============0840061944== 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 --===============0840061944==--