September 24, 2009

KDE4 Python based plasmoids problem and Solution

Actually I had problem running some cool widgets in kDE4

I'm now running fedora 10

and I was depressed why this message appears
" Could not create a python Script engine ............ "

so I asked "3am Google" and he answered it ;)

in Bug 497275 - Python based plasmoids under KDE4

the solution was easy just install the right package ;)
yum install kdebase-workspace-python-applet

Done and I'm having fun ...

Now I'll search for the solution for the KDE ruby based widgets :))

August 19, 2009

Linux Session in Suez Canal University

Ismailia LUG was today in the Faculty of Engineering, Suez Canal University, today's session which helded by El Naquib was to introduce the OSS and Open Source culture, in addition to introduction to the Linux operating System,

students tries to use the system, and test how this system is easy to use,

after the session, we have moved to the computer lab to make a small installfest, Installation of ubuntu 9.04 by Alnaquib and Gaber

during the installation, students have asked the question and we've provide the answers,

After the Installation, Shrief gave us a small talk about the LUG philosphy, the Idea of a Linux Community and Open Source Culture.

I myself was excited with the session and the talk, the attendies was interactive, and friendly, and I think they was excited too.

session photos soon

Have Nice time with Linux, and Be in Touch

May 18, 2009

Creating S.M.A.R.T. Goals

when i was surfing the internet i found this article i thought it may beneficial to you as it to me :D :

Creating S.M.A.R.T. Goals

Specific         Measurable    Attainable      Realistic         Timely

Smart Goals

Specific - A specific goal has a much greater chance of being accomplished than a general goal. To set a specific goal you must answer the six "W" questions:

*Who:      Who is involved?
*What:     What do I want to accomplish?
*Where:    Identify a location.
*When:     Establish a time frame.
*Which:    Identify requirements and constraints.
*Why:      Specific reasons, purpose or benefits of accomplishing the goal.

EXAMPLE:    A general goal would be, "Get in shape." But a specific goal would say, "Join a health club and workout 3 days a week."

Smart Goals

Measurable - Establish concrete criteria for measuring progress toward the attainment of each goal you set. When you measure your progress, you stay on track, reach your target dates, and experience the exhilaration of achievement that spurs you on to continued effort required to reach your goal.

To determine if your goal is measurable, ask questions such as......How much? How many? How will I know when it is accomplished?

Smart Goals

Attainable - When you identify goals that are most important to you, you begin to figure out ways you can make them come true. You develop the attitudes, abilities, skills, and financial capacity to reach them. You begin seeing previously overlooked opportunities to bring yourself closer to the achievement of your goals.

You can attain most any goal you set when you plan your steps wisely and establish a time frame that allows you to carry out those steps. Goals that may have seemed far away and out of reach eventually move closer and become attainable, not because your goals shrink, but because you grow and expand to match them. When you list your goals you build your self-image. You see yourself as worthy of these goals, and develop the traits and personality that allow you to possess them.

Smart Goals

Realistic - To be realistic, a goal must represent an objective toward which you are both willing and able to work. A goal can be both high and realistic; you are the only one who can decide just how high your goal should be. But be sure that every goal represents substantial progress. A high goal is frequently easier to reach than a low one because a low goal exerts low motivational force. Some of the hardest jobs you ever accomplished actually seem easy simply because they were a labor of love.

Your goal is probably realistic if you truly believe that it can be accomplished. Additional ways to know if your goal is realistic is to determine if you have accomplished anything similar in the past or ask yourself what conditions would have to exist to accomplish this goal.

Smart Goals

Timely - A goal should be grounded within a time frame. With no time frame tied to it there's no sense of urgency. If you want to lose 10 lbs, when do you want to lose it by? "Someday" won't work. But if you anchor it within a timeframe, "by May 1st", then you've set your unconscious mind into motion to begin working on the goal.

