Re: want to speed up laptop
On Sun, Mar 30, 2008 at 10:11 AM, Rich Healey [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Bannister wrote: On Wed, Mar 26, 2008 at 09:12:06AM -0500, Preston Boyington wrote: Chris Bannister wrote: snipped Where are your bottlenecks? currently my two biggest bottlenecks are with the networking and the MTA. i installed ifplugd and set a faster timeout for the network and that has helped. i don't really need a MTA for my laptop and will be looking for some alternative. have thought about just removing Exim and dealing with whatever dependency issues arise. i can always just look at the log files for info if i need to. I think that is a DNS lookup issue. I altered the link from /bin/sh to point to /bin/dash instead of /bin/bash but I'm not sure if I got a big improvement. It seems reasonably fast though. :-) i have been using zsh recently and it has worked pretty well so far. No, the shell *you* use is determined by the line in /etc/passwd. What I meant was the shell used to execute the initscripts. What does: # ls -al /bin/sh produce? If it comes back as pointing to /bin/bash then try pointing /bin/sh to /bin/dash and see if there is any improvement. use xfce4 instead of gnome or kde. it help a lot. my laptop is old via c3 processor. run more happy with xfce. using gnome will take some time to open window especially nautilus use so much resource.
Re: debian sdcc + pic16f877a help
On Thu, Mar 27, 2008 at 2:48 PM, Amit Uttamchandani [EMAIL PROTECTED] wrote: On Wed, 26 Mar 2008 12:15:47 +0800 jeffry s [EMAIL PROTECTED] wrote: is there anyone here who work on pic16f877a. i am using debian sid. and doing c programming for pic16f877a. but i am new and don't have any idea how to start. anyone can help me or point me a good sdcc+pic tutorial out there. it seems not so many i can found by asking google :( thanks.. I am assuming you are referring to the pic microcontroller here. These are the packages I found under debian etch. Sorry couldn't provide the description but check them out. * nitpic * simulpic * picasm * picprog Good luck and please post back your results. Amit nitpic - Simulator for the Microchip PIC16C84 microcontroller simulpic - simulator for Microchip PIC16F84 microcontroller picasm - Assembler for the Microchip PIC-family Microcontrollers picprog - Microchip PIC serial programmer software there is not much resource i found. the best one so http://www.micahcarrick.com/04-25-2005/pic-c-programming-linux.html there is not so many tutorial. but i found out we can use gputils, gpsim and sdcc package in debian. thre is a separate header library need to install as well.
debian sdcc + pic16f877a help
is there anyone here who work on pic16f877a. i am using debian sid. and doing c programming for pic16f877a. but i am new and don't have any idea how to start. anyone can help me or point me a good sdcc+pic tutorial out there. it seems not so many i can found by asking google :( thanks..
Re: circuit semantic diagram editor with PIC support?
On Sun, Mar 23, 2008 at 8:20 PM, e s [EMAIL PROTECTED] wrote: jeffry s wrote: i need a software to draw a circuit. in my circuit there is one micro controller PIC16F877A. any suggestion of a good software. i am using debian unstable with GNOME.. thanks.. xcircuit is another option xcircuit is written in tcl/tk.. i don't really like the interface because it is not match with gnome look n feel. i did try gEDA. it does have support for PIC16F877A. still learning how to use it. thanks all... ^_^
circuit semantic diagram editor with PIC support?
i need a software to draw a circuit. in my circuit there is one micro controller PIC16F877A. any suggestion of a good software. i am using debian unstable with GNOME.. thanks..
Re: pam_mysql - non-crypt()ish MD5 hash is not supported in this build
On Fri, Mar 14, 2008 at 7:51 PM, jeffry s [EMAIL PROTECTED] wrote: i did try to paste the error message in google. but google answer with alien language. kidding, i mean language i don't understand. the bug submitted 15jun2006. i wonder why still not fixed. i download the pam-mysql deb from debian unstable repo and get it install. still no luck i think i want to try recompile then :) i found the solutions http://www.serverstuff.info/pam_mysql+in+fedora+core+7
add user as group member
i know this question sound so stupid. after gooogling. i end up with useradd, groupadd, usermod, userdel, groupmod, groupdel, groups. i do not be able to determine how to add a user to particular group in the system. i use to do a manual edit on the /etc/group files and it work fine so far it is just a matter of curiosity, is there any command out there i can use for this task? thank you..
Re: add user as group member
On Fri, Mar 14, 2008 at 2:29 PM, Paul Johnson [EMAIL PROTECTED] wrote: On Thursday 13 March 2008 11:14:43 pm jeffry s wrote: i know this question sound so stupid. after gooogling. i end up with useradd, groupadd, usermod, userdel, groupmod, groupdel, groups. i do not be able to determine how to add a user to particular group in the system. adduser can take up to two arguments. If you call adduser with one argument, it must be the login of the user you wish to add. If you call it with two arguments, it must be the existing user on the system and the group you wish to add that user to. -- Paul Johnson [EMAIL PROTECTED] let say i have existing user skyblue if i want to add skyblue to multiple group sys, adm, audio, disk, camera how can i do that?
pam_mysql - non-crypt()ish MD5 hash is not supported in this build
i am trying to use pam mysql to authenticate vsftpd user. basically when i try to authenticate against the table with password encrypted with PASSWORD() built in mysql. it work! auth required pam_mysql.so user=root passwd= host=localhost db=dbtest table=user usercolumn=user_name passwdcolumn=user_password crypt=2 account required pam_mysql.so user=root passwd= host=localhost db=dbtest table=user usercolum=user_name passwdcolumn=user_password crypt=2 now the password is encrypted with mysql MD5() function auth required pam_mysql.so user=root passwd= host=localhost db=dbtest table=user usercolumn=user_name passwdcolumn=user_password crypt=3 account required pam_mysql.so user=root passwd= host=localhost db=dbtest table=user usercolum=user_name passwdcolumn=user_password crypt=3 but it doesn't work. digging into /var/log/auth.log vsftpd: pam_mysql - non-crypt()ish MD5 hash is not supported in this build. anyone know how to fix this? i am using debian etch.
Re: pam_mysql - non-crypt()ish MD5 hash is not supported in this build
i did try to paste the error message in google. but google answer with alien language. kidding, i mean language i don't understand. the bug submitted 15jun2006. i wonder why still not fixed. i download the pam-mysql deb from debian unstable repo and get it install. still no luck i think i want to try recompile then :)
Re: pam_mysql - non-crypt()ish MD5 hash is not supported in this build
On Fri, Mar 14, 2008 at 7:30 PM, iena unlike [EMAIL PROTECTED] wrote: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373834 On Fri, Mar 14, 2008 at 12:16 PM, jeffry s [EMAIL PROTECTED] wrote: i am trying to use pam mysql to authenticate vsftpd user. basically when i try to authenticate against the table with password encrypted with PASSWORD() built in mysql. it work! auth required pam_mysql.so user=root passwd= host=localhost db=dbtest table=user usercolumn=user_name passwdcolumn=user_password crypt=2 account required pam_mysql.so user=root passwd= host=localhost db=dbtest table=user usercolum=user_name passwdcolumn=user_password crypt=2 now the password is encrypted with mysql MD5() function auth required pam_mysql.so user=root passwd= host=localhost db=dbtest table=user usercolumn=user_name passwdcolumn=user_password crypt=3 account required pam_mysql.so user=root passwd= host=localhost db=dbtest table=user usercolum=user_name passwdcolumn=user_password crypt=3 but it doesn't work. digging into /var/log/auth.log vsftpd: pam_mysql - non-crypt()ish MD5 hash is not supported in this build. anyone know how to fix this? i am using debian etch. omg.. it happened to be a bug. thanks iena..
Re: install debian usbdisk through ide cable
I have seen IDE to USB adapters but not the reverse so I'm not sure how debian would handle it. I imagine a USB to IDE adapter would not be cheap as it would have to have some sort of logic to convert between the two protocols. i think what i really mean is IDE to USB adapter :) .. i use the motherboard IDE, to attach the USB drive via IDE-to-USB (whatever u called it). I still doubt that this would work i want to try it for experiment and do not really planning to do any serious work or development inside the system. I am in doubt, the system can boot or not ... On Wed, Mar 12, 2008 at 9:25 PM, Brian McKee [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11-Mar-08, at 9:20 PM, jeffry s wrote: i am not very sure this one can be done. i have a old computer at home without hardisk. it is quite old computer and only support 2GB hardisk since 2GB hardisk is quite rare this day. I am planning to install debian into the 2GB pendrive (i know this one can be done). But the computer is quite old. No USB support not to mention BOOT FROM USB feature. i want to attach the kingston pendrive to the motherboard IDE using USB-to-IDE cable. will this kind of hardware configuration supported by debian? Even though the BIOS may not recognize drives over 2 gig - debian will... It doesn't use the BIOS for working with the drive once it gets going. Just make sure your boot loader is at the start of the drive (the normal configuration). Brian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (Darwin) Comment: Verify this email or encrypt your email for free - see gnupg.org iD8DBQFH19nCGnOmb9xIQHQRAr/6AJ0VRplr0vB7SOHgH79X0TjjbMMSHwCfdf3X sjHdQ659WjiLME7RKixhQtI= =gKtD -END PGP SIGNATURE-
Re: Recovering deleted files from FAT32
On Wed, Mar 12, 2008 at 12:08 PM, KS [EMAIL PROTECTED] wrote: jeffry s wrote: i think you can try photorec it comes with the package testdisk the name suggest it is photo recovery program. but actually it is not. when u run the program. you can choose the file types from the options for what type of files you want to recover. the bad side is, the file recovered will get a new name. but the file is fine. (that is when i use it last time). well, i manage to recover all my files last time. you can give a try I think Jeffry just hit Reply in the GMail interface and the email ended up in my inbox rather than the list! i think i just make some mistake. i dont realize i hit reply instead of reply all thank for reminding me..
install debian usbdisk through ide cable
i am not very sure this one can be done. i have a old computer at home without hardisk. it is quite old computer and only support 2GB hardisk since 2GB hardisk is quite rare this day. I am planning to install debian into the 2GB pendrive (i know this one can be done). But the computer is quite old. No USB support not to mention BOOT FROM USB feature. i want to attach the kingston pendrive to the motherboard IDE using USB-to-IDE cable. will this kind of hardware configuration supported by debian?
Re: debian unstable postgresql-8.3 installation problem
no postrgesql process running. the touch command exited successfully. apt-get remove --purge postgresql and apt-get install postgresql. end up the same problem. i suspect the installer script problem. but i am not sure. On Feb 17, 2008 6:27 PM, Tobias Nissen [EMAIL PROTECTED] wrote: jeffry s wrote: i got the message during installation bayau:/var/log/postgresql# apt-get install postgresql-8.3 Reading package lists... Done Building dependency tree... Done postgresql-8.3 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 622 not upgraded. 2 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Setting up postgresql-8.3 (8.3.0-1) ... Starting PostgreSQL 8.3 database server: main* Error: Could not create log file /var/log/postgresql/postgresql-8.3-main.log failed! Could it be, that for some reason postgresql is already running? Check this by examining the output of `ps aux`. i already did what u told me to do. but is is the same thing. if do /var/log/postgresql# dpkg-reconfigure postgresql-8.3 /usr/sbin/dpkg-reconfigure: postgresql-8.3 is broken or not fully installed So the touch-command exited successfully, i.e. produced no output? What happens when you purge postgresql (`apt-get purge postgresql-8.3`) and then reinstall it? Please use the mailing-list for things that belong there. Regards, Tobias
Re: debian unstable postgresql-8.3 installation problem
i have some clue on this problem. i think the installer script problem. after fail to use debian package. i tried to install using tar ball files (source code) downloaded from postgresql.org website. when i compile the file i get the error configure: error: readline library not found If you have readline already installed, see config.log for details on the failure. It is possible the compiler isn't looking in the proper directory. Use --without-readline to disable readline support. i did have libreadline5 installed. but actually i need the package libreadline-dev install in order to compile. i am trying. i will tell you if i manage to install postgresql later.. :p On Feb 19, 2008 4:58 PM, jeffry s [EMAIL PROTECTED] wrote: no postrgesql process running. the touch command exited successfully. apt-get remove --purge postgresql and apt-get install postgresql. end up the same problem. i suspect the installer script problem. but i am not sure. On Feb 17, 2008 6:27 PM, Tobias Nissen [EMAIL PROTECTED] wrote: jeffry s wrote: i got the message during installation bayau:/var/log/postgresql# apt-get install postgresql-8.3 Reading package lists... Done Building dependency tree... Done postgresql-8.3 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 622 not upgraded. 2 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Setting up postgresql-8.3 (8.3.0-1) ... Starting PostgreSQL 8.3 database server: main* Error: Could not create log file /var/log/postgresql/postgresql-8.3-main.log failed! Could it be, that for some reason postgresql is already running? Check this by examining the output of `ps aux`. i already did what u told me to do. but is is the same thing. if do /var/log/postgresql# dpkg-reconfigure postgresql-8.3 /usr/sbin/dpkg-reconfigure: postgresql-8.3 is broken or not fully installed So the touch-command exited successfully, i.e. produced no output? What happens when you purge postgresql (`apt-get purge postgresql-8.3`) and then reinstall it? Please use the mailing-list for things that belong there. Regards, Tobias
debian unstable postgresql-8.3 installation problem
i am using debian unstable with gnome desktop. but i failed to install postgresql package. this is the error message Starting PostgreSQL 8.3 database server: main* Error: Could not create log file /var/log/postgresql/postgresql-8.3-main.log failed! doing ls /var/log output drwxrwxr-t 2 rootpostgres 4096 2008-02-15 20:45 postgresql anyone know how to fix this problem?
Re: IceWeasel crash my debian laptop
On 6/12/07, Roberto C. Sánchez [EMAIL PROTECTED] wrote: On Mon, Jun 11, 2007 at 08:51:32PM -0700, Andrew Sackville-West wrote: and don't take this the wrong way, but maybe you should build your app so you can't select columns that dont exist? Perhaps he should consider switching to a database that just returns an error on a non-existent column, rather than making the system unusable. I know that's a work-around to what may be some other problem, but seems reasonable to me. Doesn't seem reasonable to me. That is extremely bad behavior for a database. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFGbhqr1snWssAFC08RAq3GAJ0UxfDeioM0kwjMrkkTCtYRE480MwCghrUW 7PB1tDNoRxtXHf9q7RMy20o= =iW6/ -END PGP SIGNATURE- does this problem occur with other browsers such as konquerer? how about with another gecko based browser (iceape?)? i only have iceweasel installed. i do not try with other browser yet.. and don't take this the wrong way, but maybe you should build your app so you can't select columns that dont exist? it is my testing laptop and not my real production server. I made a typing mistake sometimes (forget column is common as i have many database table in my database).. Also, what about strace'ing your firefox session to see what its doing? can you tell me how to stracing firefox session? how quickly does it take over? maybe keep a VT logged in for that quick switchaway and kill ... in a few minutes 5, 6 ... i try to record the time when i came home tonight. by tommorow, send you result. what is VT log? I can successfully replicate this 100%.. I just wonder if it is because of the sessions. It share connection with my application. i still figure out how to workaround this one..
IceWeasel crash my debian laptop
i am using my laptop with PHP 4+ and mysql 5+, everything start to be weird after i implement my costume sessions (storing in database). i only use one database connection for the whole website. what i mean is, the session and every query connect to mysqlserver using the same user. I am not sure if it is because of the sessions. but it happen after i use costume sessions. if i make a SQL query with non existant column name eg: noe SELECT * FROM test WHERE noe=1; Suddenly, if i use top to monitor process on my laptop i saw the processor usage for the mysqld and firefox-bin(iceweasel) increasing. Icewasel will continue to consume processor usage to 100% and memory up to 80% all the time. Worst still, the mouse, keyboard do not work anymore. My laptop very-very slow until i cannot move my mouse cursor at all.. there is no way i can go except turn off the laptop power. I don't know what the problem is this. but, i think there is something to do with the sessions. And it related to PHP or may be problem with Iceweasel. i am using debian unstable. last updated march 2007..
Re: partition table type
On 6/5/07, Andrew Sackville-West [EMAIL PROTECTED] wrote: On Tue, Jun 05, 2007 at 11:49:46AM -0300, Marcelo Chiapparini wrote: Hello I am installing etch in a new hd. I am using the expertgui method. During the partition stage, I am asking about what type of partition table I should select: amiga, bsd, dvh, gpt, mac, msdos, pc98, s390, sun, loop. The default seems to be msdos. But, what is the preferred type in the debian world? stick with the default, unless you have some reason to use one of the others. You'd know if you needed s390 partition tables ;) A -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGZYd4aIeIEqwil4YRAvlOAJ46jxP/920j7BR8ES9QXO7K5TubLwCgqAF+ 7fhZIpW337ji9OWuBOMjGJY= =rohq -END PGP SIGNATURE- i am also wondering what all those partition type mean. can anyone point any documentation about the difference of amiga, bsd, dvh, gpt, mac, msdos, pc98, s390, sun, loop? thanks