unsubscribe
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: NETWORK ROUTES
This is my route -n Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 213.250.143.240 0.0.0.0 255.255.255.240 U 0 00 eth0 172.16.4.0 0.0.0.0 255.255.255.0 U 0 00 eth1 172.16.16.0 0.0.0.0 255.255.255.0 U 0 00 eth3 172.16.8.0 0.0.0.0 255.255.255.0 U 0 00 eth2 0.0.0.0 172.16.16.254 0.0.0.0 UG0 00 eth3 an easy try: what is the default gateway setting on the internal networks hosts? for instance, on network 172.16.4.0/24, if the router nic is on 172.16.4.1, the default gateway on any other host must be 172.16.4.1 (hope i've been clear :-) ) eventually, you can try to dump completely static routing. static routing is good for causing headaches. hope this helps. pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: mrtg configuration
to be onest, I have no idea where SNMP is used for, but I read in the docs that mrtg is able to work without extra snmp installations. I just want the traffic on eth0 measured. snmp = simple network management protocol, mrtg uses it to gather network load information. you need to install snmpd on the boxes you want to monitor; then use cfgmaker to configure mrtg on the box you install it on. hope this is correct and helps - worked for me :-) pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Apache and Caps
Matthew Daubenspeck wrote: Is there anyway to tell Apache to ignore Caps? try mod_speling, see documentation in apache-doc package. hope this helps. pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: removing files with unprintable characters in their filename
Mark T. Valites wrote: Every once in a while, either a user somehow comes up with a file with funky characters, or I create one by accident. When displayed through a 'ls', the non-printable characters are displayed with ?s. The ?s are not literal question marks, but just represent an unprintable character. Without using shell meta characters (*), C, perl, loops, find or anything other than just the rm command, I haven't been able to figure out how to remove this file. There has to be a way to get rid of it with rm, but I have had no such luck with it so far by quoting, escaping, using --, ./ or any other magic I can think of. with a little help from man ls man bash: ls --escape will print the escape sequences for funky characters; rm $'pasted from ls --escape output' will then work. hope this helps! pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how long does stuff in /var/tmp stick around?
Dan Jacobson wrote: I know that stuff in /tmp sticks around until the next of my daily power-ups, but what about /var/tmp for the default woody configuration? Seems like months, but I'd like to know if there's some cleaner program that is going to come along every 1/2 a year etc. when I least expect it. apt-get install tmpreaper pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: can't delete a file
Patrick Hsieh wrote: Hello list, I created a file as root and chown it to a common account, then su to that account, trying to delete it as that account but failed. Any idea? this is one of the most problems for unix newbies... basically, when you remove a file you don't modify it, but the directory that contains it. so to remove a file you need write permission on the directory, and the permissions on the file are almost completely irrilevant. hope this helps. pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dpkg status file lost
Jerome Warnier wrote: After a powerloss, I lost also all dpkg info, including the status file. Could someone help me get it back to work? I'm far, far away from the machine, which rebooted nicely (some libraries were also lost, though), but I'd like to reinstall all those libraries which may be useful to get it back to work just in case. Thanks in advance you could be able to find a copy of your lost files in the lost+found directories. there's one under every mount point. the files are all renamed, but an editor should let you spot the old status file. hope it helps. pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: man or info?
Seems like I never can find what I want in info. Man pages are much easier. Then again a friendlier info browser might help. Paul apt-get install pinfo or if you have apache installed apt-get install info2www hope this helps pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Setting system time on startup
Patrick Hsieh wrote: Hello Pietro Cagnoni [EMAIL PROTECTED], What is the advantage to keep the clock on GMT? it keeps your system simpler and cleaner. believe me, it's worth it! for instance, linux needs the bios clock on gmt, so adjusts it at boot and at shutdown. if you don't shutdown properly (a power outage, or a kick to the plug) the bios clocks remains to gmt, but the reboot adjust gets done anyway, and you double your gmt displacement. so your start getting incoherent file modification times. if you're a frequent user of make, you can understand the subsequent mess... pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Setting system time on startup
Ian D. Stewart wrote: Howdy Folks, Right now, when booting my linux box, the system clock is off by four hours (I'm guessing it is set to GMT). I can reset the clock using date, but this is starting to get a bit tedious. Is there a way to automate this process and/or convince Linux to set the system clock to local time? debian readjusts the clock on shutdown, maybe there's something broken somewhere; check the console output on shutdown. if you use just linux on the box, it's better to keep the clock on GMT: adjust UTC=* in /etc/default/rcS . pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Locale Q:
Jeff Johnson wrote: So... locale gives: [EMAIL PROTECTED]:~$ locale LANG=C LC_CTYPE= LC_NUMERIC=C LC_TIME=C LC_COLLATE=C LC_MONETARY=C LC_MESSAGES=C LC_PAPER=C LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=C LC_IDENTIFICATION=C LC_ALL= what happens if you set LC_CTYPE to C too? pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Locale Q:
Jeff Johnson wrote: I am getting these messages with all sorts of gnome apps. Can anyone point me to info on locals or better yet anyone have some hints? [EMAIL PROTECTED]:~$ gnome-terminal Gdk-WARNING **: locale not supported by Xlib, locale set to C Gdk-WARNING **: can not set locale modifiers Gdk-WARNING **: locale not supported by Xlib, locale set to C Gdk-WARNING **: can not set locale modifiers which are the values of the environment variables LANG and LC_* ? (LC_* = LC_CTYPE, LC_COLLATE ...) to get the available locales type locale -a. if the variables have values not in the list, you found the problem! man 7 locale will give you some info about the locale system. hope this helps. pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: vfat and samba
Stefano D'Ubaldi wrote: Hello everyone!! I migrated to debian 2.2r5 from windows98 preserving the original vfat filesystem ; then I installed samba 2.0.8 in order to share this filesystem with other users in the network for read-write access; it works fine but whenever the win9x clients create with explorer a new folder in the shared resource, they receive a error trying to create the object-the object alreay exists message and the folder is created at last. How can I avoid this unpleasant message?? try to mount the vfat partition with the umask=0 option. this will give everybody write access on vfat, but could solve the problem. hope this helps. pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Man page output
Matthew Daubenspeck wrote: Is there an easy way to output man pages without all of the underlined text? I want to redirect man page output to text type files, but all of the files include squares or ^H^H^H all over the place... you already got good answers to your question, but if you need the text format to print it, the best thing is to use man -t something, which will give you nicely formatted postscript output. pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: getting disconnected from a mounted smbfs
Dayalan Manohar wrote: After getting disconnected from a mounted smbfs I find that I am not able to unmount it and df hangs when I try to check if it's still mounted.How to gracefully handle getting disconnected from a mounted smbfs?Is there any special mount option for this?IIRC nfs has one. dayalan i had the same problem: it disappeared when i installed adrian bunk's kernel 2.4 on potato kit from http://www.fs.tum.de/~bunk/, even if the kernel was still 2.2; it looks like a umount bug that got fixed. hope it helps. pietro -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: chmod
Daniel D Jones (by way of Daniel D Jones ) wrote: I've been using Linux for awhile but every thing I know is self taught. That means I know some things quite well and am abysmally ignorant in other areas. Hopefully, this question isn't too stupid. Or maybe it'll give you a good laugh and you'll take pity on me and answer anyway! if you need to make something serious with unix, get a copy of Kernighan Pike's the unix programming environment; it's partly outdated, but still incredibly useful for shell scripting and general unix mangling. pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: apt/dpkg problem
Peter Parkes wrote: After running KPackage yesterday (I just wanted a look), I am now having problems with dpkg and apt. I am getting an error; Unable to parse status file /var/lib/dpkg/status (1). it happened a few times to me too. i was usually able to solve it by editing /var/lib/dpkg/status (yes i know it can be dangerous). is there any line number specified for the error? you can try posting the relevant section of the file. hope it helps. pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: SOS
Luigi Rolatti wrote: Ho necessità di sapere come entrare col login (eventualmente con quale comando per bypassarlo) poichè non mi accetta il login e pw inseriti all'installazione ho installato i due cd della versione Linux Debian 2.2r5 Grazie per la risposta Luigi nessuno dei due? durante l'installazione e' stata chiesta la password di root (che va usata usando root come login), ed e' stato chiesto se si voleva aggiungere un utente ordinario, con un suo login ed una sua password. la procedura per bypassare il login di root esiste ma non e' banale (volutamente!). ripeti la richiesta (in inglese!) se non riesci davvero in nessun modo a ricordare la password immessa durante l'installazione. ancora meglio, usa gli archivi di questa lista (http://lists.debian.org/) per avere la risposta alla tua domanda, che viene riproposta abbastanza spesso. pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Microsoft Access
Keith G. Murphy wrote: [EMAIL PROTECTED] wrote: Hi all, Im working ina medical group that uses Microsoft Access, is there any software that can interact with Access? If you're thinking about doing some lightweight work with Access from Linux, and it's OK for it to be Perl-based, you might want to check out DBI::ProxyServer. The idea is that you have a proxy server running on a Windows machine that talks to Access using ODBC, and a Perl program on Linux that talks to the server. another perl solution is to export everything in csv format and use DBI with the DBD::CSV module (package libdbd-csv-perl). you can access the exported tables with sql statements: quite fast, very powerful! (been there, done that) pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Was: Unix(LF) files to MSDOS(CRLF) and vice versa
Kerstin Hoef-Emden wrote: Hi, On 9 Apr 2002, Alex Malinovich wrote: On Mon, 2002-04-08 at 21:42, Daniel Toffetti wrote: Hi ! How can I use rpl (or any other suitable command) to transform the \n character between Unix and Msdos formats ?? rpl seems to be the right tool, but I can't figure out how to specify that strings. flip is your friend: apt-get install flip lots of really useful command-line options. (You can even flip binary files if you're so inclined.) Are similar tools to flip and dos2unix available for converting Mac-ASCII texts? recode is a very general character conversion tool. apt-get install recode pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: rawrite2
fti International wrote: Hello all, When I use rawrite2 to wirte root.bin to a floppy, the resulting floppy contains files with their names corrupted, not readable at all. I did this from the Dos box within Win98, by double-clicking on the rawrite icon, and even reboot my PC into MS-DOS mode. None of these works. But rawrite2 works fine on rescue.bin.What is wrong? -Cong the floppies don't use a ms-dos readable format. you can read them properly on a linux machine. pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Restore CD image equiv.
Chapman, Matt wrote: Hi, I would like to know if anyone has something that will work for debian in the following scenario. I build a server with Debian on it as well as a filter (url) and squid for caching. I ship the box. The customer has a hardware issue and replaces bad drive etc. Then needs to restore to the factory defaults. How could I distribute a cd that installs the os and needed packages without the user needing to know linux at all. Much like a Ghost image or DriveImage.??? Any ideas? -matt mondo should do this, never tried it... http://www.microwerks.net/~hugo/ it is packaged for woody. pietro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: XFree86 and NVidia GeForce 2 MX 400
Anna Lindgren wrote: Hi, I'm a totally fresh user to Debian, have tried Red Hat before, but wanted to try out Debian instead, but I seem not to be able to install the Xserver. I have a NVidia GeForce 2 MX graphics card, which is not supported in Xfree86-3.3.6 that is included in my installation package. I cannot start X and I am not able to configure it so it works. Tried to download Xfree86-4.2.0 and a new Nvidia driver from their homepage, but when I try to update Xfree, I get a message that `GLIBC2_2' that is required is nowhere to find. I tried uninstalling Debian and reinstalling it without any components for X, and the install the new Xfre86-4.2.0, but still get the same message. I want to be able to run X, which I could without any problems using Red Hat, only had other problems with that, which is why I would like to try Debian instead, please, someone, help me get my Debian system running I'm not a Linux expert (yet), so please explain in an easy way what I should do.. Thanks a lot for all (hopefully) help... http://www.debianplanet.org/article.php?sid=96 it worked perfectly for me. hope this helps. pietro.
Re: kernel 2.4.x
I used to download Bunk's stuff to get kernel 2.4.x. bunk's packages are still available: deb http://www.fs.tum.de/~bunk/debian potato main Now where can I find the deb packages with, for instance, kernel 2.4.18 (is out isn't it?)? i usually download them using the forms at http://www.debian.org/distrib/packages you can get the debs from any branch, then install them with dpkg. kernel sources don't have many library dependencies :-) pietro. (ma guarda te se dobbiamo parlarci in inglese :-)
Re: Xfree 4.1 on potato
I'm trying to install Xfree 4.10-14 onto an otherwise (reasonably) stock potato machine but am having a problem with a dependancy. you can find XFree86 4.x debs compiled for potato here: http://people.debian.org/%7Ecpbotha/ i installed them yesterday, it worked quite well. follow the instructions in the READ.THIS files. pietro.
Re: ssh-client gui
Hi all, is there any graphical ssh-client for Unix? THX Ines xterm -e ssh -X host :-) really, it's hard to me to understand what exactly should do a gui for ssh. maybe you need a way to launch gui apps via ssh? if so, you just need the -X switch. pietro.
Re: Greek keyboard on Woody
George Karaolides wrote: Hi, Any pointers/suggestions on how to set up a Greek keyboard on woody? Best regards, there's an hellenic-howto on www.linuxdoc.org. pietro.
Re: Greek keyboard on Woody
George Karaolides wrote: On Fri, 8 Mar 2002, Pietro Cagnoni wrote: George Karaolides wrote: Hi, Any pointers/suggestions on how to set up a Greek keyboard on woody? Best regards, there's an hellenic-howto on www.linuxdoc.org. pietro. Hi Pietro, Thanks for the pointer, but I was aware of the Hellenic HOWTO. It is, however, desperately out of date: August 1997. but it points to http://howto.hellug.gr/, with some stuff dated 5 feb 2002, and some more docs. I am sure that the Debian community, with its predilection for standards adjerence and up-to-date-ness, has built much better Greek support into woody's internationalisation than the non-standard, out-of-date hacks suggested in the Hellenic HOWTO. The stuff must be in the distribution somewhere; I just can't find where. apt-cache search greek on potato finds some xfont stuff, maybe it can find more in woody. hth pietro. Best regards, | George Karaolides Linustech Advanced Solutions, | | tel: +357 22 55 61 29 86 Ifigenias Street, 3rd Floor, | | web: www.linustech.com.cy Strovolos, Nicosia CY 2003, | | email: [EMAIL PROTECTED] Republic of Cyprus. | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Wood + squid problems at some hosts.
hanasaki wrote: I am running Wood with Squid and Kernel 2.4.17 If I NAT port 80 I can browse the following sites. If I run IE or Mozilla from Win2000 through the squid proxy, the connection times out. www.sun.com www.nvida.com. easy try: is the proxy box natted? can you telnet www.sun.com on port 80 from the proxy box? does the timeout error page have the squid signature at the bottom? pietro.
(OT) Re: ma esistono donne che usano debian?????
ma esistono anche donne che usano debian??? mi riferisco a eleonora. che magnifica sorpresa. parità dei sessi e open source. questa è la filosofia giusta libertà ovunque. il mondo sta cambiando! anche i bambini molto presto useranno linux (approximate) translation: so there are women who use debian too??? i'm talking about eleonora. what a wonderful surprise. sex equality and open source. that's the right philosophy freedom everywhere. the world is changing! children will soon use linux too ... just to start a new offtopic thread :-) pietro.
Re: Another update on The Kernel that Wouldn't Boot
Great! Thank-you. Now my kernel actually boots. :-) I do have one other weird problem though. My new kernel has a lot of modules (especial input modules such as hid, usb-uhci, etc.) that have unresolved symbols (normally they do not). Any idea what might cause this? Thanks again, Tim you can try to rename the directory /lib/modules/kernel-version and run make modules_install again. pietro.
Re: anacron
Christian Schoenebeck wrote: Hi! I'm using anacron on my router (just an old 486) and everytime anacron is running a job, it's hard to do anything else with it (e.g. takes about 5 seconds or so just to get a login prompt and it takes a minute or more to get a small internet site). I know anacron is running its jobs with 'nice' by default so it should already have a very low process priority but can I do anything to improve this behaviour? Thanks in advance, Christian Schoenebeck the problem is disk activity, not cpu load. nice won't help much. the most disk-intensive of the anacron jobs are checksecurity and updatedb, because they have to scan all the filesystem. i suppose it's better not to remove checksecurity, but you can easily disable the updatedb script - grep about in /etc/cron.daily . if your machine acts just as a router, maybe the best thing is to reduce the filesistem complexity by removing unnecessary packages. you can also edit /etc/crontab to move the anacron jobs to different hours. pietro.
Re: Locale e caratteri italiani
Ciao, Trovo problematico usare il supporto per il display di caratteri italiani es. e con l'accento ecc... Dopo aver settato la variabile cosi': export LANG=it_IT locale mi dice: LANG=it_IT LC_CTYPE=it_IT LC_NUMERIC=it_IT LC_TIME=it_IT LC_COLLATE=it_IT LC_MONETARY=it_IT LC_MESSAGES=it_IT LC_PAPER=it_IT LC_NAME=it_IT LC_ADDRESS=it_IT LC_TELEPHONE=it_IT LC_MEASUREMENT=it_IT LC_IDENTIFICATION=it_IT LC_ALL= Ho poi aggiunto la seguente alla mia ~/.emacs (standard-display-european t) (set-input-mode (car(current-input-mode)) (nth 1 (current-input-mode)) 0) Ma quando lancio emacs mi butta la seguente su stdout: Warning: locale not supported by C library, locale unchanged Ovviamente non vorrei che funzionasse solo con emacs, ma anche sulla xterm. Grazie, David. se ho capito bene, probabilmente l'unica cosa che ti manca e' la riga set convert-meta off in /etc/inputrc . c'e' anche un italian-howto: http://www.linuxdoc.org/HOWTO/Italian-HOWTO.html pietro.
Re: Newbie question: Setup the network card and DHCP
1. Where to find the driver or compatible one and how to install it in Debian Linux? make sure your bios is configured for a non-pnp os and post the output of cat /proc/pci. meanwhile, try the tulip and via-rhine drivers: just type modprobe module-name as root. 2. How to set up DHCP for my computer which is connect the internet through LAN? man interfaces hope this helps pietro.
Re: Less and .gz files
On my earlier SuSE system less was able to read gzipped text files. Can i get less to do it also on Debian? try zless (and zgrep, zcat...) pietro.
Re: 2 questions
1.how to fsck /dev/hda3 which is root? it's mounted rw, and fsck warns it is dangerous to check it. this is the safest way, but it needs a reboot: touch /forcefsck init 6 this will force a full fsck on all your partitions. if you set FSCKFIX=yes in /etc/default/rcS, everything will happen automagically. pietro.
Re: perl script to replace html login?
Hi! Is there a easy way to make a perl skript to send an http post request produced by the following html form? FORM METHOD=post ENCTYPE=application/x-www-form-urlencoded INPUT TYPE=text NAME=login INPUT TYPE=password NAME=pass INPUT TYPE=submit NAME=Login VALUE=Login /FORM The reply of the server is not important... install libwww-perl and use LWP::UserAgent . pietro.
Re: Samba clarification
Correct me if I'm wrong, but as I understand it all resources on my and other Linux workstations are not shared out to Windows OSes from the local Linux workstation per se, but by the Samba server (which in my case is a seperate box). well, a server can't share something it doesn't own :-) you can configure your workstation's printer as a remote unix printer on the samba server, then share it with samba. this way, print jobs will be delivered to the samba server, and it will bounce them to your workstation. never tried myself, but it should work. pietro.
Re: debian newbie : 2 simple questions
1) what is the minimal package install to send emails from the shell ?? (mailx, zmailer-ssl ?) imperative is : SMTP daemon on port 25 must NOT be running. install mailx + exim, then comment out the smtp line in /etc/inetd.conf, then killall -HUP inetd . ask for more informations if you need! pietro.
Re: debiandoc (Latex) for Italian
Osamu Aoki wrote: When I want to use debiandoc to produce ps or pdf, it activate Latex. Problem is both in woody and potato, latex does not load hyphnation for italian. Is this normal? LaTeX2e 1998/12/01 patch level 1 Babel v3.6x and hyphenation patterns for american, french, german, ngerman, nohyphenation, loaded. or LaTeX2e 2001/06/01 Babel v3.7h and hyphenation patterns for american, french, german, ngerman, nohyphenation, loaded. I see /usr/share/texmf/tex/generic/hyphen/ithyph.tex exists in my system. Without hyphnation, it can not make div file without error in italian. Anyway to correct this situation? My SGML source (Italian) compiles OK if I tell it as English by -l en for debiandoc2ps. use texconfig as root (menu driven, should be easy). I speak no Italian :) well you ain't the one :-) pietro.
Re: Login problem
Seneca Cunningham wrote: I have a problem that seems like login is working too slowly for my computer, or my computer is too slow for login (a little more likely). Occasionally I get results similar to the results for this fictional user. Debian GNU/Linux 3.0 icosagon tty2 icosagon login: foo baPassword: Login incorrect As is quite guessable, the password for user foo is bar. foo typed in bar, but only the 'r' makes it into the password entry. The ba is merely output to the screen. If foo were to see that ba was visible, and knew that it hadn't been entered into the password entry, foo could have logged in if the full bar had been typed after the ba, leaving the total password typing of foo at babar. I downloaded the source so that I could see if I could do anything about it, but gzip is complaining that it isn't in gzip format. Is there any special package I need to get to be able to decompress the source? I have gzip version 1.3.2-3, tar 1.13.25-1, and login 2902-8. Thanks for any help, Seneca [EMAIL PROTECTED] any recompiling or upgrading will be useless - you just can't send keystrokes to a program that didn't started yet! getty asks for username, then starts login that asks for the password; the transition from getty to login takes some time... i'm afraid the only thing you can do is wait... pietro.
Re: Login problem
any recompiling or upgrading will be useless - you just can't send keystrokes to a program that didn't started yet! No, they can be buffered on the terminal. Try typing at 'sleep 5; cat /dev/tty' if you don't believe me. hm - right, but login plays a lot with the terminal (it has to disable echo for instance), so maybe it flushes the buffer before to read the password - must read the source! pietro.
Re: vi vs ae
I noticed that somewhere ae has started taking over as the default editor in place of vi/vim. I have tried placing EDITOR=vi in the /etc/profile line but it doesn't always work. CVS was defaulting to ae. crontab will sometimes default to ae. How do I fix this? ae is not at all what I am accustomed to and was rather dismayed to find it so prevelant on all my systems overnight. Is there some history here I wasn't aware of? type as root: update-alternatives --config editor man update-alternatives will tell you a lot of the history. pietro.
Re: vi vs ae
Colin Watson wrote: On Tue, Jan 15, 2002 at 06:40:57AM -0500, Tom Allison wrote: Pietro Cagnoni wrote: type as root: update-alternatives --config editor man update-alternatives will tell you a lot of the history. Thanks! I never knew that. Where the heck do you find out about all this weird stuff? The FAQ? :) http://www.debian.org/doc/FAQ/ch-customizing.html#s-diverse -- Colin Watson [EMAIL PROTECTED] in my case it was actually man -k alternatives, iirc (years ago...). it's a trick that helped me a lot. will trillich, can you hear me? :-)
Re: informazioni
buongiorno, sono un ragazzo che ha per le mani la versione debian2.2.r3, mi potreste informare come si installa dato che le spiegazioni sono in inglese e io lo capisco solo un poinoltre e' possibile installare debian con windows?? da quello che vedo sul sito www.debian.org il manuale di installazione non e' stato (ancora) tradotto in italiano (http://www.debian.org/releases/stable/installmanual). e' possibile configurare debian in modo che al boot si possa scegliere fra windows e linux. i dettagli sono nel manuale di installazione! prova in caso a chiedere aiuto nella mailing list riservata agli utenti italiani (debian-italian). tieni presente che l'inglese ti servira' comunque! in bocca al lupo. pietro.
Re: broken man
How can I determine if man is installed and see if all of the things that man depends on are installed as well? try apt-get install man-db to install the man program. it is not included in the default minimal install, iirc. pietro.
Re: proxy for apt-get? NOONE?
Andy Spiegl wrote: Pretty sad to respond to my own posting, but I'm desperate. :-) Is there noone who can help me with that? I'm on a satellite uplink and _have_ to use the proxy. Thanks, Andy. this is my apt.conf proxy line: Acquire::http::Proxy http://proxy.mycompany.com:8080;; my proxy is squid too, on a potato box. everything works perfectly. try to check the squid logs, if you can access them. pietro.
Re: Looking for lib's
BTW does anybody know if there are any MySQL.deb packages available? I mirror the MySQL site, but they do not seem to have one (this is for another machine). apt-cache search mysql will give you a list of packages, then you can use apt-cache show package to know exactly what a package is. you should need at least mysql-server and mysql-client, and maybe some perl/python/php/whatever related packages. hope it helps. pietro.
Re: FTP install using proxy ?
François Chenais wrote: Hello, Is there any way to use a proxy with apt-... commands ? Thanks a lot François i wrote this line in my apt.conf: Acquire::http::Proxy http://proxy.mycompany.com:8080;; the same thing (with obvious changes) should apply to ftp. hope it helps. pietro.
Re: OT: xargs vi
martin f krafft wrote: can anyone please explain this to me? seamus:/usr/local/share/phpgw# find . -name Root | xargs vi 221 files to edit Vim: Warning: Input is not from a terminal seamus:/usr/local/share/phpgw# vi `find . -name Root` 221 files to edit how the heck does vi get the difference between the two methods of calling it... in the first case, vi is inheriting the standard input from his parent process, xargs. the standard input of xargs is the pipe coming from find, which is not a terminal... in the second case, vi is inheriting the standard input from his parent process, the shell, which is actually connected to a terminal, and everything works fine. pietro.
Re: OT: performance problems.
2.4.x vanilla is a PoS in certain areas. The VM is one. The latency is another. With dumb xmms, it cannot help but cause skips. Use something better, with huge output buffers, and you will not have so much trouble. Or patch the kernel. xmms output buffer size is configurable: [little button up left]-Options-Preferences-Output Plugin Configure-Buffering pietro.
Re: libraries
Please send me in attachement libraries: libc.so.5 libm.so.5 libf2c.so.0 I need them to install mopac 7.01 for Linux. NEVER NEVER NEVER get binaries from untrusted sources! (especially if important as libc) (yes we are all untrusted :-) install the libc5 package for the libc and libm you need. try the f2c package for libf2c. pietro.
Re: Mounting floppy. Newbie #61
Whatever that floppy can still not be mounted error message? pietro.
Re: dd /dev/hda /dev/hdb block size
I have a second HD I am using as a mirror for my first. I am going to use dd to initially copy files from one to the other and then rsync on a daily basis. don't do that. use tar. Do I need to format hdb before dd if=dev/hda of=/dev/hdb? don't do that. use tar. Someone mentioned I should specify a block size. What would be a good block size for 60G HD? don't do that. use tar. really, you can have a LOT of subtle problems. so don't do that. use tar. well, tar instead of dd. rsync is fine. you can even make the initial copy with rsync, and avoid tar. pietro.
Re: Mounting floppy. Newbie #61
HI, dman, Pietro, Jo-el, Sam, I definitely did not do a sync. Maybe I did a umount, but probably not. Why, when one shuts down via, say, poweroff, can unix not do that for you in the course of closing things down? It seems on of those things that is going to get forgotten in a rush. if by closing things down you mean shutting down the machine, unix does that (it happens correctly only if the floppy is still in the drive). if you mean instead logging out, unix doesn't, because it's multiuser, and somebody else might need the mounted floppy. what kind of user interface you use? gnome has a nice panel applet that allows you to mount/umount floppies with a single click, and makes things easier. kde must have something like that too. on the console, you have only mount and umount. hope it helps. pietro.
Re: Mounting floppy. Newbie #61
I note that when you copy a file to /floppy it seems to be incredibly quick. Is it in fact written to the floppy at the same time as it appears on /floppy ? Ian, All I can say is Ouch!. Unlike the DOS world, Unix in general, and Linux in particular, do not guarantee that data will be written to disk immediately after the in-memory copy of the disk blocks have been updated. Unixes, in general, cache such info, and typically write out to media (floppy disks, hard drives, etc) only when its efficient to do so. Thus, when you make drastic changes to the contents of a floppy disk, the in-memory copy of those disk blocks gets updated, and this happens quite fast. However, unless this copy is written out to the floppy itself, the changes will not be permanent. There is a standard way that Unixes support to force the write to media. This is called the 'sync' command. If you had done 'sync' after changing the contents of your floppy, you would have seen that your system was writing to the floppy - which does take a significant amount of time. Given the symptoms you describe, I would guess that you didnt do a 'sync' before you popped the floppy disk, and thus your backups were never written to floppy before you popped out the drive. the Right Thing to do is umount the floppy before pushing the eject button. pietro.
Re: virtusertable
Roberto Angione wrote: - Original Message - From: Pietro Cagnoni [EMAIL PROTECTED] To: Roberto Angione [EMAIL PROTECTED] Cc: debian-user@lists.debian.org Sent: Monday, December 17, 2001 1:41 PM Subject: Re: virtusertable Roberto Angione wrote: Buon Giorno, mi trovo attualmente ad amministrare un Server con Debian installata. Non riesco a rendere operativo il virtusertable ( in red Hat non avevo problemi). Potreste aiutarmi per favore? Grazie Roberto Angione hum, stai parlando di sendmail, vero? il default di debian e' exim e non sendmail, quindi controlla che il server di posta installato sia sendmail. pietro. Innanzitutto grazie mille per avermi risposto. prego! Certo, sto parlando di sendmail ! Avendo ereditato questo compito, ho ereditato anche sendmail :-) Chiaro e' che se con exim dovessi a parer tuo avere la vita piu' facile, seguirei senza dubbio il tuo eventuale consiglio di cestinare sendmail. Certo che, confesso, avrei bisogno comunque di qualche indicazione per la sostituzione. Ti ringrazio per una tua ulteriore risposta Roberto Angione 1) non sono affatto un esperto in e-mail! prendi qualsiasi cosa ti dico con MOLTO giudizio. 2) se e' la prima volta che amministri un sistema debian, ti conviene cominciare subito a studiare il suo sistema di distribuzione del software (puoi cominciare da http://www.debian.org/doc/manuals/apt-howto/index.en.html) 3) se vuoi semplicemente installare sendmail, basta che tu lanci (come root) # apt-get remove exim # apt-get install sendmail 4) ask your questions in english and you'll get more answers! in bocca al lupo. pietro.
Re: virtusertable
Roberto Angione wrote: Buon Giorno, mi trovo attualmente ad amministrare un Server con Debian installata. Non riesco a rendere operativo il virtusertable ( in red Hat non avevo problemi). Potreste aiutarmi per favore? Grazie Roberto Angione hum, stai parlando di sendmail, vero? il default di debian e' exim e non sendmail, quindi controlla che il server di posta installato sia sendmail. pietro.
Re: How to get IRQ/io inventory...?
tom schuetz wrote: What's the best way to get IRQ and io info on all the devices on my (potato) system? Thanks! $ cat /proc/interrupts $ cat /proc/ioports pietro.
Re: Does connection in TIME_WAIT count?
Jozef Skvarcek wrote: Hi, When a client closes, say HTTP, connection to my server then the connection continues to be listed on the server for some period of time in the state `TIME_WAIT'. Does such a connection still counts as valid one, ie does the web server see it? Thank you, Jozef no, it's a closed connection. ask for more details if you need! pietro.
Re: cdrom was /dev/hdd now /dev/scd0. Can someone explain?
Jerome Acks Jr wrote: woody box with 2.4.9 kernel I compiled. I've been using this kernel since 23 Sep 2001. For over a year, /dev/cdrom has been linked to /dev/hdd, and mount /dev/cdrom worked with no problem. /etc/fstab entry is: /dev/cdrom/cdromiso9660 defaults,ro,user,noauto,exec0 0 Tonight mount /dev/cdrom returned this error message: mount: wrong fs type, bad option, bad superblock on /dev/hdd, or too many mounted file systems (could this be the IDE device where you in fact use ide-scsi so that sr0 or sda or so is needed?) Looking at /var/log/dmesg and various entries in /proc I find that the last time I rebooted, my cdrom was identified as ide-scsi. /var/log/dmesg says: hdc: HP COLORADO 8GB, ATAPI TAPE drive hdd: CD-ROM 48X/AKU, ATAPI CD/DVD-ROM drive snip scsi1 : SCSI host adapter emulation for IDE ATAPI devices Vendor: HPModel: COLORADO 8GB Rev: 2.08 Type: Sequential-Access ANSI SCSI revision: 02 Vendor: E-IDE Model: CD-ROM 48X/AKURev: U22 Type: CD-ROM ANSI SCSI revision: 02 The COLORADO is my tape drive and lilo.conf has always had append hdc=ide-scsi to get it to work. There is no such entry in lilo.conf about hdd. To mount the cdrom I now need to mount /dev/scd0. It's been about a month since the last time I did an apt-get install upgrade. I don't recall mounting cdrom since then until tonight. The only other thing that I can think of that may be pertinent is a couple of week ago I was trying to configure wine to play multimedia files (unsuccessfully), and wine kept giving me warning messages that I didn't have generic scsi devices sg, sg1,... So I looked up what these are in kernel documentation and created them with mknod. Does anyone have an explanation why cdrom is now ide-scsi? because somewhere you asked for it :-) try removing the sr_mod kernel module (rmmod sr_mod as root), and see if this changes. you probably tried a command that turned on the scsi emulation for ide cdroms. it's safe anyway to leave it like this. hope it helps. pietro.
Re: OT: perl Crypt::IDEA
shock wrote: Sorry for the OT, but I haven't found anything relating to my problem. I'm trying to install the Crypt::IDEA perl module. I've tried it with both perl -MCPAN -e shell and downloading the .tar.gz file. Both end with the following: cc -c -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\1.01\ -DXS_VERSION=\1.01\ -fPIC -I/usr/lib/perl/5.6.1/CORE IDEA.c IDEA.xs: In function `XS_Crypt__IDEA_crypt': IDEA.xs:66: `sv_undef' undeclared (first use in this function) IDEA.xs:66: (Each undeclared identifier is reported only once IDEA.xs:66: for each function it appears in.) make: *** [IDEA.o] Error 1 I have *no* idea what could be causing the problem (I'm quite unexperienced with Makefiles, etc.). If anyone has any suggestions, I'd really appreciate it. Thanks! uhm, look in the module documentation and see if the module can work with the perl version you have. the problem could be there. however, after a quick grep trough the perl source, i think you can replace 'sv_undef' with 'PL_sv_undef' to compile it. hope it helps. pietro.
Re: xscanimage can't find device...
is your scsi card configured properly? can you see the scanner in the output of cat /proc/scsi/scsi? did you try modprobe sg (kernel module for scsi generic devices)? make your tests with scanimage (no x involved, easier to troubleshoot). when you'll be able to see your scanner in the output of scanimage --list-devices everything else will be fine (well, it worked this way for me :-). pietro. Johnny Ernst Nielsen wrote: Both xscanimage and xsane say they can not find a device. Am I missing some setup? Debian 2.2r3 Mustek MFS-6000CX on an AHA1542 SCSI controller. find-scanner finds the scanner on /dev/sg1 and on /dev/scanner /etc/sane.d/mustek.conf looks like this: #--- Global options --- option strip-height 1 #--- SCSI scanners --- scsi MUSTEK * Scanner option lineart-fix scsi SCANNER option lineart-fix /dev/scanner option lineart-fix I also tried /dev/sg1 Results of command line commands: [EMAIL PROTECTED] xscanimage xscanimage: no devices available. Gtk-CRITICAL **: file gtkmain.c: line 534 (gtk_main_quit): assertion `main_loops != NULL' failed. [EMAIL PROTECTED] xscanimage /dev/scanner (Window pops up saying: Failed to open device '/dev/scanner': Invalid argument.) (When I press [OK] the command line says...) Gtk-CRITICAL **: file gtkmain.c: line 534 (gtk_main_quit): assertion `main_loops != NULL' failed. Any ideas? Cheers :o) Johnny :o) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OT: How long has your Linux system been up ?
I think the uptime counter counts up to 497 days, and then it starts all over again. So currently we would not have any reports positively documenting more than 497 days of uptime. I read somewhere that the time is counted in jiffies where one i believe that bug was fixed in linux a few years ago. theres no longer a 497 day limit .. could someone please tell me for sure? i'm at 470 right now... :-) it's a server located at isp, remotely administrated via ssh, slink - potato without a hitch, but still kernel 2.0.38 . it must be a very tough machine, a kind of a rack-mounted pc (well, i saw it just once...). other local machines had cooling fan and power supply failures. never saw a failed hard disk. pietro.
Re: UNATTACHED INODE
John Lord wrote: Hello, After a crash during booting I now get the following error message: UNATTACHED INODE 161806 /dev/hda2: UNEXPECTED INCONSISENCY; RUN FSCK MANUALLY. (i.e. without -a or -p options) Please repair manually and reboot. To remount it rw: do mount -m -o remount, rw / Can you guess the next question? What and how do I do now? Best Wishes, -- John after fixing, set FSCKFIX=yes in /etc/default/rcS, and next time it'll get fixed automatically. by the way, why isn't it the default? is there anybody supposed to give a meaningful answer to any question about inode 161806 ??? oh yes, maybe i should email the ext2 maintainer... :-) pietro.
Re: using /home with potato woody
In my laptop I've three partitions hda1= Debian Potato all directories but /home hda2= /home currently referring to Potato hda3= Woody all in this partition Now I'd like to refer both potato and woody to the same /home partition (hda2) and of course to the same user victor (that's me!). Is that possible? If yes, what steps should I take to be on the safe side? i think you just need to check that the numeric user ids are the same, and fiddle with your fstab. for a quick check, mount hda2 as /home on woody, and use some ls -l to see if everything looks ok. i don't think you can do any damage if you don't start typing rm commands randomly... :-) pietro.
Re: customizing Emacs
Tuomas Pellonpera wrote: On Thu, 18 Oct 2001, Sean 'Shaleh' Perry wrote: If you decide you must do this, others have pointed the answer to you. I just want to say beware the path you are taking. Users of other editors will find editing your codce to be a royal nightmare. This last point didn't even cross my mind. I wanted to set the indentation level to 3 because I remember K. N. King recommended it in his book C Programming: A Modern Approach. (I may remember wrong.) But if other people will find editing such a code nightmarish, it's not worth being a dissenter in this issue. :) well, see Chapter 1 in /usr/src/linux/Documentation/CodingStyle for an authoritative opinion... pietro.
Re: How to use Linux as a dial-up provider?
I don't know exactly the terminology to use. I'd like to set up a Linux box on the ethernet at home, slap a modem on it (attached to an analog line of course), and then dial-up from home to the modem, authenticate, and have internet access. In essence, I want to be my own ISP, allowing myself to dial into the T1 via my office Linux box. Can anyone point me to HOWTOs? Read the PPP-HOWTO, install mgetty and have fun! pietro.
Re: Can Linux use a Microsoft Proxy Server to access theInternet?
However, I was able to run ftp and connect to ftp.debian.org.br manually. When I did that, the command CD works, but LS and GET don't. What's going on? Does this have anything to do with FTP being in passive mode, or the host I'm connected to can't find me because I'm behind a proxy? Can this be corrected? try with the pftp command. hope this helps. pietro.
Re: source.list error recovery
I've just played with some unstable packages lists and it doesn't behave like I want. Is there any way to downgrade all packages to the latest avaibled in the corrected sources.list. I mean a softer way than a reinstall ;-) you will have to reinstall, but just the bad packages. remove them (not purging, so you keep the configuration) and reinstall them with the right apt sources. as far as i know, apt-get doesn't allow any downgrading. pietro.
Re: OT : Internet Services on Unix-like systems
does anyone know where I can find statistics on Internet Services (w3, etc) running on unix-like systems ? I.e., how many machines uses unix-like systems for web services, ftp services, etc ? the command you need is probably netstat. lots of options, see the man page. pietro.
Re: Apt and MS Proxy server
[EMAIL PROTECTED] wrote: I have read the man pages for apt and apt.conf, and added a line to my apt.conf along the lines of http::Proxy {http://domain/msproxy:80/;}; this is my (working) apt.conf line: Acquire::http::Proxy http://proxy.my-company.com:8080;; so you probably have to write Acquire::http::Proxy http://luscombes:password@msproxy:80; check if you can configure your linux browser to use the ms proxy; if you can't, apt won't probably work either. hope this helps. pietro.
Re: How to fix corrupted download
Is there an easy way to force apt to download a deb again? I seem to have got a corrupted one: (Reading database ... 131943 files and directories currently installed.) Preparing to replace xfonts-75dpi 4.1.0-5 (using .../xfonts-75dpi_4.1.0-6_all.deb) ... Unpacking replacement xfonts-75dpi ... dpkg-deb: subprocess paste killed by signal (Broken pipe) dpkg: error processing /usr/var/apt/archives/xfonts-75dpi_4.1.0-6_all.deb (--unpack): I think it's just my download, not the version on the server, that's corrupt. use 'apt-get clean' to remove the cached deb files, then use 'apt-get install ...' again. hope this helps. pietro.
Re: core dump
To adapt a program to Debian the author needs a core dump. He says the program *will* crash on Debian when started. But since I switched to Debian I didn't see any crashes :-) Is core dumping enabled by default on potato, and where can I configure that? the command to use is ulimit, with the -c option 'ulimit -c 1024' will allow the creation of core dumps not bigger than 1024 kb for any child of the shell. Where will the dump be written to? in the current directory of the crashed process, in a file named 'core'. Where can I get this info from without bothering the list with such basic questions? I'm quite sure it is on my HD somewhere (well I know I could have grep'ed for it). 'man bash', but i have to admit it's quite well hidden... :-) hope it helps. pietro.
Re: info to man
I know there are tools to convert info and man to html, and that's a decent format when read with lynx. Maybe the answer would be to convert all to html, and then write a front-end for lynx so I could type (help page) and it would invoke lynx on the appropriate page. Any information on the above? apt-get install pinfo
Re: Problem with ncurses when making make menuconfig
Ricardo Diz wrote: Hi! I tried to config my kernel using make menuconfig in a console and it exited with /usr/bin/ld : cannot find -lncurses collect2: ld returned 1 exit status Unable to find the Ncurses libraries although I have ncurses installed. I can use make xconfig in a X environment but I rather do it in a console. I tried to reinstall ncurses (ncurses-base, ncurses-term and libncurses5) with no sucess in my next attempt. What should be the problem? install libncurses5-dev pietro.
Re: Netscape download
Sometimes when I download a file from a site under Netscape 4.77 it happens that the browser doesn't show the usual download box with the downloading file but just I see that it is (down)loading the file as it were a web page. I've tried to find the downloaded file under /.netscape and $HOME to no avail. Any help? use shift + leftclick on the hyperlink sure this helps :-) pietro.
Re: cannot start sshd
a few things you can check: try checking with netstat -a if someone's listening on the ssh port on the server; run sshd -d, and try to connect with a client (your sshd -d dump is regular, it just stops waiting for a connection); grep sshd /var/log/auth.log hope it helps. pietro.
Re: ssh braindamage (protocols, RSA auth)
Still interested in comments if anybody's got any. :) uh, maybe you already did that, but... i've always been able to solve my ssh problems using sshd -d and ssh -v hope it helps pietro.
Re: Perl problem in Debian Linux?
foreach (*){ print $_\n; } or * replaced by glob('*') do not work. what happens exactly? any error messages? any output? the glob function is implemented with csh, so this could be a csh problem. pietro.
Re: as ld equivalents of gcc
So, how do I get these to resolve? i don't know exactly, but if you run $ gcc -v -c hello.cc you will see the calls to as and ld on output, and you can start investigate from there. hope it helps. pietro.
Re: Sylpheed
How do I upgrade a single package and it's dependencies from the stable versions to a less stable version like testing? a similar question (about samba) was posted and discussed on Debian Planet: see http://www.debianplanet.org/debianplanet/article.php?sid=322 pietro.
Re: mount permission problems
I've been struggling for the last few days trying to get my wife's Win95 laptop to access her Quicken files that I have on a fat16 partition on my linux machine. There is something about 'mount' that is eluding me. it's been eluding me a couple of times too... vfat just doesn't have the place to store owner, group and full permissions needed by unix filesystems! so chmod or chown on a vfat partition are basically meaningless. you can set owner and permissions for the whole filesystem with vfat specific mount options: see man mount to see them all; you'll probably need umask. hope it helps! pietro.
Re: can't install task-ximian-gnome
As far as I know from reading this list you are running into trouble when using Ximian Gnome. It is recommendet to use the Debian Gnome packages. Frank i use it everyday at work on my potato machine. well, the application i use 90% of the time is gnome-terminal, but everything seems quite ok! to use updated debian gnome packages you need to use woody, so you're going into trouble anyway! ximian at least won't mess with your perl installation :-) ! pietro.
Re: ifconfig remove eth0:1
If you saw my last message, Apache on second ip address, I have tried to get Apache to server the same content on two ip addresses off the same adapter. I have setup the second address successfully (I can ssh into it) but can't get Apache to be sensitive to the second ip address. it should work with apache too! check your apache configuration for Listen or BindAddress directives that force apache to be bound just on the primary address of eth0, and try to restart it. Anyway, this question is how one removes the eth0:1 entry. I've tried ifconfig del eth0:1 and ifconfig eth0:1 del both unsuccessfully. ifconfig eth0:1 0.0.0.0 will kill the virtual interface. Help much appreciated. Rory hope it helps! pietro.
Re: Apache on second ip address?
see my reply to your 'ifconfig remove eth0:1' message on the list... .. and comment out all the Listen and BindAddress directives! everything should work painlessly without any virtual host configuration. pietro. I'm moving our intranet onto a new box with address x.x.x.23 from an old box with a x.x.x.247 address. I know very little about networking (I'm afraid everyone is accessing the intranet via the full ip address rather than name), and I would like to ask if it is possible to get the new box to run off both .23 and .247 although it only has one NIC. Do I need to set up a Virtual Host in apache? I've tried: ifconfig eth0:1 add x.x.x.247, and this shows up in the routing table as: eth0 Link encap:Ethernet HWaddr 00:03:47:06:D0:95 inet addr:x.x.x.23 Bcast:x.x.x.255 Mask:255.255.255.0 EtherTalk Phase 2 addr:6/224 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:69790530 errors:0 dropped:0 overruns:0 frame:0 TX packets:7724204 errors:0 dropped:0 overruns:2942 carrier:0 collisions:0 eth0:1Link encap:Ethernet HWaddr 00:03:47:06:D0:95 inet addr:x.x.x.249 Bcast:x.x.x.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 In apache (1.3 version) I have set the following directives: BindAddress x.x.x.23 BindAddress x.x.x.249 ServerName x.x.x.23 Listen x.x.x.249 Thanks for ANY help! Rory
Re: can't install task-ximian-gnome
I followed the instructions in ximian's website but trying to apt get install task-ximian-gnome tells me that apt couldn't find that package... does anybody has had this problem and how to fix it? IIRC you had to append to /etc/apt/sources.list the line deb http://red-carpet.ximian.com/debian stable main did you run apt-get update after that? did it complain about the new line? pietro.
Re: Putting a TESTING package on a STABLE system
I have a similar, but reversed problem. I have one package that I do NOT want to upgrade. It happens to be LILO, and it is currently broken when used on laptops with SystemSoft BIOS. I want all packages except LILO from woody but I want LILO to stop at potato. Is there a way of telling apt and friends to do this? If not I suppose I will have to get the source and submit a patch. run dselect, go to the lilo package line and type '=': this will put the lilo package 'on hold' and prevent it from upgrading. i'm sure there has to be an apt-something command option to do it from the command line, but i didn't find it... pietro.
Re: Slicing a big file; putting it back together
Antonio Rodriguez wrote: I need to send a big exe windows file, but the size is getting to be a problem. So I need to slice it and send the pieces separate. What is the best method? use the split command. pietro.
Re: CGI isn't working too well
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ #ScriptAlias /~news/ /home/news/public_html/cgi-bin/ ok, maybe it's too easy, but did you try to uncomment the ScriptAlias /~news/ ... line? whith this setting, the url http://your.host/~news/script.cgi will execute /home/news/public_html/cgi-bin/script.cgi . hope it helps. pietro.
Re: But ....
[EMAIL PROTECTED] wrote: Still Mr. fips is not happy . He says that the last cylinder is still not free . Is there any way of installing Linux onto a FAT (Win 98) part. , without standing the risk of losing data (either of the disk or of the partition ) ? Thanks , ([EMAIL PROTECTED]) this worked for me many times: 1) disable virtual memory (control panel - system - performance); 2) reboot in maintenance mode (or whatever is called in english: in italian is Modalità provvisoria: 640x480 screen with very few colors); 3) run defrag /q from a dos window (/q means don't defrag the files, just put all them on the front: much quicker; very hidden flag, very useful information!); 4) look at the details and check all the colored little squares to be sure the bottom part gets empty; 5) when defrag has done, put the fips floppy in, push reset (no clean shutdown!) and reboot with fips; 6) repartition; 7) reboot w9x and scandisk, just to be sure; 8) you did it! i made that way at least 5 times, never lost anything. YMMV of course! keep a backup copy as recommended! hope it helps. pietro.
Re: How can I trace a segfault on program start?
just an easy try - did you use the gcc -g flag? pietro.
Re: But ....
On Tue, Jul 17, 2001 at 09:23:53AM +0200, Pietro Cagnoni wrote: | 2) reboot in maintenance mode (or whatever is called in english: in | italian is Modalità provvisoria: 640x480 screen with very few colors); FYI it is called Safe Mode in English. You may need to press F5 during startup to get the menu to select Safe Mode from. safe? does it mean you can't make any damage that way? or maybe it inhibits the computer self destruction, and it'safer for you to use? or is it the mode you need when you're closed in a safe? Modalita' provvisoria in italian could be translated temporary mode, and has some of the meanings of unstable mode. so, where's the stable mode? maybe i should open a call with tech support... pietro.
Re: CONNESSIONE IN RETE
La ringrazio. Veramente gentilissimo. non c'e' di che. P.S. posso approfittare solo per un'altra cosa? In pratica volevo segnalare una cosa che non mi è piaciuta molto nell'installazione: la selezione dei pacchetti A parte che moltissimi non hanno la descrizione (di un rigo) e quindi li può installare solo chi li ha creati o quei pochi eletti che conoscono cosa fanno ma soprattutto mi sembra veramente poco un rigo per spiegare. quello che ti serve e' il comando apt-cache: prova, ad esempio, $ apt-cache search ppp P.S. Visto che per l'esame non ho esplorato molto le cartelle perchè mi sono buttato subito sulla programmazione concorrente a memoria condivisa o a scambio di msg mi farebbe piacere una breve lista (tipo 15 20 comandi) di comandi più comuni o almeno la cartella dove trovo pppconfig dselect mount ecc ecc. per cercare un file per nome, il modo piu' semplice e' il comando locate. assicurati di aver installato il pacchetto anacron, altrimenti non ne ricaverai molto! Grazie ancora ehila', prego, e non mi dare del lei, non sono molto piu' vecchio di te! :-) non mollare, continua con unix, ti sara' utili$$imo... pietro.
Re: CONNESSIONE IN RETE
$ apt-cache search ppp e subito dopo, dimenticavo, $ apt-cache show nome del pacchetto
Re: Module Kernel Problems DAMMIT! :(
depmod: *** Unresolved symbols in /lib/modules/2.2.18pre21/fs/smbfs.o depmod: *** Unresolved symbols in /lib/modules/2.2.18pre21/net/dummy.o depmod: *** Unresolved symbols in /lib/modules/2.2.18pre21/ipv4/ip_masq_user.o depmod: *** Unresolved symbols in /lib/modules/2.2.18pre21/ipv4/ip_masq_ftp.o depmod: *** Unresolved symbols in /lib/modules/2.2.18pre21/ipv4/ip_masq_irc.o depmod: *** Unresolved symbols in /lib/modules/2.2.18pre21/ipv4/ip_masq_quake.o depmod: *** Unresolved symbols in /lib/modules/2.2.18pre21/ipv4/ip_masq_vdolive.o ... you probably recompiled a simpler kernel, and this left a lot of unused modules in /lib/modules/2.2.18pre21 . try to rename that directory and make modules_install again, and run depmod -a. then, if everything looks OK, cross your fingers and reboot! if something goes wrong, you should anyway be able to rename back the old directory. hope it helps. pietro.
Re: CONNESSIONE IN RETE
Ho appena installato la vostra distribuzione e sono veramente colpito per come è realizzata. Premetto che sono un neofita di Linux (lo usato per pochi mesi per fare l'esame di Sistemi Operativi) e ho 2 problemi: 1) alla fine dell'installazione ho cercato di configurare la connessione PPP ...ho messo tipo PAP ma disponendo di un modem INTERNO (conexant pci modem enumarator) che non viene rilevato ho inziato a girare fino a giungere in un file (dall'interfaccia) da quale non riuscivo ad uscire. Mi potreste dire quale sia perchè vorrei togliere alcune sequenza di Escape che ho lasciato all'interno per uscire. 2) Esiste qualche pacchetto ancora non definitivo che mi permetta di usare il modem? In caso contrario sono praticamente bloccato perchè non potro aggiornare il sistema ecc. Grazie e buon lavoro se devi configurare ppp ti conviene farlo con pppconfig, che e' il modo piu' semplice. sul sito http://www.linmodems.org/ puoi provare a cercare informazioni sul tuo modem. in caso di disperazione, con ~ 100.000 ti compri un bel modem esterno che funziona di sicuro! :-) tra parentesi, se scrivi in inglese c'e' piu' gente che puo' risponderti! :-) in bocca al lupo. pietro. P.S. scusa per la mail personale, ho premuto invia troppo presto...
Re: C routine that compares debian package versions
I'm currently writing a small program in C that is supposed to show me which packages I have from woody and which ones from sid (my system is actually a mix of both of them). Now, a problem I am likely to encounter soon are the version numbers. Do the follow some kind of scheme? For instance, package ssh ssh 1:1.2.3-9.3 If I had the version string saved somewhere, and an other one like 1:1.2.3-9.4, how can I compare them, is there a function that can do this? you can use system() to call dpkg with the --compare-versions option. in alternative, you can dig in the dpkg source to find the function you need! pietro.
Re: [OT] Extraction of info from PDF file
I might be making a fool of myself by asking this, but is there any way of extracting information such as text and pictures out of a PDF file that anyone knows of? So far I haven't used PDF files to other things than view them, and occasionally print them, using xpdf, but now I need to cut and paste a piece of text and a couple of pictures from as PDF file. i often use pdftotext, it works great (xpdf package). pdftopbm should help you with images, but i never tried it. hope it helps. pietro.