Skip to main content

Posts

Enable NFS Mount after Reboot on linux CentOS

perkiraan ilustrasi yang memungkinkan -- pra-kata-kata -- unnecessary mukodimah that needed is telling that we need an opening messege  message for opening article. and here we go i think it's enought for opening :D
--step one-- you need some .... yeah... you know what you need for comforting yourself. Back to topic, the real for what you need is some NFS server (nfs.server.com) or of course, and the client absolutly.  preparation complete and now lets go to next level of this article
--step two-- for this configuration, all you have to do is open your /etc/fstab file. and it's will be something like this : 
# /etc/fstab # Created by anaconda on Tue Apr 25 22:51:16 2017 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # /dev/mapper/VolGroup-LogVol01 / ext4 defaults 1 1 UUID=dd89f8e6 /boot ext4 defaults …
Recent posts

RHCSA Pass... the exam.....................

Setelah perjuangan tiap malem jungkir balik mlumah mengkurep selama sepekan( lebay mode on), akhirnya lulus juga......




mayan buat menuh menuhin cv  dan mumpung gratis gitu...

next step ....................... ???????

#dan akhirnya setelah 3 tahun gak posting, ada juga bahan postingan... :D

AIX Health Check - with nmon

ilustrasi  -- opening --
Lama gak ngeblog susah juga nyari kalimat enaknya. the point is how to collect data from aix. And tool used for this is "nmon".

--need--
basicly we need nmon of course, AIX, and anything that make you comfort :P

--1--
ok lets started, make script with this following command
#!/usr/bin/ksh# brekele.inc # ^_^ /usr/bin/nmon -s 300 -c 288 -fdTPAN -m /nmon_data find /nmon_data -mtime +90 -type f -exec rm -f {} \; and save it ( ex : nmon.sh )
--2--
firstpreparation done, now make it work. Make directory /nmon_data, give it  "x" permission, done ?
the last add to crontab. ex every night
00 00 * * * sh  /mnt/nmon.sh > /dev/null 2>&1 done step one.

-- report--
 download nmon analyzer from here and follow the intruction how to read it :P

-- check $ jajal --
monggo di coba sendiri - sendiri :D

* do with your own risk

swap on android

--why--
tinimbang ngenthong ra nggenah.... just trying improve performa on weak android :D
and do all this "tuto" with your own risk

-- needed--
- kernel support for swap ( if you don't have try to complie your kernel or find enother kernel that support it)
- rooted android
- and make it easy using adb command on your PC

most people make swap partition on their sdcard, and most people say's it slow and can reduce "sd card" life.
 on mine, i use free space on  /data partition ( have 1GB )  and create swap image in it and hope faster than on sdcard.

--creating swap image--
create swap image using dd command ( you can run this command on android or you can run faster on linux PC)
ok swap image created and formated as swap, push image to android phone ( /data/ ).

--turn on swap--
ok, swap allready on /data/swp.img. now turn it on with this command.
busybox swapon /data/swp.img
at this point swap is on ^_^

--bonus--
next let android automatic turn swap ON after reboo…

make it simple "Bash Script for Reverse Tethering android on linux mint "

-- alibi--
just make it  simple as possible
base on this post

-- prepare--
* make sure your device connected to PC
* make sure adb command running properly
* and make usb tethering active on android

--1--
download script from here

--2--
you can disable data connection on your android first,or script will delete default gateway on android
extract and run it


--checking--
akses internet via your android

--note--
if data connection on android active, network service will auto reconect to provider internet and it will replace default gateway with provider gateway.
throught provider gateway mean reverse tethering fail

reverse tethering android on linux mint "Nadia"

--why--
if you want to connect your android to internet even if you doesn't have Data Package.

 --info--
tested on linux mint 14 and maybe,  it will be work on other linux distribution.

*note : kalo kopi sudah di bikin maka mari di lanjutkan.. :D

-- persiapan--
plug you phone's usb and  enable usb tethering android in setting menu. This will assign an IP automatically when the device is added. bow check the IP address on both
PC/laptop Android -- on linux mint --
share your PC/laptop's internet connection, and make it as router with :
>$ sudo iptables -A POSTROUTING -t nat -j MASQUERADE >$ sudo echo 1 > /proc/sys/net/ipv4/ip_forward
-- on android --
 run this command to pass the data internet via PC/laptop
># route add default gw 192.168.42.105 dev usb0 then set you DNS to google dns
># setprop net.dns1 8.8.8.8 -- testing --

open browser and enjoy the show...

*note : this methode can download/install app from android market. if you want to install app, use other market…

adb no permissions error on linux mint 14 "nadia"

when this happen :

Create a file named /etc/udev/rules.d/99-android.rules with the following contents (hex vendor numbers were taken from the vendor list page):
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0e79", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0502", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0b05", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="413c", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0489", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="091e", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", MODE="0666"