Charlie Morrison Blog
Linux and other Tech Subjects

 

Home

     About Charlie    Campaign Info

 

 

Kubuntu Feisty Install Procedure

Acer Aspire 5100-3357

C R Morrison

4/4/2007

This is a collection of notes I made for a fresh install of Kubuntu Feisty. This may give you an idea of where to look for a solution for a problem. These notes are incomplete and probably have errors. Use your own judgement in following them. You may not need each step for your instalation. If you find an error or would like to make an addition or subtaction to these notes, please give me a call, or e-mail.  Charlie Morrison  2/28/2008


  1. Install Feisty from ISOs and get updates.

  2. Change user and password using sudo oem-config-prepare

  3. Apt-Get ia32libs, lib32asound2, asound2-dev

  4. disable CD from repositories

  5. Update repositories adding multiuniverse packages

  6. Download latest Wine using Adept (use older version) (wget http://kent.dl.sourceforge.net/sourceforge/wine/wine_0.9.5-winehq-1_i386.deb)

  7. sudo dpkg –force-architecture -i ./wine(your version).deb

  8. install libjack

  9. run winecfg from command line

  10. install thunderbird

  11. install printer

  12. Change Konquerer to emulate IE5.5 as Windows 2000

  13. Go to MicroSoft web site, find IE6 installer and run using wine

  14. Locate and copy urlmon.dll, shdocvw.dll, and shlawapi.dll,msctf.dll,atl.dll,msimtf.dll to windows/system32 directory

  15. Run regsvr.exe for each to register with msimtf.dll being last one

  16. wineboot

  17. start IE6 using wine ./explorer.exe http:www.google.com format

  18. Install Samba, SMB4K, libpam-smbpass,libsmbclient, and tksmb

  19. Map the windows network drive (system-settings,advanced under KDE)

  20. Install wlassistant, ndiswrapper, dhcpd, and ndisgtk

  21. edit /etc/modules for ndiswrapper

  22. Download from Atheros website 5005g driver, unzip, and follow directions to install

  23. get kernel sources for 2.6.17-11 (your kernel)

  24. get sierra driver from Sierra for air card 875

  25. Install vim-full editor

  26. Installed msvbvm60.dll and registered with wine ./regsvr.exe “msvbvm60.dll”

  27. wine reboot

  28. run wine ./WinsockXPFix.exe Download from internet

  29. sudo find / -user 500 -exec chown 1100:211 {} \;

  30. /* Where chown has the format of chown uid:gid */

  31. Download and install Winetools

  32. run wt. Use export WINEVER= " 0.9.38 " to fool version

  33. Install Xdialog

  34. Install msttcorefonts using adept

  35. Install flashplugin-nonfree using adept

  36. Install Openvpn from adept

  37. Edit /etc/X11/xorg.conf to remove references to “wacom” and the references in the server section

  38. Add wine repositories and key to adept. Update wine

  39. Install Jackd using adept

  40. Install Trace Route using synaptic

  41. Install wireshark using synaptic

  42. Install libc6-dev

  43. Fix sound? Latest Alsa drivers (1.0.14) fix this..
    {{{

    wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.14.tar.bz2
    tar -xjf alsa-driver-1.0.14.tar.bz2
    cd ./alsa-driver-1.0.14
    ./configure
    sudo make
    sudo make install


    }}}

  44.  Fix sound 2nd method
    cd /usr/src
	sudo module-assistant update
sudo module-assistant prepare
sudo module-assistant auto-install alsa
sudo shutdown -r now

How to mount network folders on boot-up, and allow all users to read/write

e.g. Assumed that network connections have been configured properly
Network computer's IP: 192.168.0.1
Network computer's Username: myusername
Network computer's Password: mypassword
Shared folder's name: linux
Local mount folder: /media/sharename
sudo mkdir /media/sharename
sudo vi /root/.smbcredentials
  • Insert the following lines into the new file

username=myusername
password=mypassword
  • Save the edited file

sudo chmod 700 /root/.smbcredentials
sudo cp /etc/fstab /etc/fstab_backup
sudo vi /etc/fstab
  • Append the following line at the end of file

//192.168.0.1/linux    /media/sharename smbfs  credentials=/root/.smbcredentials,dmask=777,fmask=777  0    0
  • Save the edited file

  • use mount -a to remount all fstab files
wget http://kent.dl.sourceforge.net/sourceforge/wine/wine_0.9.5-winehq-1_i386.deb
sudo dpkg -i wine*.deb
sudo apt-get install libgtk1.2

wget http://www.sourcefiles.org/Emulators/Microsoft/winetools-0.9jo-III.tar.gz

tar -xf winetools
cd ./winetools-0.9jo-III
sudo ./install

err:module:LdrInitializeThunk "shell32.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"c:\\windows\\system32\\winecfg.exe" failed, status c0000142

Error loading setupx.dll

Bad EXE format for

Error loading advpack.dll

While loading MDAC: error occurred while loading setup engine library

It seems that the installation has failed

apt-get install build-essential


This is the solution for [ACPI: PCI Interrupt Link [LNKA] (IRQs 10 11) *0, disabled] error message in the dmesg file after booting:

acpi=force irqpoll seems to work...
 to add it to all of your kernel entry, open /boot/grub/menu.lst

scroll until you find defoptions=
and append

acpi=force irqpoll

save, quit and the run

sudo update-grub

reboot and enjoy the fix (let's hope it's a final one!)

----------------------------------------------------------------------------------------------------

Change to allow Firefox to open Thunderbird in a hyerlink:

Setting Firefox's email client in Linux

These steps will allow opening your desired email client in Linux when operating in Firefox and using its menus, or when activating an email link on a Firefox page:

1. In Firefox's Location (URL) Bar, enter "about:config" and then press <enter> or click "Go".

2. With the cursor in the body of the resulting page, <right-click> the mouse.

3. From the pop-up menu, select "New".

4. From the next pop-up menu, select "String".

5. In the pop-up dialog box "Enter preference name", enter "network.protocol-handler.app.mailto" (without quotes), and click "OK" (You might wish to cut-and-paste that phrase to ensure correct spelling).

6. In the pop-up dialog box "? network.protocol-handler.app.mailto", enter "/usr/bin/kmail" without quotes [or the actual filesystem location of your desired email client] and click "OK". This should be the Full Path of the program, i.e. "/usr/bin/kmail", not just the path "/usr/bin".

I used mozilla-thunderbird for the complete path name.

Without restarting Firefox, you can test by opening or switching to another tab. from the Firefox top menu select, "File -> Send Link". Your desired email client should open.

If that doesn't happen, redo your steps, ensuring the spelling of your entries is correct, and ensure the actual Full Path of your desired mail client is entered.

----------------------------------------------------------------------------------------------------

How to mount/unmount devices with and change names for dos devices using WINE:

Edit /etc/udev/rules.d/10-local.rules to add the following:

# My own rules file for my own devices

SUBSYSTEMS=="scsi", ATTRS{vendor}=="FUJIFILM", NAME="FujiCamera"

SUBSYSTEMS=="usb", ATTRS{product}=="Belkin Components", NAME="COM1"

This looks for a specific camera and renames it to Fujicamera when plugged in and renames a Belkin USB to RS 232 converter to COM1.

Add a symlink to ~/.wine/dos to COM1 > /dev/COM1

sudo udevcontrol reload_rules

sudo /etc/init.d/udev restart

Can use sudo udevtrigger instead
This is a command to get the udev info for a device (in this case, sda)
udevinfo -a -p $(udevinfo -q path -n /dev/sda)



Charlie Morrison 1776 Lone Eagle Street, Columbus, Ohio  43228   614-851-1100.