مشاكل تمس خصوصية الشعب الكويتي في برنامج انتخب 2012

السلام عليكم ورحمه الله وبركاته

وصلتني رساله خطيرة جدا تقول بان هناك برنامج تم انتاجه مؤخرا للايفون وتم وضعه في الآب ستور

حيث يقوم هذا البرنامج في عرض معلومات المواطنين بغير اذنهم بمجرد البحث عن الاسم او جزء من الاسم

لذا قررت تجربته والتعرف اكثر تقنيا على هذا البرنامج وماهي الخطورة التي وقع فيها

البرنامج يدعى انتخب 2012

واتضح بعد الاستخدام انه ينتهك الخصوصية، فالمعلومات التي يظهرها البرنامج (المنطقة والوظيفة والاسم الكامل ورقم الجنسية والدائرة) لا شك انها معلومات خاصة

واتضح ايضا ان البرنامج يتعامل مع الموقع q8forlife.com

والآن يأتي السؤال: من اين حصل صاحب الموقع على معلومات المواطنين؟

قمت بكتابة تقرير كامل يمكنك تحميله هنا

تحميل

وقمت بكتابة سكربت بالبايثون يقوم بالبحث عن الاسم المعطى واخراج المعلومات من موقع q8forlife.com

اثباتا لما اقول

اضغط هنا للنظر الى السكربت

LinkShift, my new URL shortening service

Hi. I was bored and wanted to code something in PHP, so I wrote this little URL shortening service. The code is available at Github. It needs some enhancements. Anybody is welcome to improve it :D

http://1sh.me

سياسة الاستخدام الظالم في الكويت

قررنا انا و الاخوه والأخوات المدونين الكويتيين القيام بحملة ضد الانترنت المحدود , وبما انه زمن الثورات قررنا القيام بثورة انترنتية ضد الانترنت المحدود تحت حجة “الاستخدام العادل ” فنحن المدونين نرفض رفضا تاما القيام بمثل هذه الممارسات اللتي تسلب من المشترك او المستخدم حرية استخدام للانترنت بالشكل المتعارف عليه في كل دول العالم , نحن ندفع في الكويت اسعار خيالية من اجل توفير خدمة انترنت ذات استخدام عادل بكل ماتحمله الكلمة من معنى , فالأستخدام العادل معناه ان يكون الانترنت غير محدود وغيرد مقيد بحجم ما , ولايجب ان افوت الفرصه للحديث عن ارتفاع اسعار الانترنت في دولة الكويت , فالاسعار هنا فعلا خيالية ومبالغ فيها , والمقابل خدمة محدوده جدا وغير عادلة للاسف نحن في زمن الانترنت وفي عام ٢٠١١ لايكاد يوجد شخص في الكويت الا ويستخدم الانترنت , وقد دخل الانترنت في جميع الاشياء سواء الهواتف النقالة والكمبيوترات وحتى الاتصالات اليومية والمراسلات بين الاشخاص , فمن هنا نعلن نحن المدونين الكويتيين عن رفضنا القطعي والتام لما يسمى بالانترنت المحدود

ونطالب كل من يملك القرار بالتدخل بأسرع وقت ممكن لوقف هذي المهزلة ، وبناء على كلام النائب الفاضل أحمد السعدون الذي أقر بأن شركات الإنترنت ( غير مرخصة ) فنطلبه و بقية الشرفاء بالإسراع في وقف هذا العبث

هذا مجرد موضوع للتذكير !! وإن لم تتوقف الشركات عن سياساتها واسعارها المبالغ بها ، فسنقوم بكشف كل الأوراق ومن له حق القضاء سينصفه بدون شك

الموضوع الاصلي من موقع هورنت ولمتابعه كل ما يتعلق بموضوع سياسه الاستخدام الظالم بالكويت على الرابط

http://q8cap.webs.com

ولرؤيه ارشيف كامل لكل التغريدات المتعلقه بسياسه الاستخدام الظالم

