Keyboard locale
Hi all Am having a small problem with keyboard locales - when I did an apt-get update && apt-get upgrade, my keyboard locale went back to the US keyboard layout, while I can change it back to the UK keyboard layout temporarily in the terminal windows, but it doesn't change for X server, and after a reboot, the keyboard layout changes back. And the strange thing is that in the XF86 config file, the keyboard is set to UK: Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc104" Option "XkbLayout" "gb" Option "XkbVariant""gb" EndSection And in the /var/log/XFree86.0.log file: (**) Option "XkbModel" "pc104" (**) XKB: model: "pc104" (**) Option "XkbLayout" "gb" (**) XKB: layout: "gb" (**) Option "XkbVariant" "gb" (**) XKB: variant: "gb" so it seems to be loading okay... Any ideas anyone? Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
G550 and 3D acceleration
Hello all Does anyone know how to enable 3D acceleration / Open GL for my Matrox G550 AGP using Debian? Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: G550 and 3D acceleration
Hello, Sure. Make sure that whatever kernel you're using has support built for it, load the module, and start up X. Make sure you're loading the dri module. Strange - as I've got 2 graphics cards and 3 monitors, an el cheapo TNT2 and the G550. The desktop "on" the TNT2 shows OpenGL applications just fine, but the desktops "on" the G550 won't show OpenGL applications, also that Quake 3 just crashes on the G550, but runs fine on the TNT2. Thanks very much for your help again Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: G550 and 3D acceleration
To Aaron, Marc and Bill, Marc - here's the Quake 3 error on the G550: Sys_Error: GLimp_Init() - could not load OpenGL subsystem But works fine on the TNT2 Bill, Fair enough, but it doesn't work on both heads, not just one. Aaron; How do I check if its compiled in the kernel? I think it seems to be working... (taken from /var/log/dmesg) matroxfb: Matrox G550 detected matroxfb: MTRR's turned on matroxfb: 640x480x8bpp (virtual: 640x26208) matroxfb: framebuffer at 0xE600, mapped to 0xe0805000, size 33554432 Console: switching to colour frame buffer device 80x30 fb0: MATROX VGA frame buffer device matroxfb_crtc2: secondary head of fb0 was registered as fb1 But then again, AGPART doesn't work: Linux agpgart interface v0.99 (c) Jeff Hartmann agpgart: Maximum main memory to use for agp memory: 439M agpgart: unsupported bridge agpgart: no supported devices found. [drm:drm_init] *ERROR* Cannot initialize the agpgart module. Taken from the XFree86.0.log: (--) PCI: (1:6:0) NVidia Riva TNT2 M64 rev 21, Mem @ 0xeb00/24, 0xe400/25 (--) PCI:*(2:0:0) Matrox MGA G550 AGP rev 1, Mem @ 0xe600/25, 0xe800/14, 0xe900/23 (II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w, mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI, mgag400, mgag550 (II) NVIDIA XFree86 Driver 1.0-4363 Sat Apr 19 17:49:42 PDT 2003 (II) NVIDIA Unified Driver for all NVIDIA GPUs (II) Primary Device is: PCI 02:00:0 (--) Chipset mgag550 found (--) Chipset mgag550 found *blah blah - lots lots lots of messages from the MGA and Nvidia drivers* Although there's a few snippets: (EE) MGA(1): Not initializing the DRI on the second head Doesn't say for the first head though. (==) MGA(1): Direct rendering disabled Thanks very much for all your help so far ;) Cheers - Piers Aaron W. Hsu wrote: I am not sure what type of system you are running, but if the card is supported then you should be able to see if it is compiled into the kernel. If it isn't you may need to recompile your kernel with that support. It could also be a module, and you could use modconf to enable it. That is what I have to do to enable the ATI Rage128 card that I have. I just get the kernel source, patch, and then compile it with the support. You may have to do the same. Aaron Hsu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: G550 and 3D acceleration
Hello Marc, > Don't know a thing about Quake... Quake puts me to sleep. Can't see > it as anything but a good thing that it doesn't work for you. Heh... was using it as an example OpenGL - that was before someone told me about glxgears. > Ewww... framebuffer. Shoot immediately with extreme prejudice. > Large caliber weapons. Killed. > Well gee, now you know why DRI doesn't work. Provide support for your > GART. Have a Nforce2 motherboard, so GART for the NForce2 chipset isn't supported. Upgraded to the 2.6.0-test9 kernel, worked fine, but as I'm using an on-board NIC, I have to use an driver from NVidia, and it wouldn't compile saying /usr/src/linux/modversions.h were missing - I guess its because its a different kernel entirely - so catch 22 situation, either have GART support for NForce2 chipset, or have Internet access. But then again, trying glxgears gave the same error message as the old kernel plus one more line, even tho dmesg shows the AGPGART driver finding the NForce2 chipset, and the G550 graphics card. Any ideas? Thanks very much for your help again :) Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: G550 and 3D acceleration
Hello Roberto; > nForce2 GART support is in 2.4.22 and newer kernels. The nVidia > drivers have been modified (via a patch) to compile against 2.5.x and > 2.6.x kernels. If you want I can email you the patch, or you can > Goolge for it, or search the threads at nforcershq.com. Aha. Got a bit confused there for a bit, as I've got the 2.4.20 kernel patched to 2.4.21, couldn't see the option in "make menuconfig", then realised you're talking about the .22 not the .21 kernel! Doh. Compiling the 2.4.22 kernel at the moment, although can't reboot the computer as am at work and SSH'ing into my PC - can't recompile network card drivers without network card support ;) But will sort it out tonight. Hopefully that'll work now. > modeversions.h is only present after you make > [config|oldconfig|xconfig] and then 'make dep' Aha. But with the 2.6.0 kernel you don't have to do "make dep" - if I want modversions.h should I do a "make dep" or best get a patch for the nVidia drivers? Might stick with the 2.4.22 kernel as it does have support for the NForce2 chipset. > Also, what is in the Xfree86 log? Which part exactly do you need to see? If the whole lot, what's the best way to get it over? Thanks very much for your help so far :) Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
apt-get/xscreensaver problem
Hello all Needed to do an "apt-get update && apt-get upgrade" and it finished, but noted an error, so did an "apt-get -f install", and get the following: desire:~# apt-get -f install Reading Package Lists... Done Building Dependency Tree... Done Correcting dependencies... Done The following extra packages will be installed: xscreensaver Suggested packages: xscreensaver-gl streamer Recommended packages: xloadimage libjpeg-progs The following packages will be upgraded xscreensaver 1 upgraded, 0 newly installed, 0 to remove and 60 not upgraded. 343 not fully installed or removed. Need to get 0B/2865kB of archives. After unpacking 975kB of additional disk space will be used. Do you want to continue? [Y/n] (Reading database ... 65787 files and directories currently installed.) Preparing to replace xscreensaver 4.05-10woody1 (using .../xscreensaver_4.12-1_i386.deb) ... Unpacking replacement xscreensaver ... dpkg: error processing /var/cache/apt/archives/xscreensaver_4.12-1_i386.deb (--unpack): trying to overwrite `/usr/share/xscreensaver/config/fireflies.xml', which is also in package fireflies dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/xscreensaver_4.12-1_i386.deb localepurge: checking system for new locale ... Some new locales have appeared on your system: ne They will not be touched until you reconfigure localepurge with the following command: dpkg-reconfigure localepurge localepurge: processing locale files ... localepurge: processing man pages ... E: Sub-process /usr/bin/dpkg returned an error code (1) desire:~# So what am I doing wrong here? Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
SSH update problem?
Hello all I note that I'm using SSH version 3.6.1p2 but I note there's version 3.7.1 out - how do I update it to that? I downloaded 3.7.1, compiled and installed it, while doing a "ssh -V" shows 3.7.1, doing an "/etc/sbin/sshd -v" shows version 3.6.1. How do I update the server properly? Or shouldn't I bother updating it? Thanks very much for your advice in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
apt-get/xscreensaver problem
Marc, > The unofficial package 'fireflies' is flawed. This is not Debian's > fault. Remove it. It is not the responsibility of an official package > to attempt to avoid conflicts with some hacked up unofficial package. desire:~# apt-get remove --purge fireflies Reading Package Lists... Done Building Dependency Tree... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: xscreensaver: Depends: xscreensaver-gnome (= 4.05-10woody1) or xscreensaver-nognome (= 4.05-10woody1) xscreensaver-gnome: Depends: xscreensaver (> 4.09-3) but 4.05-10woody1 is to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). desire:~# Thanks again Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: G550 and 3D acceleration
Hello Roberto again; Have rebooted and sorted out PC regarding to the new kernel - it loads the AGPGART module and detects the G550 card no problem. Still OpenGL doesn't work on both heads of the G550, I get: [EMAIL PROTECTED]:~$ glxgears Error: couldn't get an RGB, Double-buffered visual [EMAIL PROTECTED]:~$ on both heads. Looking at someone's else post about OpenGL and glxgears, I get around 200fps on the Nvidia card as well so hardware rendering seems not to work on that either.. Here's a copy of the XFree86 log and dmesg; http://www.biased.org/log/XFree86.0.log http://www.biased.org/log/dmesg Thanks very much for your help again :) Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Ugly font problem
Hello all I'm having problems with ugly fonts - how do I fix it? An example is shown in the below URL: http://willow.dyndns.org/englishdude/help/openoffice.jpg Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Random crashing - related to tri video card?
Added a new TNT2 Model 64 video card in my PC along with my AGP Geforce3 and PCI TNT2 Model 64 making a total of 3 GFX cards. Computer was running okay until around 10 mins ago, when it crashed. Rebooted, LILO gave a strange error message. Rebooted, the kernel stopped loading halfway. Rebooted, LILO said CRC error. Removed the new GFX card, and everything is okay again. Is this some power supply issue, and if so, how do I make 100% sure without buying a new PSU? Thanks very much for any help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
GDM problem
Hello all Started up my PC and X seemed to have started up twice, then I got a message saying "You seem to have already a X server running on :0, should I try starting up in that window or should I not do this?" and I see there's 2 or 3 instances of X running so I kill them all. But GDM won't start properly - it seems to try and start up several times. So I stop GDM, kill all instances of X, log in using the command line and start X using "startx". It hasn't done this before. So what am I doing wrongly and how do I fix this? Thanks very much for your help Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Checking what's installed
Hello all Am installing Debian on a 486 laptop, and because I want to trim down the installation as much as possible, how do I view a list of what's installed by apt-get on the laptop? DSelect is useless as it marks some stuff that hasn't been installed as to be installed. Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Checking what's installed
You are quite right, and I apologise for being arrogrant and ignorant. Thanks very much to everyone who helped me with my query. Cheers - Piers Quoting Charles-Roberts <[EMAIL PROTECTED]>: > I hope the comment 'dselect is useless' is just an unfortunate use of > words used when you were a little upset. It is arrogrant and ignorant. > Perhaps the problem is some place else. Hint, look in a mirror. > > Anyway, use this command 'apt-show-versions -a -b | less' to see a list > of everything installed on your system. > > Charles -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Stripped down versions of software
Hi all I'm installing debian on a 486 laptop, and want to use it for X, IRC, www and email, so which window manager is best to use for the 100MHz laptop with 20mb RAM, and which IRC, WWW and email clients would also be good to use here? Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Securing networks
Hello all Am going to move house soon, and want to re-setup my network again, as I want to install debian on the network server which is currently RedHat (DHCP, DNS, proxy etc). But I'm quite worried about security, and want to know the best ways to find out how to secure the network. I've a hardware Linksys router/firewall with a WLAN access point built in. As I know WEP is as secure as a biscuit, how should I setup and secure the WLAN network? And how should I protect my wired network - also I'd like to be able to "log in" my main PC from outside, such as work or at friends house? Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Stripped down versions of software
Hello, First of all, google for what type of memory your laptop can take and how much it can take, then hit ebay. Trust me - X is greedy. If you can get 64M or 96M you'll be happier then with 16M. Unfortunately, the laptop can only take 20Mb - 4Mb onboard, 16Mb added on - there are 8Mb versions of the laptop, but I think they'd be a tad hard to find ;) Am hoping to find out how to use X over the network, after all, I've got an Athlon XP 1700+ PC - would be nice to have 1.4GHz of power on a 100MHz laptop ;) Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Securing networks
Hello Bret, What threats are you trying to protect against? That decides what you need to take care of. Not quite sure - hackers and the like? My point is that, like in the Window$ world, simply saying "put on a firewall, and an anti-virus program and you're done. And keep it up to date" doesn't really address the issue. My thinking exactly. I recommend you buy a book about securing GNU/Linux systems, and use that to guide your understanding and choices. Currently I'm using Real World Linux Security. I'm just getting started. Is it possible for you to recommend a book? SSH seems to be able to handle this. I haven't seen anyone speak against it, except for the possibility of performance issues if one tries to cram too much over the pipe. That would be a problem with just a network connection anyway, so you'd have to design for that anyway. Yeah I use SSH internally, but I'm not quite sure how SSH works externally via NAT? After all, I can't quite type "ssh -l piers 192.168.0.1". Thanks very much for your help :) Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Logging into X remotely
Hello all Is it possible at all for X on a computer to log in another computer remotely? I.e. one computer has XDM and WMaker on it, but without an XFree86 server, another computer has a XFree86 server, the computer with WMaker on, logs on to the XFree86 and shows the XDM login dialog box, and then logs into the server, and see the whole display just as if it was on the other computer? A bit like console views over SSH? Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Securing networks
Hello, If you are really interested in getting security and having some functionality hosted yourself (mail/web) then I would strongly recommend you consider a DMZ for your hosting. This can be done a number of ways. But if you can spare an extra machine, this would be pretty good and save you about $1,000. Install smoothwall or ip-cop on it and you will have a dedicated hardware firewall. This is a great place to start. Now you can leave all your windows boxes on a LAN and host a DMZ as well. In fact, I'm using Smoothwall right now for the current network, but I couldn't find anything to do with DMZ on the router? Although the ADSL router I have (not used atm, will be using it for the new network though) does have DMZ, used that without success in the past, although I'm a bit worried about putting my main PC in the DMZ all the time - I might want to log in my PC from work. Or I could just forward one port that SSH uses? Cheers for your help Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Logging into X remotely
Sorry about not being very clear... I'm just trying to explain what I would like to do - the requirements I said earlier isn't set into stone - let me try again: I've got a 1.4GHz Athlon PC and a 100MHz 486 laptop. I'd like the 100MHz laptop to "log in" and use the power of the Athlon rather than processing everything locally on the 486 - as much as possible would be nice. Cheers - Piers Carlos Sousa wrote: On Sat, 30 Aug 2003 04:19:42 -0700 Steve Lamb wrote: On Sat, 30 Aug 2003 12:16:00 +0100 Carlos Sousa <[EMAIL PROTECTED]> wrote: On Sat, 30 Aug 2003 04:06:39 -0700 Steve Lamb wrote: On Sat, 30 Aug 2003 11:42:09 +0100 Piers Kittel <[EMAIL PROTECTED]> wrote: Is it possible at all for X on a computer to log in another computer remotely? Yes. Look into XDMCP. Another option would be VNC. Not with the parameters he specified. Eg local X server, no remote X server. His post is not clear, but I think he means it the other way around (parenthesis are mine): I.e. one computer has XDM and WMaker on it, but without an XFree86 server (the client?), another computer has a XFree86 server (the server?), the computer with WMaker on, logs on to the XFree86 and shows the XDM login dialog box (???), and then logs into the server, and see the whole display just as if it was on the other computer? It's not exactly clear what he means, though, but this business of logging in to another computer's display is easily achievable with VNC, even if he has to scrap his original requirement details, whatever they were. Cheers, -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Internet sharing and security
Hi all Currently, I've got the following hardware: 1) Email/ftp/dns/proxy/web/dhcp/irc server 2) Linksys 3 in 1 hardware router/Wireless AP/switch 3) 2 laptops with WLAN cards 4) Spare PC 5) Spare 486 6) Rest of the network So I've got 3 options to share out my Internet access to my internal network... 1) Linksys router 2) Use Smoothwall on spare PC 3) Make a custom built internet sharing and firewall machine on spare PC Which one would be best to use? Keeping in mind its difficult to control the wireless access using the Linksys. I'm thinking it might be better to get a spare PC, set up Smoothwall or set up a custom firewall, plug the ADSL line into that, plug the firewall into the network, set up the email/ftp/etc server on another PC, and dig out the 486, use that as a bridge between the wireless network and the wired one, and use a VPN tunnel for the laptop? Or should I not worry too much and just slap the ADSL modem into the Linksys, setup the email/ftp/etc server, forward the relevant ports to that server, and hope nobody hacks into the wired and wireless network? Should I keep the firewall PC seperate that to the email/ftp/etc server or is it alright to combine the two? Is there any benefit in making a custom firewall machine, or should Smoothwall be sufficent? Also keep in mind, the internal network will be used just for me ;) Sorry if I'm not being very clear here... Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Gnome2.2 install problem
Hi all Have just set up my new PC with Debian, changed the apt-get sources list but I'm having an annoying Gnome2.2 apt problem, and am not quite sure how to fix this. I run: apt-get install gnome and get the following error message: Reading Package Lists... Building Dependency Tree... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: Sorry, but the following packages have unmet dependencies: gnome: Depends: gnome-core (= 26) but it is not going to be installed Depends: gnumeric but it is not installable Because I'm using the same apt-get sources on my laptop (same distro), and gnome2.2 installed just fine, so I tried an apt-get install gnome-core and get: Sorry, but the following packages have unmet dependencies: gnome-core: Depends: gnome-terminal (>= 2.1.0) but 1.4.0.6-5 is to be installed Depends: yelp but it is not going to be installed Then I do an apt-get install gnome-terminal and get: Sorry, but the following packages have unmet dependencies: gnome-terminal: Depends: yelp but it is not going to be installed Then I do an apt-get install yelp and get: Sorry, but the following packages have unmet dependencies: yelp: Depends: gnome-doc-tools but it is not installable Finally, I do an apt-get install gnome-doc-tools and get: Reading Package Lists... Building Dependency Tree... Package gnome-doc-tools has no available version, but exists in the database. This typically means that the package was mentioned in a dependency and never uploaded, has been obsoleted or is not available with the contents of sources.list Some help would be greatly appreciated! :) Might (not) be related, but when I do an: apt-get upgrade I get: Reading Package Lists... Building Dependency Tree... The following packages have been kept back aalib1 base-passwd bash bc bin86 bind9-host binutils bison bonobo whiptail whois x-window-system-core xaw3dg xbase-clients xdm xfs xfwp xlibmesa3 xlibs xnest xprt xserver-common xserver-xfree86 xterm xutils xvfb zlib1g 0 packages upgraded, 0 newly installed, 0 to remove and 212 not upgraded. Why have those packages been kept back? Thanks very much for any help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
USB and PCMCIA card readers
Hello all I have 2 card readers - an Sandisk PCMCIA compactflash card reader, and an Lexar USB Smartmedia card reader, and well, the question is how to get those to work on my linux laptop? I'm not fairly sure what is there to need to know to solve the problem, the laptop's a fairly ancient one, P233mmo, 128mb RAM, USB (has to be version 1 I guess), and has PCMCIA. Running Debian woody version 3 with kernel version 2.4.21-rc5. I get the following messages when I insert the card readers: PCMCIA Compact Flash reader: "cardmgr[94]: unsupported card in socket 1 cardmgr[94]: product info: "Micron", "MTCF" cardmgr[94]: manfid: 0x002c, 0x function: 4 (fixed disk)" USB Smartmedia reader: hub.c: new USB device 00:01.2-2, assigned address 2 usb.c: USB device 2 (vend/prod 0x5dc/0x1) is not claimed by any active driver." I'm guessing that I just need the drivers to get them, but I've searched for them, can't find them. Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: USB and PCMCIA card readers
Fantastic thanks so very much for your help Bret and Roberto - much helpful! Have recompiled the kernel with SCSI support, SCSI disk support, USB mass storage support (when I checked my .config file, I noted an entry for "Jumpshot" in the USB drivers list, but can't find that in make menuconfig. Weird) and now I get the following mesasges when I boot up the laptop with the USB reader inserted: hub.c: new USB device 00:01.2-2, assigned address 2 usb.c: USB devcie 2 (vend/prod 0x5dc/0x1) is not claimed by any active driver. SCSI subsystem driver Revision: 1.00 Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage USB Mass Storage support registered Have added "/dev/sda1 /home/smartmedia auto rw,user,noauto 0 0" to the fstab. When the laptop has booted, and I try "mount /home/smartmedia" I get an "mount: /dev/sda1 is not a valid block device" Trying "mount -t vfat /dev/sda1 /home/smartmedia" gets the same results. Any ideas? Cheers - Piers Roberto Sanchez wrote: > --- Piers Kittel <[EMAIL PROTECTED]> escribió: > >>Hello all >> >>I have 2 card readers - an Sandisk PCMCIA compactflash card reader, and >>an Lexar USB Smartmedia card reader, and well, the question is how to >>get those to work on my linux laptop? I'm not fairly sure what is there >>to need to know to solve the problem, the laptop's a fairly ancient one, >>P233mmo, 128mb RAM, USB (has to be version 1 I guess), and has PCMCIA. >>Running Debian woody version 3 with kernel version 2.4.21-rc5. I get >>the following messages when I insert the card readers: >> >>PCMCIA Compact Flash reader: >>"cardmgr[94]: unsupported card in socket 1 >>cardmgr[94]: product info: "Micron", "MTCF" >>cardmgr[94]: manfid: 0x002c, 0x function: 4 (fixed disk)" >> >>USB Smartmedia reader: >>hub.c: new USB device 00:01.2-2, assigned address 2 >>usb.c: USB device 2 (vend/prod 0x5dc/0x1) is not claimed by any active >>driver." >> >>I'm guessing that I just need the drivers to get them, but I've searched >>for them, can't find them. >> >>Thanks very much for your help in advance >> >>Cheers - Piers > > > Piers, > > The SmartMedia card reader should just work. Using a stock 2.4.18-bf2.4 > kernel, > all I needed to do was add this line to my /etc/fstab > > # > /dev/sda1 /smartmedia autorw,user,noauto 0 0 > > Then it was just a matter of plug in reader, insert card, and mount. When > finished, unmount, remove card, and (optionally) unplug reader. > > In the event that you are using a home rolled kernel, you need to enable > support for SCSI block devices. This is the SCSI part of my .config file > (2.4.20 kernel) that works with the SmartMedia reader: > > # > # SCSI support > # > CONFIG_SCSI=m > > # > # SCSI support type (disk, tape, CD-ROM) > # > CONFIG_BLK_DEV_SD=m > CONFIG_SD_EXTRA_DEVS=40 > # CONFIG_CHR_DEV_ST is not set > # CONFIG_CHR_DEV_OSST is not set > CONFIG_BLK_DEV_SR=m > # CONFIG_BLK_DEV_SR_VENDOR is not set > CONFIG_SR_EXTRA_DEVS=2 > # CONFIG_CHR_DEV_SCH is not set > CONFIG_CHR_DEV_SG=m > > > Everything works just great. > > -Roberto Sanchez > > > ___ > Yahoo! Sorteos - http://loteria.yahoo.es > Juega a la Lotería Primitiva sin salir de casa > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: USB and PCMCIA card readers
Repeated it many times, still doesn't work :/ Cheers - Piers Roberto Sanchez wrote: --- Piers Kittel <[EMAIL PROTECTED]> escribió: Fantastic thanks so very much for your help Bret and Roberto - much helpful! Have recompiled the kernel with SCSI support, SCSI disk support, USB mass storage support (when I checked my .config file, I noted an entry for "Jumpshot" in the USB drivers list, but can't find that in make menuconfig. Weird) and now I get the following mesasges when I boot up the laptop with the USB reader inserted: hub.c: new USB device 00:01.2-2, assigned address 2 usb.c: USB devcie 2 (vend/prod 0x5dc/0x1) is not claimed by any active driver. SCSI subsystem driver Revision: 1.00 Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage USB Mass Storage support registered Have added "/dev/sda1 /home/smartmedia auto rw,user,noauto 0 0" to the fstab. When the laptop has booted, and I try "mount /home/smartmedia" I get an "mount: /dev/sda1 is not a valid block device" Trying "mount -t vfat /dev/sda1 /home/smartmedia" gets the same results. Any ideas? Cheers - Piers Piers, I am not really sure why that error pops up, but I occasionally get it. Usually, repeating the mount command several times will cause it to work. I know this is somehwat annoying, but I use the SmartMedia so infrequently, that I it has not been high on my list of priorities. -Roberto ___ Yahoo! Sorteos - http://loteria.yahoo.es Juega a la Lotería Primitiva sin salir de casa -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: USB and PCMCIA card readers
Hi Roberto Module SizeUsed by Not tainted sd_mod 10092 0 (autoclean) (unused) prism2_cs 57040 1 p80211 13048 1 [prism2_cs] usb-storage 21944 0 (unused) scsi_mod53548 1 [sd_mod usb-storage] Cheers - Piers Roberto Sanchez wrote: --- Piers Kittel <[EMAIL PROTECTED]> escribió: Repeated it many times, still doesn't work :/ Cheers - Piers Post the result of an 'lsmod' right after a mount attempt. -Roberto ___ Yahoo! Sorteos - http://loteria.yahoo.es Juega a la Lotería Primitiva sin salir de casa -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: USB and PCMCIA card readers
Hello Bret, Also, is the Smart Media card you're trying to read formatted ("is there gas in the tank?")? Heh! Yeah its formatted no worries - after all, I have used it in Win2k no problems. Followed your instructions, recompiled kernel with Jumpshot support built in, and installed hotplug manager, and surprise, surprise it works. Strange when the USB driver get loaded, it says my Jumpshot Smartmedia reader is a Jumpshot CompactFlash one... No matter, it works anyway. Now to find out how to get the CompactFlash PCMCIA reader to work... Be easier to buy a Jumpshot CompactFlash reader methinks ;) Although the Jumpshot USB reader would be around £15-£20, the PCMCIA reader cost me £2. Go figure. Lots of thanks to Bret and Roberto for all your help! :) Appreciated! Cheers - Piers I have the hotplug package loaded. This handles loading and unloading drivers for usb (among other things) when adding and removing devices. It is possible my system loads a driver or otherwise sets things up when I plug in my reader. (apt-get install hotplug). I've edited the hotplug scripts to add support for a USB scanner I have, but I haven't done anything to make the reader work - it happened out of the box, as it were. I'd go for the experimental drivers choice in menuconfig, and build all the usb reader modules, then use "modconf" to make sure the usb-storage module is loaded (although it seems you already have this), then I'd try adding the hotplug package (if you haven't already). Also, is the Smart Media card you're trying to read formatted ("is there gas in the tank?")? 8-) Bret -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
ping script howto please
Hello, As my router keep dropping connections to my modem, I need to find out why it is doing that, still not sure, so have decided to write a ping script to see if it prevents the connection dropping, but as I haven't really written a script before, how do I find out how to: Ping the nearest computer to me (i.e. in my ISP) every 1 minute, and send a message to the IRCd if the ping doesn't come back - preferably only once until the connection comes back. Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Window sizing on Windowmaker
Hello all, Have used windowmaker a lot for quite a while on my work and home computers, but one thing really bugs me is that only a few certain window, when opened, is sized in crazy sizes. For example, if I open an email in Thunderbird, the window takes up the full width but only 1cm or so high, but the other windows (such as writing an new email etc) always starts up maximised. Another ex, on my home computer, when Thunderbird starts up, it is about 1cm wide, and a couple inches tall - and no matter what I do, I can't get those windows to start up maximised? I know my examples are Thunderbird centric, but it affects other programs. Any ideas anyone? Thanks very much for your hellp in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: insmod.old/lsmod.old etc probs
Usually "su" but when I login as console knowing I need root do to stuff, I login as root. In Konsole: deaf-pc15:/home/piers# echo $PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin deaf-pc15:/home/piers# which lsmod /sbin/lsmod deaf-pc15:/home/piers# Interesting - logging in as root causes the problems (kernel needs lsmod.old etc) but logging in as my own name then using "su" it works just fine. Logging in console as root: deaf-pc15:~# echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/local/apache-ant-1.6.1/bin deaf-pc15:~# which lsmod /usr/local/bin/lsmod deaf-pc15:~# Thanks very much for your help again Cheers - Piers Bill Marcum wrote: On Tue, Sep 21, 2004 at 10:01:41AM +0100, Piers Kittel wrote: Uninstalled module-init-tools, and modutils was already installed, but still doesn't fix the problem I'm afraid: deaf-pc15:/# lsmod Kernel requires old lsmod, but couldn't run lsmod.old: No such file or directory deaf-pc15:/# But strangely, in X and using Konsole, running lsmod works just fine: How do you become root? Login, su, or "su -" ? echo $PATH which lsmod -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
OT: Faulty laptop wanted
Hello all, Do someone have a laptop with a broken screen but working base unit with a built in network card (i.e. not a PCMCIA network card) lying around that I can buy off you? Need a low power firewall box. Thanks! Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Linux reports incorrect CPU speed
Hello all, Have had lots of probs with this laptop and decided just to reformat the hard drive and reinstall Debian (for the first time ever - oh the shame) even tho all probs would be fixable - but I needed a working laptop. Anyway it's all working but KDE feels very slow, and looked up the CPU speed and Linux reports it to be 259MHz while it should be 750MHz as the BIOS reports. When using the 2.4.26 kernel with custom .config file. Taking the info from dmesg: Initializing CPU#0 Detected 258.884 MHz processor. Calibrating delay loop... 534.11 BogoMIPS CPU: L1 I cache: 16K, L1 D cache: 16K CPU: L2 cache: 256K Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: 0383f9ff CPU: Common caps: 0383f9ff CPU: Intel Pentium III (Coppermine) stepping 0a Enabling fast FPU save and restore... done. From cat /proc/cpuinfo: [EMAIL PROTECTED]:~$ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 8 model name : Pentium III (Coppermine) stepping: 10 cpu MHz : 258.884 cache size : 256 KB While using the stock bf24 kernel - dmesg reports: Initializing CPU#0 Detected 746.766 MHz processor. Calibrating delay loop... 1490.94 BogoMIPS Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: 0383f9ff CPU: Common caps: 0383f9ff CPU: Intel Pentium III (Coppermine) stepping 0a Enabling fast FPU save and restore... done. and doing cat /proc/cpuinfo gets: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 8 model name : Pentium III (Coppermine) stepping: 10 cpu MHz : 746.766 cache size : 256 KB Any ideas how I can fix this? Thanks very much for your help in advance! Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Linux reports incorrect CPU speed
Hmmm good point - even using the bf24 kernel, the speed feels the same... I'm sure this should feel a little faster considering its a 750MHz CPU...? Or is it just KDE being bloaty? Thanks very much for your help! Cheers - Piers David Fokkema wrote: On Sat, Jul 03, 2004 at 11:46:55PM +0100, Piers Kittel wrote: Hello all, Have had lots of probs with this laptop and decided just to reformat the hard drive and reinstall Debian (for the first time ever - oh the shame) even tho all probs would be fixable - but I needed a working laptop. Anyway it's all working but KDE feels very slow, and looked up the CPU speed and Linux reports it to be 259MHz while it should be 750MHz as the BIOS reports. Using the stock bf24 kernel, does kde feel faster? David -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Mirroring testing questions
Hello all, Am seriously considering mirroring testing for myself (faster updates, installs etc due to having several computers) but due to only having a 512k download ADSL, can't share it out, and want to check if the bandwidth is good enough. How much update (as in size) on average occurs each day / each week? Which would be best, mirror every night, or mirror every week night? Also reading the mirror help file, it mentions each distro can be between 5 to 8GB each - how much space should I reserve for testing? Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Compiling kernel on a different computer
Hello all, I've got an ancient 486 which needs its kernel recompiled, but it is extremely slow, and the hard drive isn't big enough - and I think it's possible to recompile the kernel on my main PC and transfer the kernel and modules over - how to do this? Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
GDM problem
Hello all Changed my apt sources to get the testing packages, did an apt-get update then apt-get upgrade, and now GDM won't work properly - when the PC boots up and loads GDM, I just see the default grey/white screens on both of my monitors and the pointer is the black cross. Exiting GDM and disabling it, then typing "startx" works just fine though. Any ideas on how to fix GDM? Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
GDM Problem
Hello all Changed my apt sources to get the testing packages, did an apt-get update then apt-get upgrade, and now GDM won't work properly - when the PC boots up and loads GDM, I just see the default grey/white screens on both of my monitors and the pointer is the black cross. Exiting GDM and disabling it, then typing "startx" works just fine though. Any ideas on how to fix GDM? Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
GDM Problem
Hello all Changed my apt sources to get the testing packages, did an apt-get update then apt-get upgrade, and now GDM won't work properly - when the PC boots up and loads GDM, I just see the default grey/white screens on both of my monitors and the pointer is the black cross. Exiting GDM and disabling it, then typing "startx" works just fine though. Any ideas on how to fix GDM? Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
tar/NFS problem
Hello Bascially, I've got 2 computers, one which is my main PC (named desire), and the other is a server (named destiny). I'd like the server to backup the /home/piers directory from the main PC. The server is accessing the main PC by NFS and desire:/home is moutned on destiny:/home/desire. I've put in the following line in the crontab file on destiny: 00 4 * * 0 root rm -f /home/desirebackup/home_backup.tar; tar cf /home/desirebackup/home_backup.tar /home/desire/piers but when I tested out the "tar cf /home/desirebackup/home_backup.tar /home/desire/piers" I get a lot of "Permissions denied" errors although some files are read OK. (An example is "tar: /home/desire/piers/.mcoprc: Read error at byte 0, reading 31 byes: Permission denied") Any ideas? Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: tar/NFS problem
Florian, You are completely correct, and I totally agree, but the issue here is that the hard drive in Destiny is 12Gb, and the backup is around 6GB and so there isn't room for 2 backups. Interestingly, when I tried to tar the files on the main PC (Desire) and then copy it over via NFS, I always find the receving PC thinks the file is far smaller than it actually is - Destiny thinks the .tar file stored on Desire is 1Gb, but in actuality its 5Gb. Strange. Cheers - Piers Florian Ernst wrote: > Hello Paladin! > > Paladin wrote: > >>On Wed, 16 Jul 2003 11:03:07 +0200 >>Florian Ernst <[EMAIL PROTECTED]> wrote: >> >> >>> Hmm, you completely delete your older backup, and then you try to >>> get a new one? >>> What do you think might happen once an "error" occurs directly >>> after deleting the old backup? You will end up with _no_ backup >>> at all. >>> >>> Better put it in this order: create a new backup, verify its >>> integrity, maybe delete the old backup thereafter. >> >>Why not just do an update on the tar file? > > > That depends on the preferred backup scheme. > > I personally prefer to keep old backups completely untouched / > unchanged in order to eliminate the slightest chance of corruption > during such a change. > Certainly this causes a need for more backup space, but all the time I > have a working backup no matter what happens during the latest > backup. > > Just imagine the tar file gets corrupt during the update, you will end > up with no backup at all. > Imagine the corruption (or simply bad luck) spreads over to the files > you originally wanted to backup, you will end up with _nothing_ at > all. > > I hope to have clarified my point in this, > CU, > Flo > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: tar/NFS problem
Great! Seems to be working Cheers! Piers Michael Heironimus wrote: > On Wed, Jul 16, 2003 at 01:24:45AM +0100, Piers Kittel wrote: > >>Bascially, I've got 2 computers, one which is my main PC (named desire), >>and the other is a server (named destiny). I'd like the server to >>backup the /home/piers directory from the main PC. The server is >>accessing the main PC by NFS and desire:/home is moutned on >>destiny:/home/desire. I've put in the following line in the crontab >>file on destiny: >> >>00 4 * * 0 root rm -f /home/desirebackup/home_backup.tar; tar cf >>/home/desirebackup/home_backup.tar /home/desire/piers >> >>but when I tested out the "tar cf /home/desirebackup/home_backup.tar >>/home/desire/piers" I get a lot of "Permissions denied" errors although >>some files are read OK. (An example is "tar: /home/desire/piers/.mcoprc: >>Read error at byte 0, reading 31 byes: Permission denied") > > > It looks like you're using root to run your backup. Normally root is > remapped to nobody ("root squashing") on NFS mounts for security > reasons, so root won't have permission to read files that aren't > world-readable. In the /etc/exports file on the server you can add the > no_root_squash option to allow root access on an exported filesystem. > See the man page on exports for details. > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: tar/NFS problem
Furthering the subject... Is it possible to get the crontab to email me each time the job succeeds/fails or is it better to write a shell script and get crontab to execute the script? Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Keyboard map probs
Hello all, Did an "apt-get update && apt-get upgrade" and my keyboard settings has been reverted to the US map (again!) and while I can use "loadkeys uk" and "setxkbmap gb" to get the UK keyboard back on X and console - but I can't remember how to make the changes permament? Rebooting reverts the keyboard back to the US layout. And no, I don't want to create a new script to run loadkeys and setxkbmap each time I boot up - I mean, every time I booted up, it always loaded the UK keyboard automatically without any scripts, and now it loads the US keyboard. The XF86Config file does contain enteries for the UK keyboard yet I need to run setxkbmap to change it to the UK keyboard? Continuing on the same vein, I seem to find that nearly each time I use "apt-get update && apt-get upgrade" it generally breaks little things each time, such as the XFConfig file, or keyboard settings, or backgrounds - for example, at the same time as my keyboard map got reverted back to US, debian.jpg got changed to Debian.jpg which windowmaker and KDM didn't like it and so I had to find the new filename, and update the config file for both. Why does small things break when I do an "apt-get update && apt-get upgrade"? Thanks very much for your help in advance ;) Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Keyboard map probs
Hmmm, is it linked to this bit? (**) Option "XkbRules" "xfree86" (**) XKB: rules: "xfree86" (**) Option "XkbModel" "pc104" (**) XKB: model: "pc104" (**) Option "XkbLayout" "gb" (**) XKB: layout: "gb" (**) Option "XkbVariant" "gb" (**) XKB: variant: "gb" (==) Keyboard: CustomKeycode disabled A copy of the XFree86 log can be found at http://www.biased.org/logs/XFree86.0.log Though the console is affected so I'd think it is at the lower level not at the X level? Thanks very much for your help so far! Cheers - Piers Leandro Guimaraens Faria Corsetti Dutra wrote: Em Tue, 15 Jun 2004 12:10:09 +0200, Piers Kittel escreveu: The XF86Config file does contain enteries for the UK keyboard yet I need to run setxkbmap to change it to the UK keyboard? Please check your logs (both X and xsession), there must something else going on. Perhaps at the Gnome or KDE level? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Problem with GDM setting ugly system fonts
Hello all, After a long while, finally got GDM to work with Windowmaker, but the system fonts are a little horrible - am trying to fix it. After extensive search on Google it seems that GDM sets the DPI of the X server wrongly - anyone help me find out exactly where to set the correct DPI? I've looked into GDM and added "-dpi 100" to the bottom of the config file where it has the server start command, but it changes the font size of the text in GDM itself, but not in windowmaker - application fonts are fine, it's those fonts on the menus like "File, Edit, View" etc that looks nasty. Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Problem with GDM setting ugly system fonts
Micha, Well, I was using KDM before and the fonts were perfect - when I switch back to KDM, the fonts are fine, but when I switch to GDM the fonts goes ugly. But anyway, tried your method, but when I do an "startx" it loads xcfe - how do I get startx to load windowmaker? Thanks for your help so far! Cheers - Piers Micha Feigin wrote: I don't think its gdm that setting your fonts, but to test it out you can stop gdm (/etc/init.d.gdm stop) and try running X using startx and see if you still have the problem. I believe its windowmaker settings. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Problem with GDM setting ugly system fonts
Hello, Here's the outputs from ps aux and the server settings for startx, kdm and gdm: startx - fonts comes up fine: ps aux | grep x gives: piers 948 0.0 0.1 2300 644 tty2 S+ 17:38 0:00 xinit /usr/X11R6/lib/X11/xinit/xinitrc -- /usr/X11R6/lib/X11/xinit/xserverrc piers 1003 0.0 0.1 2972 872 ?Ss 17:38 0:00 /usr/bin/ssh-agent x-window-manager ps aux |grep X gives: piers 1231 0.0 0.1 2300 644 tty2 S+ 17:41 0:00 xinit /usr/X11R6/lib/X11/xinit/xinitrc -- /usr/X11R6/lib/X11/xinit/xserverrc root 1232 39.5 7.4 366416 38160 ? S gdm - fonts comes up as nasty: ps aux | grep X gives: root 1094 12.4 7.5 367204 38948 ? S kdm - fonts comes up as fine (same as startx): ps aux | grep X gives: root 1412 18.4 7.4 366908 38628 ? S Looks like KDM and StartX is using 100dpi while GDM isn't setting any DPI. Thanks very much for your help again ;) Cheers - Piers Micha Feigin wrote: On Thu, Jun 17, 2004 at 01:04:56AM +0300, Micha Feigin wrote: On Wed, Jun 16, 2004 at 06:27:10PM +0100, Piers Kittel wrote: Hello all, After a long while, finally got GDM to work with Windowmaker, but the system fonts are a little horrible - am trying to fix it. After extensive search on Google it seems that GDM sets the DPI of the X server wrongly - anyone help me find out exactly where to set the correct DPI? I've looked into GDM and added "-dpi 100" to the bottom of I just played with something else my self and noticed the difference with the dpi. The thing is the smaller the dpi the smaller the fonts you will get. Try setting it to "-dpi 75" instead of "-dpi 100", could be that 100 is your default for gdm and 75 for kdm. the config file where it has the server start command, but it changes the font size of the text in GDM itself, but not in windowmaker - application fonts are fine, it's those fonts on the menus like "File, Edit, View" etc that looks nasty. Thanks very much for your help in advance Cheers - Piers I don't think its gdm that setting your fonts, but to test it out you can stop gdm (/etc/init.d.gdm stop) and try running X using startx and see if you still have the problem. I believe its windowmaker settings. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] +++ This Mail Was Scanned By Mail-seCure System at the Tel-Aviv University CC. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Unable to edit KDE menu
Hello all, Just installed KDE on my work and home PCs to test it out - while I can edit the KDE menu at work, I can't edit the KDE menu at home - I open up "KDE Menu Editor", make the changes, save it, and then exit, but find the menu hasn't changed at all, and reloading KDE Menu Editor shows that the changes hasn't been done, though new icons I make are put in "Lost + Found". I suspect it's related to me having a trimonitor setup - can anyone help? Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Webcam and Linux
Hello all, Have finally got my Quickcam webcam to work under Linux, and want to capture video from it - not images, but video. The only software that I could find that would capture video was xawtv - is there any other? My problem with xawtv is that I can start it with 'xawtv -c "/dev/video0"' and it shows the image from the webcam fine, I get it to start capturing, and when I press "Stop" it crashes. With the quicktime plugin, and save as .mov, I get this: desire:/home/piers/temp2# xawtv -c "/dev/video0" This is xawtv-3.93, running on Linux/i686 (2.4.27-pk-20040820) /dev/video0 [v4l]: no overlay support v4l-conf had some trouble, trying to continue anyway Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct rate: queueing frame twice (18) v4l: waiting for a free buffer rate: queueing frame twice (18) rate: queueing frame twice (6) Segmentation fault desire:/home/piers/temp2# and when I do a "file" on the resulting file, I get: [EMAIL PROTECTED]:~/temp2$ file test test: Apple QuickTime movie file (mdat) [EMAIL PROTECTED]:~/temp2 and when I try to play it back using Mplayer, I get: Playing test QuickTime/MOV file format detected. -- MOV track #0: 60 chunks, 60 samples Image size: 352 x 264 (24 bpp) Display size: 352 x 264 Fourcc: raw Codec: 'Quicktime for Linux' -- MOV: longest streams: A: #-1 (0 samples) V: #0 (60 samples) vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display) Disabling DPMS == Opening video decoder: [raw] RAW Uncompressed Video VDec: vo config request - 352 x 264 (preferred csp: Unknown) Could not find matching colorspace - retrying with -vop scale... Opening video filter: [scale] The selected video_out device is incompatible with this codec. VDecoder init failed :( and it repeats for a while and then gives up *** Try to upgrade /home/piers/.mplayer/codecs.conf from etc/codecs.conf *** If it still does not work, read DOCS/codecs.html! Cannot find codec matching selected -vo and video format 0x20776172. == Trying this with AVI files is the same, tho I get... hmm seems to work fine, though a 5 second clip is around 30mb. Converting it to a smaller format using transcode gives a strange output, green, upsidedown and stuff. Any ideas of how I can capture video from my webcam and output as quicktime? Thanks very much for your help in advance! Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Exiting every KDE program shows the crash handler
Hi all, Reinstalled Debian last Friday, and upgraded to testing, and installed KDE, and it worked fine until today, every time I exit any KDE application, I get the KDE crash handler, for example if I load up the calculator, and I exit it, I get: The application unknown (kcalc) crashed and caused the signal 11 (SIGSEGV) This even occurs when I stop the screensaver. It doesn't affect anything, but it's annoying having to click on "OK" every time I see the crash handler dialog box. I've tried to get a backtrace but I always get this: This backtrace appears to be useless. This is probably because your packages are built in a way which prevents creating of proper backtraces, or the stack frame was seriously corrupted in the crash. What have I done wrong and how do I fix this? Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Webcam and Linux
Am using an USB webcam not a firewire one Cheers - Piers Antonio Rodriguez wrote: On Fri, Aug 20, 2004 at 01:54:22AM +0100, Piers Kittel wrote: Hello all, Have finally got my Quickcam webcam to work under Linux, and want to capture video from it - not images, but video. The only software that I could find that would capture video was xawtv - is there any other? dvgrab? info dvgrab -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Computers doesn't power off
Upgraded to the 2.4.27 kernels on both my work and home computers but now I find that they both don't power the computer off automatically, I have to push the power button manually when the computers has shut down - how to make it turn itself off now? Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
USB mouse problems
Hi all, Have got an standard USB Intellimouse - I put in a new hard drive, installed Debian, and basically it worked just fine. Then I had to remove the hard drive and go back to my old install, but the mouse doens't work there, and I've mounted the drive I had to remove and checked all settings on both drives and they both seems to be the same but still won't work on the old install - can anyone help? I've got the following modules loaded (relevant to the mouse): mousedev4148 1 input 3520 0 [mousedev] hid 9976 0 (unused) usb-uhci 23344 0 (unused) usbcore61932 1 [hid usb-uhci] and the USB subsystem driver outputs (on bootup): Sep 6 09:26:21 deaf-pc15 kernel: : USB HID v1.00 Mouse [045e:0009] on usb1:2.0 In my XF86Config-4 file I've got the following: Section "InputDevice" Identifier "Generic Mouse" Driver "mouse" Option "SendCoreEvents""true" Option "Device""/dev/input/mice" Option "Protocol" "ImPS/2" Option "Buttons" "5" Option "ZAxisMapping" "4 5" EndSection and InputDevice "Generic Mouse" "SendCoreEvents" in the "ServerLayout" section. Any ideas of what I'm doing wrong? Thanks very much for your help in advance! Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
FIXED: USB mouse problems
Needed HID Input Layer Support enabled in the kernel. Thanks for your help Cheers - Piers Craig Jackson wrote: On Mon, 06 Sep 2004 10:17:56 +0100 Piers Kittel <[EMAIL PROTECTED]> wrote: Hi all, Have got an standard USB Intellimouse - I put in a new hard drive, installed Debian, and basically it worked just fine. Then I had to remove the hard drive and go back to my old install, but the mouse doens't work there, and I've mounted the drive I had to remove and checked all settings on both drives and they both seems to be the same but still won't work on the old install - can anyone help? I've got the following modules loaded (relevant to the mouse): mousedev4148 1 input 3520 0 [mousedev] hid 9976 0 (unused) usb-uhci 23344 0 (unused) usbcore61932 1 [hid usb-uhci] modprobe psmouse and the USB subsystem driver outputs (on bootup): Sep 6 09:26:21 deaf-pc15 kernel: : USB HID v1.00 Mouse [045e:0009] on usb1:2.0 In my XF86Config-4 file I've got the following: Section "InputDevice" Identifier "Generic Mouse" Driver "mouse" Option "SendCoreEvents""true" Option "Device""/dev/input/mice" Option "Protocol" "ImPS/2" ExploperPS/2 instead of ImPS/2 if you're using the 2.6 kernel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
insmod.old/lsmod.old etc probs
Hello all, I think it's related to me trying out the 2.6 kernel a while ago and giving up and going back to the 2.4 kernel, I don't remember exactly when it occured, but it was several months ago, but when it happened, I couldn't do any module management, always got complaints that .old didn't exist - I did the dirty and nasty thing and softlinked .old to - not a good idea I know, but it generally works. But occasionally it doesn't work, such as the nvidia driver refusing to insert the module in the kernel (strange as it normally works just fine until now) as it got a warning that insmod.old isn't really insmod.old ("WARNING: insmod.old: I am not the old version!") and I'd like to fix it properly and how do I do that? Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: insmod.old/lsmod.old etc probs
Uninstalled module-init-tools, and modutils was already installed, but still doesn't fix the problem I'm afraid: deaf-pc15:/# lsmod Kernel requires old lsmod, but couldn't run lsmod.old: No such file or directory deaf-pc15:/# But strangely, in X and using Konsole, running lsmod works just fine: deaf-pc15:/# lsmod Module Size Used byTainted: PF rfcomm 30432 0 (autoclean) deaf-pc15:/# I don't have a great problem with this as I generally use X to load/remove modules, but I have probs with the nvidia installer, it has to be run when X is shut down, and it doesn't install the module as it failed to insert it: -> Kernel module load error: WARNING: /usr/local/sbin/insmod.old: I am not the old version! Thanks very much for your help again Cheers - Piers Adam Aube wrote: Piers Kittel wrote: I think it's related to me trying out the 2.6 kernel a while ago and giving up and going back to the 2.4 kernel, I don't remember exactly when it occured, but it was several months ago, but when it happened, I couldn't do any module management, always got complaints that .old didn't exist - I did the dirty and nasty thing and softlinked .old to - not a good idea I know, but it generally works. But occasionally it doesn't work, such as the nvidia driver refusing to insert the module in the kernel (strange as it normally works just fine until now) as it got a warning that insmod.old isn't really insmod.old ("WARNING: insmod.old: I am not the old version!") and I'd like to fix it properly and how do I do that? Make sure that: 1) module-init-tools is removed 2) modutils is installed Adam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
nVidia installation problem
Hello all, Have installed Debian on my K6-3 box, with the Viper V330 card, and downloaded and compiled and installed the 2.4.25 kernel and its modules just fine. Have downloaded the latest nVidia drivers, it compiled, but won't install: nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Sat Feb 28 20:30:29 2004 option status: license pre-accepted: false update : false force update: false expert : false uninstall : false driver info : false no precompiled interface: false no ncurses color: false query latest driver ver : false OpenGL header files : false no questions: false silent : false XFree86 install prefix : /usr/X11R6 OpenGL install prefix : /usr Installer install prefix: /usr kernel source path : (not specified) kernel install path : (not specified) proc mount point: /proc ui : (not specified) tmpdir : /tmp ftp site: ftp://download.nvidia.com Using: nvidia-installer ncurses user interface -> License accepted. -> No precompiled kernel interface was found to match your kernel; would you li ke the installer to attempt to download a kernel interface for your kernel f rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No) -> No precompiled kernel interface was found to match your kernel; this means that the installer will need to compile a new kernel interface. -> Kernel source path: '/lib/modules/2.4.25-pk-20040228/build' -> Performing cc_version_check with CC="cc". -> Cleaning kernel module build directory. executing: 'cd ./usr/src/nv; make clean'... rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h * .d NVdriver nvidia.o -> Building kernel module: executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.4.25-pk-20040 228/build'... echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5 336 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_ RANGE_4 -I. -I/lib/modules/2.4.25-pk-20040228/build/include -Wno-cast-qual -Wno-error nv.c cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5 336 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_ RANGE_4 -I. -I/lib/modules/2.4.25-pk-20040228/build/include -Wno-cast-qual -Wno-error os-agp.c cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5 336 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_ RANGE_4 -I. -I/lib/modules/2.4.25-pk-20040228/build/include -Wno-cast-qual -Wno-error os-interface.c os-interface.c:741: warning: `wb_list' defined but not used cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5 336 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_ RANGE_4 -I. -I/lib/modules/2.4.25-pk-20040228/build/include -Wno-cast-qual -Wno-error os-registry.c ld -r -o nv-linux.o nv.o os-agp.o os-interface.o os-registry.o ld -r -o nvidia.o nv-linux.o nv-kernel.o -> done. -> Kernel module compilation complete. ERROR: Unable to load the kernel module 'nvidia.o'. This is most likely because the kernel module was built using the wrong kernel source files. Please make sure you have installed the kernel source files for your kernel; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' rpm installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' commandline option. -> Kernel module load error: Warning: loading ./usr/src/nv/nvidia.o will taint the kernel: non-GPL license - NVIDIA See http://www.tux.org/lkml/#export-tainted for informatio
Xfree86 blank screen problem
Running Debian Testing, 2.4.25, NVIDIA-Linux 5336 driver, running 2 cards, Gainward FX Pro 660 128MB AGP and a Gainward FX Pro 660 64MB PCI with 3 monitors. Got a new IDE hard drive, added that on my PC, installed Win2k after a few problems, installed the Nvidia Windows driver, rebooted, then Windows kept crashing at the end of 2nd stage load (right before starting graphics mode) and getting fed up, wiped Win2k right off the IDE drive, and restored the bootloader on the SCSI drive, and now Xfree86 isn't working for me now - when Xfree86 loads, I just see blank screens and stays like that, despite working just fine before installing Win2k, and have made no changes whatosover to XFree86/graphics configs - getting blank screens all the time. Uninstalled and reinstalled the Nvidia drivers, no help. Xfree86 log and config files can be found here: http://www.biased.org/misc/XF86Config-4.txt http://www.biased.org/misc/XFree86.0.log.txt Any ideas anyone? Thanks very much for your help in advance Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
MBR problems
Hello all, I work for a very tiny charity. I was given 2 Dell Dimension 1100 computers with Debian installed originally, used as test machines. Their hard drives were wiped on purpose by an external company (long story, that I'm not too fully aware of) and I was told to try and recover the (luckily not too critical) data. Taking the first computer, when starting it up, it showed a GRUB error message. I booted up Knoppix, downloaded TestDisk, recovered the partitions, restored from superblock backup and ran fsck. It repaired all errors, and put all recovered folders in lost+found. I moved all folders back to where they were and renamed them. I then rebooted and first machine worked perfect. Taking the second machine, on boot up, it showed five random characters (always the same one every time though) and stopped there. Did the same procedure with the first machine, used Knoppix, recovered the partitions, restored from superblock, used fsck, and moved all folders to where they were. I rebooted, but got the same 5 random characters. I figured they wiped the MBR in the second machine, while they didn't with the first one. Don't know why. Anyway, rebooted into Knoppix, ran GRUB and then used the following commands as root: root (hd0,0) setup (hd0) quit It installed everything OK, and everything passed, with no error messages. Seemed to work OK. I rebooted, and this time, I can see random characters flash rapidly upwards on the screen and then it stops with a line on the bottom, with "PCMP" and then 4 gibberish characters (of which one is a smiley face) and then "DELL Dell DE051" and nothing else. I've tried reinstalling GRUB a few times to no avail. I suspect the MBR is a bit flakey, and needs wiping, but everything that I could find about wiping the MBR also claims will wipe the partitions which makes me a little nervous. How do I fix GRUB so I can boot Debian again? I can access and mount the hard drive via Knoppix fine and can read all data on there. BTW when the BIOS splash screen shows, I get a "Dell DE051 series" above the loading bar which sort of explains the "Dell DE051" part when the BIOS tries to find a bootloader. Any ideas how I can fix the MBR without having to buy a second hard drive and move all data off, and wipe the first one? Thanks very much for your help in advance - very much appreciated! Regards - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Installation/network card problem
Hello all, A few weeks ago, I got an Xircom CardBus Ethernet 10/100 PCMCIA card off eBay. I had an old Etch unstable netinst CD lying about, so I installed Etch on my old laptop using the CD, installing over the network without any problems. Now work has given me an old Dell Inspiron 2500 laptop and I need to put Debian on it. I have installed XP on the Dell laptop and it works perfectly fine with the network card. Now it's time to install Debian onto the Dell. I couldn't find the CD, so I downloaded a fresh copy of the latest netinst installer image and burnt it onto CD. The disc label is "Debian GNU/Linux 4.0 r0 "Etch" - Official i386 NETINST Binary-1 20070407-11:29" The Dell laptop booted up fine, and it detected the network card: kernel: xircom cardbus adaptor found, registering as eth0, using irq5 But when the installer tries to get an IP address from my server, it can't get one: dhclient: Listening on LPF/eth0/00:10:a4:e2:74:16 dhclient: Sending on LPF/eth0/00:10:a4:e2:74:16 dhclient: Sending on Socket/fallback/fallback-net dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9 dhclient: No DCHPOFFERS received. dhclient: No working leases in persistent database. dhclient: Exiting. But when looking at my server logs, I can see: May 22 16:18:45 destiny dhcpd: DHCPINFORM from 192.168.1.107 May 22 16:18:48 destiny dhcpd: DHCPINFORM from 192.168.1.107 May 22 16:20:45 destiny dhcpd: DHCPINFORM from 192.168.1.107 May 22 16:20:48 destiny dhcpd: DHCPINFORM from 192.168.1.107 May 22 16:22:57 destiny dhcpd: DHCPDISCOVER from 00:10:a4:e2:74:16 via eth0 May 22 16:22:58 destiny dhcpd: DHCPOFFER on 192.168.1.107 to 00:10:a4:e2:74:16 via eth0 May 22 16:23:02 destiny dhcpd: DHCPDISCOVER from 00:10:a4:e2:74:16 via eth0 May 22 16:23:02 destiny dhcpd: DHCPOFFER on 192.168.1.107 to 00:10:a4:e2:74:16 via eth0 May 22 16:23:08 destiny dhcpd: DHCPDISCOVER from 00:10:a4:e2:74:16 via eth0 May 22 16:23:08 destiny dhcpd: DHCPOFFER on 192.168.1.107 to 00:10:a4:e2:74:16 via eth0 May 22 16:23:18 destiny dhcpd: DHCPDISCOVER from 00:10:a4:e2:74:16 via eth0 May 22 16:23:18 destiny dhcpd: DHCPOFFER on 192.168.1.107 to 00:10:a4:e2:74:16 via eth0 May 22 16:23:30 destiny dhcpd: DHCPDISCOVER from 00:10:a4:e2:74:16 via eth0 May 22 16:23:30 destiny dhcpd: DHCPOFFER on 192.168.1.107 to 00:10:a4:e2:74:16 via eth0 May 22 16:23:40 destiny dhcpd: DHCPDISCOVER from 00:10:a4:e2:74:16 via eth0 May 22 16:23:40 destiny dhcpd: DHCPOFFER on 192.168.1.107 to 00:10:a4:e2:74:16 via eth0 May 22 16:51:46 destiny dhcpd: DHCPDISCOVER from 00:10:a4:e2:74:16 via eth0 May 22 16:51:47 destiny dhcpd: DHCPOFFER on 192.168.1.107 to 00:10:a4:e2:74:16 via eth0 May 22 16:51:54 destiny dhcpd: DHCPDISCOVER from 00:10:a4:e2:74:16 via eth0 May 22 16:51:54 destiny dhcpd: DHCPOFFER on 192.168.1.107 to 00:10:a4:e2:74:16 via eth0 May 22 16:52:03 destiny dhcpd: DHCPDISCOVER from 00:10:a4:e2:74:16 via eth0 May 22 16:52:03 destiny dhcpd: DHCPOFFER on 192.168.1.107 to 00:10:a4:e2:74:16 via eth0 May 22 16:52:16 destiny dhcpd: DHCPDISCOVER from 00:10:a4:e2:74:16 via eth0 May 22 16:52:16 destiny dhcpd: DHCPOFFER on 192.168.1.107 to 00:10:a4:e2:74:16 via eth0 May 22 16:52:24 destiny dhcpd: DHCPDISCOVER from 00:10:a4:e2:74:16 via eth0 May 22 16:52:24 destiny dhcpd: DHCPOFFER on 192.168.1.107 to 00:10:a4:e2:74:16 via eth0 May 22 16:52:37 destiny dhcpd: DHCPDISCOVER from 00:10:a4:e2:74:16 via eth0 May 22 16:52:37 destiny dhcpd: DHCPOFFER on 192.168.1.107 to 00:10:a4:e2:74:16 via eth0 Of course, the installer then fails saying "Your network is probably not using the DHCP protocol. Alternatively, the DHCP server may be slow or some network hardware is not working properly." I tried entering an address manually but it doesn't work either. I can't ping the laptop from any computer in the network. The network card worked fine with my old laptop with the unstable Debian etch installer, and this laptop with XP, but not the latest Debian etch installer. How do I fix this problem? Thanks very much for your time in advance! Regards - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Installation/network card problem - FIXED but annoying.
Hello all, A few weeks ago, I got an Xircom CardBus Ethernet 10/100 PCMCIA card off eBay. I had an old Etch unstable netinst CD lying about, so I installed Etch on my old laptop using the CD, installing over the network without any problems. Now work has given me an old Dell Inspiron 2500 laptop and I need to put Debian on it. I have installed XP on the Dell laptop and it works perfectly fine with the network card. Now it's time to install Debian onto the Dell. I couldn't find the CD, so I downloaded a fresh copy of the latest netinst installer image and burnt it onto CD. The disc label is "Debian GNU/Linux 4.0 r0 "Etch" - Official i386 NETINST Binary-1 20070407-11:29" The Dell laptop booted up fine, and it detected the network card: I asked my manager for his spare PCMICA card, and funnily enough, it looked the exact same, but actually differed very slightly - the one I have is: Xircom Realport Cardbus Ethernet 10/100 model number RBE-100 The one he gave me is: Xircom Realport Ethernet 10/100 model number RE-100 The only difference is that mine is "Cardbus" the other isn't. Anyway the gist of it all, is that the one he gave me works perfect. I'm sure Linux did spot the difference because with my card, it said: kernel: xircom cardbus adaptor found, registering as eth0, using irq5 I do not understand why my card with my old P2 266 laptop would work perfect with Debian Etch but not the same card in a Dell Inspiron with the *same* operating system and kernel, and a slightly different card would work fine? I mean, the Cardbus card works perfectly fine in the Inspiron with Windows XP. In Linux, my server *did* get DHCP requests and sent it back, but for some reason the laptop wasn't picking it up? Faulty driver with a strange combination? Thanks! Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Sed advice needed
Hello all, I need to delete some words out of a large file containing information about packets I'm analysing. I know I can use sed to do this, but haven't really used it before, so am a bit unsure of how to do it. Two example lines are as of below: "181","1324.014027","111.111.111.111","111.111.111.111","RTP","Payload t ype=ITU-T H.261, SSRC=2008229573, Seq=54520, Time=1725612773, Mark" "185","1324.078941","111.111.111.111","111.111.111.111","RTP","Payload t ype=ITU-T H.261, SSRC=2008229573, Seq=54521, Time=1725616276" I need to convert the above to the below: "181","1324.014027","111.111.111.111","111.111.111.111","RTP","54520" "185","1324.078941","111.111.111.111","111.111.111.111","RTP","54521" What's the best way to do this? I've been reading the man pages of sed, cut and awk but I can't quite figure out how to do this. Any ideas? Thanks very much for your time in advance! Regards - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Sed advice needed
On 31 May 2007, at 17:49, Tyler MacDonald wrote: Piers Kittel <[EMAIL PROTECTED]> wrote: "181","1324.014027","111.111.111.111","111.111.111.111","RTP","Payloa d t ype=ITU-T H.261, SSRC=2008229573, Seq=54520, Time=1725612773, Mark" "185","1324.078941","111.111.111.111","111.111.111.111","RTP","Payloa d t ype=ITU-T H.261, SSRC=2008229573, Seq=54521, Time=1725616276" I need to convert the above to the below: "181","1324.014027","111.111.111.111","111.111.111.111","RTP","54520" "185","1324.078941","111.111.111.111","111.111.111.111","RTP","54521" This *might* work, it depends on the rest of your dataset; sed -e 's/,"Payload.*Seq=//' -e 's/, Time=.*$/"/' Cheers, Tyler That wasn't quite perfect, but I worked out a bit how the command works and modified it - it now works like a dream! You're a lifesaver :) I really appreciate this! I will learn exactly how the command works - sed does seem quite powerful. Thanks again! Regards - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
DVD playback problems
Hello all, I'm sure there is a simple solution to this problem but I'm not quite sure how to fix it. Bascially, I can't play DVD's unless I'm running as root - i.e. mplayer only plays if I'm root, but xine refuses to play at all. Someone suggested that my user wasn't part of the group cdrom and that the drive wasn't accessible to the group but: hinata:/home/piers# addgroup piers cdrom The user `piers' is already a member of `cdrom'. hinata:/home/piers# ls -l /misc/cd total 4 dr-xr-xr-x 1 root root 2048 2004-09-08 06:30 audio_ts dr-xr-xr-x 1 root root 2048 2004-09-08 08:12 video_ts hinata:/home/piers# hinata:/home/piers# cd /misc/ hinata:/misc# ls -l total 2 dr-xr-xr-x 1 root root 2048 2004-09-08 06:30 cd hinata:/misc# So the problem here seems to be that the directory is part of the 'root' group, not the 'cdrom' group. If I unmount the DVD drive, the /misc/cd directory vanishes. So how do I make the DVD drive part of the cdrom group? The fstab file contains the following line: /dev/hdb /misc/cd udf,iso9660 ro,user,noauto 0 0 Am using Debian Sarge. Thank you very much for your help in advance. Regards - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DVD playback problems
Andrew, Thanks very much for replying to my email. I appreciate it. I think what really matters is the permissions on /dev/cdrom or /dev/hdc depending on how you're set up. check those. they should be root:cdrom. Also, what mechanism are you using for mounting these disks? You may have to monkey with its config to get the permissions of the mounted disk the way you want. Hmmm. [EMAIL PROTECTED]:/dev$ ls -l hdb brw-rw 1 root disk 3, 64 2005-02-26 06:38 hdb [EMAIL PROTECTED]:/dev$ I assume this should be cdrom not disk correct? Trying to remember how I set up the dvd drive to mount automatically when a DVD disc is inserted - I seem to recall using a program called "automount" and the following line are in /etc/auto.misc: cd -fstype=iso9660,ro,nosuid,nodev :/dev/hdb Following line found in /etc/auto.master: /misc /etc/auto.misc --timeout=60 And that seems to be all that I could find. Reading the man pages of automount doesn't show anything about groups. I tried disabling automount, and mounting the CD myself as a normal user, it could mount, and I could see what was in it, but I couldn't play back the video as piers, but I could play it back as root. I SSH'ed into Hinata and tried the following command as user piers: -- [EMAIL PROTECTED]:/misc/cd/VIDEO_TS$ mplayer dvd:// -dvd-device /misc/cd MPlayer 1.0pre7try2-3.3.5 (C) 2000-2005 MPlayer Team CPU: Advanced Micro Devices Athlon Thunderbird (Family: 6, Stepping: 2) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx Failed to open /dev/rtc: Permission denied (it should be readable by the user.) Playing dvd://. libdvdread: Attempting to use device /dev/hdb mounted on /misc/cd for CSS authentication libdvdread: Could not open device with libdvdcss. libdvdread: Can't open /dev/hdb for reading libdvdread: Device /dev/hdb inaccessible, CSS authentication not available. Reading disc structure, please wait... There are 6 titles on this DVD. There are 6 chapters in this DVD title. There are 1 angles in this DVD title. MPlayer interrupted by signal 2 in module: open_stream [EMAIL PROTECTED]:/misc/cd/VIDEO_TS$ -- As root: -- hinata:/misc/cd/VIDEO_TS# mplayer dvd://1 -dvd-device /misc/cd MPlayer 1.0pre7try2-3.3.5 (C) 2000-2005 MPlayer Team CPU: Advanced Micro Devices Athlon Thunderbird (Family: 6, Stepping: 2) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx Playing dvd://1. libdvdread: Attempting to use device /dev/hdb mounted on /misc/cd for CSS authentication Reading disc structure, please wait... There are 6 titles on this DVD. There are 6 chapters in this DVD title. There are 1 angles in this DVD title. DVD successfully opened. MPEG-PS file format detected. VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 7500.0 kbps (937.5 kbyte/s) == Opening audio decoder: [liba52] AC3 decoding with liba52 Using 3DNowEx optimized IMDCT transform AC3: 2.0 (dolby) 48000 Hz 192.0 kbit/s Using MMX optimized resampler AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000) Selected audio codec: [a52] afm:liba52 (AC3-liba52) == vo: couldn't open the X11 display ()! vo: couldn't open the X11 display ()! VO XOverlay need a subdriver [gl] Using 4 as slice height (0 means image height). vo: couldn't open the X11 display ()! vo: couldn't open the X11 display ()! vo: couldn't open the X11 display ()! Can't open /dev/fb0: No such device or address [fbdev2] Can't open /dev/fb0: No such device or address == Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES) VDec: using Mpeg PES as output csp (no 0) Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. VO: [vesa] 720x576 => 1024x576 Mpeg PES hinata:/misc/cd/VIDEO_TS# -- As I was SSH'ing in, the X11 display errors are obvious, but it shows that the DVD would have been played back fine. Interestingly, if I mounted it as user piers, the users and groups are garbled: -- [EMAIL PROTECTED]:/misc$ ls -l total 2 dr-xr-xr-x 3 4294967295 4294967295 88 2002-06-20 11:05 cd [EMAIL PROTECTED]:/misc$ -- Thank you very much again for your help, much appreciated! Regards - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DVD playback problems
Seeker, Thank you very much for your reply. From: Seeker5528 <[EMAIL PROTECTED]> Piers Kittel <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED]:/dev$ ls -l hdb brw-rw 1 root disk 3, 64 2005-02-26 06:38 hdb [EMAIL PROTECTED]:/dev$ I assume this should be cdrom not disk correct? That is what the Audio CD, DVD, VCD players want, the location of the drive, not the location where the disk gets mounted. If I try this, this is what I get: -- [EMAIL PROTECTED]:~$ mplayer dvd:// -dvd-device /dev/hdb MPlayer 1.0pre7try2-3.3.5 (C) 2000-2005 MPlayer Team CPU: Advanced Micro Devices Athlon Thunderbird (Family: 6, Stepping: 2) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx Failed to open /dev/rtc: Permission denied (it should be readable by the user.) Playing dvd://. libdvdread: Could not open device with libdvdcss. libdvdread: Can't open /dev/hdb for reading Couldn't open DVD device: /dev/hdb Exiting... (End of file) [EMAIL PROTECTED]:~$ -- Thanks very much for your help again! Regards - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DVD playback problems
Seeker, If /dev/hdb is your DVD drive then it should get the ownership of root:cdrom, not root:disk. This an identification/enumeration problem and the proper fix would be to figure out a udev rule or whatever that would identify it and give it the correct ownership. Failing that the next best thing would be to create a script that runs at boot the change the ownership. I'm not that familiar with either of these things, but just to test the theory try chowning the device ('chown :cdrom /dev/hdb' or 'chown root:cdrom /dev/hdb') then playing a DVD. Bingo. That fixed the problem. mplayer is now able to play back the DVD as the user "piers" but Xine still won't play the DVD back with the output: [EMAIL PROTECTED]:~$ xine This is xine (X11 gui) - a free video player v0.99.3. (c) 2000-2004 The xine Team. libdvdread: Encrypted DVD support unavailable. [EMAIL PROTECTED]:~$ What am I doing wrong now and how do I fix this problem please? Thanks very much for your help - much appreciated! Regards - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DVD playback problems
b, // # /usr/share/doc/libdvdread3/examples/./install-css.sh luck. b. Fantastic! That fixed my problem! Thanks very much for your help, much appreciated! :) Regards - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Probs with netboot/NFS
Hello all, Am trying to boot a diskless client with the following spec: Gigabtye GA-6BXE 256MB PC133 RAM Slot 1 Intel Pentium 3 666MHz at 133MHz FSB Intel Ethernet Pro 100B network card Geforce MX4000 video card It downloads the 2.4.32 kernel from my server and boots, but when it tries to mount the root filesystem, it fails. I suspect the problem is that it isn't trying to mount it via NFS as there's nothing in the server logs that shows the client is trying to mount the root filesystem via NFS. The failing message is: = Kernel panic: VFS: Unable to mount root fs on 00:ff. = The message output by netboot is: = BOOTP: Sending request (press ESC to abort): ok Local IP: 192.168.1.18 Server IP: 192.168.1.2 () Gateway IP: 192.168.1.1 Loading /bootImage.nbi Options: Blocksize 512 Block 4183 ok Starting image... Linux Net Boot Image Loader Version 0.9.8 (netboot) (copyright notes) Uncompressing Linux... Ok, booting the kernel. Linux version 2.4.32-pk-20051220 ([EMAIL PROTECTED]) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1 Tue Dec 20 17:51:13 GMT 2005 = And the messages found in the bootup list that I think are important are: = Kernel command line: auto rw root=/dev/nfs nfsroot=/nfsroot ip=192.168.1.18:192.168.1.2:192.168.1.1:255.255.255.0: devfs: boot_options: 0x1 RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize eepro100.c:v1.09j-t 9/29/99 Donald Becker eepro100.c: $Revision: 1.36 $ 2000/11/17 IP-Config: Complete: device=eth0, addr=192.168.1.18, mask=255.255.255.0, gw=192.168.1.1, host=192.168.1.18, domain=, nis-domain=(none), bootserver=192.168.1.2, rootserver=192.168.1.2, rootpath= RAMDISK: cramfs filesystem found at block 0 RAMDISK: loading 1156 blocks [1 disk] into ram disk... done Kernel panic: VFS: Unable to mount root fs on 00:ff = (note nothing set after "rootpath" in the IP-Config bit) The messages in the server logs include: = Dec 20 20:12:37 destiny dhcpd: BOOTREQUEST from 00:a0:c9:9b:99:ba via eth0 Dec 20 20:12:37 destiny dhcpd: BOOTREPLY for 192.168.1.18 to hinata (00:a0:c9:9b:99:ba) via eth0 Dec 20 20:12:37 destiny in.tftpd[14338]: connect from 192.168.1.18 (192.168.1.18) Dec 20 20:12:37 destiny tftpd[14339]: tftpd: trying to get file: /bootImage.nbi = The snippets from dhcpd.conf are: = option root-path "/nfsroot"; next-server 192.168.1.2; filename "/nfsroot"; host hinata { hardware ethernet 00:A0:C9:9B:99:BA; fixed-address 192.168.1.18; filename "/bootImage.nbi"; } = bootImage.nbi is stored in / The command I used to make the .nbi file is: mknbi-linux -x -d /nfsroot -i rom -r initrd.img-2.4.32.img -k bzImage -o bootImage.nbi Although I note if I use: mknbi-linux -x -d ram -i rom -r initrd.img-2.4.32.img -k bzImage -o bootImage.nbi I get a different panic message: = Kernel panic: VFS: Unable to mount root fs on 01:00 = but that is the only difference I get. Is 01:00 better than 00:ff ? Also how do I solve either problem? Thanks very much for your help in advance Regards - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Probs with netboot/NFS - SOLVED
Fantastic! Your bit of advice wasn't the only thing I needed to change. I needed to also change: * Recompile kernel without cramfs or ramdisk support and include automounter support, boot with nfs filesystem, and a couple other options enabled which was pretty important! * Use a different command for mknbi-linux - "mknbi-linux -x -i kernel -d kernel -k bzImage -o bootImage.nbi -a nfsroot=192.168.1.2:/tftpboot/192.168.1.18" (I changed the location where the files are to be stored to /tftpboot/192.168.1.18) * A couple others that I can't recall. Hopefully the above advice will help other people browsing archives :) Thanks very much for your help again. Regards - Piers Jan C. Nordholz wrote: Hi! Hello all, Am trying to boot a diskless client with the following spec: And the messages found in the bootup list that I think are important are: = Kernel command line: auto rw root=/dev/nfs nfsroot=/nfsroot ip=192.168.1.18:192.168.1.2:192.168.1.1:255.255.255.0: Yep... the ip= parameter tells the kernel how to configure the network device, but you have to repeat the NFS server IP in the nfsroot= parameter; this ought to work: auto rw root=/dev/nfs nfsroot=192.168.1.2:/nfsroot ip=... HTH, Jan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: (OT) UK broadband with open port 25
AFAIK Plus.net offers 2 meg with no blocked ports - the Premier service that is. Cheers - Piers Richard Lyons wrote: A quick OT: Anyone here found a UK broadband supplier (>=2G) who can provide an open port 25? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
OT - power off probs
Hello all, Am having a problem with my computer not quite relevant to the list (but it runs Debian hey... ;)) but not sure exactly where to ask so I guess this list is better than most. This concerns my computer turning itself off occasionally and refusing to power on unless I move the "Reset CMOS" jumper with the power lead in - it won't work if I move the jumper without the lead plugged in. Anyway. Setup is a Slot 1 motherboard with a P3 666MHz at 133MHz FSB processor, with 256 meg RAM on a single stick, Geforce MX4000 graphics card and an Intel PCI network card. It also has a floppy drive and runs 1 fan - the CPU fan. No hard drive, no optical drives, or anything else. I decided to swop 2 cases over - the above go into a nice case while some "server" (for small values of) hardware go into the ugly case. In the original cases, both computers works just fine. The "server" is an EPIA MII 12000 motherboard with 2 x DVB tuners, a 200GB WD hard drive, 512MB RAM on a single stick, DVD RW drive. It also runs 2 case fans and a CPU fan. So the server stuff goes out of the nice case and into the ugly case, and the P3 666MHz stuff goes into the nice case. The reason I do this is that the P3 stuff will be under my TV while the "server" stuff will be hidden away. So I want to see a nice case rather than an ugly case :) The ceveat of the nice case is that it has a proprietary 240w ATX power supply. The case is advertised to take Mini-ITX boards along with standard ATX boards. I figured that without the hard drive or optical drive, or the dual tuners, the P3 stuff should use less leccy and the 240w PSU should be enough. So. Put the server stuff in the old case, and put the P3 stuff in the nice case. Server works fine. P3 stuff works fine, but turns itself off randomly - tho usually when something happens such as X starting, or starting to play a video, or even pressing a keyboard key. It then refuses to start again - pulling the lead for a while, putting it back in, or removing the battery, or move the clear CMOS jumper, or push the on/off button - anything unless I leave the power lead and move the clear CMOS jumper and as soon as I take the jumper block off it boots up. Then a few minutes later, powers itself off. I took a spare 350w PSU and this problem doesn't occur. I suppose this means the 240w PSU isn't up to the job? If so, I'm rather surprised - how does the P3 board on its own overwhelm the 240w PSU while a mini-ITX board with everything on (firewire, PCMCIA slot, CF slot, TV out, VGA, sound, the whole works) and dual DVB tuners and hard drive use up less power? Is that possible? Is there any simple (heh) way to work out how much usage those 2 set ups draws from the PSU? If this is the case, would getting a slot 1 motherboard with onboard sound and LAN help? Or would I be wasting my time? Or is it best to try and upgrade the PSU to 300w - the case comes in 2 options - 240w or 300w PSU - the latter wasn't available until recently. I might try to get the company to sell me a 300w PSU. But will the 300w PSU help? Or is the board broken? Very unlikely I know. Thanks very much for your help in advance Regards - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: OT - power off probs
Even tho it's only about a year old? Thanks! Regards - Piers Raul wrote: Piers Kittel wrote: Hello all, Am having a problem with my computer not quite relevant to the list (but it runs Debian hey... ;)) but not sure exactly where to ask so I guess this list is better than most. This concerns my computer turning itself off occasionally and refusing to power on unless I move the "Reset CMOS" jumper with the power lead in - it won't work if I move the jumper without the lead plugged in. Anyway. Setup is a Slot 1 motherboard with a P3 666MHz at 133MHz FSB processor, with 256 meg RAM on a single stick, Geforce MX4000 graphics card and an Intel PCI network card. It also has a floppy drive and runs 1 fan - the CPU fan. No hard drive, no optical drives, or anything else. I decided to swop 2 cases over - the above go into a nice case while some "server" (for small values of) hardware go into the ugly case. In the original cases, both computers works just fine. The "server" is an EPIA MII 12000 motherboard with 2 x DVB tuners, a 200GB WD hard drive, 512MB RAM on a single stick, DVD RW drive. It also runs 2 case fans and a CPU fan. So the server stuff goes out of the nice case and into the ugly case, and the P3 666MHz stuff goes into the nice case. The reason I do this is that the P3 stuff will be under my TV while the "server" stuff will be hidden away. So I want to see a nice case rather than an ugly case :) The ceveat of the nice case is that it has a proprietary 240w ATX power supply. The case is advertised to take Mini-ITX boards along with standard ATX boards. I figured that without the hard drive or optical drive, or the dual tuners, the P3 stuff should use less leccy and the 240w PSU should be enough. So. Put the server stuff in the old case, and put the P3 stuff in the nice case. Server works fine. P3 stuff works fine, but turns itself off randomly - tho usually when something happens such as X starting, or starting to play a video, or even pressing a keyboard key. It then refuses to start again - pulling the lead for a while, putting it back in, or removing the battery, or move the clear CMOS jumper, or push the on/off button - anything unless I leave the power lead and move the clear CMOS jumper and as soon as I take the jumper block off it boots up. Then a few minutes later, powers itself off. I took a spare 350w PSU and this problem doesn't occur. I suppose this means the 240w PSU isn't up to the job? If so, I'm rather surprised - how does the P3 board on its own overwhelm the 240w PSU while a mini-ITX board with everything on (firewire, PCMCIA slot, CF slot, TV out, VGA, sound, the whole works) and dual DVB tuners and hard drive use up less power? Is that possible? Is there any simple (heh) way to work out how much usage those 2 set ups draws from the PSU? If this is the case, would getting a slot 1 motherboard with onboard sound and LAN help? Or would I be wasting my time? Or is it best to try and upgrade the PSU to 300w - the case comes in 2 options - 240w or 300w PSU - the latter wasn't available until recently. I might try to get the company to sell me a 300w PSU. But will the 300w PSU help? Or is the board broken? Very unlikely I know. Thanks very much for your help in advance Regards - Piers IMHO The PSU is faulty rather than power consumption or at least that was the case in similar situations at my work. Old PSUs tend to accumulate dust inside them, and that occasionally generate short circuits which also tend to get faulty components and so on However I also had a similar case with a faulty mobo also due to short circuits. Regards -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: OT - power off probs
Sorry - I didn't count the PSU fan :/ The PSU does have its own built in fan. The spare 350watter has 2 built in fans. Also, it's proprietary so I doubt it'd be easy to find a replacement PSU. But it strikes me strange, the board starts powering off as soon as I swopped over the 2 systems - why didn't it start happening with the old system? Because the old system didn't draw as much power? Cheers - Piers Gene Heskett wrote: On Tuesday 27 December 2005 20:12, Piers Kittel wrote: Even tho it's only about a year old? A year old psu can have 4 oz of dust bunnies in it, completely blocking any air flow. This user said there was only one fan, the one on the cpu. Now, I've never seen although there may well be, an example of a fanless psu, but at 240 watts rated, & say 95% efficiency (thats being very very charitable BTW, most are hard put to make 90%) then thats still 12 watts of heat to get rid of by whatever means. With no fan that assumes good radiant efficiency, and good thermal condutivity to the outside world else something is going to get too hot to work. And once an overheat has shut one of these things down (if its not a catastrophic shutdown where the magic smoke comes out) then whatever caused the shutdown is going to become ever more sensitive to over temps, turning itself into a nuisance rather quickly. With decent psu's being commodity items, carefull shopping will buy you a case of 24 300 watters from the pacific rim people at less than a $20 bill each including shipping. I usually go for the even bigger stuffs, 450-600 watts rated because they'll have 2 fairly quiet, ball bearing rated fans in them, often thermostaticly controlled & running easy, and will last for many years. But they ALL will benefit from an annual blow job administered by a 100+ psi air hose. That one point will extend their working life by 3 to 10 times depending on how much dust they manage to trap. Who am I to sound like an expert when I don't even have a briefcase? Just a semi-retired old fart who's been chasing electrons for a living since about 1948. The last 21 years as the CE at a TV station here in WV. Semi-retired because I'm still doing it part time. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: OT - power off probs
Yeah it's a standard ATX connector. It's basically an standard ATX power supply in an non-standard size. Hence me being able to fit an Mini-ITX board in, and an old ATX Slot 1 motherboard. Just looked at their website - seems not quite that proprietary after all. Seems to be an TFX power supply but not sure how to locate one in the UK cheapish and easily! http://www.scan.co.uk/images/products/296336-A.jpg - this is the one I have. This shop sells it for £35 (~$61) inc VAT exc postage :/ And it's out of stock. Oh well! Thanks! Cheers - Piers Gene Heskett wrote: On Tuesday 27 December 2005 21:49, Piers Kittel wrote: Sorry - I didn't count the PSU fan :/ The PSU does have its own built in fan. The spare 350watter has 2 built in fans. Also, it's proprietary so I doubt it'd be easy to find a replacement PSU. But it strikes me strange, the board starts powering off as soon as I swopped over the 2 systems - why didn't it start happening with the old system? Because the old system didn't draw as much power? Cheers - Piers Oops, sorry Piers, I just replied to the duplicate in my inbox. I asked Piers to describe the psu cable<->motherboard connectors so I can see if they're like my big std stuff. Gene Heskett wrote: On Tuesday 27 December 2005 20:12, Piers Kittel wrote: Even tho it's only about a year old? A year old psu can have 4 oz of dust bunnies in it, completely blocking any air flow. This user said there was only one fan, the one on the cpu. Now, I've never seen although there may well be, an example of a fanless psu, but at 240 watts rated, & say 95% efficiency (thats being very very charitable BTW, most are hard put to make 90%) then thats still 12 watts of heat to get rid of by whatever means. With no fan that assumes good radiant efficiency, and good thermal condutivity to the outside world else something is going to get too hot to work. And once an overheat has shut one of these things down (if its not a catastrophic shutdown where the magic smoke comes out) then whatever caused the shutdown is going to become ever more sensitive to over temps, turning itself into a nuisance rather quickly. With decent psu's being commodity items, carefull shopping will buy you a case of 24 300 watters from the pacific rim people at less than a $20 bill each including shipping. I usually go for the even bigger stuffs, 450-600 watts rated because they'll have 2 fairly quiet, ball bearing rated fans in them, often thermostaticly controlled & running easy, and will last for many years. But they ALL will benefit from an annual blow job administered by a 100+ psi air hose. That one point will extend their working life by 3 to 10 times depending on how much dust they manage to trap. Who am I to sound like an expert when I don't even have a briefcase? Just a semi-retired old fart who's been chasing electrons for a living since about 1948. The last 21 years as the CE at a TV station here in WV. Semi-retired because I'm still doing it part time. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
mounting DVDs via NFS problem
Hello all, Am trying to mount a DVD drive via NFS and am having problems. For note, 192.168.1.2 (hostname - destiny) is the client and 192.168.1.15 (hostname - mythtv) is the server. I have this in my /etc/exports: /media/cdrom0 192.168.1.2(ro,sync) and 192.168.1.2 is in the /etc/hosts.allow. If the DVD is not mounted, it works perfectly fine: destiny:/mnt# mount mythtv:/media/cdrom0 /mnt/mythtv destiny:/mnt# df Filesystem 1K-blocks Used Available Use% Mounted on mythtv:/media/cdrom0 1829192 1547128184472 90% /mnt/mythtv destiny:/mnt# If I unmount the above, and then mount the DVD on mythtv: mythtv:/home/piers# mount /cdrom mythtv:/home/piers# and try again on destiny, I get: destiny:/# mount mythtv:/media/cdrom0 /mnt/mythtv mount: mythtv:/media/cdrom0 failed, reason given by server: Permission denied destiny:/# and in the logs, I get: Jan 21 21:57:08 localhost kernel: UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'FIREFLY_D3', timestamp 2003/09/08 20:08 (1000) Jan 21 21:57:39 localhost rpc.mountd: authenticated mount request from destiny.10sca.intranet:923 for /media/cdrom0 (/media/cdrom0) Jan 21 21:57:39 localhost rpc.mountd: getfh failed: Operation not permitted I've googled for a long time with the last message but I can't find any help anywhere. I've tried this on my 2 Macs but had the exact same problem: Jan 21 20:34:55 localhost rpc.mountd: authenticated mount request from ukyo.10sca.intranet:982 for /media/cdrom0 (/media/cdrom0) Jan 21 20:34:55 localhost rpc.mountd: getfh failed: Operation not permitted Jan 21 21:29:59 localhost rpc.mountd: authenticated mount request from akane.10sca.intranet:972 for /media/cdrom0 (/media/cdrom0) Jan 21 21:29:59 localhost rpc.mountd: getfh failed: Operation not permitted I'm hoping you guys can tell me what I'm doing wrong here? Thanks very much in advance! Cheers - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: mounting DVDs via NFS problem
Andrew, how can you mount a dvd over nfs if its not mounted on its local machine? Do these numbers above, as they come from destiny match the numbers if they are run on mythtv? IOW, are we looking at the same disk here? This bit is just to test if I can acutally mount it, i.e. I'm running the right commands, it all works etc - this confirms the problem orginates from mounting the DVD itself. The numbers shows the hard drive sizes, as the cdrom directory is on the hard drive. when you mount /cdrom on mythtv, do the permissions change? what is ls -l /cdrom when unmounted and mounted? Yup you're correct, and have fixed this problem: mythtv:/media# mount /cdrom mythtv:/media# ls -l total 2 lrwxrwxrwx 1 root cdrom 6 2005-06-07 19:30 cdrom -> cdrom0 dr-xr-xr-x 3 4294967295 4294967295 88 2003-09-08 21:08 cdrom0 mythtv:/media# but if I do the following: mythtv:/media# mount -o umask=000,uid=1000,gid=24 /dev/hdc /cdrom mount: block device /dev/hdc is write-protected, mounting read-only mythtv:/media# ls -l total 2 lrwxrwxrwx 1 root cdrom 6 2005-06-07 19:30 cdrom -> cdrom0 dr-xr-xr-x 3 piers cdrom 88 2003-09-08 21:08 cdrom0 mythtv:/media# Works nicely, but still have the same problem: Jan 23 11:23:13 localhost rpc.mountd: authenticated mount request from akane.10sca.intranet:956 for /media/cdrom0 (/media/cdrom0) Jan 23 11:23:13 localhost rpc.mountd: getfh failed: Operation not permitted Any ideas what I'm doing wrong? Thanks very much for your help! Regards - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Very poor apt source speeds
Hello all, For over a month, I'm seeing extremely poor apt-get download speeds, I'd be *very* lucky to get 5kb/s and occasionally 25kb/s if it connects at all, and I've tried several sources including: mirror.ox.ac.uk debian.blueyonder.co.uk debian.hands.com ftp.uk.debian.org www.mirrorservice.org some doesn't work nearly all the time, while a few works sometimes but with very low speeds and drops out halfway, I have to restart apt-get several times to get it. I can download files from anywhere else at a reasonable speed. == Get:1 ftp://debian.hands.com stable/main autobook 1.4.3-unofficial-1 [2502kB] Fetched 2502kB in 1m19s (31.6kB/s) == I've got a 2mb/s ADSL link, so this should be around 200kb/s! I test downloaded the latest kernel from kernel.org: == # wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.15.1.tar.bz2 --14:10:42-- http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.15.1.tar.bz2 => `linux-2.6.15.1.tar.bz2' Resolving kernel.org... 204.152.191.37, 204.152.191.5 Connecting to kernel.org[204.152.191.37]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 39,844,313 [application/x-bzip2] 100%[=>] 39,844,313 205.85K/sETA 00:00 14:14:18 (180.80 KB/s) - `linux-2.6.15.1.tar.bz2' saved [39844313/39844313] == average speed is 180 KB/s so why am I getting very poor apt-get speeds? Or is it limited now? Thanks very much for your help in advance. Regards - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: mounting DVDs via NFS problem
Have fixed the problem as NFS can't export UDF filesystems so mounted the DVD as ISO9660 and it worked. Will keep "exportfs -a" in mind though as sometimes it won't play back the DVD via NFS unless I play about with exportfs a lot. Thanks! Cheers - Piers Darryl Clarke wrote: On 21/01/06, Piers Kittel <[EMAIL PROTECTED]> wrote: Hello all, Am trying to mount a DVD drive via NFS and am having problems. For note, 192.168.1.2 (hostname - destiny) is the client and 192.168.1.15 (hostname - mythtv) is the server. I have this in my /etc/exports: /media/cdrom0 192.168.1.2(ro,sync) and 192.168.1.2 is in the /etc/hosts.allow. If the DVD is not mounted, it works perfectly fine: destiny:/mnt# mount mythtv:/media/cdrom0 /mnt/mythtv destiny:/mnt# df Filesystem 1K-blocks Used Available Use% Mounted on mythtv:/media/cdrom0 1829192 1547128184472 90% /mnt/mythtv destiny:/mnt# If I unmount the above, and then mount the DVD on mythtv: mythtv:/home/piers# mount /cdrom mythtv:/home/piers# and try again on destiny, I get: destiny:/# mount mythtv:/media/cdrom0 /mnt/mythtv mount: mythtv:/media/cdrom0 failed, reason given by server: Permission denied destiny:/# and in the logs, I get: Jan 21 21:57:08 localhost kernel: UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'FIREFLY_D3', timestamp 2003/09/08 20:08 (1000) Jan 21 21:57:39 localhost rpc.mountd: authenticated mount request from destiny.10sca.intranet:923 for /media/cdrom0 (/media/cdrom0) Jan 21 21:57:39 localhost rpc.mountd: getfh failed: Operation not permitted I've googled for a long time with the last message but I can't find any help anywhere. I've tried this on my 2 Macs but had the exact same problem: Jan 21 20:34:55 localhost rpc.mountd: authenticated mount request from ukyo.10sca.intranet:982 for /media/cdrom0 (/media/cdrom0) Jan 21 20:34:55 localhost rpc.mountd: getfh failed: Operation not permitted Jan 21 21:29:59 localhost rpc.mountd: authenticated mount request from akane.10sca.intranet:972 for /media/cdrom0 (/media/cdrom0) Jan 21 21:29:59 localhost rpc.mountd: getfh failed: Operation not permitted I'm hoping you guys can tell me what I'm doing wrong here? Thanks very much in advance! just a shot in the dark, you might have to 'exportfs -a' after mounting your dvdrom to make the nfs server rehash the directory. -- ~ Darryl ~ [EMAIL PROTECTED] http://smartssa.com / http://darrylclarke.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: poweroff can't power off the power
modprobe apm if that works, edit your /etc/modules file and add in apm. Sorted Cheers - Piers linux china wrote: Hi, My debian 3.1 celeron machine can't be powered off when I run the poweroff command, I had the same issue when I use other old distrubution Linux system many years ago but fixed by system update. Now I switched to Debian 3.1 yesterday, and have the same very old issue again. But I don't know which package the bug is in, so I have no idea what to do next. could anybody suggest? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Problems installing Debian on old laptop
Hello all, Am trying to install Debian on a fairly old laptop (manufactured 1998), as I've broken my old one (flying hard drives and laptop LCD's doesn't mix well together) and can't afford a new one right now. The laptop is a Pico Systems (long since gone out of business - good riddance) Silvernote with the following spec: Mobile P1 MMX 233MHz (I have a P2 233MHz processor that fits but the case/processor fan has failed, so have gone back to old CPU to prevent overheating) 192 MB RAM upgraded from 128MB (maxed out) 40GB IBM Travelstar hard drive (upgraded from 3GB) dated Dec 2002 430TX chipset PIIX4 southbridge NeoMagic MagicGraph 128XD video chipset Latest possible BIOS (either 8th March 1999 or 3rd August 1999) I've tried Knoppix 3.8.1 and it works perfectly fine (if a bit slow). I've installed Windows 2000 on it and it works perfectly fine. When trying to boot Debian (using the 3.1 r0 netboot CD) to install, it won't work at all: == Booting from CD-ROM ISOLINUX 2.04 2003-04-16 Copyright (C) 1994-2003 H. Peter Anvin Press F1 for help, or ENTER to boot: Loading /install/vmlinuz.. Loading /install/initrd.gz.. Ready. == and at this point it crashes completely. Pressing ctrl_alt+del works fine though. I've tried the CD-ROM in my broken laptop and it boots up fine, and I've tried a few Debian install CD-ROMs in the laptop and same problem. I tried booting Ubuntu (as a test, I much prefer to use Debian on such an old laptop) and it works fine, and I was able to install Ubuntu successfully on the laptop but when I reboot for the first time, GRUB crashes when loading itself (i.e. before displaying the kernel list) I just found out right now if I remove the hard drive and try the install CD, it works perfectly fine. Strange! The hard drive is laid out as follows: /dev/hda1 9.8gb windows /dev/hda2 27GB linux /dev/hda3 361MB (I assume swap - Ubuntu chose the partitions) with no more free space or partitions anywhere. So what am I doing wrong and how do I fix this problem please? Thanks very much for your help in advance! Regards - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Problems installing Debian on old laptop
Andrei & Adam, On Fri, 14 Apr 2006 19:25:45 -0500 Adam Porter <[EMAIL PROTECTED]> wrote: Piers Kittel wrote: When trying to boot Debian (using the 3.1 r0 netboot CD) to install, it won't work at all: I recommend trying the newer testing netboot installer CDs, rather than the Sarge r0 one. It might help. Or maybe Sarge r1 Andrei Tried the Sarge r1a netinst CD, and the etch testing netinst CD - both had the exact same problem, nothing happens after "Ready." but after removing the hard drive from the laptop, it boots up fine though obviously I can't install without a hard drive. Thanks very much for your help again in advance. Regards - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Problems installing Debian on old laptop
To those who helped me, Thanks very much for all your advice, but I've tried all options to disable everything but they're kernel parameters which aren't taken in consideration that early I think? It stops exactly at the point right after uncompressing the kernel - it looks like a bit like trying to run a 686 compiled kernel on a 486. Anyway, I've put the old 3GB hard drive back in, installed Windows 98 on, and Debian boots up (with the default 2.6 kernel with no parameters whatsover) and installing fine right now without any problems. Probably some BIOS limitation with the 40GB hard drive but then again, Win2k/Knoppix doesn't have any problem with it. Never mind, I'm going to have to live with Windows 98 and Debian on a tiny hard drive :) Thanks to all again very much for your help - but I still would like to know how to install Debian on the 40GB hard drive. Regards - Piers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]