replace HDD with CF card + CF-to-IDE44 adapter
28 01 2008Comments : Leave a Comment »
Categories : Uncategorized
repair suspend-to-ram
25 01 2008execute
sudo chmod u+s /usr/bin/chvt sudo chmod u+s /bin/fgconsole
it allows regular user to run chvt (change virt. terminal)
in /etc/power/suspend.d
#!/bin/sh
# And remember which console we’re on
fgconsole >/tmp/saved-fg-console
# Change away from X, otherwise it’ll blow up when we POST the video interface
chvt 12
in /etc/power/resume.d
#!/bin/sh
CONSOLE=`cat /tmp/saved-fg-console`
rm /tmp/saved-fg-console
chvt $CONSOLE
/opt/wicd/autoconnect.py
—————————-
Make sure you make the file executable
sudo chmod +x /etc/power/suspend.d/suspend_me.sh
sudo chmod +x /etc/power/resume.d/resume_me.sh
——– also check this
# skaczemy na konsolę chvt 1 # zapis stanu karty vbetool vbestate save > /tmp/state # spać! echo -n mem > /sys/power/state # tu jesteśmy już po przebudzeniu # przeklejone z jakiejś szwabskiej strony, działa, nie ruszamvbetool post; #erzeugt zwar einen segmentation fault, aber ohne geht es nicht # odtwarzamy stan karty sprzed zaśnięcia vbetool vbestate restore < /tmp/state # powrót do grafiki chvt 7 ------check this https://wiki.ubuntu.com/DebuggingKernelSuspend https://wiki.ubuntu.com/UnderstandingSuspend pm-utils powersaved
and “wifi not working”
http://ubuntuforums.org/showthread.php?t=461294
Comments : Leave a Comment »
Categories : Uncategorized
how to hunt memoru hogs
23 01 2008http://www.linuxforums.org/misc/using_top_more_efficiently_3.html
Comments : Leave a Comment »
Categories : Uncategorized
use OpenDNS
23 01 2008main
208.67.222.222
alternate
208.67.220.220
Comments : Leave a Comment »
Categories : Uncategorized
[read] strip down your system
23 01 2008from s
First kill the Beryl. See how big a difference that makes.
Next, for safety’s sake, check your dmesg and /var/log/messages to make sure you don’t have a physical problem (like a bad sector on your drive). I’d then run top and sort by memory usage (shift-m) and keep that running in the background. I’d disable all unecessary services (like httpd).
Don’t expect much for bling on that system if you actually want to get work done. I was on a 586 laptop with 128M ram for a while and XFCE was the solution. I however, did have to do some things to trim down ram usage that I didn’t have to do on a machine since I was running a 200Mhz slackware server. A very good start is to look up suggestions for increasing battery life on a linux laptop–basically, doing things like disabling syslog and any other services (updatedb, beagled) that constantly access your disk in the background help a lot. I also saved a lot of ram by turning off scrollback buffers in my rxvt’s and xterms. Gnome-Term gobbles *titanic* amounts of ram for a shell, and if you go transparent-background with it, that’s the bed you made. Ram ain’t free.
The next most important thing is habits: if you’re used to browsing with a 36 tabs open in firefox, you’re going to swap constantly. You might look into firefox settings like “free memory on minimize”. Other browsers might actually use less ram than FF, check that out. Thunderbird and Evo take *titanic* ram if you’ve got dozens of accounts and thousands of messages. Squirrelmail was the fastest way to read my mail on my cut-down laptop, actually.
Other ways of managing ram is to–once you’ve cut down the services you don’t actually need, configure the ones you use to have short connection timeouts and not to start a bazillion copies. Like Amavis and SpamAssassin and imapd. You can force these to run just one process and not 10, because you’ve prolly only got one other person accessing your server.
I’ve had problems with Beryl pegging my CPUs on 1.7Ghz laptop, I finally just gave it up. I couldn’t get the cpu scaling to reduce the clocking because something in Beryl was polling, which chewed my battery real quick. So I just gave that up. I love Beryl, but it doesn’t actually help me work faster (even tho I’d like to think it does). The same theory goes for desktop applets…gkrellm and docklet thingies spend cycles, too. Go back to top and see what’s hogging your system.
I’m surprised that I was so productive for so long with a 200Mhz with 256M ram. I lived out of fvwm2 and had like eight desktops filled with rxvt windows (but just one browser session) almost all the time. I also had a dedicated modem line. That rocked!
Comments : Leave a Comment »
Categories : Uncategorized
Ubuntu Performance Guides
23 01 2008copy/pasted from Ubuntu Performance Guides
I recently did a switch of Windows to Ubuntu and then upgraded to Fiesty Fawn (7.04) earlier this week. I must say, Ubuntu rocks but has it’s drawbacks. I hate to give Windows any credit when it comes to better performance, but unfortunately out of the box, a Windows XP system for example does perform faster than a default install of Ubuntu. That does not mean Ubuntu cannot be tweaked to boost performance to surpass Windows.
We’ve compiled a list of resources that can be used to improve performance on your Ubuntu operating system.
- Hacking Ubuntu to Improve Performance – This article includes various hacks to boost Ubuntu’s performance, such as viewing running processes, identifying resources, finding process startups, tuning kernel parameters, and speeding up boot time.
- Ultimate Ubuntu performance tweaking guide – Detailed step by step instructions on what to do in order to improve performance on your system.
- Improve Ubuntu Performance – This is an index of threads posted on ubuntuforums.org on how to get the best performance out of your Ubuntu machine.
- Optimizing Desktop Performance – Skip to the section titled Ubuntu Services for Performance Tuning to find some performance tips. Excellent article series covering performance techniques on major flavors of Linux.
- Feisty performance – Fly like a butterfly – A collection of settings used to tune the speed and performance of Kubuntu/Ubuntu Feisty.
- Only Ubuntu Linux – Performance tip for Ubuntu Edgy and Feisty users by simply editing your /etc/hosts file.
- Desktop performance tweaks – Here are a couple of performance tweaks that are nice for desktops/laptops. These tweaks are relatively easy to perform and reasonable safe. Everything you do is on your own risk.
- Improve Performance in Ubuntu Edgy – Tricks and hacks on how to improve the overall performance of your system.
- Ubuntu: 32-bit v. 64-bit Performance – Not specific to system tweaking but a nice article comparing performance on a 32-bit vs. a 64-bit server.
- Best Ubuntu Guide Ever – This guide has everything you need.
- Tweak ubuntu for speed – These tweaks will make your system faster and more responsive without a doubt. Read on to perform the tweaks and enjoy your faster system.
- Ubuntu Customization Guide – About customization, we’re gonna make Ubuntu look and feel the way you want.
- Local DNS Cache for Faster Browsing – Nice article explaining how to use DNS caching to speed up internet browsing on your Ubuntu install.
- Super Fast Internet for Ubuntu – Basically you disable ipV6 which apparently conflicts with ipV4. Good post.
- Ubuntu/Linux Roundup – Good collection of links/articles for Ubuntu users.
- Ten tips for new Ubuntu users – Here’s a list of tips that might save you some time while you’re getting used to Ubuntu.
- 10 most popular Ubuntu sites on the net – You should definitely visit these top 10 sites which have a wealth of information on using and troubleshooting in Ubuntu.
If you’d like to contribute to this list, please add in comment field. Thanks!!!
Related Articles:
Ubuntu Q&A for Absolute Beginners
Top 10 Ubuntu Tips
Windows Desktop Software and The Linux Alternatives
Comments : Leave a Comment »
Categories : Uncategorized
wifi with WPA on Broadcom 43xx
22 01 2008based on this article (in Polish)
1. plug in your ethernet cable and be sure that you have connection to the internet
2. enable restricted driver for your wi-fi card
click APPLICATIONS > system > “Restricted Drivers Manager”
for “Firmware for Broadcom 43xx chipset family”
put the tick in “enabled” field
Close “Restricted Drivers Manager” and restart computer
3. uninstall network manager
sudo apt-get --purge remove network-manager
4. install wicd
sudo apt-get install wicd
5. edit /etc/network/interfaces
sudo mousepad /etc/network/interfaces
delete/comment (#) everything except:
auto loiface lo inet loopback
6. save and restart (just to be sure) ![]()
7. open WICD (under APPLICATIONS > internet) and configure your wifi connection
Comments : Leave a Comment »
Tags: ibook, wifi
Categories : Uncategorized
start
22 01 2008I like my computer to be fast.
I realize that I don’t need fast computer. I just need fast software.
Comments : Leave a Comment »
Categories : Uncategorized