http://q8cap.com

والى من يريد رفع القضايا ضد الشركات الرجاء ارسال صورة للعقد على الايميل

q8capping@gmail.com

The story of Sony breach

A lot of my friends are asking me that they can’t play online in PS3 anymore and thinking it’s a little glitch in Sony’s servers. I’m surprised that they didn’t read anything online on the new Sony breach till now. What the hack?

Long Story Short

  1. Geohot jailbroken PS3
  2. graf_chokolo publishing the documents of his reverse engineering of PS3 platform
  3. Hackers along with Geohot wrote a custom firmware for PS3 that accepts playing pirated games
  4. People started to jailbreak their PS3s and torrent games online in torrent indexing websites
  5. Sony sued Geohot and asked German police to raid graf_chokolo’s house
  6. Geohot gave up to Sony
  7. Hackers standed up to Geohot and launched a notorious DDoS attack on Sony’s PSN
  8. Sony’s PSN went down for weeks and nobody is able to play online
  9. Hackers hacked Sony’s servers three times and stole millions of customers data including CCs

My recommendations to Sony

First, they have to let hackers run custom firmwares on their own consoles. Because they have bought the console and hence they can do whatever they like with their own bought hardware. Second, Sony should not sue Geohot because he did nothing wrong. He is experimenting with his own PS3 device and published information informing people about what he found. Also, Sony should not raid graf_chokolo for the same reason. If Sony wants to sue someone, they should sue the games piraters who are playing games for free and not paying money for it. They’re the ones who are violating the laws and not Geohot nor graf_chokolo. So don’t blame hackers when they attacked ya Sony!

Sony should upgrade all running softwares on their servers to patch the known security holes. Plus, increasing the number of servers of PSN. In other words, scale up the datacenter of PSN so no other DDoS attack will get it down.

My last advice to Sony is that they have to fire the servers’ managers and the CEO

My recommendations to Sony customers

Just boycott Sony. They don’t deserve the money you spend on them. They didn’t spend one dollar protecting your data. Now, all of your data is in the hands of hackers. Can Sony do anything to protect you ?

My thoughts on credit and software development effort

All what is written here represent my own ideas on how credit should be given and what is the relationship between credit and software development effort. Credit is telling the truth and thanking and acknowledging the work done by someone. Talking specifically about software effort, developers want to get credit for the work they do. That’s why software licenses like BSD appeared to save the effort put on a particular component.

Ideas get introduced by ‘Ideas introducers’ and get implemented by ‘Ideas implementers’

I’m here dividing the work done on an idea into two groups. Ideas introducers introduce the idea in a conference to the public or for friends in private. Ideas implementers are usually companies who implement these ideas from which they create products. Ideas introducers owns the idea, implementers don’t. Introducers take the most credit because they’re the original thinkers who visualized the idea in heads. Implementers take partial credit for the effort they did. Company X cannot sue company Y because both of them are implementers. The ownership should be given to the introducer. So, giving Apple the credit as if it were the point-and-click windowed system idea introducer is wrong! because Xerox PARC are the introducers and Apple are implementers. So do Microsoft.

Ideas that get popular become ‘standard’

Let’s talk about cars a little. Can BMW sue Mercedes if BMW created car before Mercedes did ? definitely no. It’s not a ‘who runs faster’ game here. The car was once before an idea that was introduced by somebody and both BMW and Mercedes are implementers to the idea. So, neither BMW nor Mercedes can sue the other because none of them own the idea.

Ideas that get popular become a standard or a ‘common thing’. A car is a standard and when you say car to any person in the world he’ll know it.

A tablet PC is now a standard because it became popular and when you say tablet PC to anyone he’ll know it. So, giving Apple the credit as if it were the original idea introducer of a tablet PC is wrong because Xerox PARC introduced the tablet PC idea back in 1968 and Apple is an implementer to it.