T can also stand for Tangible - A goal is tangible when you can experience it with one of the senses, that is, taste, touch, smell, sight or hearing. When your goal is tangible you have a better chance of making it specific and measurable and thus attainable.

 



Article Source : http://www.topachievement.com/smart.html

February 28, 2009

Tip : Shutting down your system automatically

Welcome again,
this post I've a tip for you, it is how to shut down your system automatically, such operation required a tool in the past when I was operating windows, but now, you can do it without any additional tools, just your system :)

the command is shutdown, and here is the syntax

shutdown -P [time]

this command require root access on the system, and very flexible too, you can use it in many diffrent ways,

here are some examples of using the command:

shutdown -P now
this command will shutdown the system immediately

shutdown -P 10:23
this will shutdown the system on 10:23 AM

shutdown -P 22:23
this will shutdown the system on 10:23 PM

shutdown -P +15
this will shutdown the system after 15 minutes

the command has lot of options you can test it,

that's all for the moment

February 03, 2009

YUM segmentation fault in fedora 10 >>> It's Fix

the Problem

While I was updating my fedora 10. I accidentally restarted my PC.
after restating the PC. I tried to update the packages by package managers it takes too long.
I used the # yum update  command it give me the error message "Segmentation fault" and aborts.

I searched for the solution and found this one.

the reason

this error is a result of a corruption in RPM Database Files located int /var/lib/rpm/
 
how i fixed it

by executing the following commands ( while I'm root )

# rm -f /var/lib/rpm/__db*
# rpm --rebuilddb

It worked for me hope it works for you too ;)

more details about this problem and RPM DB Recovery

RPM DB Recovery in Details (RHEL 3 )

Working With the RPM Database (Fedora)

How to "repair" /var/lib/rpm/Packages

the solution posted here was found in the following link
yum Segmentation fault

January 29, 2009

Tip: Install ATI radeon mobaility 1600

This Problem was sent and reviewed on the LUG Yahoo Group
Go to this link and download the driver.

To compile the driver you will need the source of the
corresponding kernel to be installed. However, recommend to use the proprietary driver included
in the distribution. Mandriva should autodetect the driver if you use
the PowerPack version.



December 15, 2008

HowTo DHCP your Linux machine

Dear IsmailiaLUG members,

Secondly this article is about the DHCP server

Sure first you should to have the DHCP server in your Linux box
If you don't have it ,Use yum command to get it from the repository
other wise Download the source code ,extract it and then use ./configure ,make and make install
Or you simply download rpm from http://freshrpms.net/ or http://rpmfind.net/linux/RPM/

First i'l like to give you a background about What is DHCP SERVER
Dynamic Host Configuration Protocol (DHCP)
Automatically assigns IP addresses and other network configuration information subnetmask, broadcast address, GateWay etc to computers on a network
A DHCP client send a broadcast request to the DHCP server requesting an address

DHCP assignment:

1. Lease Request: Client broadcasts request to DHCP server with a source address of 0.0.0.0 and a destination address of 255.255.255.255. The request includes the MAC address which is used to direct the reply.
2. IP lease offer: DHCP server replies with an IP address, subnet mask, network gateway, name of the domain, name servers, duration of the lease and the IP address of the DHCP server.
3. Lease Selection: Client receives offer and broadcasts to al DHCP servers that will accept given offer so that other DHCP server need not make an offer.
4. The DHCP server then sends an ack to the client. The client is configured to use TCP/IP.
5. Lease Renewal: When half of the lease time has expired, the client will issue a new request to the DHCP server.

Note:
You should to be root to configure and run DHCP server
You Should to have this information
Ethernet ID (eth0 ,eth1,eth2,etc)
IP address ( Server Ip address that connected to the LAN )
Ethernet MAC address ( 00:00:00:0D:11:D4 )

You can know this information as following :
You will know all this information by using this command ( ifconfig -a )

