Showing posts with label freeBSD. Show all posts
Showing posts with label freeBSD. Show all posts

Tuesday, January 20, 2009

FreeBSD Helper (own version)

6 comments
This helper is for (my) personal use only, and there is no waranty it also work with u, if this helper usefull for some of you, Thats great!
This helper are for post installation phase, for the installation howto itself, u better check this out!
This helper will be updated, (will be syncing with this article , and the best things, i have another choice than the ASCII :P ) .
Last, i dont care if this helper not working for u , suit yourself :)


My Machine (Neo-Tarantula) Information
[y3dips@ /home/y3dips/Desktop]$ uname -a
FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386

[y3dips@ /usr/ports/editors/vim]$ pciconf -lv
hostb0@pci0:0:0:0: class=0x060000 card=0xff311179 chip=0x5a311002 rev=0x01 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'RS400/133 Host Bridge'
class = bridge
subclass = HOST-PCI
pcib1@pci0:0:1:0: class=0x060400 card=0x5a3f1002 chip=0x5a3f1002 rev=0x00 hdr=0x01
vendor = 'ATI Technologies Inc'
device = 'RS480 PCI Bridge'
class = bridge
subclass = PCI-PCI
atapci0@pci0:0:18:0: class=0x01018f card=0xff311179 chip=0x43791002 rev=0x80 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'IXP SB400 Serial ATA Controller'
class = mass storage
subclass = ATA
ohci0@pci0:0:19:0: class=0x0c0310 card=0xff311179 chip=0x43741002 rev=0x80 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'IXP SB400 OHCI USB Controller'
class = serial bus
subclass = USB
ohci1@pci0:0:19:1: class=0x0c0310 card=0xff311179 chip=0x43751002 rev=0x80 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'IXP SB400 OHCI USB Controller'
class = serial bus
subclass = USB
ehci0@pci0:0:19:2: class=0x0c0320 card=0xff311179 chip=0x43731002 rev=0x80 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'IXP SB400 EHCI USB 2.0 Controller'
class = serial bus
subclass = USB
none0@pci0:0:20:0: class=0x0c0500 card=0xff311179 chip=0x43721002 rev=0x82 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'IXP SB400 SMBus'
class = serial bus
subclass = SMBus
atapci1@pci0:0:20:1: class=0x010188 card=0xff311179 chip=0x43761002 rev=0x80 hdr=0x00
vendor = 'ATI Technologies Inc'
device = '? Radeo SB400 = RS480 Southbridge/IDE Controller'
class = mass storage
subclass = ATA
none1@pci0:0:20:2: class=0x040300 card=0xff311179 chip=0x437b1002 rev=0x01 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'OEM Intel Corporation& Microsoft UAA Bus Driver for High Definition Audio'
class = multimedia
isab0@pci0:0:20:3: class=0x060100 card=0xff311179 chip=0x43771002 rev=0x80 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'IXP SB400 PCI-ISA Bridge'
class = bridge
subclass = PCI-ISA
pcib2@pci0:0:20:4: class=0x060401 card=0x00000000 chip=0x43711002 rev=0x80 hdr=0x01
vendor = 'ATI Technologies Inc'
device = 'IXP SB400 PCI-PCI Bridge'
class = bridge
subclass = PCI-PCI
vgapci0@pci0:1:5:0: class=0x030000 card=0xff311179 chip=0x5a621002 rev=0x00 hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'Radeon Xpress 200M (RS410)'
class = display
subclass = VGA
cbb0@pci0:9:1:0: class=0x060700 card=0xff311179 chip=0x14101524 rev=0x01 hdr=0x02
vendor = 'ENE Technology Inc'
device = 'CB-1420 CardBus Controller'
class = bridge
subclass = PCI-CardBus
rl0@pci0:9:2:0: class=0x020000 card=0xff311179 chip=0x813910ec rev=0x10 hdr=0x00
vendor = 'Realtek Semiconductor'
device = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
class = network
subclass = ethernet
ath0@pci0:9:4:0: class=0x020000 card=0x7094144f chip=0x001a168c rev=0x01 hdr=0x00
vendor = 'Atheros Communications Inc.'
device = 'Atheros AR5005G Atheros AR5005G 802.11abg NIC Chipset / TP-Link (TL-WN551G)'
class = network
subclass = ethernet

Post Installation


* Changing user default shell to bash :
#sysinstall --> user management

for bash shell, just point it to (you have to install bash first :P)
/usr/local/bin/bash
* Adding specific user to root group,for "su" command
for user y3dips

#pw user mod y3dips -G wheel
#groups y3dips

*Starting KDE:
Failed to load KDE, using "startkde"
when im trying to load a KDE with start KDE, got error message
kpersonalizer: cannot connect to X server
how to solve, Do in your HOME directory
$ echo "exec startkde" > ~/.xinitrc
$ startx
then define the KDE start wizard (personalizer)