Portable media players, smartphones and search engines are all standards right now. They’re very popular and anyone on Earth knows them. So, Google can’t sue Microsoft because they made their search engine before Bing. Search engine was an idea anyways and most of the credit should go to the original thinker of it while partial credit go to both Google and Microsoft.

When can we say that company X stole an idea?

Simply, when that company claim the ownership of idea Y while they don’t. They’re implementers and not introducers to the idea. Thus, they’re throwing the credit (and not acknowledging) the work done on idea Y by the original introducer.

Example: Apple stole the idea of point-and-click windowed system computing from Xerox PARC because Xerox PARC are the original owners/introducers of the idea, yet Apple sued Microsoft of stealing this idea claiming the idea is theirs. Hence, Apple threw the credit and the work done by Xerox PARC and not acknowledging them.

“No, Steve, I think its more like we both have a rich neighbor named Xerox, and you broke in to steal the TV set, and you found out I’d been there first, and you said. “Hey that’s no fair! I wanted to steal the TV set!” — Bill Gates

Here is a famous Steve Jobs video admiring “Good artist copy; great artist steal” of Pablo Picasso

Announcing GSearch 1.0

GSearch is a Vim plugin that allows you to search Google from inside Vim. It uses ‘links’ text-based browser to operate the search. Hence, you need to have ‘links’ installed in your box. Download it from here. Or you can modify the script to run ‘lynx’ instead in case you’re using lynx. The script is available at vim.org website. Good luck Googling inside Vim =D

How portable is Android ?

TABLE OF CONTENTS

  1. Introduction
  2. Architectures
  3. Embedded Devices and Chipsets
  4. Other Smartphones
  5. Tablet PCs (iPad)
  6. Conclusion
  7. References

1. Introduction

A lot of people think that Android is just a smart phone, but it is not. Android is an open source operating system based on modified (By Google) Linux kernel that targets small devices like smart phones, tablet PCs, netbooks, e-readers and recently smart TVs. It works on many and many devices today like Desire, Dream, Hero, Legend and Nexus One by HTC, Charm, Droid 2 and Droid X by Motorola, Galaxy S and Galaxy Tab by Samsung, Streak by Dell, Nook by Barnes & Noble and the list is a lot bigger. Because of Android’s open source nature, everyone is contributing and porting it to new architectures, embedded devices, smart phones and tablet PCs.

2. Architectures

Initially, Android was built to work on ARM architecture. Yet, people ported it to work on x86, MIPS32 and Power architectures.

2.1 x86

Chih-Wei Huang and Yi Sun are currently maintaining Android-x86 project that ports Android to x86. See this guy is testing it on his Asus eeePC 701.

2.2 MIPS32

The folks at MIPSAndroid (MIPS Technologies) are working on the port of Android to MIPS32. That’s Jun Kawaguchi is demoing it.

2.3 Power

Freescale partnered with Mentor Graphics to port Android to Power architecture. Don Shin is preseting it here also.

3. Embedded Devices and Chipsets

An embedded device is a device that is controlled by a main core typically a microcontroller and targets specific functions. Android managed to reach embedded devices and the credit goes to the hard workers (Applause).

3.1 Beagle Board

The guys at Embinux did a great job on porting Android to Beagle board. That’s an Android running on Beagle board with a Beagle LCD.

3.2 U8500 chipset

According to Andrea Gallo, ST-Ericsson is working on porting Android to their U8500 chipset.

4. Other Smartphones

4.1 iPhone

As Matt Brian said:

For those who are unaware of what OpeniBoot is, its is an open source realisation of the bootrom on iPhone devices. The implementation of OpeniBoot allows the booting of unsigned code, which means developers are inject their own linux kernels onto Apple devices. The team behind Bootlace use this to inject the Android kernel onto jailbroken handsets, giving users the option to boot into a different OS.

OpeniBoot bring Android to iPhone/iPad.

4.2 Samsung H1

Samsung H1 used to have LiMo OS and people are working to port Android to it.

