Thursday, December 17, 2009

Wicd


The other day I went to visit a friend, and I wanted to connect to some access point... I already knew that the network manager of KDE it's broken... all grayed stuff... so, i'd to use iwlist etc etc...
And my friend looked me as if i were some kind of sick geek :p . later in my house I tried to see why it didn't work, i gave up and tried WICD, works good but keeps asking me root's password and since services such as lighttpd, sshd won't start because net.eth0 wont run at boot :S

Wednesday, December 16, 2009

getting wireless to work...

i had to add this script to the boot in order to make work my wifi connection... rustic lol

the only thing is that when i suspend to ram my notebook i've to run it again ( as root)

ifconfig eth0 down && ifconfig wlan0 10.0.0.18 netmask 255.255.255.0 && ifconfig wlan0 up && iwconfig wlan0 essid cesar-dd && route add default gw 10.0.0.2

menu.lst

default 5

timeout 3

hiddenmenu



title Ubuntu 9.10, kernel 2.6.31-14-generic
uuid 1fe9029a-6642-4f93-9f93-05e63e0e7de2
kernel /boot/vmlinuz-2.6.31-14-generic root=UUID=1fe9029a-6642-4f93-9f93-05e63e0e7de2 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
quiet

title Ubuntu 9.10, kernel 2.6.31-14-generic (recovery mode)
uuid 1fe9029a-6642-4f93-9f93-05e63e0e7de2
kernel /boot/vmlinuz-2.6.31-14-generic root=UUID=1fe9029a-6642-4f93-9f93-05e63e0e7de2 ro single
initrd /boot/initrd.img-2.6.31-14-generic

title Ubuntu 9.10, kernel 2.6.28-16-generic
uuid 1fe9029a-6642-4f93-9f93-05e63e0e7de2
kernel /boot/vmlinuz-2.6.28-16-generic root=UUID=1fe9029a-6642-4f93-9f93-05e63e0e7de2 ro quiet splash
initrd /boot/initrd.img-2.6.28-16-generic
quiet

title Ubuntu 9.10, kernel 2.6.28-16-generic (recovery mode)
uuid 1fe9029a-6642-4f93-9f93-05e63e0e7de2
kernel /boot/vmlinuz-2.6.28-16-generic root=UUID=1fe9029a-6642-4f93-9f93-05e63e0e7de2 ro single
initrd /boot/initrd.img-2.6.28-16-generic

title Ubuntu 9.10, memtest86+
uuid 1fe9029a-6642-4f93-9f93-05e63e0e7de2
kernel /boot/memtest86+.bin
quiet

title Gentoo
kernel /boot/gentoo-kernel root=/dev/sda3 i8042.noloop=1 ro single

xorg.conf

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "aticonfig-Screen[0]-0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
Load "dri2"
Load "glx"
Load "extmod"
Load "dbe"
Load "record"
Load "dri"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"

### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # []
#Option "AccelMethod" # []
#Option "offscreensize" # []
#Option "SWcursor" # []
#Option "ignoreconnector" # []
#Option "forcereduced" # []
#Option "forcedpi" #
#Option "useconfiguredmonitor" # []
#Option "HPD" #
#Option "NoRandr" # []
#Option "RROutputOrder" # []
#Option "DRI" # []
#Option "TVMode" # []
#Option "ScaleType" # []
#Option "UseAtomBIOS" # []
#Option "AtomBIOS" # []
#Option "UnverifiedFeatures" # []
#Option "Audio" # []
#Option "HDMI" # []
#Option "COHERENT" # []
Identifier "Card0"
Driver "radeonhd"
VendorName "ATI Technologies Inc"
BoardName "RS780M/RS780MN [Radeon HD 3200 Graphics]"
BusID "PCI:1:5:0"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:5:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

make.conf

USE="X gtk gnome kde acpi alsa apm -bluetooth branding cddb cdr css cups dbus /
hal dri dvdr encode exif firefox gpm gstreamer gtk hddtemp lm_sensors /
-ieee1394 multilib nls nptl openal opengl plasma qt4 samba rdesktop sdl /
smp mmx sse2 unicode v4l2 usb wifi win32codecs wxwidgets xcomposite /
xulrunner -fortran mysql qt3support sql svg webkit png mng consolekit /
jpeg javascript imagemagick mbox evo mime pdf msn java embedded cupsddk /
snmp ppds"

CHOST="x86_64-pc-linux-gnu"


CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"

CXXFLAGS="${CFLAGS}"


PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
DISTDIR=/usr/portage/distfiles

FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\""
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\""

SYNC="rsync://rsync.gentoo.org/gentoo-portage"
PORTAGE_RSYNC_RETRIES="3"
MAKEOPTS="-j3"
FEATURES="ccache parallel-fetch usersandbox"

CCACHE_SIZE="2G"


PORTAGE_ELOG_CLASSES="log warn error"







LINGUAS="en es"
VIDEO_CARDS="radeon radeonhd"

cpuinfo

processor : 0
vendor_id : AuthenticAMD
cpu family : 17
model : 3
model name : AMD Athlon(tm) X2 Dual-Core QL-65
stepping : 1
cpu MHz : 1050.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch osvw skinit
bogomips : 4199.75
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor : 1
vendor_id : AuthenticAMD
cpu family : 17
model : 3
model name : AMD Athlon(tm) X2 Dual-Core QL-65
stepping : 1
cpu MHz : 1050.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch osvw skinit
bogomips : 4189.57
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate