installing window managers ...
I can configure extra session types via KDE controll centre. They then come up on the KDM graphical menu for login. On red hat I then modified /etc/X11/xdm/Xsession and added a line for my newly installed window manager saying if session is fluxbox, call fluxbox etc HOWEVER I cant figure it for debian ?? any ideas where the debian script is ? /etc/X11/xdm/Xsession in debian doesnt make any sense to me !! many thanks dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
ip_table problems
I run kernel 2.4.19, I want to run firestarter as a GUI firewall, it needs IP chains enabled in the kernel I have checked /usr/src//Documentation zip I have read man ipchains zip of use I finaly tracked down an article telling me what modules to enable, I have in Network options M Packet socket M Network packet filtering (replaces ipchains) * Socket filtering * Unix domain socket - BOY did I miss this one when I forgot it !! * TCP?IP network In netfilter configuration I have M IP table support M For all the modules down to ARP table support, this one I have left blank I boot the machine debian:/home/test# modprobe ip_tables /lib/modules/2.4.19/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol nf_unregister_sockopt /lib/modules/2.4.19/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol nf_register_sockopt /lib/modules/2.4.19/kernel/net/ipv4/netfilter/ip_tables.o: insmod /lib/modules/2.4.19/kernel/net/ipv4/netfilter/ip_tables.o failed /lib/modules/2.4.19/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables failed debian:/home/test# every time !!! I tried compiling IP table support directly into the kernel, firestarter then says it cant find the module, not suprising realy .. I have tried various combinations of modules and compiled in modules, the same result Any ideas All help much appreciated Dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ES1371 not functioning
On Wednesday 27 November 2002 07:26, Andrew R Reid wrote: > This has been bugging me for months - so I want to fix it. > > I have an ES1371 on my server that I would really like to get going so that > when I work on it on weekends I can have nice sounds when I an in gnome ;-) > > This is the result of lspci -v > > 02:07.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI] (rev 01) > Subsystem: Unknown device 4942:4c4c > Flags: bus master, slow devsel, latency 208, IRQ 23 > I/O ports at 3000 [size=64] > > when I do a modprobe es1371 I get this > > Nov 27 17:07:04 cpserver kernel: es1370: version v0.37 time 12:29:49 Apr 14 > 2002 > Nov 27 17:07:04 cpserver kernel: es1370: found adapter at io 0x3000 irq 23 > Nov 27 17:07:04 cpserver kernel: es1370: features: joystick off, line in, > mic impedance 0 > > I did have a lot of settings in my /etc/modutils/es1371 file, but I deleted > them because I really didn't know what was going on and thought I would be > better to start from scratch. > > I know I will need a > > alias char-major-14 es1371 WOW!! - First time I think I can help someone !! Try alias sound-slot-0 es1371 in /etc/modultils/aliasis then update-modules worked for me . If not look in /var/log/messages & syslog after a boot It will tell you what the system could not find, in my case sound-slot-0, QED As I configure my system, I write a kind of howto for myself, heres my page for es1371 and its gameport ... Debian 3.0, es1371 Sound & Gameport Ensure the following modules are enabled in the kernel M Sound card support, soundcore M Creative Ensoniq Audio PCI 97 ES1371, es1371 M Input core support, joydev M Char dev/joystick/clasic PC analog, analog Re-compile the kernel .. cd /dev/input rm js* cd .. rm js* mknod input/js0 13 0 ln -s input/js0 js0 at the end of /etc/modules, add the lines soundcore joydev analog js-fullchf es1371 joystick=1 & re-boot... Should all work. Set the joystick switch to '2' Install joystick with dselect Check joystick with jstest /dev/js0 Joystick/dev/js0 trigger 0 big green button1 2 x yellow buttons 2,3 CH flightstick pro, in modes 3,4 it simulates generic joystick IF the sound fails. I originally setup /etc/modules/aliases to include alias sound-slot-0 es1371 Then run update-modules, before I played with the gameport PS Ive got almost all of debian working now, If you think the rest of my home brew howtos would be usefull, e-mail me and i will send em. Good luck Dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: apt-get - what is it aware of?
On Wednesday 27 November 2002 01:35, Tim Verry wrote: > apt-get is completely unaware of things you install or update by hand? It > only knows about apps that were installed/updated using apt-get (or dselect > or dpkg)? dselect and install checkinstall this will take a ./configure, make etc ... and make it with checkinstall it majicly turnes into a dpkg as well as installs it magic !!! works for me dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ip_table problems
On Wednesday 27 November 2002 04:27, Derrick 'dman' Hudson wrote: > On Wed, Nov 27, 2002 at 12:05:44AM +, daves debian wrote: > | I run kernel 2.4.19, I want to run firestarter as a GUI firewall, it > | needs IP chains enabled in the kernel > > ipchains or iptables? The two are quite different. > > | I finaly tracked down an article telling me what modules to enable, > | I have in Network options > > Here's what I selected : > > # > # IP: Netfilter Configuration > # > CONFIG_IP_NF_CONNTRACK=y > CONFIG_IP_NF_FTP=y > CONFIG_IP_NF_IRC=y > CONFIG_IP_NF_QUEUE=m > CONFIG_IP_NF_IPTABLES=y > CONFIG_IP_NF_MATCH_LIMIT=y > CONFIG_IP_NF_MATCH_MAC=y > CONFIG_IP_NF_MATCH_MARK=y > CONFIG_IP_NF_MATCH_MULTIPORT=y > CONFIG_IP_NF_MATCH_TOS=y > CONFIG_IP_NF_MATCH_AH_ESP=m > CONFIG_IP_NF_MATCH_LENGTH=y > CONFIG_IP_NF_MATCH_TTL=y > CONFIG_IP_NF_MATCH_TCPMSS=y > CONFIG_IP_NF_MATCH_STATE=y > CONFIG_IP_NF_MATCH_UNCLEAN=m > CONFIG_IP_NF_MATCH_OWNER=m > CONFIG_IP_NF_FILTER=y > CONFIG_IP_NF_TARGET_REJECT=y > CONFIG_IP_NF_TARGET_MIRROR=m > CONFIG_IP_NF_NAT=y > CONFIG_IP_NF_NAT_NEEDED=y > CONFIG_IP_NF_TARGET_MASQUERADE=y > CONFIG_IP_NF_TARGET_REDIRECT=y > # CONFIG_IP_NF_NAT_LOCAL is not set > # CONFIG_IP_NF_NAT_SNMP_BASIC is not set > CONFIG_IP_NF_NAT_IRC=y > CONFIG_IP_NF_NAT_FTP=y > CONFIG_IP_NF_MANGLE=y > CONFIG_IP_NF_TARGET_TOS=y > CONFIG_IP_NF_TARGET_MARK=y > CONFIG_IP_NF_TARGET_LOG=y > CONFIG_IP_NF_TARGET_ULOG=y > CONFIG_IP_NF_TARGET_TCPMSS=y > # CONFIG_IP_NF_ARPTABLES is not set > > > I did not enable the ipchains compatibility module since I use > iptables. > > HTH, > -D Many thanks for your help did the above, still no go !! Finaly worked it out . iptables in the kernel and the 'user space' iptables need to communicate, they need the Network dev support/universal TUN/TAP device driver mmm .. interesting IP tables now work fine dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Xlib: connection to ":0.0" refused by server ???
When i am logged in as a user, I want to execute an X program as root, I type su I have root access, ie I can do whatever I want !! When I try and access an X program, like firestarter my firewall I get debian:/home/test# firestarter NETFILTER detected Gdk-WARNING **: locale not supported by C library Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server Gtk-WARNING **: cannot open display: :0.0 debian:/home/test# The X library has been refused by the X server, because root is not autherised to connect to the server ?? Can anyone explain to a simpleton why? and how do I get around this ? Any ideas dave PS you guys are a mine of information !! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
firewall problems !!
I have firestarter installed on my system, I logon as root, start the setup wizard, simple config, test as root, aok, log out and into a user account, aok re-boot my machine and root is OK but no matter what I configure, my day to day user account cannot access the web, or mail !!! I thought that default config would set up a firewall for me ?? I have to firestarter --stop to access the web ... I admit iptables and IP addresses confuses me, Can anyone tell me of an idiots firewall ? One even I can set up ? Dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: firewall problems !!
On Sunday 01 December 2002 15:04, Richard Kimber wrote: > On 01 Dec 2002 15:13:34 +0100 > > Matthias Hentges <[EMAIL PROTECTED]> wrote: > > > I admit iptables and IP addresses confuses me, > > > > > > Can anyone tell me of an idiots firewall ? One even I can set up ? > > > > Setting up a firewall without knowing what it exactly does is dangerous. > > You should consider learning how to write your own firewall rules IMO. > > InteractiveBastille might be an answer. Writing firewall rules takes a > lot of learning, and creating a firewall is (for many people with simple > requirements) just a one-off task that makes all the learning not a very > cost effective way of spending time. > > - Richard. Many thanks for the tip, loading bastille now and will give it a go ... >From the web info seems good, lots of hand holding and info Dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Where to view bootup info ? dmesg ??
Can anyone tell me how to view the bootup screen, it goes by so fast I can use dmesg to view the kernel boot I seem to have loads of error messages after the kernel boots I have checked /var/log/... no go Somewhere about when fstab is mounted any ideas ? dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
bastille problems ???
I have installed bastille, via dselect, woody 3.0 I had a couple of problems, so installed a .deb file from bastillion website instead, same problems !!! so returned to woodys DVD copy... Once installed AutomatedBastille gives test@debian:~$ su Password: debian:/home/test# AutomatedBastille Can't locate Curses/Widgets.pm in @INC (@INC contains: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at /usr/sbin/AutomatedBastille line 78. BEGIN failed--compilation aborted at /usr/sbin/AutomatedBastille line 78. debian:/home/test# InteractiveBastille, and I know this is the prefered option, appears to work AOK but when I try and apply the rules I get ... test@debian:~$ su Password: debian:/home/test# bastille -b Entering Critical Code Execution. Bastille has disabled keyboard interrupts.\n\n Executing Firewall Specific Configuration Executing File Permissions Specific Configuration Executing Account Security Specific Configuration Executing Boot Security Specific Configuration Couldn't modify hard drive's grub.conf -- couldn'tfind /etc/grub.conf Executing Inetd Specific Configuration Executing User Tool Specific Configuration Executing PAM Specific Configuration Executing Logging Specific Configuration syntax error at /usr/lib/Bastille/Logging.pm line 122, near ") {" syntax error at /usr/lib/Bastille/Logging.pm line 138, near "}" Compilation failed in require at /usr/sbin/BastilleBackEnd line 143. debian:/home/test# A syntax error ? I enclose the offending perl script, any ideas ??? Dave # Copyright (C) 1999, 2000 Jay Beale # Licensed under the GNU General Public License package Bastille::Logging; use lib "/usr/lib"; use Bastille::API; ### ## Logging ## ### #&ConfigureAutomatedLogWatcher &ConfigureAdditionalLogging; &AddProcessAccounting; # capveg 12/99 &AddSecurityChecks; &ConfigureAutomatedLogWatcher; Anyone want to do this? sub ConfigureAdditionalLogging { if (&getGlobalConfig("Logging","morelogging") eq "Y") { &ActionLog("# sub ConfigureAdditionalLogging\n"); my $logging_host=&getGlobalConfig("Logging","remotelog_host"); # Add two more logging files to RedHat's default scheme and log # lots of data to TTY 7 and 8 # We add additional logging files: #/var/log/kernel --kernel messages #/var/log/syslog --messages of severity \"warning\" and #\"error\" #/var/log/loginlog --all logins... # NOTE: Debian, however, does by default have kernel and syslog rotation # already # # Also configure the 7th and 8th TTYs for more logging. my $var_log_syslog_lines= <
Re: Where to view bootup info ? dmesg ??
On Thursday 05 December 2002 17:33, Ben Hartshorne wrote: > On Wed, Dec 04, 2002 at 11:09:53PM +0100, Sebastiaan wrote: > > High, > > > > On Wed, 4 Dec 2002, daves debian wrote: > > > Can anyone tell me how to view the bootup screen, it goes by so fast > > > > > > > > > I can use dmesg to view the kernel boot > > > I seem to have loads of error messages after the kernel boots > > > I have checked /var/log/... no go > > > > > > Somewhere about when fstab is mounted > > > > > > any ideas ? > > > > This should be in /var/log/syslog, /var/log/daemon.log, > > /var/log/kern.log. > > I'd just like to reiterate something said above. > The boot process can be devided into two sections, kernel boot and > service boot. All the kernel messages from the kernel boot go into > /var/log/dmesg (written from the S55bootmisc.sh in rcS.d). > The services start to boot when you see all the > Starting sshd [ok] > lines go across the screen. It's up to each service to log stuff if > they want to; there's no centralized logging service for those. So, if > one of them is bugging out on you, it's hard to find it logged (unless > it's a nice and kind service). > > This boundary is a little fuzzy when it comes to services that load > kernel modules, such as starting network services. Part of that (the > part that has to do with the kernel) gets logged in /var/log/dmesg, but > there might be other parts that don't. > > One technique I have used to be able to read boot messages takes > advantage of the scrollback buffer in the console. Boot to runlevel 3 > (multiuser, no X) by editing /etc/inittab and changing > > >>> # The default runlevel. > >>> id:5:initdefault: > > to > > >>> # The default runlevel. > >>> id:3:initdefault: > > When you are getting near the end of the boot process, hit a > bunch of times. When you get your console login prompt, it clears > whatever is currently on the screen, hitting pushes stuff off > the screen so it won't be cleared. (sorry, that's redhat, I think. I > just checked and it seems the login prompt just comes at the end of the > boot sequence. much nicer. Yay Debian!) > You can then scroll back to see what went through the boot sequence (to > a point, I don't know what it is...) by holding down Shift and pressing > the PgUp key. > Don't switch virtual consoles, or you will lose your scrollback buffer. > > -ben many thanks, run init default to 1, works a treat !! sorts my problem !! dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Opps !! HELLLLLLLLPPPPPP !!! iptables and a clingon
HELP I was experimenting with firewall scripts, one of which was mason, the one that as you use the internet it generates rules. I have since deleted all these scripts, read up about iptables and am happy to DIY !!! HOWEVER a bit of mason still seems to be hanging on when I connect with iptables -L showing accept on everything, (I know this is SO insecure, but bear with me ...) all is OK, when I use a web browser, mail etc iptables -L starts comeing up with rules, I didnt put them there, I think it must be mason. However the rules are no good and block my dial on demand link the next time I wnat to use it I have to /etc/init.d/iptables reload to clear iptables -L to accept, then its OK till I use the web !!! I have tried everything, re-load mason, purge it etc etc >From now on no more flashy scripts, good old text config files for me . Any advice on how to unscrew my system greatly appreciated .. dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Opps !! HELLLLLLLLPPPPPP !!! iptables and a clingon
On Sunday 08 December 2002 17:14, Elizabeth Barham wrote: > > The instructions are in /etc/default/iptables. > > Here's what I did: I wrote an iptables script and saved it in root's > home directory, and when I want to change the iptables rules, I modify > the script, run it, and then do: > > /etc/init.d/iptables save active > > Elizabeth Yep, that looks good to me !!! The problem I have is that, first I reset iptables with /etc/init.d/iptables restart iptables -L gives debian:/home/test# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination debian:/home/test# Im a happy bunney, OK an insecure one !! I try and access the web, the dial on demand kicks in, all AOK and good web page OK etc etc ... However as the link via PPP is made iptables -L gives ... debian:/home/test# iptables -L Chain INPUT (policy DROP) target prot opt source destination ACCEPT all -- anywhere anywhere LOGall -- 127.0.0.0/8 anywhere LOG level warning DROP all -- 127.0.0.0/8 anywhere ACCEPT all -- anywhere 255.255.255.255 ACCEPT all -- anywhere m718-mp1.cvx1-c.nth.dial.ntli.net LOGall -- anywhere anywhere LOG level warning DROP all -- anywhere anywhere Chain FORWARD (policy DROP) target prot opt source destination LOGall -- anywhere anywhere LOG level warning DROP all -- anywhere anywhere Chain OUTPUT (policy DROP) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT all -- anywhere 255.255.255.255 ACCEPT all -- m718-mp1.cvx1-c.nth.dial.ntli.net anywhere LOGall -- anywhere anywhere LOG level warning DROP all -- anywhere anywhere debian:/home/test# and untill I reset iptables dial on demand fails ... My guess is that all these rules should not self generate ? They are probarbly comming from a previous iptables script or setup demon in mason or bastille ?? Any ideas ??? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: iptables cont ...
On Monday 09 December 2002 23:17, you wrote: > daves debian <[EMAIL PROTECTED]> writes: > > However as the link via PPP is made iptables -L gives ... > > > > debian:/home/test# iptables -L > > Chain INPUT (policy DROP) > > target prot opt source destination > > ACCEPT all -- anywhere anywhere > > LOGall -- 127.0.0.0/8 anywhere LOG level > > warning DROP all -- 127.0.0.0/8 anywhere > > ACCEPT all -- anywhere 255.255.255.255 > > ACCEPT all -- anywhere > > m718-mp1.cvx1-c.nth.dial.ntli.net LOGall -- anywhere > > anywhere LOG level warning DROP all -- anywhere > > anywhere > > > > Chain FORWARD (policy DROP) > > target prot opt source destination > > LOGall -- anywhere anywhere LOG level > > warning DROP all -- anywhere anywhere > > > > Chain OUTPUT (policy DROP) > > target prot opt source destination > > ACCEPT all -- anywhere anywhere > > ACCEPT all -- anywhere 255.255.255.255 > > ACCEPT all -- m718-mp1.cvx1-c.nth.dial.ntli.net anywhere > > LOGall -- anywhere anywhere LOG level > > warning DROP all -- anywhere anywhere > > debian:/home/test# > > > > and untill I reset iptables dial on demand fails ... > > > > My guess is that all these rules should not self generate ? > > They are probarbly comming from a previous iptables script or setup demon > > in mason or bastille ?? > > Any ideas ??? > > Probably ppp. Check /etc/ppp (my guess; I have not used PPP in a > while) or /etc/network - for some script that is run after you make > your ppp connection. It may even be in /etc/network/interfaces. > > The: m718-mp1.cvx1-c.nth.dial.ntli.net is obviously your dynamically > assigned IP address, so someone... or something (eek!) inserted your > new IP address into the iptables. > > Elizabeth Have checked all scripts in /etc/ppp /etc/network /etc/network/interface all wholsome and OK eek! is appropreate !!! any other ideas ?? Dave in desperation PS checked ps ax while link running, all OK there PPS I will never use a smart arse script again. Its ASCII files & VI for me !! dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
the iptables saga ....
Many thanks for your help, I looked in all the config files, zip, I finaly had the ides of dpkg -P ppp and re-installing it WOW !! it works !!! I finaly got rid of the myserious table configurator.!! many thanks once again dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
apm
Am i right in thinking that I need apm compiled in the kernel to allow my system to turn its own power off when i shutdown -h now ?? All the documentation seesm to be about laptops and batt saving ? I run a full size system. Secondly I am having difficulty finding documentation explaining the parameters I can pass to the apm module, any ideas ??? Dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: apm it works .... but ....
Many thanks for the info After having a read and got my apm to work by [*] Power Management support [ ] ACPI support <*> Advanced Power Management BIOS support [ ] Ignore USER SUSPEND [ ] Enable PM at boot time [ ] Make CPU Idle calls when idle [ ] Enable console blanking using APM [ ] RTC stores time in GMT [ ] Allow interrupts during APM BIOS calls [ ] Use real mode APM BIOS call to power off and adding to LILO .. append="apm=on apm=power-off" It all works AOK, switches off wonderfully !! HOWEVER !!! If possible I would like to set this up so I dont have to append="apm=on apm=power-off" in LILO, I compiled APM as a module, removed, append " " from LILO inserted apm on power-off into /etc/modules and ta ta .. it failed !!! also tried .. apm power-off=1 ta ta .. it failed !!! Any ideas ?? If not I am still a happy bunney with the LILO solution. Many thanks Dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: apm
On Tuesday 17 December 2002 17:10, Clive Standbridge wrote: > On Mon 16 Dec 2002 18:34:27 +(+), daves debian wrote: > > Am i right in thinking that I need apm compiled in the kernel to allow my > > system to turn its own power off when i > > > > shutdown -h now ?? > > No, it works as a module for me. > > > All the documentation seesm to be about laptops and batt saving ? I run a > > full size system. > > So do I. > > > Secondly I am having difficulty finding documentation explaining the > > parameters I can pass to the apm module, any ideas ??? > > This solved the same problem for me. > The parameter depends on your kernel: > For 2.2, add this to lilo.conf: > append="apm=on" > For 2.4, add this to /etc/modules: > apm power_off=1 > assuming that your 2.4 kernel has APM as a module (kernel-image-2.4.18-k7 > has). > > Can't remember where I read this (probably on this list). > > Also, you may need to enable "Power Management by APM" or similar in the > BIOS. > > I hope this helps. Sure as hell does !! apm power_off=1 works a treat with modules dont need to modify LILO many thanks dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: apm it works .... but ....
On Tuesday 17 December 2002 17:10, Clive Standbridge wrote: > On Mon 16 Dec 2002 18:34:27 +(+), daves debian wrote: > > Am i right in thinking that I need apm compiled in the kernel to allow my > > system to turn its own power off when i > > > > shutdown -h now ?? > > No, it works as a module for me. > > > All the documentation seesm to be about laptops and batt saving ? I run a > > full size system. > > So do I. > > > Secondly I am having difficulty finding documentation explaining the > > parameters I can pass to the apm module, any ideas ??? > > This solved the same problem for me. > The parameter depends on your kernel: > For 2.2, add this to lilo.conf: > append="apm=on" > For 2.4, add this to /etc/modules: > apm power_off=1 > assuming that your 2.4 kernel has APM as a module (kernel-image-2.4.18-k7 > has). > > Can't remember where I read this (probably on this list). > > Also, you may need to enable "Power Management by APM" or similar in the > BIOS. > > I hope this helps. Sure as hell does !! apm power_off=1 works a treat with modules dont need to modify LILO many thanks dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
qt problems ...
I am trying to upgrade my woody KDE to 3.0.4, Ive done this in the past with red hat AOK but am having problems with debian. My KDE is in /opt/kde3 My qt is in /opt/kde3/qt I setup my variables with the following script ... #! /bin/sh KDEDIR=/opt/kde3 QTDIR=$KDEDIR/qt PATH=$QTDIR/bin:$KDEDIR/bin:$PATH MANPATH=$QTDIR/doc/man:$MANPATH LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH export KDEDIR QTDIR PATH MANPATH LD_LIBRARY_PATH I then moved to the qt directory did a ./configure -system-zlib -qt-gif -system-libpng \ -system-libjpeg -plugin-imgfmt-mng -thread -no-stl \ -no-xinerama -no-g++-exceptions All OK so far Then did a make I got the following . debian:/opt/kde3/qt# make make[1]: Entering directory `/opt/kde3/qt' cd qmake && make make[2]: Entering directory `/opt/kde3/qt/qmake' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/opt/kde3/qt/qmake' cd src/moc && make make[2]: Entering directory `/opt/kde3/qt/src/moc' make[2]: Nothing to be done for `first'. make[2]: Leaving directory `/opt/kde3/qt/src/moc' cd src && make make[2]: Entering directory `/opt/kde3/qt/src' g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_NIS -DQT_NO_XINERAMA -DQT_NO_XFTFREETYPE -DQT_NO_REMOTE -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_MAC -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_COMPACT -I/opt/kde3/qt/include -I/usr/X11R6/include -I.moc/release-mt/ -I/opt/kde3/qt/mkspecs/linux-g++ -o .obj/release-mt/qpngio.o kernel/qpngio.cpp kernel/qpngio.cpp:45: png.h: No such file or directory kernel/qpngio.cpp:59: `png_structp' was not declared in this scope kernel/qpngio.cpp:59: parse error before `,' kernel/qpngio.cpp: In function `void iod_read_fn(...)': kernel/qpngio.cpp:61: `png_ptr' undeclared (first use this function) kernel/qpngio.cpp:61: (Each undeclared identifier is reported only once kernel/qpngio.cpp:61: for each function it appears in.) kernel/qpngio.cpp:61: implicit declaration of function `int png_get_io_ptr(...)'kernel/qpngio.cpp:64: `length' undeclared (first use this function) kernel/qpngio.cpp:65: `data' undeclared (first use this function) kernel/qpngio.cpp:67: implicit declaration of function `int png_error(...)' kernel/qpngio.cpp: At top level: kernel/qpngio.cpp:76: parse error before `,' kernel/qpngio.cpp:90: parse error before `)' kernel/qpngio.cpp:103: type specifier omitted for parameter kernel/qpngio.cpp:103: parse error before `,' kernel/qpngio.cpp: In function `void setup_qt(...)': kernel/qpngio.cpp:105: `screen_gamma' undeclared (first use this function) kernel/qpngio.cpp:105: `info_ptr' undeclared (first use this function) kernel/qpngio.cpp:105: `PNG_INFO_gAMA' undeclared (first use this function) kernel/qpngio.cpp:105: implicit declaration of function `int png_get_valid(...)'kernel/qpngio.cpp:107: implicit declaration of function `int png_get_gAMA(...)' kernel/qpngio.cpp:108: implicit declaration of function `int png_set_gamma(...)'kernel/qpngio.cpp:111: `png_uint_32' undeclared (first use this function) kernel/qpngio.cpp:111: parse error before `;' kernel/qpngio.cpp:115: `width' undeclared (first use this function) kernel/qpngio.cpp:115: `height' undeclared (first use this function) kernel/qpngio.cpp:116: implicit declaration of function `int png_get_IHDR(...)' kernel/qpngio.cpp:118: `PNG_COLOR_TYPE_GRAY' undeclared (first use this function) kernel/qpngio.cpp:121: implicit declaration of function `int png_set_invert_mono(...)' kernel/qpngio.cpp:122: implicit declaration of function `int png_read_update_info(...)' kernel/qpngio.cpp:123: `image' undeclared (first use this function) kernel/qpngio.cpp:128: implicit declaration of function `int png_set_strip_16(...)' kernel/qpngio.cpp:130: implicit declaration of function `int png_set_packing(...)' kernel/qpngio.cpp:138: `PNG_INFO_tRNS' undeclared (first use this function) kernel/qpngio.cpp:149: `PNG_COLOR_TYPE_PALETTE' undeclared (first use this function) kernel/qpngio.cpp:149: `PNG_INFO_PLTE' undeclared (first use this function) kernel/qpngio.cpp:189: implicit declaration of function `int png_set_expand(...)' kernel/qpngio.cpp:191: `PNG_COLOR_TYPE_GRAY_ALPHA' undeclared (first use this function) kernel/qpngio.cpp:192: implicit declaration of function `int png_set_gray_to_rgb(...)' kernel/qpngio.cpp:197: `PNG_COLOR_MASK_ALPHA' undeclared (first use this function) kernel/qpngio.cpp:201: `PNG_FILLER_BEFORE' undeclared (first use this function) kernel/qpngio.cpp:201: `PNG_FILLER_AFTER' undeclared (first use this function) kernel/qpngio.cpp:201: implicit declaration of function `int png_set_filler(...)' kernel/qpngio.cpp:208: implicit declaration of function `int png_set_swap_alpha(...)' kernel/qpngio.cpp:216: implicit declaration of function `int png_set_bgr(...)' kernel/qpngio.cpp: At top level: kernel/qpngio.cpp:224: `png_structp' was not declared
err I dselected libpng .... help
Err I made a **?!?** mistake !! I have deselected libpng-dev libpng2-dev libpng2 libpng3 I haven't actually actioned it yet because the list of packages about to be removed is 208 inc KDE etc ... I have tried various combinations of the four libpngs, to no avail. I currently have libpng2 libpng3 selected for install, no good When I select libpng2-dev or libpng-dev I get a recursive package problem ?? Can anyone tell me what the default of these four packages in dselect should be for woody ?? This is not a good night !! think I will stop now before I screw the system completely ... !! Currently I get ... Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: abiword abiword-common abiword-gtk abiword-plugins amor ark armagetron artsbuilder bibletime bonobo cupsys cupsys-bsd cupsys-client cupsys-driver-gimpprint cupsys-pstoraster dillo eyesapplet fifteenapplet gdk-imlib1 gdm gimp-python gimp1.2 gmc gnome-applets gnome-bin gnome-card-games gnome-control-center gnome-core gnome-gnomine gnome-help gnome-libs-data gnome-panel gnome-panel-data gnome-session gnome-terminal gnome-utils gs gs-common gv imagemagick imlib-base imlib1 kab kabalone kaptain karm kasteroids kate katomic kbackgammon kbattleship kbear kblackbox kcalc kcd kcharselect kchart kcoloredit kcpuload kcron kde kde-games kde-theme-matte kde-theme-metallic kde-theme-neon kde-theme-pastel kde-theme-sweetpill kdebase kdebase-audiolibs kdebase-libs kdelibs3 kdelibs3-bin kdelibs3-cups kdepasswd kdepim-libs kdessh kdf kdict kdm kedit kfind kfloppy kformula kfract kghostview khexedit kiconedit kinkatta kit kivio kjezz kjots kjumpingcube klaptopdaemon kleandisk klines klisa kljettool klpq klprfax kmago kmahjongg kmail kmerlin kmines kmoon knetfilter knetload knewsticker knode knotes kodo koffice koffice-libs konqueror konquest konsole kontour korganizer korn koshell kpackage kpaint kpat kpm kpoker kpresenter krecord kreversi kruler krusader ksame kscd kscore kscreensaver kshisen ksirc ksirtet ksmiletris ksnake ksnapshot ksokoban kspaceduel kspread ksysv ktalkd kteatime ktexmaker2 ktimer ktron ktuberling ktux kugar kuser kview kweather kwin4 kword kworldclock kwuftpd libarts-mpeglib libbonobo2 libcapplet0 libcupsys2 libgdk-pixbuf-gnome2 libgdk-pixbuf2 libglade-gnome0 libgnome32 libgnomeprint-bin libgnomeprint-data libgnomeprint15 libgnomesupport0 libgnomeui32 libgnorba27 libgtkhtml20 libgtkxmhtml1 libkdegames libkdenetwork1 libkmid libkonq3 libmagick5 libqt2 libsdl-image1.2 libsword1 libwmf0.2-2 lskat mp3kult mpeglib netpbm noatun python-gdk-imlib python-glade python-gnome python-gtk python-numeric-tutorial quanta rep-gtk rep-gtk-gnome sawfish-gnome secpolicy tetex-bin xli xplanet xplanet-images xsane xscreensaver xscreensaver-gl xscreensaver-gnome The following NEW packages will be installed: zlib1g-dev 0 packages upgraded, 1 newly installed, 208 to remove and 0 not upgraded. Need to get 0B/218kB of archives. After unpacking 337MB will be freed. Do you want to continue? [Y/n] Opps Dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
win 98 crash, damage to debian KDE taskbar ?
I had a problem, my windows 98SE crashed badly, no supprise there, and seemed to corrupt debian on the next partition. I didn't think windows could access any other partitions ? I had to manually fsck the drive where it cleared a inode. Am i right, this has deleted a file ??? Anyhow since then the 'window' on my taskbar where all the minimised programs go has disappeared. IE if i minimise a window I cant access it !!! I have checked preferences/settings/appletts I got to admit this menu is confusing, Any ideas how to get my taskbar window back so I can un-minimise applications + how do I add remove applets, the menu seems to do nothing ? Many thanks dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
kdm sessions menu forgets ...
I have added window maker to my sessions manager, used the .deb package AOK works a treat. I now have a wmaker option to boot into from kdm. I also have fluxbox installed. I compiled it form source because I needed the latest version. I added a session fluxbox from the KDE controll center. AOK worked a treat, had a fluxbox option on the kdm menu except ... It keeps forgetting fluxbox. I keep telling kde controll centre its there, it lasts for a boot or two then defaults back to no fluxbox though wmaker is still there. Does a .deb file do something more to fix a session in kdm ??? Any ideas ?? The sessions are held in .. /etc/kde2/kdm/kdmrc I have tried editing these directly, it works OK for a while then defaults !! Dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
pon poff authority
I use pppd with the dial on demand option, it works great but I need a way of turning it on and off via pon/poff FROM the logged in user ... To get this to work I have ... chmod u+s /usr/sbin/pppdroot chgrp dip /sbin/killall5 Sets up SUID for pppd pppconfig Setup users to use pon/poff .. puts users in group dip dselect bbppp vi /usr/bin/poff insert a FLAG="a" at line 52 to kill all pppds automatically Call bbppp with bbppp -thru -com -d And everything works aok with bbppp EXCEPT If root calls pon, it with ppp_on_boot in /etc/ppp then a user cannot stop pppd with poff However if the user calls pon, it works, poff stops pppd Due to my setup, I realy need ppp_on_boot to start and user to stop start if neccesarry. Any ideas ?? Dave PS Is the way I have setup dip and SUID secureish ??!! mv /etc/ppp/ppp_on_boot /etc/ppp/no_ppp_on_boot -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Linux system /dev/hda to /dev/hdd, will it work ??
I need to move my linux system from drive, /dev/hda to /dev/hdd I know I will have to re-write lilo.conf Apart from lilo, will the system work in a different hdX ?? Anyone had any experience ?? or done it ?? Thanks Dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
jpeg to xpm format ??
I am in the middle of a reorganising my system, I will be using jpeg. It appears that the splashscreen needs a .xpm.gz format. The .gz is easy, how do I get to an xpm format Idealy I want to convert one of my jpeg images to use as the splash screen. A while ago I found an article that showed a command to convert jpeg --> xpm I looked in info grub but could not find anything about the splashscreen command. Any ideas Dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
dial on demand ... dials by itself !!
I have enabled dial on demand, it works great except sometimes it dials up by itself. I assume by some program trying to access and unknown ip address. How do I find out what programms are using my ppp link ? ps ax | grep ppp tells me ppp is active, but what caused it to activate and what program is sending all this data ???!!! Many thanks for any help Dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]