Wednesday, August 25, 2010

DLink Wireless USB

Kernel 2.6.33
Product DLink Wireless USB Adapter
OS: Slackware 13.1

-----------

from the command prompt
as user root

wpa_passphrase your_essid your_password
'substitute your wireless lan's name
'as well enter the password

Returned will be a bit of text denoting the wireless information.
open /etc/wpa_supplicant.conf

Locate the sample entry and delete it.
Paste in your wireless information.

Save the file.

wpa_supplicant -Dwext -ira0 -c/etc/wpa_supplicant.conf

In a few moments you'll have a connection.

dhcpcd ra0

Couple more moments you'll have an internet connection.

Tuesday, November 03, 2009

Scripting

------------------------ snip ----------------------
#!/bin/sh
mkdir /tmp/kernel
mkdir /tmp/kernel/boot
cd /usr/src
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.5.tar.bz2
tar vxf linux-2.6.31.5.tar.bz2
ln -s linux-2.6.31.5 linux
cd linux
cp config-huge-smp-2.6.29.6-smp ./.config
echo CONFIG_DRM_I915_KMS=y >> .config
make && make modules && make install INSTALL_PATH=/tmp/kernel/boot && make modules_install INSTALL_MOD_PATH=/tmp/kernel
cd /tmp/kernel
mkdir install
cd install
echo "lilo" > doinst.sh
cd ../
/sbin/makepkg ../kernel-2.6.31.5-i686-1.tgz
/sbin/installpkg /tmp/kernel-2.6.31.5-i686-1.tgz






-------------------- snip ---------------------
#!/bin/sh

#build all the stuff necessary to fix intel

#Globals
FTP=ncftpget

$FTP ftp://ftp.freedesktop.org/pub/mesa/7.5.1/MesaDemos-7.5.1.tar.bz2
$FTP ftp://ftp.freedesktop.org/pub/mesa/7.5.1/MesaGLUT-7.5.1.tar.bz2
$FTP ftp://ftp.freedesktop.org/pub/mesa/7.5.1/MesaLib-7.5.1.tar.bz2


wget http://xorg.freedesktop.org/archive/individual/driver/xf86-video-intel-2.9.1.tar.bz2

mkdir build
cd build
tar vxf ../MesaDemos-7.5.1.tar.bz2
tar vxf ../MesaGLUT-7.5.1.tar.bz2
tar vxf ../MesaLib-7.5.1.tar.bz2

tar vxf ../xf86-video-intel-2.9.1.tar.bz2

cd Mesa*
./configure --prefix=/usr && make && make install DESTDIR=/tmp/Mesa

WhereIam=$PWD
cd /tmp/Mesa && /sbin/makepkg ../Mesa751-i686.tgz
/sbin/installpkg /tmp/Mesa751-i686.tgz

cd $WhereIam
cd ../xf86-video-intel*
./configure --prefix=/usr && make && make install DESTDIR=/tmp/xf86-video-intel

cd /tmp/xf86-video-intel && makepkg ../xf86-video-intel-2.9.1-i686-1.tgz
installpkg /tmp/xf86-video-intel-2.9.1-i686-1.tgz

Saturday, February 07, 2009

GPX Mp3 Player ML648B

Interesting as it was I finally got this MP3 player to be recognized as a flash storage device.

MTP - Media Transfer Protocol

This may be a good idea but I'd rather just drag and drop my music.

On the MP3 player you choose:
1. Settings
2. Online Device
3. Select either MEDIA DEVICE or USB DiSK

Thursday, June 09, 2005

Reason and Common Sense

Believe nothing,
no matter where you read it,
or who said it,
no matter if I have said it,
unless it agrees with your
own reason and your own common sense.

Buddha