4.3 HTC Mega

HTC Mega is loaded with Windows Mobile and yet people is porting Android to it. http://www.androidhtcmega.com/

4.4 Meizu M8

Meizu M8 is loaded with Windows CE and got Android ported to it.

5. Tablet PCs (iPad)

As I said earlier OpeniBoot just let your iPhone/iPad run Android. See this.

6. Conclusion

Android OS is being ported to different platforms and different architectures because of its open source nature.

7. References

How to install Gentoo Part 5 (Final)

PREFACE

Sorry for being too late, been as busy as hell lately. I’ll say it again. If you didn’t read Part 4 yet, go and read it.

TABLE OF CONTENTS

  1. What is a bootloader ?
  2. Emerge, configure & install GRUB
  3. Finalize
  4. References

1. What is a bootloader ?

A bootloader is a 512-bytes program that sits in the MBR of the harddisk. It is the program that is responsible of getting your kernel (and hence the operating system) started. Basicly, once you click the power button of your PC, the BIOS is the first thing that get started. It does several hardware checking operations including BIOS POST (Power On Self Test). After the BIOS checks that everything is ok, it copies the first 512-bytes of the harddisk and place them at address 0x7c00 then jump to that address sothat the bootloader starts executing. Every operating system comes with its own bootloader and once you install that OS in your box, it replaces your MBR with its bootloader (that’s why you lose GRUB screen when you dual-boot Windows and Ubuntu with Windows installed after Ubuntu :P ). There are several open source bootloaders available that you can use with Linux such as: GRUB (GRand Unified Bootloader) and LILO (LInux LOader). I prefer GRUB to LILO. So, let’s install GRUB into your MBR.

2. Emerge, configure & install GRUB

In order to install GRUB into your MBR, first you have to emerge it.

emerge grub

Once emerge finishes its work, you have to write a configuration file that GRUB reads and act according to. The file is located at ‘/boot/grub/grub.conf‘. So, let’s open it up with nano.

nano /boot/grub/grub.conf

Now take your time to write the GRUB configuration file. For a quick starter, write this:

# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
# How many seconds to wait before the default listing is booted.
timeout 30

title Gentoo Linux 2.6.34-r1
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.34-gentoo-r1 root=/dev/sda3

# The next four lines are only if you dualboot with a Windows system.
# In this case, Windows is hosted on /dev/sda6.

title Windows 7
rootnoverify (hd0,5)
makeactive
chainloader +1

Now close and save the configuration file (Ctrl+x then Enter). Now let’s place GRUB into your MBR but before that we have to copy the currently mounted filesystem to /etc/mtab:

grep -v rootfs /proc/mounts > /etc/mtab

Now install GRUB:

grub-install –no-floppy /dev/sda

If everything went ok, then GRUB is in your MBR now.

3. Finalize

Wow, you’ve come this far :) . Congratulations, you’ve just installed Gentoo into your box and is ready to be booted from your harddisk. So, let’s reboot and see:

exit
umount /mnt/gentoo/boot /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo
reboot

Another Gentoo box been born. Now, try to install your graphics card driver and install a desktop environment such as: KDE, GNOME, FVWM, XFCE, …, etc.

4. References

Gentoo Handbook <http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1>

How to install Gentoo Part 4

PREFACE

if you didn’t read Part 3 yet, you better go and read it first.

TABLE OF CONTENTS

  1. Download, Configure, Compile and Install Kernel
  2. Configure Filesystem Table
  3. Setting Hostname and Install PC Card Support
  4. Configure System Information
  5. Installing Necessary Tools
  6. References

1. Download, Configure, Compile and Install Kernel

Linux is a kernel only. It is not a complete OS. Richard Stallman tries so hard to pull people toward saying GNU/Linux rather than Linux only. Because Linux itself is a kernel only and does not contain any system application nor user application. In order to boot into Gentoo, you have to download Linux kernel source and install it. We can do so using emerge tool.

