Jump to content
FryShadow

Freebsd Installation

Recommended Posts

tak silap, kalau kita set interface tu as DHCP

[code]
ifconfig_rl0="DHCP"
[/code]

ia akan auto config default router. Kalau kita set interface tu as manual, memang kena set di rc.conf. ataupun cara lain in case nak ubah gateway

[code]
shell> route add default ip.add.re.ss
[/code]

:D

Share this post


Link to post
Share on other sites
[quote name='FryShadow' date='20 April 2010 - 12:51 PM' timestamp='1271739112' post='1026472']
tak silap, kalau kita set interface tu as DHCP

[code]
ifconfig_rl0="DHCP"
[/code]

ia akan auto config default router. Kalau kita set interface tu as manual, memang kena set di rc.conf. ataupun cara lain in case nak ubah gateway

[code]
shell> route add default ip.add.re.ss
[/code]

:D
[/quote]

cuba check tgk previous post ..ttg dhcp dah settle itu saya dah tahu..saya tanya bro arafat secara manually.bukan secara dhcp lg

Share this post


Link to post
Share on other sites
[quote name='munir' date='20 April 2010 - 04:10 PM' timestamp='1271751047' post='1026503']
cuba check tgk previous post ..ttg dhcp dah settle itu saya dah tahu..saya tanya bro arafat secara manually.bukan secara dhcp lg
[/quote]


ok kalau manual set ip..

dalam [b]/etc/rc.conf[/b]:

[b]ifconfig_rl0="inet x.x.x.x netmask x.x.x.x"
defaultrouter="gateway_ip"[/b]


edit [b]/etc/resolv.conf[/b]

[b]nameserver dns_server ip_1
nameserver dns_server ip_2
[/b]
restart network:

[b]/etc/netstart[/b]




then try akses internet..

Share this post


Link to post
Share on other sites
[quote name='TRUNASUCI' date='20 April 2010 - 04:44 PM' timestamp='1271753092' post='1026512']
ok kalau manual set ip..

dalam [b]/etc/rc.conf[/b]:

[b]ifconfig_rl0="inet x.x.x.x netmask x.x.x.x"
defaultrouter="gateway_ip"[/b]


edit [b]/etc/resolv.conf[/b]

[b]nameserver dns_server ip_1
nameserver dns_server ip_2
[/b]
restart network:

[b]/etc/netstart[/b]




then try akses internet..
[/quote]
terima kasih bro arafat jadi 2 keadah lah kalau box freebsd as client Lan router/modem

1 ) DHCP from router/modem
2 ) [b]ifconfig_rl0="inet x.x.x.x netmask x.x.x.x" defaultrouter="gateway_ip"[/b]

Share this post


Link to post
Share on other sites
[quote name='munir' date='20 April 2010 - 04:51 PM' timestamp='1271753497' post='1026515']
terima kasih bro arafat jadi 2 keadah lah kalau box freebsd as client Lan router/modem

1 ) DHCP from router/modem
2 ) [b]ifconfig_rl0="inet x.x.x.x netmask x.x.x.x" defaultrouter="gateway_ip"[/b]
[/quote]

yups..

tapi kalau manual iktu method no2, try check /etc/resolf.conf.. maybe ada "nameserver x.x.x.x" maybe takde.. check kalau takde taruk value dns server tu.. kalu tak ip ada tp xleh surf/go to internet :)

Share this post


Link to post
Share on other sites
[quote name='TRUNASUCI' date='20 April 2010 - 05:29 PM' timestamp='1271755761' post='1026524']
yups..

tapi kalau manual iktu method no2, try check /etc/resolf.conf.. maybe ada "nameserver x.x.x.x" maybe takde.. check kalau takde taruk value dns server tu.. kalu tak ip ada tp xleh surf/go to internet :)
[/quote]
ok settle paham dah...

cuma hari itu kita belajar advance buat server as router/dialer/dhcp
itu yang masih tak catch-up lg.

Share this post


Link to post
Share on other sites
[quote name='munir' date='20 April 2010 - 05:31 PM' timestamp='1271755861' post='1026525']
ok settle paham dah...

cuma hari itu kita belajar advance buat server as router/dialer/dhcp
itu yang masih tak catch-up lg.
[/quote]

yup..

pasal dalam 1 hari nak belajo mende2 tuh semua.. nak faham filesystem BSD beza dr yg lain2 pun keliru gak kan?

takpe la slow2.. dah faham nanti satu2 baru la growing one by one try satu2...


actually to this level install pkg pakai pkg_add je dulu.. ports/cvsup apa semua tu kemudian.. tapi kalu2 nak try takpe...:)

Share this post


Link to post
Share on other sites
[quote name='TRUNASUCI' date='20 April 2010 - 05:56 PM' timestamp='1271757382' post='1026529']
yup..

pasal dalam 1 hari nak belajo mende2 tuh semua.. nak faham filesystem BSD beza dr yg lain2 pun keliru gak kan?

takpe la slow2.. dah faham nanti satu2 baru la growing one by one try satu2...


actually to this level install pkg pakai pkg_add je dulu.. ports/cvsup apa semua tu kemudian.. tapi kalu2 nak try takpe...:)
[/quote]
actually update ports/cvsup dah selesai hehe...cuma masih main dgn pkg_add lagi.

Share this post


Link to post
Share on other sites
Maaf off topic tapi masih relate dgn os bsd..

selepas installtion freebsd semua ok.

sometime di HANG pada Bios jadi tak leh reload O/S freebsd. kenapa yer..
adakah board yang problem.

kekadang masa tengah load kernel pun hang..

Share this post


Link to post
Share on other sites
[quote name='munir' date='23 April 2010 - 01:34 AM' timestamp='1271957645' post='1027006']
Maaf off topic tapi masih relate dgn os bsd..

selepas installtion freebsd semua ok.

sometime di HANG pada Bios jadi tak leh reload O/S freebsd. kenapa yer..
adakah board yang problem.

kekadang masa tengah load kernel pun hang..
[/quote]

biasanya hardware bermasalah, mmg sakit le nak run ke apa2 :)..

tp check hardware tu dulu

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...