* Error sound when kde loaded
Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such file or directory)
The sound server will continue, using the null output device.
how to solve, Edit /boot/loader.conf, and add
snd_driver_load="YES"
* Configuring wireless network
My home Access point are using WPA, so, to connect to WPA Access point,
u need a wpa_spplicant, which is good, because its already install
So, just as ussual, made a the configuration files
[root@ ~]# vi /etc/wpa_supplicant.conf
network={
ssid="ex1a"
psk="passwordssidnyaharuskeren"
}
Then add the ath0 config to /etc/rc.conf
[root@ ~]# vi /etc/rc.conf
----
#wifi konfiG
ifconfig_ath0="WPA DHCP"
----
[root@ ~]# /etc/rc.d/netif start
Starting wpa_supplicant.
ath0: no link ..... got link
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 192.168.1.1
DHCPREQUEST on ath0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.100 -- renewal in 43200 seconds.
lo0: flags=8049 metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
ath0: flags=8843 metric 0 mtu 1500
ether 00:16:e3:a0:c7:b2
inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255
media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/12Mbps)
status: associated
ssid ex1a channel 6 (2437 Mhz 11g) bssid 00:1e:e5:5f:05:d3
authmode WPA privacy ON deftxkey UNDEF TKIP 3:128-bit txpower 31.5
bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250
roam:rssi11g 7 roam:rate11g 5 protmode CTS burst roaming MANUAL
[root@ ~]# ping yahoo.com
PING yahoo.com (206.190.60.37): 56 data bytes
64 bytes from 206.190.60.37: icmp_seq=0 ttl=46 time=296.738 ms
^C
--- yahoo.com ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 296.738/296.738/296.738/0.000 ms
[root@ ~]#
*Installing firefox 3.0
( Kongueror svck it crashes all the time,
Use portsnap to install (yeah porting way of life .... yay)
#portsnap fetch extract (only for the first use)

[root@ /home/y3dips/Desktop]# portsnap fetch extract
Looking up portsnap.FreeBSD.org mirrors... 2 mirrors found.
Fetching public key from portsnap1.FreeBSD.org... done.
Fetching snapshot tag from portsnap1.FreeBSD.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Sat Jan 17 07:26:54 WIT 2009:
5ea8340e63285ed96223487f5aea3bc633c9233dd40c31100% of 55 MB 24 kBps 00m00s
Extracting snapshot... done.
Verifying snapshot integrity...
--- -trunk ---- (yay... gentoo shows a good example of this :) )
[root@ /home/y3dips/Desktop]# portsnap fetch update
Looking up portsnap.FreeBSD.org mirrors... 2 mirrors found.
Fetching snapshot tag from portsnap1.FreeBSD.org... done.
Ports tree hasn't changed since last snapshot.
No updates needed.
Ports tree is already up to date.
[root@ /home/y3dips/Desktop]#cd /usr/ports/www/firefox3 && make install clean
Got an error when compiling firefox3
/usr/bin/ld: cannot find -lgio-2.0
gmake: *** [libgiofam.la] Error 1
*** Error code 2

Stop in /usr/ports/devel/gio-fam-backend.
*** Error code 1

Stop in /usr/ports/devel/desktop-file-utils.
*** Error code 1

Stop in /usr/ports/www/firefox3.
*** Error code 1
Fix: Reinstalling glib20 again , using
#cd /usr/ports/devel/glib20
#make && make deinstall & make reinstall
Then Compile firefox3 again, Got another error Message
configure: error: Library requirements (cairo >= 1.6.0 freetype2 fontconfig)
Fix: Reinstallingnew version of cairo (make sure you update the port tree)
*** reinstall need pixman, so install pixman first ***
#cd /usr/ports/graphics/cairo
#make && make deinstall && make reinstall
After that install firefox3 again, and Voila ...

*Upgrade to 7.1 ,
as we all know, there are working local root exploit for 7.0 :D
#freebsd-update upgrade -r 7.1-RELEASE
#freebsd-update install

*Installing Flash for Firefox

Since there is no flash plugins for firefox freebsd, so we need t use linux wrapper

install nspluginwrapper & linux flashplayer

#cd /usr/ports/www/nspluginwrapper/
#make install clean

#cd /usr/ports/linux-flashplugin9/
#make install clean
then Add this mount entry to fstab files ,
linproc /usr/compat/linux/proc linprocfs rw 0 0
*Installing SWFDec
# cd /usr/ports/www/swfdec-plugin
# make install clean
check it with typing "about:plugins" in firefox url tab

*Installing ATI driver
#cd /usr/ports/x11-drivers/xf86-video-ati && make install clean
*NTFS-3g support
# cd /usr/ports/sysutils/fusefs-kmod
# make install clean
# cd /usr/ports/sysutils/fusefs-libs
# make install clean
# cd /usr/ports/sysutils/fusefs-ntfs
# make install clean
--- add to rc.conf (load the kernel module)
fusefs_enable="YES"
--- start the module
# /usr/local/etc/rc.d/fusefs start
--- manually mount or add to fstab
# ntfs-3g /dev/device /media/tmp