emerge gentoo-sources

Doing this, Gentoo will pull the kernel source and put it in ‘/usr/src/linux‘. Now is the time to configure the kernel. Basicly, you can configure the kernel manually or by using the genkernel tool. If you want to configure the kernel automatically using genkernel, then refer to the Gentoo Handbook since I didn’t configured the kernel that way. I’ll go with configuring the kernel manually.

Configuring the kernel is the hardest step you will ever encounter. I repeated this step 5+ times till I get it working optimally with my machine. Before configuring the kernel, you have to know your system hardware. Forunately, there’s a tool called ‘lspci‘ that will list all the devices that is connected to your PCI (Peripheral Component Interconnect). PCI is created by Intel and it is a bus to connect hardware devices to your computer. To use the ‘lspci‘ you have to emerge pciutils. Let’s see your hardware devices:

emerge pciutils
lspci

Take a note of your hardware devices and let’s configure your Linux kernel now:

cd /usr/src/linux
make menuconfig

make menuconfig‘ will open up the very damn big list of Linux kernel options. As I said before, configuring the kernel is the hardest step you’ll encounter. You should choose to enable the options that you want it to be compiled into the kernel and leave the options that you don’t want it to be compiled. But, how to know the options that need to be compiled into the kernel ? Well, you will know some of the options through the hardware devices list you just took a note when you listed the PCI devices. Other options comes from experience, researches and your knowledge. Let me mention two important facts. First, pressing ‘?‘ on an option will bring a help screen to explain what that option for. Second, pressing a spacebar will enable the option ‘*‘ and pressing it again will switch the ‘*‘ to ‘M‘. When an option is enabled by ‘*‘, it is meant to be compiled inside the kernel. While ‘M‘ means that the option will be compiled as a module. Compiling the option inside the kernel will make it run faster but it will crash the whole kernel if it crashes. While Compiling the option as a module will make it run a bit slower but it won’t crash the whole kernel if it crashes plus the kernel can safely restart the module again. This brings up the topic of monolithic kernel and microkernel. I recommend reading this topic in Wikipedia if you’re interested. Happy configuring the Linux kernel and please refer to Gentoo Handbook because there are some important options that should be enabled. Otherwise, Gentoo won’t be able to boot.

If you’re using a USB modem like me and want it to be supported in the kernel, then you probably should enable the option (as a module) USB driver for GSM and CDMA modems located:

-> Device Drivers
-> USB support
-> USB Serial Converter support

Once you finish configuring the kernel, exit the configuration screen and it will prompt you to save. Just click yes. Now, let’s compile the kernel and install the modules you’ve chosen:

make && make modules_install

The modules will be installed in ‘/lib/modules/<kernel_version>‘. Once kernel compilation finishes and modules installed, you got to copy the new kernel to the ‘/boot‘ folder.

cp arch/<your_architecture>/boot/bzImage /boot/kernel-<kernel_version>-gentoo-r1

Fine now. Kernel is ready to be booted (still you need a bootloader for the BIOS to run upon computer start which will run kernel) and modules are installed. The modules won’t be loaded automatically. So, you have to tell the kernel the modules that you want it to load through the file ‘/etc/modules.autoload.d/kernel-2.6‘. The kernel read this file and expect one module per line to load. Apply this command to see the list of all modules installed:

find /lib/modules/<kernel_version>/ -type f -iname ‘*.o’ -or -iname ‘*.ko’ -print | less

Take note of the module names you want to automatically load and remove the extension. Open up nano and write the module names:

nano /etc/modules.autoload.d/kernel-2.6

2. Configure Filesystem Table

Filesystem table is a table that inform Linux kernel what partitions are there to mount, where to mount them, what filesystem that partition has, what are the permissions of that partition and so on. It is located at ‘/etc/fstab‘. So, let’s configure the filesystem table inside your system:

nano /etc/fstab

