» Archive for the ‘Linux’ Category

LinuxThursday, November 30th, 2006

Fedora Core 6 - ATI

fedora 6.0 ati

 

Two days ago I finally finished downloading Fedora Core 6, I was very excited because this is my favorite distribution. Installation went fine, but when I logged into my account, I saw something what I didn’t want to see, the same problem which I had on Ubuntu - not properly configured screen resolution. The only proper values for my screen was 1024×768x70Hz and if I changed to 85Hz I could see only 3/4 part of the desktop, however I didn’t have to install desktop effects, because all packages was already installed - AIGLX instead XGL or Beryl. But I want to work in 1024×768x85Hz mode.

On Ubuntu I had to play with something what is called modeline, but I had to know my monitor parameters, This is not a good metho

d because I don’t really know if this parameters are correct, just didn’t want to blow up my monitor. The second way was to install graphic card drivers, that helps all the time (ATI in my case). But this meant that
I had to say goodbye to AIGLX, because it not w

orking with fglrx (and I think Beryl also have problems with fgrlx on Fedora 6)… I had right, after installing ATI drivers the screen resoulution with 85Hz works properly. Everything works fine but I couldn’t install XGL, I think the drivers are properly installed, so I don’t know where the problem is.

How did I install Ati drivers:

First: I did everything what was described here

Next:

aticonfig --initial

and

ati-fglrx-config-display enable

I did some changes in xorg.conf

# Xorg configuration created by system-config-display

  • Section “ServerLayout”
    • Identifier “single head conf iguration”
    • Screen 0 “aticonfig-Screen[0]” 0 0
    • InputDevice “Keyboard0″ “CoreKeyboard”
  • EndSection
  • Section “Module”
    • Load “extend”
    • Load “glx”
    • Load “dri”
  • EndSection
  • Section “InputDevice”
    • Identifier “Keyboard0″
    • Driver “kbd”
    • Option “XkbModel” “pc105″
    • Option “XkbLayout” “pl”
  • EndSection
  • Section “Monitor”
    • Identifier “aticonfig-Moni tor[0]“
    • Option “VendorName” “ATI Proprietary Driver”
    • Option “ModelName” “Generic Autodetecting Monitor”
    • Option “DPMS” “true”
  • EndSection
  • Section “Device”
    • Identifier “aticonfig-Device[0]“
    • Driver “fglrx”
    • BoardName “ATI Technologies Inc RV360 AS [Radeon 9600]“
    • Option “VideoOverlay” “on”
    • Option “AllowGLXwithcompos ite” “true”
    • Option “RenderAccel” “true”
    • Option “AddARGBGLXVisuals” “true”
  • EndSection
  • Section “Screen”
    • Identifier “aticonfig-Screen[0]“
    • Device “aticonfig-Device[0]“
    • Monitor “aticonfig-Monitor[ 0]“
    • DefaultDepth 24
    • SubSection “Display”
      • Viewport 0 0
      • Depth 24
      • Modes “1024×768″ ” 800×600″ “640×480″
    • EndSubSection
  • EndSection
  • Section “DRI”
    • Group 0
    • Mode 0666
  • EndSection
  • Section “Extensions”
    • Option “Composite” “Disable”
  • EndSection

No Comments »

LinuxTuesday, November 7th, 2006

Beryl screenshots

Welcome in the future. Today I’ll show you a few interesting
screenshots of my Ubuntu with the Beryl on board. I met XGL on a SuSE 10.1, which had been using compiz as
a windows manager. The compiz growed up to Beryl and now it kick Vista’s ass, before Vista will be released. Truly amazing and all for free.

Ubuntu 6.06 (drapper) with Gnome

Beryl v0.1.1





















Screenshots captured via Ksnapshot

TRUE SCREENSHOTS NOT RETOUCH

No Comments »

LinuxTuesday, October 31st, 2006

TCPVIEW script

When I work on windows I very often use tcpview (from sysinternals.com) to see all API visible TCP/UDP connections. The main advantage of this application is that it automatically update the list of active connections differently than, for example, netstat command. You don’t need to restart the application or click a refresh button, that is very comfortable. When I work on linux I also need that thing. I didn’t search much for linux version of tcpview but I wrote a script that do the same.

DOWNLOAD: tcpview20060807.tar.gz

Example of use: ./tcpview.sh

1 Comment »

LinuxMonday, October 30th, 2006

IPCOUNT script

It’s time for some linux stuff. Couple of months ago I was learning bash scripting. I had had a few ideas about configuring iptables, blocking ip numbers etc., so I decided to write a tool, that could help me in that task. I especially needed the ipcount tool, something like this - ipcount.

The Suse 10.1, which I was working on that time, has the ipcount, but it worked very slow and has a lots of bugs, so I wrote a bash script that do exactly the same, but faster and with simply results.

DOWNLOAD: ipcount20060807.tar.gz

SOURCE CODE:

Example of use: ./ipcount.sh 1.2.3.4-255.255.255.255

Result:

  • 1.2.3.4/30
  • 1.2.3.8/29
  • 1.2.3.16/28
  • 1.2.3.32/27
  • 1.2.3.64/26
  • 1.2.3.128/25
  • 1.2.4/22
  • 1.2.8/21
  • 1.2.16/20
  • 1.2.32/19
  • 1.2.64/18
  • 1.2.128/17
  • 1.3/16
  • 1.4/14
  • 1.8/13
  • 1.16/12
  • 1.32/11
  • 1.64/10
  • 1.128/9

Very fast, very simple, that’s what I needed…

The script have one bug, the first IP must not equal 0.0.0.0 otherwise you will see error message (division by 0).

No Comments »