globalwarming awareness2007

Setting Network Card FreeBSD

Ketikkan perintah berikut untuk mengetahui network card yang teristall

#dmesg

Command diatas untuk mengetahui harware yang diistall, carilah network card misal xlo dan xl1.atau jalankan berintah berikut:

#ifconfig -a

Commond diatas untuk mengetahui network card yang diistall

Edit file rc.conf (jalankan perintah berikut)

# vi/etc/default/rc.conf

Isilah bagian berikut:

hostname=”xxx.xxx.xxx”
natd_interface=”xl0″ [Ethernet card IP Register]
ifconfig_xl0=”inetxxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx” [IP Register]
ifconfig_xl1=”inetxxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx” [IP Privat--> untuk gateway]
inet_flags=”-wW -l -R 1024″
-wW = di wrap ( tidak langsung ke ftp tapi dibuat ketempat lain )
-l = log
-R 1024 = membatasi koneksi sebesar 1024
defaultrouter=”xxx.xxx.xxx.xxx” [diisi gateway]
firewall_enable=”YES”
firewall_type=”OPEN”
natd_enable=”YES”
netd_flags=”-u”

sendmail_enable=”NONE”

:wq [keluar dan disimpan]

Edit file resolv.conf

#vi /etc/resolv.conf

diisi dengan :

domain uns.ac.id
nameserver xxx.xxx.xxx.xxx [dns]

# shutdown-r [Restart] atau
# reboot



Thank you for reading this post. You can now Leave A Comment (0) or Leave A Trackback.



Leave a Reply

Note: Any comments are permitted only because the site owner is letting you post, and any comments will be removed for any reason at the absolute discretion of the site owner.

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image