The syntax of the table is demostrated in the comments of the file. It’s easy. Each line represent the settings for a single partition. Items of the settings are separated by whitespace. Let me show you my filesystem table:

$ cat /etc/fstab | egrep -v ‘^#’
/dev/sdb1 /boot ext2 defaults,noatime 1 2
/dev/sdb2 none swap sw 0 0
/dev/sdb3 / ext3 noatime 0 1
/dev/sr0 /mnt/cdrom auto noauto,user 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0

$

The first column is the partition. The second is the mountpoint (which is where to mount that partition). The third is the filesystem type. The fourth is the options of the mount operation (see the man page of ‘mount‘ to know more about the options). the last two columns are for the dump and the pass numbers. The proc is for the kernel to provide information about your system. The shm is an implementation of the shared memory concept which is a way of communication for the programs.

3. Setting Hostname and Install PC Card Support

Change your Linux hostname by the variable HOSTNAME in the file:

nano /etc/conf.d/hostname

If you want your system to support PCMCIA (PC Cards) then you should install the package ‘pcmciautils‘ through emerge:

emerge pcmciautils

4. Configure System Information

Let’s change the root password now:

passwd

Then choose your favourite (default) editor (through the variable EDITOR):

nano /etc/rc.conf

Then select the proper timezone (Through the variable TIMEZONE, note that it should be the same as the timezone you’ve copied to /etc/localtime):

nano /etc/conf.d/clock

For me, I’ve chosen ‘Mideast/Riyadh89‘.

5. Installing Necessary Tools

First, a system logger. The system logger is a software that logs everything that happens in your system to a log file. There is a variety of system loggers. I prefer syslog-ng:

emerge syslog-ng
rc-update add syslog-ng default

the ‘rc-update‘ will add syslog-ng init script to the run level sothat it will start automatically with kernel boot.

Second, a cron daemon. The cron daemon is a daemon that schedule jobs to run at a certain time/date. (Just like task scheduler you Windows guys). Again, there is a variety of cron daemons out there. I prefer dcron:

emerge dcron
rc-update add dcron default
crontab /etc/crontab

Third, file indexing service sothat you can locate them quickly later on:

emerge slocate

Fourth, filesystem programs and utilities sothat you can manage these filesystems:

emerge xfsprogs reiserfsprogs jfsutils

Fifth, necessary network tools like DHCP client, PPP daemon and internet dialing program (wvdial):

emerge dhcpcd ppp wvdial

If you’re using a USB modem again like me, make sure to install wvdial sothat you can dial your connection out from your USB stick. That’s it for now. Comming up in Part 5, how to install and configure a bootloader sothat you can boot your kernel and start Gentoo from harddisk…

6. References

Gentoo Handbook <http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1>

How to install Gentoo Part 3

PREFACE

if you haven’t already read Part 2, then go and read it before reading this.

TABLE OF CONTENTS

  1. Update Portage Tree
  2. Choose Your Profile
  3. USE Flags
  4. Specify Locales and Set Your Timezone
  5. References

1. Update Portage Tree

Alright, you should be inside your Gentoo right now. Let’s update the Portage tree because the portage snapshot you have downloaded is not up-to-date with Gentoo servers.

emerge –sync

emerge is a command line interface to the Portage system. If you’re behind a firewall that blocks rsync traffic you can use emerge-webrsync.

2. Choose Your Profile

Gentoo developers created something called a profile. the profile instructs Gentoo what sort of operating system you want it to be. When you choose a profile, Gentoo specify default values for important system variables and it locks the system to a certain range of package versions. It’s all maintained by Gentoo developers (Let’s thank their hard work). To see the currently available profiles:

eselect profile list

Doing it in my machine shows:

