"Acer Aspire 5520-5912" NVIDIA Ethernet driver
Technology, Hardware, Software, Systems, Raspberry Pi, Raspberian, Linux, Video, GPU, framebuffer, API, Emacs, IP Networking Visual Computing, video tracking, Linux system administration, Shell scripting, Natural Language Programming, audio signal control
2008-11-28
2008-11-25
DSL+Debian dsl-dpkg.dsl 'apt-get update' default config fix
Working with Damn Small Linux (DSL) packages installed to a hard drive, tried to follow the instructions in the .info file accompanying dsl-dpkg.dsl. The instructions read [in part]:
*** NOTE *** You must run apt-get update first! sudo apt-get update
... got:
dsl@box:~$ sudo apt-get update Err http://archive.debian.org woody/main Packages 404 Not Found Ign http://archive.debian.org woody/main Release Err http://archive.debian.org woody/contrib Packages 404 Not Found Ign http://archive.debian.org woody/contrib Release Err http://archive.debian.org woody/non-free Packages 404 Not Found Ign http://archive.debian.org woody/non-free Release Failed to fetch http://archive.debian.org/debian-archive/dists/woody/main/binary-i386/Packages.gz 404 Not Found Failed to fetch http://archive.debian.org/debian-archive/dists/woody/contrib/binary-i386/Packages.gz 404 Not Found Failed to fetch http://archive.debian.org/debian-archive/dists/woody/non-free/binary-i386/Packages.gz 404 Not Found Reading Package Lists... Done W: Couldn't stat source package list http://archive.debian.org woody/main Packages (/var/lib/apt/lists/archive.debian.org_debian-archive_dists_woody_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://archive.debian.org woody/contrib Packages (/var/lib/apt/lists/archive.debian.org_debian-archive_dists_woody_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://archive.debian.org woody/non-free Packages (/var/lib/apt/lists/archive.debian.org_debian-archive_dists_woody_non-free_binary-i386_Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems E: Some index files failed to download, they have been ignored, or old ones used instead.
... apparently some sort of error messages ...
Checked apt-get config file(s) in /etc/apt and (in /etc/apt/sources.list found
deb http://archive.debian.org/debian-archive/ woody main contrib non-free #deb http://mirror.aarnet.edu.au/debian oldstable main contrib non-free #deb http://mirror.linux.org.au/debian oldstable main contrib non-free #deb http://mirrors.usc.edu/pub/linux/distributions/debian oldstable main contrib non-free
Went and looked at http://archive.debian.org/debian-archive/ - driving down through the site found that the main repository seems to be under an additional directory called 'debian'.
- sudo cp /etc/opt/sources.list /etc/opt/sources.list.ORIG
- sudo vi /etc/opt/sources.list
- Add the path element debian/ to the archive.debian.org URL.
The new /etc/apt/sources.list now looks like this:
deb http://archive.debian.org/debian-archive/debian/ woody main contrib non-free #deb http://mirror.aarnet.edu.au/debian oldstable main contrib non-free #deb http://mirror.linux.org.au/debian oldstable main contrib non-free #deb http://mirrors.usc.edu/pub/linux/distributions/debian oldstable main contrib non-free
Now the command
sudo apt-get update
produces the following output:
dsl@box:~$ sudo apt-get update Get:1 http://archive.debian.org woody/main Packages [1773kB] Get:2 http://archive.debian.org woody/main Release [95B] Get:3 http://archive.debian.org woody/contrib Packages [49.2kB] Get:4 http://archive.debian.org woody/contrib Release [98B] Get:5 http://archive.debian.org woody/non-free Packages [65.7kB] Get:6 http://archive.debian.org woody/non-free Release [99B] Fetched 1888kB in 30s (62.5kB/s) Reading Package Lists... Done dsl@box:~$
... which looks less like an error message and more like we imagine it's supposed to.
2008-11-23
DSL of Unkown Origin
system
Damn Small Linux (DSL) installed to a hard disc partition on this hp pavillion desktop computer. Version of installed DSL is [[unknown]].
sound
The sound is still not working, despite repeatedly trying variations of the [[ALSA install procedure]].
extensions
- Installed Gtk2
- Thunderbird 1.5 Running
- GIMP 1.2.3 Running
locale
thunderbird date format
- International ISO-8601 Date Format on Thunderbird
- Date display format from mozillazine.org
- ConfigDate add-on for Thunderbird [does NOT seem to be compatible with the Thunderbird 1.5 installed on this DSL box]
2008-11-22
photobucket + tinyurl
I used the toolbar button code provided to create a tinyurl button on the toolbar of my browser (Bon Echo [Firefox] on Damn Small Linux [DSL]).
Unfortunately, bookmarks that contain Javascript code for the URL do not automajickally bring in the correct favicon image, so I had to fiddle with it a bit. Here is a link to a screenshot of my browser with the tinyurl "make tinyurl" button installed:
http://tinyurl.com/6c9ga6
consider the differences
http://i27.photobucket.com/albums/c174/piedpiper6996/Teresa-Heinz-Kerry-.jpg http://s27.photobucket.com/albums/c174/piedpiper6996/?action=view¤t=Teresa-Heinz-Kerry-.jpg
libflashplayer dependencies, Damn Small Linux
dsl@box:~$ ldd /opt/firefox-2.0-gtk1/plugins/libflashplayer.so /opt/firefox-2.0-gtk1/plugins/libflashplayer.so: /lib/libc.so.6: version `GLIBC_2.4' not found (required by /opt/firefox-2.0-gtk1/plugins/libflashplayer.so) libstdc++.so.6 => not found libpthread.so.0 => /lib/libpthread.so.0 (0x40a78000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40aca000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40b86000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40b93000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40bdd000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x40c47000) libgtk-x11-2.0.so.0 => not found libgdk-x11-2.0.so.0 => not found libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x40c6f000) libgdk_pixbuf-2.0.so.0 => not found libpangocairo-1.0.so.0 => not found libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x40c8a000) libcairo.so.2 => not found libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x40cc0000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x40cfa000) libdl.so.2 => /lib/libdl.so.2 (0x40cfe000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x40d01000) libnss3.so => not found libsmime3.so => not found libssl3.so => not found libplds4.so => not found libplc4.so => not found libnspr4.so => not found libm.so.6 => /lib/libm.so.6 (0x40d83000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40da5000) libc.so.6 => /lib/libc.so.6 (0x40dae000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40ee1000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40ee9000) libz.so.1 => /usr/lib/libz.so.1 (0x40f00000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0x40f13000) dsl@box:~$
2008-11-12
2008-11-06
Copy Knoppix to HD
# How to set up a "Poor Man's Install" so that the machine boots from a CD # image that's been copied to the hard disk. GRUB is used as the boot loader. # It is assumed that you are booted to Knoppix CD 5.1.1, and ALL HARD DISK # CONTENTS WILL BE ERASED!!! # 0. Switch to root with su - # 1. Partition the hard disk as follows (minimum 20GB hard disk recommended) # 10GB /dev/hda1, type 83 # 2GB /dev/hda2, type 82 # (the rest of the disk) /dev/hda3, type 83 # # determine the disk device name, which is usually /dev/hda for IDE and # /dev/sda for SATA DEVICE=`fdisk -l 2>/dev/null | head -2 | tail -1 | awk '{print $2}' | sed 's/\:$//'` # print warning and confirmation clear echo "This CD will install Knoppix 5.1 on your hard disk." echo "The system will then boot from the hard disk as if you had booted from" echo "the Knoppix CD, also known as a Poor Man's Install." echo echo "WARNING:" echo "ALL EXISTING DATA ON THE HARD DISK $DEVICE WILL BE ERASED BY THIS PROCESS!!!" echo echo -n "Do you wish to continue? (y/n): " read ANSWER if [ "$ANSWER" = "y" -o "$ANSWER" = "Y" ] then : else echo "Installation aborted!" sleep 3 exit fi # clear the old partition table dd if=/dev/zero of=$DEVICE bs=512 count=1 # determine the cylinder size CYL_SIZE=`fdisk -l $DEVICE 2>/dev/null | grep "Units = cylinders" | awk '{print $9}'` # determine the number of cylinders in 10GB SIZE1=`echo "1073741824 * 10 / $CYL_SIZE" | bc` # determine the number of cylinders in 2GB SIZE2=`echo "1073741824 * 2 / $CYL_SIZE" | bc` # partition the disk sfdisk -f $DEVICE <<EOF ,$SIZE1,L ,$SIZE2,S ,,L EOF # 2. Create an ext3 filesystem on the first and third partitions mke2fs -j -m0 ${DEVICE}1 mke2fs -j -m0 ${DEVICE}3 # 3. Create a swap area on the second partition mkswap ${DEVICE}2 # 4. Mount first partition on /media/p1 mkdir /media/p1 mount ${DEVICE}1 /media/p1 # 5. Copy the contents of the Knoppix CD to /media/p1 echo echo "Copying CD contents to hard drive. This will take a few minutes." /bin/cp -af /cdrom/KNOPPIX /media/p1 # remove /media/p1/KNOPPIX/knoppix.sh /bin/rm -f /media/p1/KNOPPIX/knoppix.sh # 6. Create a boot directory on /media/p1 and copy the kernel and initrd # there mkdir /media/p1/boot /bin/cp -af /boot/vmlinuz-2.6.19 /media/p1/boot /bin/cp -af /cdrom/boot/isolinux/minirt.gz /media/p1/boot # 7. Create a directory for GRUB mkdir /media/p1/boot/grub # 8. Populate the GRUB config file. If you require different default boot # options, include them in the kernel line. cat <<EOF > /media/p1/boot/grub/menu.lst default=0 timeout=10 title Knoppix 5.1 (Poor Man's HD install) root (hd0,0) kernel /boot/vmlinuz-2.6.19 ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=normal initrd=minirt.gz nomce loglevel=0 quiet BOOT_IMAGE=knoppix BOOT_IMAGE=linux lang=us fromhd=${DEVICE}1 noeject noprompt initrd /boot/minirt.gz EOF cd /media/p1/boot/grub ln -s menu.lst grub.conf # 9. Install GRUB cd /media/p1 grub-install --root-directory=/media/p1 --no-floppy $DEVICE # 10. Reboot (and remove CD) reboot
Now on Cricket Broadband
Posting this over a local wireless network behind a cricket broadband connection from a Windows Vista machine conntected to the USB dongle, and running Windows' Internet Connection Sharing or wtf it's called ... will connect eth and linksys wifi router to ICS-enabled and connect linux boxen wifi-ly.
Hello KNOPPIX. Insufficient bandwidth to practically d/l OpenSUSE 11 DVD ISO? testing one two three...
linux hack wanted, cheep/chirp
over
2008-11-04
OpenSuSE 11 on Toshiba Satellite
Installed the OpenSuSE 11.0 Linux distribution to a Toshiba Satellite M55-S3512 laptop from the Live/Installer DVD.
Screen Size: 14.1 inches
Weight: 5 lbs
Processor Options: Intel Pentium M,Intel Celeron
Graphics Options: Integrated
Toshiba Support Page for Satellite M55-S3512
Note that the URLs for the Yast online repositories listed in the default Yast configuration are still not right (last dealt with this under SuSE 9.2, iirc) - add the text 'suse/' to the end of the repository path settings to get the online update and software installation functions to work.
There is some OpenSuSE documentation still on the Novell site: Novell Doc: OpenSUSE 11.0 - Table of Contents