FryShadow 90 Report post Posted April 20, 2010 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] Quote Share this post Link to post Share on other sites
budak.baru 0 Report post Posted April 20, 2010 Satu lagi nak tanya, Freebsd ble mix ngan windows + linux partition tak. Quote Share this post Link to post Share on other sites
munir 1 Report post Posted April 20, 2010 [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] [/quote] cuba check tgk previous post ..ttg dhcp dah settle itu saya dah tahu..saya tanya bro arafat secara manually.bukan secara dhcp lg Quote Share this post Link to post Share on other sites
TRUNASUCI 15 Report post Posted April 20, 2010 [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.. Quote Share this post Link to post Share on other sites
munir 1 Report post Posted April 20, 2010 [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] Quote Share this post Link to post Share on other sites
TRUNASUCI 15 Report post Posted April 20, 2010 [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 Quote Share this post Link to post Share on other sites
munir 1 Report post Posted April 20, 2010 [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. Quote Share this post Link to post Share on other sites
TRUNASUCI 15 Report post Posted April 20, 2010 [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... Quote Share this post Link to post Share on other sites
munir 1 Report post Posted April 20, 2010 [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. Quote Share this post Link to post Share on other sites
munir 1 Report post Posted April 22, 2010 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 Share this post Link to post Share on other sites
TRUNASUCI 15 Report post Posted April 23, 2010 [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 Quote Share this post Link to post Share on other sites