The Magical file here named as " dhcpd.conf "
All work will be with this file " dhcpd.conf " ---> /etc/dhcpd.conf
You can before we start working with dhcpd.conf you can check a sample start up script for the DHCP server.
/usr/share/doc/dhcp-4.X/dhcpd.conf.sample
This file have every thing about DHCP configuration
We can do a tip ,
for easy configuration the file we can copy the sample file to /etc/dhcpd.conf
Using the following command
cp -f /usr/share/doc/dhcp-4.X/dhcpd.conf.sample /etc/dhcpd.conf
then open and modify the /etc/dhcpd.conf this will be easiest to configure
To run DHCP server it's so sample but you should to have background about networking specially ip range

lets start explain what inside the /etc/dhcpd.conf file and how to understand the file
The script will be written as follow

The ddns-update-style parameter
ddns-update-style style;
The style parameter must be one of ad-hoc, interim or none.
The ddns-update-style statement is only meaningful in the outer scope it is evaluated once after reading the dhcpd.conf file,
rather than each time a client is assigned an IP address, so there is no way to use different DNS update styles for different clients.


ddns-update-style none;
ddns-updates off;
option T150 code 150 = string;
deny client-updates;
one-lease-per-client false;
allow bootp;


subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.128 192.168.1.254; # Range of IP addresses to be issued to DHCP clients
interface eth1; #Assign the ethernet eth1 to be the ethernet who connected to LAN
option subnet-mask 255.255.255.0; # Default subnet mask to be used by DHCP clients
option broadcast-address 192.168.1.255; # Default broadcast address to be used by DHCP clients

option routers 192.168.1.1; # Default gateway to be used by DHCP clients
option domain-name "your-domain.org"; #Here to assign a domain name if you have
option domain-name-servers 40.175.42.254, 40.175.42.253; # Default DNS to be used by DHCP clients
option netbios-name-servers 192.168.1.100; # Specify a WINS server for MS/Windows clients.
# (Optional. Specify if used on your network)

# DHCP requests are not forwarded. Applies when there is more than one ethernet device and forwarding is configured.
# option ipforwarding off;

default-lease-time 21600; # Amount of time in seconds that a client may keep the IP address
max-lease-time 43200;

option time-offset -18000; # Eastern Standard Time
# option ntp-servers 192.168.1.1; # Default NTP server to be used by DHCP clients
# option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless you understand Netbios very well
# option netbios-node-type 2;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

# We want the nameserver "ns1" to appear at a fixed address.
# Name server with this specified MAC address will receive this IP.

host ns1 {
next-server ns2.your-domain.com;
hardware ethernet 00:02:c3:d0:e5:83;
fixed-address 40.175.42.254;
}

# Laser printer obtains IP address via DHCP. This assures that the
# printer with this MAC address will get this IP address every time.

host wkstn1 {
hardware ethernet 00:00:00:0D:11:D4;
fixed-address 192.168.1.1;
}
}

---------------
Each bit of information a DHCP server leases to a client is known as an "option."
Some options are considered to be "global," meaning that each DHCP client in the local network will receive that option as part of their lease.
Some options are should to be in the same ip range such as subnet.
subnet 192.168.1.0
For example, the option for the IP address of the default gateway Shold to be as ip range in the local network
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
as a default gateway must live on the same subnet as the client.
the options are considered to be "global,"
option domain-name-servers 40.175.42.254, 40.175.42.253;
as every computer in the network will share the same domain name and will use the same DNS servers.
option domain-name "your-domain.org";

Some DHCP client software requests a lease time.
the server will assign the lease with the
default-lease-time 21600;
But only up to the
max-lease-time 43200;
Both values are in seconds.

This option allow DHCP server to write all of its logging events to the system log file, or /var/log/messages.
log-facility local7;
local7 refers to a locally defined log file