*Installing FreeNX
# /usr/local/NX/bin/nxsetup --install

Disclaimer: Most of the trick are taken from various sites (from google) and by trial and error ( i mean.. read the error :P)

Saturday, January 17, 2009

Neo Tarantula Bergaya Devil

9 comments
Akhirnya, secara sempurna gw telah selesai juga masukin ruh baru buat Neo Tarantula, Yup, setelah dua hari yang lalu telah ada keputusan bulat untuk meniupkan FreeBSD ke dalam Cakram Hardisknya, maka seharian ini (sabtu), gw sibuk melakukan konfigurasi dan kustomisasi Neo-Tarantula.

Seperti biasanya, karena gw adalah orang yang gampang lupa (sebut saja pelupa), hehehe, makanya gw membuatkan sebuah catatan singkat mengenai pekerjaan gw kali ini (dan lainnya), bagi yang ingin melihat dan (syukur-syukur) mengikutinya silahkan ke sini ,dan mudah-mudahan bisa diupdate terus sejalan bertambahnya umur neo-tarantula.

Catatan tersebut hanya berlaku setelah proses installasi sukses, artinya untuk bagaimana melakukan installasinya sendiri anda bisa merujuk tutorial resmi yang cukup kondusif dari freebsd disini, dan silahkan siap-siap berkutat dengan permasalahan patrisi dan x-server :) (tetapi, jangan terlalu khawatir dengan hal tersebut, karena gw percaya, anda pasti bisa melaluinya :)).

Gw sengaja memilih KDE sebagai desktop environtment hanya karena pengen nyobain superkaramba , boong ding.. hehe :), menggunakan KDE sudah tidak gw rasakan sejak memutuskan ber-Gnome ria sejak 2004 (tepatnya sejak ber-ubuntu setelah meninggalkan keluarga fedora (RH), yang kemudian dilanjutkan ber-gentoo ria), dan rasanya sedikit kangen ber-kde.

Gw mohon maaf apabila bagi sebagian orang, postingan ini sangat amat Basi, tetap mohon di maklumi, karena "suer", ini kali pertama gw install langsung di laptop (bukan vmware, dengan dukungan maksimal Xterm :P).

Tidak ada hal yang begitu spesial, sejak gw merasakan kenyamanan baik dari proses installasi OS sampai proses porting dan installasi aplikasi yang nyaris sama dengan Gentoo (karena memang gentoo-portage lahir setelah Bapaknya gentoo daniel robins merasakan port di freebsd), well jika boleh berpendapat, gw cukup terkesan dengan cara Freebsd menampilkan USE flag (ncurses bow) untuk memudahkan pemilihan oleh user, tetapi gw lebih suka cara gentoo memanage skrip kompilasi dan dependensi dengan "emerge"-nya.

Pokoknya, sekarang waktunya neo-tarantula bergaya Devil dengan portingnya, dan biarkan neo-venom tetap ber-emerge ria dengan gaya pinguin tercepat.

Thursday, January 15, 2009

Neo-Tarantula Goes BSD

6 comments
Di mirror dari sini

"Setelah sembuh dari koma selama beberapa bulan, dan juga setelah berpuyeng-puyeng ria dengan ruh yang akan saya tiupkan kedalam cakram hardisknya, akhirnya saya memilih "freebsd"yang merupakan salah satu varian BSD, untuk menjadi Ruh dari neo-tarantula (http://clog.ammar.web.id/2007/01/new-tarantula.html).

Sebenarnya ini bukan kali pertama saya menggunakan sistem operasi ini, minimal di beberapa mesin yang saya gunakan baik legal dan tidak legal, sengaja atau tidak sengaja pernah ada yang menggunakan Sistem operasi ini (khususnya di negara jepang **dooh**) , tetapi, **sumpeh** ini adalah kali pertama saya install di laptop pribadi :)

its time to hack n play (** not plug n pray**)"

Saturday, May 12, 2007

katr0 (spare a place for newbie)

2 comments


Last time i touch freebsd was in 2004; when i installed it at the office (at the lab) but i dont do anything or playin with it, as i remember after the "shell" showd up (after finishing the installation process) ... wait for a couple minute then we decide to re-install the pc with Redhat 8.0 (gyahh).

Now, (yes its today), I spare my time to install it again (ver 5.4) after copying the ISO from some friends last week. My Arachnids (AMD athlon 1300 MHz, 384 MB of SDRAM, 20 GB of Hardisk) are ready to have another OS besides the "Dapper Drake".

But i have to use special boot options to get successfull booting process at my Arachnids
press 6, when boot options prompt
type "set hw.ata.ata_dma=0" ; To disable DMA for hard drives,
type "boot" ; to boot

after finishing the installation process, just add "set hw.ata.ata_dma=0" to /boot/loader.conf

yes, im late .. just said that i am "katro",
lets see whats next? (looking further about my arpwall project at freeBSD also, While, reading the documentation about beginner in freeBSD, gyahhh .. wakkakakaka)