$ eselect profile list
Available profile symlink targets:
[1] default/linux/amd64/10.0
[2] default/linux/amd64/10.0/desktop
[3] default/linux/amd64/10.0/desktop/gnome
[4] default/linux/amd64/10.0/desktop/kde *
[5] default/linux/amd64/10.0/developer
[6] default/linux/amd64/10.0/no-multilib
[7] default/linux/amd64/10.0/server
[8] hardened/linux/amd64/10.0
[9] hardened/linux/amd64/10.0/no-multilib
[10] selinux/2007.0/amd64
[11] selinux/2007.0/amd64/hardened
[12] selinux/v2refpolicy/amd64
[13] selinux/v2refpolicy/amd64/desktop
[14] selinux/v2refpolicy/amd64/developer
[15] selinux/v2refpolicy/amd64/hardened
[16] selinux/v2refpolicy/amd64/server
$

The profile that has the star ‘*‘ is the currently active profile. You see I’ve chosen a desktop operating system with KDE as a display manager. Now you should choose the profile that suits you by:

eselect profile set <number_of_profile>

From Gentoo Handbook, the default profile is the recommended one, desktop profiles are for desktop machines, server profiles are for server machines, if you want a pure 64-bit environment then choose no-multilib profile (not recommended) and developer profiles are left for Gentoo developers themselves.

3. USE Flags

USE is one of the most powerful creations of Gentoo. It’s a variable set in ‘/etc/make.conf‘ and it consists of keywords through which Gentoo Portage system knows what shape the system should take. By choosing the USE flags you want, you instruct Gentoo about what features should be compiled and supported and what features shouldn’t be compiled and left unsupported. Say for example you want to install ‘unrealircd‘ with ssl support. You just need to set ssl in the USE variable in ‘/etc/make.conf‘ and then emerge unrealircd. Gentoo will handle the rest for you. To see the list of all USE flags supported in Gentoo, go to Gentoo Linux USE variable descriptions. These are the list of all the USE flags handled by Gentoo for all softwares. To see the list of USE flags for a particular software, you can use emerge -vp <package_name> (e.g. emerge -vp unrealircd). You don’t have to choose all of them right now. Personally, I’ve chosen 7 flags which are: “gtk -gnome qt4 kde dvd alsa cdr” back then. Let me show you my current list of USE flags in my current Gentoo:

$ cat /etc/make.conf | grep USE
# These are the USE flags that were used in addition to what is provided by the
USE=”mmx sse sse2 ssse3 gtk -gnome qt4 kde dvd alsa cdr xvmc nvidia extras semantic-desktop threads dbus jpeg nls png slp tiff X ppds zeroconf avahi mdnsresponder-compat hpcups nsplugin odbc java source jce jadetex tk doc usb scanner v4l2 caps gnutls imap smime amr win32codecs bidi”
$

Don’t worry your list will grow up as time goes by. By the way, using a minus sign before a flag will enforce Gentoo to not use that flag.

4. Specify Locales and Set Your Timezone

Locale ? a typo ? no. A locale is a set of parameters that define the language, territory and the encoding that should be used in the user interface. Let’s choose the locale now for later display manager installation. (To see the list of supported locales, see ‘/usr/share/i18n/SUPPORTED‘)

nano /etc/locale.gen

Since I’m from Kuwait but I like my user interface to be English, I’ve chosen locales for English (United States) and for Arabic (Kuwait). Let me show you my locales:

$ cat /etc/locale.gen | egrep -v ‘^#’
en_US ISO-8859-1
en_US.UTF-8 UTF-8
ar_KW ISO-8859-6
ar_KW.UTF-8 UTF-8
$

Once you’ve chosen the locales of your system, you have to generate them by ‘locale-gen‘. Let’s set the timezone for your system now. The list of timezones are located at ‘/usr/share/zoneinfo‘. Just copy the timezone of your country to ‘/etc/localtime‘. I’m from Kuwait so I’ve copied ‘Riyadh89‘ because Riyadh’s timezone is the same as Kuwait’s. Comming up in Part 4 kernel configuration, compilation and installation…

5. References

Gentoo Handbook <http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1>

« Older entries

Follow

Get every new post delivered to your Inbox.

Join 1,001 other followers