Now we get to the meat of this file, the "subnet declarations." A DHCP server needs to know which network or subnet IDs your network contains.
Additionally, for each network or subnet, it needs to know which "pool" of addresses it is allowed to lease out to the devices on that segment of the network.
It is helpful to sketch out your network ahead of time, so you know which addresses are available for DHCP clients and which addresses are unavailable because they are already statically assigned.
subnet 192.168.1.0 netmask 255.255.255.0 {
}

But here we have a case if we needn't to write all of that
We here have a minimum script to run your DHCP server as well as you need

ddns-update-style none;
ddns-updates off;
option T150 code 150 = string;
deny client-updates;
one-lease-per-client false;
allow bootp;

lease-file-name "/var/lib/dhcpd/dhcpd.leases";
authoritative;

default-lease-time 86400; # 24 hours
max-lease-time 172800; # 48 hours

host wkstn1 {
hardware ethernet 00:00:00:0D:11:D4;
fixed-address 172.1.1.5;
}
subnet 192.168.1.0 netmask 255.255.255.0 {
interface eth1;
range 192.168.1.128 192.168.1.254;
option routers 192.168.1.100;
option domain-name-servers 192.168.1.2 , 192.168.1.1;
}


Hope i success to share my information as well
Please if you have any note about my article You can welcome asking me
Note: all this configuration is based of Fedora
references
http://www.onlamp.com/pub/a/bsd/2003/05/01/FreeBSD_Basics.html?page=1
http://en.wikipedia.org/wiki/Dhcp
http://www.dhcp.org/
http://www.yolinux.com/TUTORIALS/DHCP-Server.html

Thank you
Sherif Sayed

December 08, 2008

HowTo Gateway your Linux machine

Dear IsmailiaLUG,

How are you ... ?

At this days i configure a server(Ofcours Fedora)
The services it should to run is (Gateway,DHCP,DNS,Samba,HTTP,Database)
And in the time i configure this services i'll write howto RUN this services

All i just finished of this services is the Gateway
So that let's start with Gateway machine
Th
e target of gateway here is to make your LAN client connect to the Internet throw your machine

First you need two physical Ethernet in your machine
One of them will connect to ISP and the other one will connect to LAN

eth0 #Connect to your LAN
eth1 #connect to Your modem (ISP)

Now your machine connected to ISP throw eth1
And you have your LAN clients connected to you throw eth0

All we need now is FORWARD packets from LAN (eth0) to World wild(ISP) and back throw my machine
Th
is mation can done by iptables because as you see we need to FORWARD packets from eth0 eth1 to and back

Basically we need to have two sets of rules
*Allow outgoing packets from the LAN (via eth0)
*Allow established connections to return

Note:
I'll explain here each rule of gateway only i'll ignore any other cases
The command starts with iptables ,Be careful don't copy the rule line number

# Always accept loop back traffic it's safe
1- iptables -t filter -A INPUT -i lo -j ACCEPT

# Allow established connections, and those not coming from the outside
2- iptables -t filter -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
3- iptables -t filter -A INPUT -m state --state NEW -i ! eth1 -j ACCEPT

1- iptables -t filter -A FORWARD -i eth1 -o eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT


# Allow outgoing connections from the LAN side.
2 -iptables -t filter -A FORWARD -i eth0 -o eth1 -j ACCEPT


# Masquerade.
1 - iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE


And after you enter this rules in iptables run this commend
/etc/init.d/iptables save
Or
iptables-save

Th
en run this commend for enable routing.
echo 1 > /proc/sys/net/ipv4/ip_forward

#This's the explain of the iptables commends

iptables -t filter -A INPUT -i lo -j ACCEPT
Accept all connections (traffic) come from localhost


iptables -t filter -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
Accept all connection that they status is ESTABLISHED or RELATED
ESTABLISHED and RELATED means the connection requested from my machine and the answer of the request is RELATED or ESTABLISHED connection


iptables -t filter -A INPUT -m state --state NEW -i ! eth1 -j ACCEPT
Accept all NEW connection that not come from eth1

