possible bug writing to /etc/network/intefaces
I may have found a bug in Debian Etch/KDE 3.5.5 It appears that the file /etc/network/interfaces is written to incorrectly when modifying the Network Setting. In KDE, I go to Control Center - Network Settings. A dialog comes up entitled Unsupported Platform and asks to select a supported platform. Strangely (but this is not the problem) Debian Gnu/Linux 4.0 Etch is listed (it is the OS I am running). So I select it. Then in Domain Name System tab, I add a domain name server. This adds the specified server to /etc/resolv.conf, but as a side effect, these 2 lines are added to /etc/network/interfaces: address 127.0.0.1 netmask 255.0.0.0 These lines cause the error this error on boot: configuring network interfaces file /etc/network/interfaces:10 misplaced option ifup couldn't read interfaces file /etc/network/interfaces which in turn cause KDE to hang at Initializing System services. If I replace the interfaces file with the original interfaces file, KDE boots normally. I think the 2 lines (address netmask) are intended for use with a static IP address. If I switch from dhcp to static ip and set the ip addr, subnet mask and gateway, the interfaces has this: allow-hotplug eth2 iface eth2 inet static address 192.168.0.102 netmask 255.255.255.0 gateway 192.168.0.1 and it doesn't flag an error on boot (and thus kde starts with no problems) It may be the case that wehn system is dhcp, setting the DNS and such doesn't make sense, but it nonetheless is possible to screw up the system by doing this. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: bug #403133 - print from kpdf fails, add file name to command and it works
Well.. Steps to reproduce on _my_ machine : * Open http://bugs.debian.org/403133 (for example) in konqueror. * [Ctrl-P] (Menus : Location, Print) * In Name:, choose to print to a PDF file * In Output file:, choose to print to /tmp/print.pdf (for example, no matter) * Clic Print Then that error message appears : - A print error occurred. Error message received from system: Unable to start child print process. Check the command syntax: gs -q -dNOPAUSE -dSAFER -dPARANOIDSAFER -sDEVICE=pdfwrite -sPAPERSIZE=a4 -sOutputFile=$out{/tmp/print.pdf} -c save pop -f %in - Regards, Didier -- 5174 DF20 B82E 613D C14A A92B C16D 679C E9A2 78F0 pgpvbjgcZiDA4.pgp Description: PGP signature
Re: bug #403133 - print from kpdf fails, add file name to command and it works
Hi, 2007 m. sausis 11 d., ketvirtadienis 20:58, Didier Raboud rašė: Well.. Steps to reproduce on _my_ machine : * Open http://bugs.debian.org/403133 (for example) in konqueror. * [Ctrl-P] (Menus : Location, Print) * In Name:, choose to print to a PDF file Are you referring to the name Print to File (PDF) here? If not, read below. * In Output file:, choose to print to /tmp/print.pdf (for example, no matter) * Clic Print Then that error message appears : - A print error occurred. Error message received from system: Unable to start child print process. Check the command syntax: gs -q -dNOPAUSE -dSAFER -dPARANOIDSAFER -sDEVICE=pdfwrite -sPAPERSIZE=a4 -sOutputFile=$out{/tmp/print.pdf} -c save pop -f %in - That is not the command which should executed be when you choose Print to File (PDF). It seems that your configuration is broken somewhere. By the way, I've found Print to a PDF file in my user ~/.kde config files. KDE wouldn't let me choose it for printing, but it was there. KDE 3.5.5 no longer has this special printer because it is superseeded by Print to File (PDF). So I recommend you (if you don't have jobs pending and haven't customised kdeprint) $ rm -rf ~/.kde/share/apps/kdeprint -- OR if you have heavily customised kdeprint -- $ editor ~/.kde/share/apps/kdeprint/specials.desktop and remove obsolete entries. Default KDE entries can be found at /usr/share/apps/kdeprint/specials.desktop. `kbuildsycoca` or even KDE log off log on might be needed for changes to take effect. You can also try editing printer list via kcontrol module printers. I'm closing this bug... Reopen if steps above do not help. pgp0zoGn2q3bn.pgp Description: PGP signature
Re: bug #403133 - print from kpdf fails, add file name to command and it works
Le jeudi 11 janvier 2007 22:30, Modestas Vainius a écrit : (...) That is not the command which should executed be when you choose Print to File (PDF). It seems that your configuration is broken somewhere. By the way, I've found Print to a PDF file in my user ~/.kde config files. KDE wouldn't let me choose it for printing, but it was there. KDE 3.5.5 no longer has this special printer because it is superseeded by Print to File (PDF). So I recommend you (if you don't have jobs pending and haven't customised kdeprint) $ rm -rf ~/.kde/share/apps/kdeprint -- OR if you have heavily customised kdeprint -- $ editor ~/.kde/share/apps/kdeprint/specials.desktop and remove obsolete entries. Default KDE entries can be found at /usr/share/apps/kdeprint/specials.desktop. `kbuildsycoca` or even KDE log off log on might be needed for changes to take effect. You can also try editing printer list via kcontrol module printers. I'm closing this bug... Reopen if steps above do not help. Well.. I don't know if it should be reopened, but it still does not work. I did the steps above, logged off and in again and tried. It worked (in the way did not gave errors, because the given PDF was totally unreadable. BUT, I tried with a second file and got a similar error, though with another command : A print error occurred. Error message received from system: Unable to start child print process. Check the command syntax: gs -q -dSAFER -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$out{/tmp/print2.pdf} -sPAPERSIZE=a4 -c .setpdfwrite -f %in I'm really sorry for having errors, but... Regards, Didier -- 5174 DF20 B82E 613D C14A A92B C16D 679C E9A2 78F0 pgpNGsQ1SVaoL.pgp Description: PGP signature
Re: possible bug writing to /etc/network/intefaces
Am Donnerstag 11 Januar 2007 17:13 schrieb jdaues: I may have found a bug in Debian Etch/KDE 3.5.5 It appears that the file /etc/network/interfaces is written to incorrectly when modifying the Network Setting. In KDE, I go to Control Center - Network Settings. A dialog comes up entitled Unsupported Platform and asks to select a supported platform. I do not have this entry in the control center. I suppose this comes from knetworkconf and upgrading to 4:3.5.5-3 may fix this. HS -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]