View Full Version : ABF's l33t Ubuntu Breezy Thread
We all know i am an ubuntu whore. But its been long time no ubuntu, so i installed it again last night. Now I sit here and configure crap.
Install went fine, everything worked. Well..almost.
step 1: Install Automatix
http://ubuntuforums.org/showthread.php?t=66563
setup all the basics, all the good stuff :)
now that the general setup was out of the way, it was FGLRX time. Malkomer, an ubuntuforums staff member has the same lappy as i do, and his howt0 was top notch.
so step 2: install fglrx (latest)
http://ubuntuforums.org/showthread.php?t=78466
then i fixed a known bug in the fstab where windows partition doesn't mount correctly. used ubuntuguide.org's "how to mount windows on bootup" section to walk me right through that. now i have a purty "Windows" icon on my desktop that takes me to my "C:/"
next i tried giving my grub some life:
http://ubuntuforums.org/showthread.php?t=30341&highlight=grub+background
but that failed, so i rolled back the changes, no biggie, life goes on.
unfortunatly, i did not configure my wifi without the restricted modules before i installed fglrx, so right now i am stuck using my pcmcia card. so next up will be the attempt to get my wireless running. after that rebuilding the kernel and changing my boot script is also on the menu.
:banana: who said you need gentoo to go nuts with customization :dance2:
compiling the kernel is giving me issues i'll work out later.
in the meantime, i used BUM (boot-up-manager) to disable some crap i don't use (like LVM and bluezutils). And, i configured my internal wifi using ndiswrapper just because i am too lazy to build madwifi from source. hey...it works :)
Delvien
01-29-2006, 12:02 PM
Well im a ubuntu whore too, my one and only distro, i started on ubuntu and will die on ubuntu. As for being a whore.. im a Ubuntu Dapper whore :) love for the drake !
i was gonna install drake flight 3, but then last minute i cancelled the download and just dug my breezy cd out of a pile of other crap.
bigtrouble77
02-01-2006, 10:54 AM
So abf, how did the rest of the install go?
not too bad. well, except for the fact taht when i installed the latest fglrx, i had to give up restricted-modules, which contains madiwfi so i was dropped on my ass to use ndiswrapper, which sucks!
so what i think i am gonna do is actually reinstall over the weekend or something and start fresh. i'll keep my madwifi (copy ath_hal and all taht good stuff) from the restricted_modules package, then remove restricted, and then install fglrx. that should fix my issue. man i hate ndiswrapper!
otherwise everything is ok, except for i am having issues compiling the kernel, which is strange, it lets me menuconfig, but then it dies about 1/2 way through the build. i'd really like to remove some of the fat from the kernel.
of course, if i can also remove ubuntu-desktop and install xfce instead....that'd be nice. maybe i'lll try it on my old (current) install first to make sure it comes out clean, so then i dont kill a good fresh install.
Delvien
02-01-2006, 05:10 PM
Dapper rocks btw :)
UPDATE:
i reinstalled fresh. now i have what is called "XUBUNTU"
the process:
1) stick in Breezy (Ubuntu/Kubuntu/Edubuntu) CD (or DVD) and poweron the engines
2) on bootscreen type in "server" and go through the installation as usual.
3) reboot. login as root and do "nano /etc/apt/sources.list"
- uncomment universe
- apt-get update
- apt-get upgrade
4) apt-get install xubuntu-desktop
5) apt-get install gdm
6) reboot
7) ENJOY!
its freaken sweet. its ubuntu without the fat of gnome...its fantastic! love it.
edit:
--------------
installed the basic progs, and codecs. installed fglrx, but teh madwifi fix didn't work. so i figure i'll have to build it from source, since ubuntu doesn't offer a .deb in the repositories AND the restricted-module fix didn't work, and i can't have that package installed together with fglrx for it will corrupt my X.
and of course, i'll probably trim the fat of the kernel a tad later
in any case, using my pcmcia card as of right now because I DONT WANT NDISWRAPPER...it STINKS!
grrr....madiwfi is being difficult.
root@lappy:/usr/src/madwifi-ng# make clean
for i in ./ath_hal ./net80211 ath_rate/sample ./ath ./tools ; do \
make -C $i clean; \
done
make[1]: Entering directory `/usr/src/madwifi-ng/ath_hal'
rm -f *~ *.o *.ko *.mod.c
rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
rm -f ah_osdep.c opt_ah.h hal.o
make[1]: Leaving directory `/usr/src/madwifi-ng/ath_hal'
make[1]: Entering directory `/usr/src/madwifi-ng/net80211'
rm -f *~ *.o *.ko *.mod.c
rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[1]: Leaving directory `/usr/src/madwifi-ng/net80211'
make[1]: Entering directory `/usr/src/madwifi-ng/ath_rate/sample'
rm -f *~ *.o *.ko *.mod.c
rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[1]: Leaving directory `/usr/src/madwifi-ng/ath_rate/sample'
make[1]: Entering directory `/usr/src/madwifi-ng/ath'
rm -f *~ *.o *.ko *.mod.c
rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[1]: Leaving directory `/usr/src/madwifi-ng/ath'
make[1]: Entering directory `/usr/src/madwifi-ng/tools'
rm -f athstats 80211stats athkey athchans athctrl athdebug 80211debug wlanconfig core a.out
make[1]: Leaving directory `/usr/src/madwifi-ng/tools'
rm -rf ./symbols
root@lappy:/usr/src/madwifi-ng# make
Checking requirements... ok.
Checking kernel configuration... ok.
mkdir -p ./symbols
for i in ./ath_hal ./net80211 ath_rate/sample ./ath; do \
make -C $i || exit 1; \
done
make[1]: Entering directory `/usr/src/madwifi-ng/ath_hal'
cp -f ./../hal/public/i386-elf.opt_ah.h opt_ah.h
cp -f ./../hal/linux/ah_osdep.c ah_osdep.c
/usr/bin/uudecode ./../hal/public/i386-elf.hal.o.uu
make -C /lib/modules/2.6.12-9-386/build SUBDIRS=/usr/src/madwifi-ng/ath_hal MODVERDIR=/usr/src/madwifi-ng/ath_hal/../symbols modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.12-9-386'
CC [M] /usr/src/madwifi-ng/ath_hal/ah_osdep.o
LD [M] /usr/src/madwifi-ng/ath_hal/ath_hal.o
Building modules, stage 2.
MODPOST
Warning: could not find /usr/src/madwifi-ng/ath_hal/.hal.o.cmd for /usr/src/madwifi-ng/ath_hal/hal.o
CC /usr/src/madwifi-ng/ath_hal/ath_hal.mod.o
LD [M] /usr/src/madwifi-ng/ath_hal/ath_hal.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.12-9-386'
make[1]: Leaving directory `/usr/src/madwifi-ng/ath_hal'
make[1]: Entering directory `/usr/src/madwifi-ng/net80211'
make -C /lib/modules/2.6.12-9-386/build SUBDIRS=/usr/src/madwifi-ng/net80211 MODVERDIR=/usr/src/madwifi-ng/net80211/../symbols modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.12-9-386'
CC [M] /usr/src/madwifi-ng/net80211/if_media.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211_beacon.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211_crypto.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211_crypto_none.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211_input.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211_node.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211_output.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211_power.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211_proto.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211_scan.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211_wireless.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211_linux.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211_monitor.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211_acl.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211_crypto_ccmp.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211_scan_ap.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211_scan_sta.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211_crypto_tkip.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211_crypto_wep.o
CC [M] /usr/src/madwifi-ng/net80211/ieee80211_xauth.o
LD [M] /usr/src/madwifi-ng/net80211/wlan.o
LD [M] /usr/src/madwifi-ng/net80211/wlan_wep.o
LD [M] /usr/src/madwifi-ng/net80211/wlan_tkip.o
LD [M] /usr/src/madwifi-ng/net80211/wlan_ccmp.o
LD [M] /usr/src/madwifi-ng/net80211/wlan_acl.o
LD [M] /usr/src/madwifi-ng/net80211/wlan_xauth.o
LD [M] /usr/src/madwifi-ng/net80211/wlan_scan_sta.o
LD [M] /usr/src/madwifi-ng/net80211/wlan_scan_ap.o
Building modules, stage 2.
MODPOST
Warning: could not find /usr/src/madwifi-ng/ath_hal/.hal.o.cmd for /usr/src/madwifi-ng/ath_hal/hal.o
CC /usr/src/madwifi-ng/net80211/wlan.mod.o
LD [M] /usr/src/madwifi-ng/net80211/wlan.ko
CC /usr/src/madwifi-ng/net80211/wlan_acl.mod.o
LD [M] /usr/src/madwifi-ng/net80211/wlan_acl.ko
CC /usr/src/madwifi-ng/net80211/wlan_ccmp.mod.o
LD [M] /usr/src/madwifi-ng/net80211/wlan_ccmp.ko
CC /usr/src/madwifi-ng/net80211/wlan_scan_ap.mod.o
LD [M] /usr/src/madwifi-ng/net80211/wlan_scan_ap.ko
CC /usr/src/madwifi-ng/net80211/wlan_scan_sta.mod.o
LD [M] /usr/src/madwifi-ng/net80211/wlan_scan_sta.ko
CC /usr/src/madwifi-ng/net80211/wlan_tkip.mod.o
LD [M] /usr/src/madwifi-ng/net80211/wlan_tkip.ko
CC /usr/src/madwifi-ng/net80211/wlan_wep.mod.o
LD [M] /usr/src/madwifi-ng/net80211/wlan_wep.ko
CC /usr/src/madwifi-ng/net80211/wlan_xauth.mod.o
LD [M] /usr/src/madwifi-ng/net80211/wlan_xauth.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.12-9-386'
make[1]: Leaving directory `/usr/src/madwifi-ng/net80211'
make[1]: Entering directory `/usr/src/madwifi-ng/ath_rate/sample'
make -C /lib/modules/2.6.12-9-386/build SUBDIRS=/usr/src/madwifi-ng/ath_rate/sample MODVERDIR=/usr/src/madwifi-ng/ath_rate/sample/../../symbols modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.12-9-386'
CC [M] /usr/src/madwifi-ng/ath_rate/sample/sample.o
LD [M] /usr/src/madwifi-ng/ath_rate/sample/ath_rate_sample.o
Building modules, stage 2.
MODPOST
Warning: could not find /usr/src/madwifi-ng/ath_hal/.hal.o.cmd for /usr/src/madwifi-ng/ath_hal/hal.o
CC /usr/src/madwifi-ng/ath_rate/sample/ath_rate_sample.mod.o
LD [M] /usr/src/madwifi-ng/ath_rate/sample/ath_rate_sample.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.12-9-386'
make[1]: Leaving directory `/usr/src/madwifi-ng/ath_rate/sample'
make[1]: Entering directory `/usr/src/madwifi-ng/ath'
make -C /lib/modules/2.6.12-9-386/build SUBDIRS=/usr/src/madwifi-ng/ath MODVERDIR=/usr/src/madwifi-ng/ath/../symbols modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.12-9-386'
CC [M] /usr/src/madwifi-ng/ath/if_ath.o
CC [M] /usr/src/madwifi-ng/ath/if_ath_pci.o
LD [M] /usr/src/madwifi-ng/ath/ath_pci.o
Building modules, stage 2.
MODPOST
Warning: could not find /usr/src/madwifi-ng/ath_hal/.hal.o.cmd for /usr/src/madwifi-ng/ath_hal/hal.o
CC /usr/src/madwifi-ng/ath/ath_pci.mod.o
LD [M] /usr/src/madwifi-ng/ath/ath_pci.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.12-9-386'
make[1]: Leaving directory `/usr/src/madwifi-ng/ath'
make -C ./tools all || exit 1
make[1]: Entering directory `/usr/src/madwifi-ng/tools'
gcc -o athstats -g -O2 -Wall -include ../include/compat.h -I. -I../hal -I.. -I../ath athstats.c
gcc -o 80211stats -g -O2 -Wall -include ../include/compat.h -I. -I../hal -I.. 80211stats.c
gcc -o athkey -g -O2 -Wall -include ../include/compat.h -I. -I../hal -I.. athkey.c
gcc -o athchans -g -O2 -Wall -include ../include/compat.h -I. -I../hal -I.. athchans.c
gcc -o athctrl -g -O2 -Wall -include ../include/compat.h -I. -I../hal -I.. athctrl.c
gcc -o athdebug -g -O2 -Wall -include ../include/compat.h -I. -I../hal -I.. athdebug.c
gcc -o 80211debug -g -O2 -Wall -include ../include/compat.h -I. -I../hal -I.. 80211debug.c
gcc -o wlanconfig -g -O2 -Wall -include ../include/compat.h -I. -I../hal -I.. wlanconfig.c
make[1]: Leaving directory `/usr/src/madwifi-ng/tools'
root@lappy:/usr/src/madwifi-ng# make install
sh scripts/find-madwifi-modules.sh /lib/modules/2.6.12-9-386
for i in ./ath_hal ./net80211 ath_rate/sample ./ath; do \
make -C $i install || exit 1; \
done
make[1]: Entering directory `/usr/src/madwifi-ng/ath_hal'
test -d //lib/modules/2.6.12-9-386/net || mkdir -p //lib/modules/2.6.12-9-386/net
strip -S ath_hal.ko
cp ath_hal.ko //lib/modules/2.6.12-9-386/net
make[1]: Leaving directory `/usr/src/madwifi-ng/ath_hal'
make[1]: Entering directory `/usr/src/madwifi-ng/net80211'
test -d //lib/modules/2.6.12-9-386/net || mkdir -p //lib/modules/2.6.12-9-386/net
for i in wlan.o wlan_wep.o wlan_tkip.o wlan_ccmp.o wlan_acl.o wlan_xauth.o wlan_scan_sta.o wlan_scan_ap.o; do \
f=`basename $i .o`; \
strip -S $f.ko; \
cp $f.ko //lib/modules/2.6.12-9-386/net; \
done
make[1]: Leaving directory `/usr/src/madwifi-ng/net80211'
make[1]: Entering directory `/usr/src/madwifi-ng/ath_rate/sample'
test -d //lib/modules/2.6.12-9-386/net || mkdir -p //lib/modules/2.6.12-9-386/net
strip -S ath_rate_sample.ko
cp ath_rate_sample.ko //lib/modules/2.6.12-9-386/net
make[1]: Leaving directory `/usr/src/madwifi-ng/ath_rate/sample'
make[1]: Entering directory `/usr/src/madwifi-ng/ath'
test -d //lib/modules/2.6.12-9-386/net || mkdir -p //lib/modules/2.6.12-9-386/net
strip -S ath_pci.ko
cp ath_pci.ko //lib/modules/2.6.12-9-386/net
make[1]: Leaving directory `/usr/src/madwifi-ng/ath'
(export MODULEPATH=/lib/modules/2.6.12-9-386/net; /sbin/depmod -ae)
make -C ./tools install || exit 1
make[1]: Entering directory `/usr/src/madwifi-ng/tools'
install -d /usr/local/bin
for i in athstats 80211stats athkey athchans athctrl athdebug 80211debug wlanconfig; do \
install $i /usr/local/bin/$i; \
strip /usr/local/bin/$i; \
done
install -d /usr/local/man/man8
install -m 0644 man/*.8 /usr/local/man/man8
make[1]: Leaving directory `/usr/src/madwifi-ng/tools'
root@lappy:/usr/src/madwifi-ng# modprobe ath_hal
root@lappy:/usr/src/madwifi-ng# modprobe ath_pci
WARNING: Error inserting ath_rate_sample (/lib/modules/2.6.12-9-386/net/ath_rate_sample.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting ath_pci (/lib/modules/2.6.12-9-386/net/ath_pci.ko): Unknown symbol in module, or unknown parameter (see dmesg)
root@lappy:/usr/src/madwifi-ng# ifconfig ath0
ath0: error fetching interface information: Device not found
http://ubuntuforums.org/showthread.php?t=75451
http://ubuntuforums.org/showthread.php?t=105437
....beats me whats happening
seablade
02-01-2006, 08:36 PM
You got a problem in your setup of your kernel sources. You get that error on modprobe when the module is compiled against the wrong kernel sources, check and make sure your /usr/src/linux link is pointing to the correct version, and that you are in fact running the exact version you think you are.
Seablade
i know i am running 2.6.12-9-386
and as far as i know i installed kernel-headers-2.6.12-9-386 package....anywho, i'll double check, make sure its good. (not right now, rebooted to windows for some fragging action)
STARTING FRESH:
----------------------
oh thats right. starting fresh. this morning i reinstalled my xubuntu from scratch because i felt it was getting messy. now i am all new. This post will outline my plan over the next few days and into teh weekend on how i am planning to get this sucker going.
The Concept: Transform a full-blown ubuntu install into a light and fast desktop os.
TO-DO List:
1 - install a fresh "Server" installation of Ubuntu or Kubuntu or Edubuntu --- DONE
2 - edit sources.list uncomment the universe. update, and then dist-upgrade --- DONE
3 - apt-get install xubuntu-desktop and gdm --- DONE
4 - remove useless packages (restricted modules included) -- DONE
(edit) 4b -- rebuild kernel (trim off the fat) -- DONE
(edit) 4c -- edit grub.conf so that old kernels (2.6.12-9 (and -10) - 386 don't appear anymore as bootoptions) -- DONE
(edit) 4d -- install BUM and turnoff useless boot-up processes to speed up boot time --- DONE
5 - install latest fglrx drivers following mlomker's howto on ubuntu forums Found here (http://ubuntuforums.org/showthread.php?t=76116&highlight=latest+fglrx) -- DONE
6 - install latest madwifi drivers like this (http://ubuntuforums.org/showthread.php?t=105437&highlight=latest+fglrx) -- INSTALLED (not configured yet)
7 - install required media codecs --- DONE
8 - install applications in a 1 app per task concept. (must keep it light) --- DONE (more or less)
9. custom theme. --- DONE (default xfce theme, changed gdm from Human to xfce default, also fixed gdm background from human brown to xfce blue...tweaked taskbar in xfce)
10. take screenshots and post em up :)
seablade
02-02-2006, 04:38 PM
> 2 - edit xorg.conf. uncomment the universe. update, and then dist-upgrade --- DONE
HehHeh...
Seablade
bigtrouble77
02-02-2006, 04:51 PM
So how does the xubuntu-desktop differ from the standard ubuntu desktop?
> 2 - edit xorg.conf. uncomment the universe. update, and then dist-upgrade --- DONE
you know what i meant. i fixed it.
So how does the xubuntu-desktop differ from the standard ubuntu desktop?
xubuntu-desktop is xfce 4.2
ubuntu-desktop is gnome 2.12
now i must ask for help!
i installed madwifi just fine, when i modprobe ath_pci it comes up just fine.
the issue:
- i need to have ath0 come up during boot-up and to be my primary net device.
any advice?
networking is one part of linux i totaly sux0rz at.
meanwhile i am on my pcmcia card....will go ahead and do the rest of the install process.
....still no wifi.
powernowd should probably also be reworked for best performance, and acpi has to be tweaked to so the battery monitor works correctly.
anyway, in the meantime, here is a screeny:
http://img326.imageshack.us/img326/7024/screen7wo.th.png (http://img326.imageshack.us/my.php?image=screen7wo.png)
seablade
02-02-2006, 09:58 PM
now i must ask for help!
i installed madwifi just fine, when i modprobe ath_pci it comes up just fine.
the issue:
- i need to have ath0 come up during boot-up and to be my primary net device.
any advice?
networking is one part of linux i totaly sux0rz at.
meanwhile i am on my pcmcia card....will go ahead and do the rest of the install process.
Boot.local is definitly an option. I always have to look up the correct way to do things on whatever distro I am on, but boot.local is pretty well common across distros.
I really think Gentoo's method should be adopted across distributions with the rc-update scripts... makes things extremely easy, not only to have it go on bootup, but also to create your own custom runlevels. Ridiculously easy even.
Seablade
Boot.local is definitly an option. I always have to look up the correct way to do things on whatever distro I am on, but boot.local is pretty well common across distros.
I really think Gentoo's method should be adopted across distributions with the rc-update scripts... makes things extremely easy, not only to have it go on bootup, but also to create your own custom runlevels. Ridiculously easy even.
Seablade
didn't quite do that.
i edited my networking/interfaces file, installed ifplugd, reboot...and boom! it works. jesus loves me, i am now on my internal wifi card, lets just hope the signal is pretty good compared to waht i experienced ndiswrapper (which dropped every 5 min or so).
now i am in the home stretch for some final tweaks.
my last major REQUIREMENT is to get the battery monitor working, once thats done, i am set. Then it will be just the little things.
Point is.... i stuck to it and 24 hours later i ahve a perfect linux installation on my system. Its not quite gentoo, but its customized enough to be called "gentoo-esque" and in the heart of it we ahve ubuntu...so that makes me feel that much better :thumbup: :bow: :banana:
found another small bug, and fixed that. xscreensaver daemon wouldn't start on boot, so i had to add a xscreensaver.sh script to init.d that would get that up and running for me. reboot the system and the screensaver now works :)
battery still doesn't work very well....pondering possible solutions still.
also my media buttons don't work, and i can't even configure them, which is strange because ubuntu would not only find them, but correctly set them up out of the box..... not that i use them very often...but still.
vBulletin® v3.6.5, Copyright ©2000-2009, Jelsoft Enterprises Ltd.