Re: networking/internet connection in console mode

jopoy solano <[email protected]> Fri, 2 Dec 2005 15:46:58 +0800
Newsgroups gmane.org.user-groups.linux.philippine.newbies
Message-ID <[email protected]>
--===============1494745831==
Content-Type: multipart/alternative; 
	boundary="----=_Part_47658_6507419.1133509618882"

------=_Part_47658_6507419.1133509618882
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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 y=
ou
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

------=_Part_47658_6507419.1133509618882
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/2/05, <b class=3D"gmail_send=
ername">mhay bernardo</b> &lt;<a href=3D"mailto:[email protected]">be=
[email protected]</a>&gt; wrote:</span><blockquote class=3D"gmail_quote=
" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0=
.8ex; padding-left: 1ex;">
<div>i open those three files</div>  <div>ifcfg-eth0</div>  <div>resolv.con=
f</div>  <div>network</div>  <div>&nbsp;</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><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&nbsp;&nbsp; #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><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb=
(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>how ab=
out the ip address? netmask? gateway? do i have to enter the value base on =
our working network current setting.=20
</div></blockquote><div><br>
no need since your ip settings are assigned dynamically <br>
</div><br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid=
 rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>an=
d 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.OpenExtLink(window,ev=
ent,this)">
202.78.97.41</a></div></blockquote><div><br>
try removing the line &quot;nameserver&nbsp; ....&quot;<br>
</div><br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid=
 rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>se=
arch <a href=3D"http://ourcompany.com" target=3D"_blank" onclick=3D"return =
top.js.OpenExtLink(window,event,this)">
ourcompany.com</a></div>  <div>&nbsp;</div>  <div>and for /etc/sysconfig/ne=
twork</div>  <div>networking=3Dyes</div>  <div>hostname=3Dlocalhost.localdo=
main</div>  <div>&nbsp;</div></blockquote></div><br>
hth.<br>
<br>
'Jopoy<br>

------=_Part_47658_6507419.1133509618882--

--===============1494745831==
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
--===============1494745831==--