iptables -t filter -A FORWARD -i eth1 -o eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
Accept any ESTABLISHED or RELATED connection that come World wild to eth1 and forward it to eth0

iptables -t filter -A FORWARD -i eth0 -o eth1 -j ACCEPT
Accept any connection come from eth0 forwarded to eth1

iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
MASQUERADE eth1
Source Network Address is eth1
rewrite the Source address in the header of the packet
Forwarding all packets going out from our local network(eth0) to the World Wild (eth1) of the Internet connection.


Note About masquerade :
masquerade target is used only in POSTROUTING chain in nat table
masquerade target as snat target but with a little difference
to use snat you should to have a static ip address
But with masquerade does not require any ip address
masquerade made for working with dynamic ip address

Note:
The all this configured under Fedora distribution

Some references:
http://iptables-tutorial.frozentux.net/iptables-tutorial.html#NATINTRO

http://www.debian.org/doc/manuals/reference/ch-gateway.en.html

http://www.linuxquestions.org/questions/linux-networking-3/gateway-problems-on-fedora-c6-533657/

http://www.debian-administration.org/articles/23
---
Please if you need to ask any thing about gateway you can write me back
Wait for me in DHCP
Thank you
Sherif Sayed

November 01, 2008

iLug Day : feel the freedome

May be this is my first post here but really I'm so happy for this post may be thats because this is our Lug day
Because I'm the last one may talk about Linux due to my little experience with Linux so I'll talk about my small Community of Linux , talk about some persons I think you may not found them a lot in our real world ,they are my lug members ,talking about persons working for the others
they make me feel the real meaning of community , starting from Nasr and shiko ending with Ramy and ahmed soliman the latest Lug members you may see them at last Thursday

Wish to see our small world get wide and wide and I want to tell you that I'm trying to make our first Linux seminar out of Ismailia in El-shorouk ISA may be it is so hard but linux learn me that you must try a lot to arrive

thank you all ,
Nasr, Shiko, Naqib, Khaled, A.Adel, Rahman, Alaa, Ahmed my brother, and all members I may didn't see them till now and of course my dears YASSER and TAHER
and ............ LINUX

Happy new Linux Year, Isamailia LUG Day

Welcome everybody,

Welcome my friends, my linuxmates, my readers, my coworkers, Welcome Every body.
I'm really happy to write this post here on ismailia lug blog, and on Ismailia LUG day, I'll not talk about linux or other related issues, I'll only celebrate, and remember one year of Linux(ing).

In this year I've know lot of friends, meet lot of people and gain lot of experience, I've got the the community work experience, and the clean work on my PC.

Another benefit and the most important one as I think, the friends I've make, kahled, naquib, shrief, nasr, adel, alaa, rahman, taher, yasser, emad (logo composer) ... I think I'll complete the post with my friends form iLUG :D

Linux also help me finding my work career, I'm working as a freelancer developing web applications using LAMP package, and I feel the linux spirit in my work too.

And again linux help me choosing my graduation project, which is "database base visual design tool" which I'll make using NetBeans platform, you can see the project's page HERE.

and today i'm celebrating our LUG day with you and hope you contribute the celebration, and finally
"Linux Change my Life, what about you?!"

August 23, 2008

Photoshop on ubuntu

I have no Word to Say, I just try it, and it finally Work!
Adobe Photoshop on Linux Ubuntu!
Go Ubuntu Go!
Thanks!

August 01, 2008

Why 'Cython' not 'C' ??!

The title is very similar to Erics Raymond article that made me fall in love with my girl (python)

the article was titled as "Why Python not Perl?"
but i will speak about something different



CYTHON : cython is a language that makes writing C extensions for the
Python language as easy as Python itself.
Yes u can write python code and u know that python is interpetred and
compile it with gcc via cython
you can do that as cython supports calling C functions and declaring C
types on variables and class attributes. This allows the compiler to
generate very efficient C code from Cython code.
i hate c syntax and i love python syntax
but i love being compiled person (by using c that i hate its syntax)
speed of c and power of python in cython
so why we do a tour in cython: i will write a tutorial on it in the blog isa
and it will be also a simple python course


July 21, 2008

العدد 4 من مجله مجتمع لينوكس العربي

كالعاده المجله العدد ده مميزه جداً
أنا مش هتكلم علي اللي فيها
بس بجد اللي مش هيقراها هيفوته
كتييييييييرحملها من هنا

July 09, 2008

Hi Russia, Greet from Egypt

Welcome every body, this post is a Greet for my Russian Readers

Добро пожаловать в блоге о Linux пользователей в Исмаилия, Египет
В самом деле, я написал на эту тему, особенно для моей российских читателей
и я надеюсь написать верно русского языка
Я использую "google Переводчик", чтобы получить русский перевод этой теме с тем, если существует какой-либо ошибки, пожалуйста, прости этого.

"Исмаилия LUG" (iLUG) является обычной группой пользователей помогают нам в качестве членов его использовать linux, наиболее известным открытым исходным кодом операционной системы,
Идея блога поступает из старых идея объединить людей, и если орган не проблема, он просит, и другие которые знают решения него ответить,
так что, если много людей принять истинное решение, это решение должно быть опубликовано тем другие пользователи могут его использовать.

это Приглашение для всех вас, чтобы добавить наш блог в избранное,
и надеюсь, что мы полезны для вас,

Спасибо

this is the original Text in English

Welcome to the blog of Linux users in Ismailia, Egypt
In fact, I wrote in this topic, especially to my Russian Readers
and I hope to write true Russian language
I use "google Translator" to get the Russian Translation of this topic so, if there is any mistakes please forgive this.

"Ismailia LUG" (iLUG) is a normal linux Users Group help us as members in it to use linux, the most famous open source operating system,
the Idea of the blog comes from an old Idea to combine people and if any body has a problem, he asks and the other who know the solution answer it,
so if lot of peoples accept true solution, this solution should be published so the others can use it.

this is an Invitation for all you to add our blog to your favorites,
and hope we are useful for you,

Thanks


;) I like the Idea too much and hope you too

July 03, 2008

Run RM Files on Linux

a very common music files format is .rm files,
on linux, .rm files need special handling which not provided with 'ubuntu' by default (I don't know about other distros)

I've found 'RealPlayer' Music Player version for linux provided by Helix , and here, I'll guide you to Install it on Your Ubuntu Machine.

Installing RealPlayer :
1. Download (RealPlayer 11) from this page http://www.real.com/linux
it will download a .bin file (never mind)
2. After download, from bash, log in as system root (I prefer this way) and run the .bin file.
-> su - (optional but prefered)
> enter toor password
-> cd /home//Desktop
-> ./RealPlayer11GOLD.bin
3. then the installation will begin and ask you about the setup location,
I myself have installed it on /etc/Real , you can change the destination or make like me,


Note, Fedora and openSuse users can download the .rpm file from the same page

Hope I help someone
Salam

June 13, 2008

Ubuntu DVD as Repositories Source

few days ago I've Upgraded my 'ubuntu Gutsy' to new 'ubuntu Heron' form DVD,
but I face a problem that the system ask me to insert the DVD when I install some applications,
unfortunately my DVD lost and I've no way install my Application without it, But There was a solution I've know just now.

and that is it:

------- FROM bash ----------------
1. su - (to login as adminstrator, you will need to have root password)
2. nano /etc/apt/sources.list
3. Find the Line with "deb cdrom:[<Distro Desc>]"
if this line commented, then you currently not use the DVD as Repositories Source

(In My Case, It wasn't commented, so I add '#' before it to disable DVD as Source)

------- FROM Synaptic ---------------
1. Setting => Repositories
2. from tab "Ubuntu Software" you can Select the CD-DVD listed in the lower box to Enable the Use of CD-DVD as repository source and press close
3. Press 'Ctrl+R' to reload the packages Information and apply you changes


Hope this help you , and Thanks Naquip

April 24, 2008

ubuntu Hardy born :)

Hello people,
today is ( 24 April 2008 )
ubuntu Hardy released today : All ubuntus can upgrade from the upgrade manager by clicking the Upgrade button


Second; I want to review some new features in ubuntu Hardy, the new child :)

you can see full of the new features on this page:
http://www.ubuntu.com/testing/804rc

let's begin
1- GNOME 2.22

gnome 2.22.1 is herewith lots of new features and improvements:
- version of the Nautilus file manager,
- an international clock applet that can show time and weather information,

2- Linux kernel 2.6.24

3- PolicyKit

PolicyKit allows fine-grained control over user permissions and enhances usability and security,
Again more control on ubuntu

4- Xorg 7.3
new Screen Resolution utility that allows users to dynamically configure the resolution, this will fix my old problem, shiko ;)

With set of new applications:
- Fire Fox 3.0 Beta
- Brasero
- Transmission
- World Clock Applet
- Vinagre
- Inkscape.

And UnInstall :O

and alot.

Hardy is great. Use it
Download Here


April 12, 2008

Control network speed

we can control the speed of the the enthernet card by using the " ethtool "
which allow us to configure Ethernet card on Fedora :)

common options

-s  ---> allows changing some or all settings of the specified Ethernet device. All following options only apply if -s was specified.

speed 10|100|1000 ---> Set speed in Mb/s. ethtool with single argument will show you the supported device speeds.

duplex half|full --> Set full or half duplex mode.

port tp|aui|bnc|mii ---> Select device port.

autoneg on|off ---> Specify if autonegotiation is enabled.

In the usual case it is, but might cause some problems with some network devices, so you can turn it off.

Example :

# ethtool -s eth0 speed 100 duplex full autoneg off

--
Thanks
Mohamed Nasr

March 22, 2008

Linux Arab Community Magazine Vol. 2

The Second Volume of this Magazine is released,
this Issue is really Great and they have fix some Problems that was in the first one.

You can Download it from Here

February 27, 2008

Running Photoshop Under Linux

You can find the full article by press the title of this Post
--------------------------------------------------------
Regards to Ahmed 3adel, WINE and Google :)


Running Adobe Photoshop on Wine

Photoshop 5 through CS2 install and works pretty well on wine! Here are some tips you'll need to run it successfully:

  • * You shouldn't have to copy Photoshop from Windows; just install it under Wine by running its Setup.exe. (To run a .exe under wine, you have to doubleclick it, right click and choose "Run with Wine", or run it from the commandline using the 'wine' command, depending on how your Linux distribution integrates Wine.)
  • * Never use a cracked version of Photoshop.
  • * Never run Wine as root.
  • * Use a recent version of Wine (0.9.54 or later).
  • * Before installing Photoshop, install the Times32 font by downloading and running http://heanet.dl.sourceforge.net/sourceforge/corefonts/times32.exe

  • * The Clone tool uses the ALT key in a way that conflicts with many window managers. Here's how to fix that:
    • - Ubuntu or Fedora: Go to System → Preferences → Windows, and under Movement Key, pick "Super" instead of "Alt".
    • - Kubuntu: Go to the K Menu → System Settings → Look and Feel → Windows, and under Movement Key, pick "Super" instead of "Alt".
    • - Suse with GNOME: Go to Computer → Control Center → Look and Feel → Windows, and under Movement Key, pick "Super" instead of "Alt".
    • - Suse with KDE: Go to the Gecko menu → Favorites → Configure Desktop → Desktop → Window behavior → Window Actions → "Inner Window, Titlebar & Frame", and pick "Meta" instead of "Alt".

  • * Some UI elements might use a too-small font. In CS2, you can fix this with Edit / Preferences / General, and change UI Font Size from Small to Medium.
More "HowTo" available on the Page
here