Re: madwifi and cvs
On Tue, 2005-10-04 at 15:29 +, Bob Alexander wrote: > Mildy OT :) > > Wanted to retrieve the CVS branch of madwifi to get my Thinkpad T40 wifi > up and running. > > Is it possible that in order to have the cvs command to download the > stuff I have to install the full CVS package with what seems a CVS > server on my machine ? Yes, you do, but you should choose "no" to the question about enabling pserver (that's the default answer), which is what gives remote access to a CVS repository. Without pserver, people can still use a CVS repository on your machine, but only via some other sort of remote shell, such as ssh. Cheers, Andrew McMillan. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 The absence of labels [in ECL] is probably a good thing. -- T. Cheatham - signature.asc Description: This is a digitally signed message part
Re: madwifi and cvs
On Tue, 2005-10-04 at 15:29 +, Bob Alexander wrote: > Mildy OT :) > > Wanted to retrieve the CVS branch of madwifi to get my Thinkpad T40 wifi > up and running. Also, instead of CVS, consider: # # Atheros drivers debianised deb http://debian.marlow.dk/ sid madwifi # deb-src ftp://debian.marlow.dk/ sid madwifi Cheers, Andrew. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 The world isn't worse - the news coverage is better. - signature.asc Description: This is a digitally signed message part
Re: How to use password-protected wireless networks?
On Sun, 2005-10-09 at 01:57 +1000, John O'Hagan wrote: > Hi all, > > Running testing on a wireless equipped laptop, I can usually get on to any > available networks using some combination of ifupdown, ifplugd, whereami, > resolvconf, kwifimanager etc. > > One situation which has stumped me, however, is when the network requires a > password (which I have, of course, been given!): how do I enter the password? > > Some networks simply redirect your browser to a login page; no problem there. > And I'm not talking about encryption. It's the ones for which my Mac-using > colleagues simply enter the password into a little dialog that pops up > automatically when the network needs one. > > How does the Debian user do it? In my whereami.conf, for that particular network, I have a: wget -O - -q 'https://wireless.logon.page/login.xyz?username=blah&password=bleah' >/dev/null Obviously this is supremely dodgy, but for me there is only one WLAN that I use that I have to log into - all of the others are protected by WEP, WPA, or nothing, so it works OK. If the WLAN in your case uses basic auth (as it sounds like it might) then the wget command would be something more like: wget -O - -q --http-user=user --http-password=password 'https://wireless.logon.page/login.xyz' >/dev/null Regards, Andrew. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 Absence makes the heart go wander. - signature.asc Description: This is a digitally signed message part
Re: Dial-up modem 'No CARRIER'
On Mon, 2005-10-17 at 22:42 +0100, marc wrote: > > > Sorry, I posted before disappearing for the night, and realised I should > > > have provided more info. > > > > > > The modem is: > > > > > > :00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 > > > Family) AC'97Modem Controller (rev 04) (prog-if 00 [Generic]) > > > Subsystem: Acer Incorporated [ALI]: Unknown device 007a > > > Flags: bus master, medium devsel, latency 0, IRQ 10 > > > I/O ports at e200 [size=256] > > > I/O ports at e300 [size=128] > > > Capabilities: [50] Power Management version 2 > > > > > > PCI id: > > > :00:1e.3 0703: 8086:266d (rev 04) > > > the .user list.) But this is just a carrier detect problem - hardly > > > modem rocket science. Everything else works, and we know that all the > > > hardware works. > > > Try using kppp. It is a lot easier to use and configure since it is > > graphical. > > Yes, I mentioned above that I had tried KPPP. > > Yup, done both. 100% success in XP, two connects in about 100 tries in > Linux. I've also configured pppd via pppconfig and I'm still failing. I see the same problem on a HP nx6120 laptop I was setting up for my parents at the weekend. I listened to it dial from another phone this morning, and the system at the other end picked up OK and they tried and failed to negotiate. Using the same parameters with a pcmcia modem worked fine. So, you aren't alone, but I can't offer a solution to the problem :-( Regards, Andrew McMillan. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 BOFH excuse #237: Plate voltage too low on demodulator tube - signature.asc Description: This is a digitally signed message part
Re: Using WPA without wpa_supplicant?
On Fri, 2005-10-21 at 14:56 +0200, François TOURDE wrote: > > My card (ipw2200 driver) doesn't have the WPA iwpriv capabilities, so > I should use some supplicant. > > But I can't. I use whereami as a network auto configuration tool, and > all works perfectly. whereami is a great job! > > But wpa_supplicant do some stuff that breaks my whereami config. And > I'm unable to use both tools. > > Did somebody have some ideas for using whereami and WPA ? While I don't normally use WPA, I did have to at Debconf this year and added some script to whereami at that point to try and be useful with wpa_supplicant. I'm happy to help you through the problem, if you haven't sorted it out yourself. If you have sorted it out, it would be useful to understand the approach you have taken. Regards, Andrew McMillan. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 It is truth which you cannot contradict; you can without any difficulty contradict Socrates. - Plato - signature.asc Description: This is a digitally signed message part
Re: Using WPA without wpa_supplicant?
On Sat, 2005-10-22 at 18:33 +0200, François TOURDE wrote: > > I think you will win on this challenge :) > > I've tried some WPA-PSK configs with wpa_supplicant, and all what I > can have is: > > Oct 22 17:30:49 mersenne kernel: ipw2200: Firmware error detected. > Restarting. > Oct 22 17:31:20 mersenne last message repeated 10 times > Oct 22 17:32:23 mersenne last message repeated 21 times > Oct 22 17:33:24 mersenne last message repeated 20 times > Oct 22 17:34:24 mersenne last message repeated 20 times > Oct 22 17:34:25 mersenne dhclient: receive_packet failed on eth1: Network is > down > > I've the 1.0.4-1 firmware for my ipw2200 card, so I will try (later) > the new one. > > I'm interested by your scripts using wpa_supplicant, it can be very > usefull when I will upgrade to 1.0.6 ipw2200 driver. I guess the first thing would be to try using the testsupplicant script in whereami >0.3.23 or so. wpa_supplicant is (along with every other thing :-) trying to manage all networks, so the testsupplicant script: - sets the card to encrypted, key ff--, open. - brings the interface up. - starts wpa_supplicant (or reloads it if it is currently running). - keeps looking to see if encryption is enabled within 15 seconds - either succeeds of gives up. Some things I don't know and would like to work out with this script: - Should it use wpa_cli to figure if wpa_supplicant succeeds? - Should it stop wpa_supplicant if it fails? - Is 15 seconds long enough? Regards, Andrew McMillan. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 "Elvis is my copilot." -- Cal Keegan - signature.asc Description: This is a digitally signed message part
Re: preferring wired over wireless
On Sat, 2005-11-05 at 13:50 -0700, Luca Pireddu wrote: > When both my wireless and wired networking devices are connected, how can I > get my laptop to use the wired device and ignore the wireless one? I tried > specifying a higher metric for my wired device (via ifconfig metric), but it > doesn't seem to have an effect. The normal way is to use one of the packages for detecting and setting interfaces so that it only leaves the appropriate one configured. I maintain 'whereami', which works this way, but there are plenty of other choices. Cheers, Andrew. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 Make things as simple as possible, but no simpler -- Einstein - signature.asc Description: This is a digitally signed message part
Re: Unidentified subject!
On Mon, 2005-11-14 at 13:48 +, AZAD, Abbas Ali wrote: > I have just bought a toshiba satelitte 2210 and wanted to know what driver > goes on there. I have put a Lucent driver but message says no dial tone You'd really need to send the output of lspci to be sure, but I suspect it's an AC97 modem and you need to apt-get install sl-modem-daemon. Regards, Andrew McMillan. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 Celebrate Hannibal Day this year. Take an elephant to lunch. - signature.asc Description: This is a digitally signed message part
Re: [Wireless] network disconnections
On Fri, 2005-12-02 at 17:07 +0100, Detlev Casanova wrote: > Hello ! > > I Have a problem with 2 Computers accessing the internet through a wireless > home network. They are often disconnected from the router. (+/-3 times in 10 > minutes !) They are very closer (< 1 m yes i use metric units ;-) ). Should > it be the problem ? No. The proximity of the wireless devices should not cause either of them to fall off the network. In fact the wireless protocol works better if all devices on the network can 'see' all other devices, so you would more likely have problems with a device at extreme range to one side of the AP and another device at extreme range in the other direction. > Cards work both with NdisWrapper. ndiswrapper is a hack, but it should still work better than this! Regards, Andrew McMillan. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 http://survey.net.nz/ - any questions? - signature.asc Description: This is a digitally signed message part
Re: no public key
On Tue, 2006-01-10 at 16:41 -0600, Loren A. Linden Levy wrote: > rumour has it, 2006 key is apt 0.6.43.1 ( now in unstable and testing) > includes the 2006 package key. installing this package may not be > auto-verifiable; OR! you can install the key as follow, explicitly > trusting the keyserver with no verification -- gpg --keyserver > subkeys.pgp.net --recv-keys 084750FC01A6D388A643D869010908312D230C5F ; > gpg --export 084750FC01A6D388A643D869010908312D230C5F | sudo apt-key > add - Or even: apt-key advanced --keyserver keyring.debian.org --recv 2D230C5F Using an (unfortunately) undocumented feature of apt-key. Cheers, Andrew McMillan. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 Q:How much does it cost to ride the Unibus? A:2 bits. - signature.asc Description: This is a digitally signed message part
Re: Best practice to setup a guest account?
On Thu, 2006-06-15 at 12:43 +0200, André Wendt wrote: > Hi, > > lately, I came to realize that a guest account would be perfect for my > laptop since friends use it at my place. Since Ubuntu's "Guest login > specification" [1] is far from being implemented, I wondered what's the > least painful way to set up a guest account under GNOME -- apart from the > actual addition of a user? Hi André, The actual addition of a 'guest' user seems likely to be the best way, really, but you might want to control what that guest account looked like... You could use pam_mkhomedir (included in the standard libpam-modules package) to automatically create the account's directories on each login. This will not remove them when the user logs out, but you could do a cron job that removed them periodically or something like that. There is also a pam_mount (in the libpam-mount package) which would potentially let you mount a homedir using something like unionfs with a shmfs over a standard guest home directory that would be read-only. This would be unmounted on logout, so would be cleaned up at that time. You could also provide a more permanent directory for your guests to save things that they wanted a bit of persistence for. Hope this is some help, Andrew McMillan. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 The truth is rarely pure, and never simple. -- Oscar Wilde - signature.asc Description: This is a digitally signed message part
Re: Shutdown my Laptop? Why should I?
On Wed, 2006-07-12 at 13:07 -0700, Sean Perry wrote: > > That said, most laptop batteries degrade performance significantly if > left plugged into the mains 24/7. So only plug in for refills. That is absolutely _not_ the case for LiIon batteries. You should keep LiIon batteries fully charged, and just use them when you need batteries. of course if you want to _store_ LiIon batteries for any length of time, you should discharge them to 40% charged first, but that doesn't apply to laptop users. Deep discharge / charge cycles are not good for LiIon batteries, and even so, don't expect your laptop battery to last for more than three years. Cheers, Andrew. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 The world isn't worse - the news coverage is better. - signature.asc Description: This is a digitally signed message part
Re: stt
On Wed, 2006-12-27 at 22:11 -0500, operator wrote: > I want to enable speech to text functionality but, I don't know how. > Any advise? > operator I don't know how good these are, but there are two KDE packages that seem to provide something of this functionality: ksayit - a frontend for the KDE Text-to-Speech system kttsd - a Text-to-Speech system for KDE Regards, Andrew McMillan. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 You have Egyptian flu: you're going to be a mummy. - signature.asc Description: This is a digitally signed message part
Re: ThinkPads
On Thu, 2007-01-04 at 16:46 -0600, Owen Heisler wrote: > > Video acceleration: > All I can find is ATI or Intel video chipsets... but I've heard say > that ATI (3D acceleration) is a pain to get working. I've had some > trouble myself for older cards (mine was Radeon 7200, not supported at > all, although it did work at one point on FC5), but do some of the > cards work without problems? The Intel ones provide 3D acceleration, > but what is the difference in performance between a 128MB nvidia card > and an Intel integrated chipset that can share ~200MB of the regular > memory? If the Intel chipsets provide decent 3D acceleration, I may > as well go with it. Here's what seems to be available for video: > Integrated Intel 945GM > Intel Graphics Media Accelerator 950 > ATI Mobility Radeon X1300 64MB > ATI Mobility Fire GL V5200 256MB > ATI Mobility Fire GL V5250 256MB Since Intel employed Keith Packard a couple of years ago the support for Intel graphics chipsets has improved a remarkable amount. Now if only ATI or NVidia could employ someone of his calibre... From here: http://dri.freedesktop.org/wiki/ATIRadeon it seems that the ATI chipsets are supported by FOSS drivers (with 3D acceleration) up to the Radeon X850. X1300 and above only support 2D graphics at this point, unless you use the proprietary drivers from ATI. My experience with the ATI drivers is that they have improved a lot over the last couple of years, and the installation is certainly much better. The downloadable drivers will let you create a Debian package to install from, though you have to pass it a magic command-line switch to do so. Personally I have a Radeon X600, so am just as happy to use the FOSS drivers nowadays. In the future I will probably be looking for Intel based graphics in my next laptop because of the cool stuff I have seen Keith demonstrating and talking about, such as seamless desktop expansion when you plug in a second monitor. > >From what I see on thinkwiki.org, none of the three ATI chipsets > listed here "just work", but the Intel ones do, without any > proprietary drivers. The two Intel ones are supported by the i810 > drivers. > UltraBay Enhanced: > It seems that I can use a CD/DVD drive in this bay or a regular hard > drive. So I should be able to get a "Serial ATA Hard Drive Bay > Adapter" and a hard drive from Newegg and have a second hard drive > ready to go. The bay supports hot-swapping; will I be able to remove > the hard drive or CD/DVD drive with Debian running? Well, maybe. I have successfully swapped the HD for the DVD, and vice-versa, but it hasn't always worked for me. Other things too, like whether DMA is enabled on the swapped in device and stuff has not always worked for me. Mind you, I haven't checked this since about 2.6.14 or so - things may have improved. Cheers, Andrew. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 Small things make base men proud. -- William Shakespeare, "Henry VI" - signature.asc Description: This is a digitally signed message part
Re: How to bind special button to ifup/ifdown
On Tue, 2007-03-06 at 12:59 -0500, Stefan Monnier wrote: > > This button works to the extent that when I use it to turn off the wireless, > it indeed turns it off, and even my wpa_supplicant ends up terminating. > > But it doesn't work to bring up the interface: hitting the button just > enables the interface, but does not cause it to get configured. So I'd like > to bind something like the command "ifup eth2" to this button. I need this > binding to work whether I'm in X or not. I've found `funkey' which seems > to be able to do that, but it also seems to be too old for my kernel. > > Another alternative would be to arrange for the ipw3925 driver to cause > hotplug events that udev or ifplugd understands, so it would work > "transparently". Hi Stefan, Ditto for my HP Compaq nx6320. I find that when I disable the wifi the daemon exits and (possibly) the module is unloaded. When I re-enable the wifi I need to "modprobe ipw3945" which also manages to restart the daemon (there must be some special magic there somewhere, but I haven't investigated much further. At that point network-manager seems to pick up on things and crank up my wireless network fine. It's possible that there is an ACPI event that happens, and I might investigate that further. If there is then adding something to /etc/acpi/events is probably the best way to go. Do you see any acpi events at all? I've made some small changes to my system to log all acpi events, like: /etc/acpi/events/allevents === # /etc/acpi/events/allevents # This is called when any ACPI event happens # /etc/acpi/log_event is called to log the event # Optionally you can specify the placeholder %e. It will pass # through the whole kernel event message to the program you've # specified. event=.* action=/etc/acpi/log_event "%e" === and: /etc/acpi/events/log_event === #!/bin/sh logger -t 'acpi-allevents' "Received ACPI event =>$1<=" === So that I can see every ACPI event in syslog. Cheers, Andrew McMillan. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 A foolish consistency is the hobgoblin of little minds -- Shaw - -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to bind special button to ifup/ifdown
On Wed, 2007-03-07 at 01:32 +0100, Marcus C. Gottwald wrote: > Andrew McMillan wrote (Wed 2007-Mar-07 00:07:52 +): > > > When I re-enable the wifi I need to "modprobe ipw3945" which also > > manages to restart the daemon (there must be some special magic there > > somewhere, but I haven't investigated much further. > > $ cat /etc/modprobe.d/ipw3945d > install ipw3945 modprobe --ignore-install ipw3945 && /etc/init.d/ipw3945d > modprobe-start > remove ipw3945 /etc/init.d/ipw3945d modprobe-stop && modprobe -r > --ignore-remove ipw3945 Thanks. In case anyone is interested, I stuck that ACPI stuff in on my own laptop and the key does not generate either keyboard *or* ACPI events. OTOH removing the wireless doesn't disable the module or daemon, and when I switch it back on network-manager does tickle it back into life (at least with my 2.6.20.1 kernel), so all is (mostly) good in the world :-) Cheers, Andrew. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 The secret of being a bore is to say everything -- Voltaire - -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Probleme de dsdt
On Tue, 2007-03-20 at 09:11 +0100, Alexandre Neubert wrote: > > * "It should be an SMP for 686 or better yet a > pristine 2.6.20 kernel compiled with the core 2 duo processor > selected." Where do I get this kernel? From kernel.org? And where is > the option for the core 2 duo; I compiled a classic 2.6.20 kernel > yesterday and didn't find such an option? Hi, I have built a 2.6.20.3 kernel (using kernel.org source) for a recent laptop (HP Compaq nx6320 with T7200 Core 2 Duo), and found the option under: Processor Type & Features -> Processor Family -> Core 2 / newer Xeon I can't help with the rest of your problems though. Regards, Andrew McMillan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Gateway MT6451
On Tue, 2007-04-17 at 22:37 -0300, Andre Novelli wrote: > Hi all! > I`m a new happy owner of a gateway laptop model MT6451 and as a linux > lover I decided to > leave windows vista and put the new version of debian (4.0 ETCH). > > I have almost all running ok: network, video card (Generic ATI driver) > usb, firewire, and touchpad are ok! > and just three little issues, they are: Sound , mmc/sd reader and > wireless devices... Looks like you found the HDA driver for sound. For the SD/MMC driver for the TI PCIxx12 you may get luck using the newest drivers from here: http://developer.berlios.de/projects/tifmxx I'm afraid someone else will need to explain to you how to get the Broadcom 1390 WLAN working under Linux. Good luck! Regards, Andrew McMillan. > > 00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01) > 05:00.0 Network controller: Broadcom Corporation Dell Wireless 1390 WLAN > Mini-PCI Card (rev 01) > 08:09.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller > 08:09.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant > IEEE 1394 Host Controller > 08:09.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia > Card Reader (SD/MMC/MS/MS PRO/xD) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: hwclock
On Thu, 2007-04-12 at 21:03 +0200, Seaslug wrote: > > Make sure you have > > UTC=no > > in the file /etc/default/rcS H... Won't that mean that my hardware clock will have to be adjusted whenever there is a daylight savings transition? I have always set UTC=yes there, and it works just fine. It is a matter of being consistent though. If it is possible for you to be consistent then UTC=yes is probably better. Of course if you are unlucky enough to have to reboot into some operating system which doesn't support the idea of the hardware clock being set to a standard time then no UTC for you! :-) Regards, Andrew McMillan. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 Flexibility is overrated. Constraints are liberating. - signature.asc Description: This is a digitally signed message part
Re: Sony or Toshiba? (corrected)
On Mon, 2007-04-30 at 17:18 -0300, Carlos Felipe S. Pinheiro wrote: > Hi. I was looking for a notebook I found two good deals: Toshiba Satellite > A135-S4527 and Sony VAIO N220E/B, both for the same price (after rebate) > $599.99. > I wonder which one would have better Linux compatibility (and maybe better > performance). Hi Felipe, If we cut those lists down to the parts that actually are different... > *** Toshiba Satellite A135-S4527 * > Processor Speed: 1.73 GHz > Hard Drive Capacity: 120 GB > 4 x USB v2.0 > 6-cell (4000mAh) rechargeable, removable Lithium-Ion battery pack > Weight: 6.0 lbs > *** Sony VAIO N220E/B *** > Processor Speed: 1.6 GHz > Hard Drive Capacity: 80 GB > 2 x USB 2.0 > Standard Lithium-ion battery (VGP-BPS2A/S) > Weight: 6.5 lbs The Toshiba Satellite would seem to be a _clear_ winner. 10% faster CPU, 50% more HD, 10% lighter, 100% more USB ports... I'm not sure of the battery equivalences, but the Sony is unlikely to be vastly different. Other notes: - The card slots probably won't work under Linux, except to read SD (& MMC?) cards where there are some under-development drivers that I have had some success with on a different laptop. - You may need to install Xorg 7.3 to get the graphics running properly, or perhaps use 915resolution (but really, Xorg7.3 is a better solution). Everything else should work OK. Cheers, Andrew McMillan. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 The secret of being a bore is to say everything -- Voltaire - signature.asc Description: This is a digitally signed message part
Re: cpufreq
On Mon, 2007-08-06 at 11:34 +0200, [EMAIL PROTECTED] wrote: > hi > > i've got a asus aj8s (intel duo t7200) notebook with debian etch > (2.6.18-4). apparantly kernels from 17-19 dont work with cpufreq. is > their a fix or at least a other way of reducing the processor speed? The recommended approach to CPU frequency management for all modern Intel processors, according to 'powertop'[1], seems to be to use the 'ondemand' governor. echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor Apparently for AMD processors the "conservative" governor is slightly better. Cheers, Andrew McMillan. [1] http://www.linuxpowertop.org/ - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 I have not seen high-discipline processes succeed in commercial settings. - Alistair Cockburn - signature.asc Description: This is a digitally signed message part
Re: Suspend to disk?
On Fri, 2007-08-24 at 17:05 -0500, Nate Bargmann wrote: > > Trying to suspend to disk with powersave -U results in a message that I > need to add a 'resume=...' to the kernel commandline and reboot. This is correct. For this to work you need to add the following option onto your kernel boot command line in /boot/grub/menu.lst (assuming that's what you use to choose kernels :-) E.g.: resume=/dev/hda5 Where you replace '/dev/hda5/' with whatever partition *you* use for swap. For me, for example, the 'resume' appears in menu.lst on my own laptop in the following two lines: # defoptions=vga=0 resume=/dev/sda5 pci=assign-busses,routeirq kernel /boot/vmlinuz-2.6.22.1-hippy root=/dev/sda1 ro vga=0 resume=/dev/sda5 pci=assign-busses,routeirq > Then it advises to check the documentation which is rather mum and > nowhere do I find the suggested SUSPEND2DISK_SKIP_RESUME_CHECK option > so I can set it to "yes". I'm not sure skipping the check would be ideal in any case. If you want to resume, you have to tell the booting kernel which partition contains the image to resume from. I guess that in friendlier world the suspend could write some identifying string into the beginning of the partition it wrote to, so that resume could just find it, but AFAIK it takes the simpler approach. > So, I then tried the s2disk program from the uswsusp package and it > suspended to the swap partition without complaint. When I powered the > machine back up using the same kernel as when I suspended it, it booted > normally except that it couldn't find a swap signature on my swap > partition. Well, duh, my suspended image was there! So, I would up > doing a mkswap and swapon -a to restore it. Indeed. Because the kernel wasn't told to try and resume from that partition. All credit to "powersave -U" for checking you had a working configuration before actually suspending, but I guess the documentation is lacking. I realise you've solved your problem in *other* ways now, but I thought that this answer might also be useful and enlightening :-) Cheers, Andrew McMillan. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 Facts do not cease to exist because they are ignored. -- Aldous Huxley, "Proper Studies", 1927 - signature.asc Description: This is a digitally signed message part
Re: unresolved symbols in pcmcia modules v3.1.6
Drew Parsons wrote: > > I have a weird problem compiling the latest pcmcia modules (for pcmcia-cs > 3.1.6-1). I think this happens when the kernel version you have compiled doesn't _exactly_ match the pcmcia modules version. The funny extension names are there for uniqueness deliberately. I get a pcmcia to match my kernel by doing a: make menuconfig make-kpkg kernel_image cd ../modules/pcmcia-cs ./Configure debian/rules binary-modules Well, there's probably a more 'correct' way, but that always works for me, and it _won't_ work if I do the pcmcia modules before building the kernel, for example - I'll get error messages similar to the ones you are reporting. Regards, Andrew McMillan _________ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267
Potato on laptops
Drew Parsons wrote: > > By the way, how many Debian laptop users are on potato and keep up to date > with the latest packages? I use my laptop about 90% under potato and 10% Win98. I do a 'dselect update; apt-get -fudy dselect-upgrade' every morning and generally upgrade. I always compile kernels for the laptop rather than install the potato ones though. Every now and again something important screws up big time but I don't kill the package cache very often and so I can usually go back to previous versions of things. I also have some working versions of _really_ important packages floating around for truly desparate times :-) I've got several of the guys in the office running potato now too but all of our production servers are still running slink. Cheers, Andrew. _____ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267
Re: Xircom cem56 hot swap
Joost Claessen wrote: > > Hello peole, > > I have a toshiba 320CDT laptop whit a cem56 Xircom ethernet/modem cart. > Latly whem I remove the cart while running (hot swapping, yeh!) the > pcmcia cardmanager remove the module corectly, but if I insert the cart > again it pcmcia manager load the memory module instead of the xircom module. > Strangely the happens not if I am not connected to a network. > > Has anyone experienced this also? Does anyone know a solution? > Thanx for any help. I have the same card and also get similar problems on occasion. What is happening in my case is that DHCP is getting stuck on something when I am not connected to a network - if I kill a running dhcp process and then re-insert the card it all starts to work again. Cheers, Andrew. -- _____ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267
Re: Xircom cem56 hot swap
Heather wrote: > > > I have the same card and also get similar problems on occasion. What is > > happening in my case is that DHCP is getting stuck on something when I > > am not connected to a network - if I kill a running dhcp process and > > then re-insert the card it all starts to work again. > > > > Cheers, > > Andrew. > > I have had a bunch of problems with dhcp but it has been inconsistent > enough (and at most of my clients, I have static IP) that I had ignored > it. But if there's some bug with the dhcpcd, what sort of bug report > should we file? Things are getting awful close to sealed up, and we don't > want them frying every *really* mobile user with a bug like that... I agree, but I'm not sure where the problem is happening. I _think_ the problem may be related to repeated insert/remove cycles before the dhcpcd has timed out. I have other problems with the dhcpcd timeout because I am usually inserting my network card so I can use the modem in it and the 60 second timeout is greater than the connect time (and because of some other scripts happening at the same time, such as my 'whereami' utility) my route sometimes goes west when the network initialisation finishes after the ppp session starts. For this reason I actually edited /usr/sbin/dhcpcd by hand (that's the script that chooses whether you want a 2.2 dhcpcd or a 2.0 one) and set the timeout to 5 seconds. I don't know any networks where 60 seconds would be a reasonable timeout for dhcp address assignment - all instances that I have seen seem to happen in milliseconds. Cheers, Andrew. PS. If you're interested, I have a bunch of scripts which I have (Debian) packaged up as 'whereami' which allow my system to auto-configure itself for the locations I plug in at. This works well for fixed IP now, as well as DHCP which it always worked for. -- _ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267
IBM Thinkpad A21p
Hi all, I'm looking to purchase one of these, because I just can't go past that 1600x1200 LCD (and I don't know of any other laptops that match that. Indeed I haven't found more than a couple that go past 1024x768. Does anyone here have any experience with running Linux (particularly Debian, of course) on such a beast? Looks like I might be able to buy it with one of: 10/100 mini-PCI "EtherJet" with Modem (Lucent?) 10/100 mini-PCI "Ethernet" with Modem (3com) 10/100 mini-PCI "EtherJet" with Modem (Intel) and the 3com claims to support DOS (but not Linux - sigh) so presumably would be the best choice unless anyone has specific experience. Also, I think I might be better with an "Ethernet" adaptor than an "EtherJet" one... sounds suspicious... :-) Any and all comments and experience welcome. Regards, Andrew. -- _________ Andrew McMillan, e-mail: Andrew at catalyst.net.nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267
Re: pcmcia problem
Robert Voigt wrote: > > > pcnet_cs: sorry, the AX88190 chipset is not supported. > > pcnet_cs: unable to read hardware net address for io > > base 0x300 > > I have the same problem, I'm getting this same message. > I have a W-Linx Linx Pro 10/100 Card. It's listed as supported in the > pcmcia-cs-3.1.25 list of supported cards, but under 10 MBit/s cards, not > under 10/100. > First I had the potato pcmcia-cs package installed (3.1.22). I got a > high and a low beep when I inserted the card. Then I saw that pcmcia > modules package and installed it too (the version that matches my > kernel, 2.2.18). I think the beeps changed to high and middle then, but > I'm not sure. > When I saw that my card is not in the list of supported cards in the > 3.1.22 version I unstalled the pcmcia-cs and pcmcia-modules debian > packages and compiled pcmcia-cs-3.1.25. I don't know if I need a modules > packages for this too, I haven't found one. But the pcnet_cs module, > which is supposed to be the one for my card, is loaded. Here is the > output of lsmod: Sounds like your card is recognised as being some sort of PCNET variant, but you will need to build a "binary-modules" target from the 3.1.25 source. The pcmcia-cs source will build either or both packages for you - take a look at the debian/rules file for what targets are valid. From memory I think you want "binary-modules" and "binary-cs". Hope this helps, Andrew. -- _ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267
Re: hardware profiles?
Matt Pepper wrote: > > My biggest concern is that I wonder if the PC card ethernet port will hang > at home with no network cable attached and no DHCP server responding to it. > Any idea if this will be a problem? You can edit /etc/pump.conf - here's mine: # pump configuration file. # Set the timeout to allow for 2 seconds to get a DHCP answer. timeout 2 # turn off pump's annoying attempts to obliterate my /etc/resolve.conf at # every opportunity device eth0 { nodns } This means that the DHCP will time out in two seconds (assuming you're using pump, which most recent Debian installations are, although perhaps not Progeny). I have written a bunch of scripts and things to try and make this sort of thing easier to reconfigure which are available in Debian as 'whereami' (just went into unstable this week, but should install without problem in stable or testing if you download it). Also, consider using "lspci | grep ..." to detect whether the laptop is docked, if that is important outside of knowing which network you are on (like if you have drives in the docking station that you only want to try and mount if they are there. Cheers, Andrew. -- _____ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267
Re: Hard drive crash
[EMAIL PROTECTED] wrote: > > G'Day ! > > I have an old Dell Latitude LX that has proven to be very reliable over the > years > and powerful enough to handle the loads I put it through. In addition, the > price > is right. But today the old harddrive crashed, so I need to get a > replacement. > > Now I do not think they make 500M ide harddrives anymore, so does anyone have > any > ideas about replacement hd's ? Just about any laptop hard drive should work. You may have to run something like DriveManager on it (which Linux understands just fine) for it to work. DriverManager doesn't completely understand Linux, so you have to make sure you have a partition marked "Bootable" or it won't boot. Other than that, it should be straightforward. I've done hard drive upgrades on laptops half a dozen times now with no problems. Regards, Andrew. -- _________ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267
Re: Integrated Mini-PCI ethnet/modem combo for Dell
Bill Shui wrote: > > Hi, > has anyone got an integrated 10/100ETHNET/56modem combo installed for > their dell laptops? > > If so, did you get it working with your linux? Which option should I > pick for kernel compilation in order to get it working? > > The Mini pci card is: > - INTERNAL 3Com MINI-PCI COMBO ENET 10/100+MDM 56K,32 BIT > > It's for a dell Latitude c800 or c600. I have the same Mini-PCI card in my laptop (not a Dell, though). The ethernet requires 2.2.18 or later and it is a 3com 3c556 chip ("Hurricane" or something). The "modem" is not a modem unless you have drivers for it. There is some e-mail address you can post to (which I forget now) to encourage 3com to produce a Linux driver for the modem. Regards, Andrew. -- _____ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267
Re: Ati Mobility Performance
Andreas Tille wrote: > > It is the one named "Radeon" which I have to use for a > > ~> grep ATI /proc/pci > VGA compatible controller: ATI Technologies Inc 3D Rage P/M Mobility AGP > 2x > (rev 100). > > ?? I don't think so - that looks most likely be an R128. BTW, you are better to use lspci - /proc/pci has been deprecated for some years. lspci -v on my laptop gives: 01:00.0 VGA compatible controller: ATI Technologies Inc Mobility M3 AGP 2x (rev 02) (prog-if 00 [VGA]) Subsystem: IBM: Unknown device 0155 Flags: bus master, stepping, fast Back2Back, 66Mhz, medium devsel, latency 66, IRQ 11 Memory at f800 (32-bit, prefetchable) I/O ports at 3000 Memory at f020 (32-bit, non-prefetchable) Capabilities: [50] AGP version 2.0 Capabilities: [5c] Power Management version 2 And that is an r128 (IBM A21p). Cheers, Andrew. -- _____ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax: +64(4)499-5596, Office: +64(4)499-2267xtn709
Re: SpeedStep / Geyserville lockups?
Heather wrote: > > > > > > Is anyone else out there seeing lockups under 2.2.x (2.2.18 here) > > > > > with a > > > > > PIII SpeedStep (aka Geyserville) chip? > > > > > > > > > > I've had lockups over the past week I suspect are due to CPU > > > > > step-speed > > > > > changes resulting from power source switching. > > I believe that Speedstep machines are much more stable if they are always > (re)booted while attached to wall power. Suspends and resumes should behave > much better, but *those* depend on whether your APM BIOS is crappy :( > > The reasoning is, boot time is when the kernel measures its bogomips, to > figure out what sorts of timings to use for hardware-driver matters. > > If you start at say, 500 MHz, but later go to 800 MHz, then your bogomips > are too low and something critical may not wait long enough during an > otherwise inocuous device reset or command. Oops, panic, whatever. You can > get lucky a lot before it fails for "no reason". Bad juju. > > I personally suspect that some things may not be all that well behaved "at > the wrong speed" too but I have no direct experience with that. That's really interesting. I haven't had any lock-ups on this system at all (I finally got an IBM A21p). I have seen bogomips ratings of between 187 and 1690. Perhaps the BIOS manages to sort this out for me? Suspend / resume have also worked flawlessly, apart from the (apparently) standard sound driver bugs, requiring ALSA to be restarted on resume. Regards, Andrew. -- _ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax: +64(4)499-5596, Office: +64(4)499-2267xtn709
Re: modem on a TP A21m
Colazzo Eugenio wrote: > > Hy everibody, > > does anibody know where can i find docs about A21m modem and how to make it > work? If that is the 3Com mini-PCI modem + ethernet then you are SOL. On my A21p My modem looks like this, according to 'lspci -v': 00:03.0 Ethernet controller: 3Com Corporation: Unknown device 6056 (rev 20) Subsystem: 3Com Corporation: Unknown device 6356 Flags: bus master, medium devsel, latency 80, IRQ 11 I/O ports at 1800 Memory at f0101400 (32-bit, non-prefetchable) Memory at f0101000 (32-bit, non-prefetchable) Capabilities: [50] Power Management version 2 00:03.1 Communication controller: 3Com Corporation: Unknown device 1007 (rev 20) Subsystem: 3Com Corporation: Unknown device 6159 Flags: medium devsel, IRQ 11 I/O ports at 2000 Memory at f0101c00 (32-bit, non-prefetchable) Memory at f0101800 (32-bit, non-prefetchable) Capabilities: [50] Power Management version 2 If you search long enough you will find some e-mail which appears to be polling the Linux community to see if there is sufficient need for 3Com to produce a driver. Cheers, Andrew. -- _____ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax: +64(4)499-5596, Office: +64(4)499-2267xtn709
Re: T22 modem setup / configuration with 2.2r3 installation help needed
Randolph Kahle wrote: > > I am installing Debian 2.2r3 on an IBM T22 portable. > > Things are working very well (including support for the 1400*1050 > screen) on my LAN. > > Now I need to configure the modem and get dial-up ISP support working. I > have never done this on any Linux installation and I believe I do not > even have the modem working on the T22. > > I installed minicom and tried using /dev/ttyS0 - /dev/ttS3 for the > serial port. When minicom comes up I get a blank screen. I would think I > could just type ATZ and see the modem respond "OK" to verify that it is > working. This does not happen. > > So - question number one is --> how do I know if the modem is working on > the T22 and if it is not, does anyone have any tips on how to get it > working? Do an 'lspci -v' to see whether you have the 3com mini-PCI card. If you do then you are, unfortunately, SOL. Here's the relevant output on my Thinkpad A21p, which disappoints me enormously by not working. I will be buying a new mini-PCI card next month - as soon as I have figured out exactly which model _will_ work... 00:03.0 Ethernet controller: 3Com Corporation 3c556B Laptop Hurricane (rev 20) Subsystem: 3Com Corporation: Unknown device 6356 Flags: bus master, medium devsel, latency 80, IRQ 11 I/O ports at 1800 [size=256] Memory at f0101400 (32-bit, non-prefetchable) [size=128] Memory at f0101000 (32-bit, non-prefetchable) [size=128] Expansion ROM at [disabled] [size=128K] Capabilities: 00:03.1 Communication controller: 3Com Corporation: Unknown device 1007 (rev 20) Subsystem: 3Com Corporation: Unknown device 6159 Flags: medium devsel, IRQ 11 I/O ports at 2000 [size=256] Memory at f0101c00 (32-bit, non-prefetchable) [size=256] Memory at f0101800 (32-bit, non-prefetchable) [size=128] Capabilities: As an aside, it also seems that the 2.4.5 kernel does not work for me (lock up during boot), and I think that it is related to the ethernet card driver, so I'm sticking with 2.4.4 for the time being. Cheers, Andrew. -- _ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(27)246-7091, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709
Re: moving to a new laptop
Philipp Bliedung wrote: > > Hi > > I'm going to move to a new laptop pretty soon. My question: > Can I simply "move" all the software to the new one? (Well, except for > the XConfig and other hardware stuff like sound, 3D, etc...) > My biggest concern is that I have to install all the packages again that > are on my laptop rigth now. What about programs that I compiled myself - > do I have to compile them again? > I have a lot of packages from woody and sid and I really don't feel like > getting them again (I only have potato stuff on CD) - I really want to > avoid that, especially because it took me a long time to configure > everything. > > Thanks for you help! In the past I have found it easier to use dpkg --get-selections and dpkg --set-selections after installing a base set of things on my new laptop. After that I copy personal stuff across and put it into the appropriate locations. I usually take the opportunity to try and reorganise things a bit more sensibly than last time too :-) Cheers, Andrew. -- _____ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(27)246-7091, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709
Re: kernel defaults to reiserfs?
Tony Godshall wrote: > > I'm not sure it this is OT, but it did happen on a laptop > ;-) > > I recompiled my kernel to include reiserfs and now it seems > to want to mount my root partition (/dev/hda1) as reiserfs. > I can't seem to find any place to default it to ext2 (both > are compiled resident, not as modules). I did make a reiserfs > part but its an upper one and is totally empty at this point. > I was having the same problem with a kernel I compiled recently, and it turned out to be related to the initrd options I had chosen, IIRC. Wierd. Hope this helps. I tracked it down doing diffs between the options I had for a (working) 2.4 kernel and my 2.5 kernel. Cheers, Andrew. -- _____ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(27)246-7091, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709
Re: Thinkpad A21p top-open screen redraw problem (update)
Peter Amstutz wrote: > > Okay, I emailed the list a few days ago about this, where the closing the > top (NOT suspending the system, simply closing the computer which cause > the BIOS to turn off the LCD by default) causes some problems when the > computer is re-opened. > > The first problem, that the display is garbled, has gone away by using > vesafb in the kernel. I don't understand the relation between the problem > in the fix, but irregardless it does work. > > The second problem, however, has not gone away. Sometimes when the top is > reopened, the display simply remains blank. The backlight comes on, but > the screen is not redrawn. Hitting keys, moving the pointer etc have no > effect. Strange. I have had an A21p now for around 6 months, and never experienced any of these problems. I guess I was lucky in the first one that I always compile my kernels with VESA FB in them and add a line like: vga=0x375 # 1600x1200 x 16M into /etc/lilo.conf, because I love humungous text consoles :-) Also, a few other variations on that theme which are not listed in /usr/src/linux/Documentation/fb/vesa.txt are: # vga=0x307 # 1280x1024 x 256 # vga=0x319 # 1280x1024 x 32k # vga=0x31a # 1280x1024 x 64k # vga=0x31b # 1280x1024 x 16M > A friend of mine has suggested this may be related to kernel-based console > blanking, which might explain why input to the X server doesn't cause the > screen to come back. Does anyone have any suggestions as to how to > disable console blanking entirely? Since the bios seems to handle this > more intellegently than linux can, and LCDs don't suffer from burn-in (at > least I don't think they do?), standard console blanking (which leaves on > the battery-eating backlight anyhow [1]) is completely useless to me. Yes, it sounds like it could be. You could also check your BIOS settings. Are you running on stable, testing or unstable? If you want my .config and XF86Config-4 you are welcome (I won't spam the list with them though :-). My system works really reliably just closing the panel to suspend it. I shut it down for real every week or so for some reason or another, but I go from home -> client -> client -> office -> client -> home, connecting up to all their networks (including WLAN at home) and everything 'just works'. I hope I can be some help to you. Regards, Andrew. -- _ Andrew McMillan, e-mail: Andrew @ catalyst . net . nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709
Re: pcmcia-modules... for 2.4.x kernel?
Bart Szyszka wrote: > > Hi, > > I have a quick question. If I want to upgrade to a 2.4.x kernel, what do I do > about the pcmcia-modules... package I need for my cable connection on this > laptop? There's no pcmcia-modules-2.4... They're all for 2.2.x kernels. Has > pcmcia-modules... been replaced by something else for 2.4.x kernels? Download pcmcia-source and then when you build your kernel package using make-kpkg, build the modules_image target as well. Cheers, Andrew. -- _________ Andrew McMillan, e-mail: Andrew @ catalyst . net . nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709
Re: Modem of notebook hp xe3
On Thu, 2001-09-06 at 22:10, Roberto Burceni wrote: > Hi! > I'm a new subscriber of this list. I woul like to know if there's a support > form te internal modem of the notebook hp xe3. If so, where I could find > information? > I have Debian gnu/linux 2.2r3 with kernel 2.2.19. If you have pciutils installed you should be able to use 'lspci -vv' to get some solid clues as to what it is. If it is a 3com based windmodem you are probably SOL, but if it says 'Lucent Microelectronics' in it somewhere there is an ltmodem package in Debian you can use. Anything else and I have no idea :-) Good luck, Andrew. -- _____ Andrew McMillan, e-mail: Andrew @ catalyst . net . nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709
Re: pcmcia-cs and configuring network...
On Mon, 2001-09-10 at 22:35, Hugo van der Merwe wrote: > > (discover is a hardware detection system. Don't think it does network > environment detection too... I know there are others, also don't > remember what they are.) divine does network environment detection, as does intuitively. I maintain 'whereami' which tries to combine these sorts of things together under one roof. > I guess these are all for detecting one of a number of preconfigured > network settings? Thanks, I may try some more of these on my laptop, but > for this little project the network environment is completely unknown. > Having pcmcia look at /etc/network/interfaces is the "right" solution in > this case. Well, the only thing I know that really does a lot of configuring based on information supplied externally to your laptop is DHCP. In fact in many cases DHCP may be underutilised, since it can hand out all sorts of information. Most DHCP servers just hand out the IP address, default gateway and nameserver(s) and leave it at that. If by 'completely unknown' you mean even DHCP is not supplied and you have to enter some parameters at boot time then I think your requirement is sufficiently off the wall to be outside most of the existing stuff. If you want to talk a little more privately then I could look at adding some functionality to 'whereami' to support your case a little better. Regards, Andrew. -- _____ Andrew McMillan, e-mail: Andrew @ catalyst . net . nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709
Re: Thinkpad A21m SoundFusion
On Wed, 2001-09-12 at 00:02, Nicolas SABOURET wrote: > Hi all ! > > By looking in the archive 1.5 month ago, I took contact with someone to > get help on having my Crystal SoundFusion card to work on the my > ThinkPad A21m. > However, I can't remember the guy's name, and I still have the problem, > so I decided to write to the list. > > I use Potato with kernel 2.2 and it doesn't work. I recompiled the > kernel and the card is detected at login, but I get the "permission > denied" (/dev/dsp) or "no such device" (/dev/sndstat) answer. > > I switched to kernel 2.4.7 but it doesn't work either : when I cat > foo.wav > /dev/dsp, I got very weird noises (like a modem bipbip). > > Can anyone help me ? I have it operating here. I use the kernel drivers, mostly, because they handle it gracefully when I suspend. The first time I reboot after running Win2k I find I need to load up the Alsa drivers and then it works for me with the kernel drivers, otherwise it doesn't. I have no Idea WTF w2k does in this situation, but since I don't use it more than once every couple of months it isn't a big deal. I'm using kernel 2.4, and the alsa-source package form unstable. Regards, Andrew. -- _ Andrew McMillan, e-mail: Andrew @ catalyst . net . nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709
Re: Thinkpad A21m SoundFusion
On Thu, 2001-09-13 at 19:06, Nicolas SABOURET wrote: > Andrew McMillan wrote: > > > > I wrote : [...] > > > > > get help on having my Crystal SoundFusion card to work on the my > > > ThinkPad A21m. > > > > > > I switched to kernel 2.4.7 but it doesn't work either : when I cat > > > foo.wav > /dev/dsp, I got very weird noises (like a modem bipbip). > > > > > Just to make thinkgs clear : I do have /dev/dsp and I did add my user to > the audio group. The card is beeing detected and "seems to work", except > that I don't get the right "noise". > > > > > The first time I reboot after running Win2k I find I need to load up the > > Alsa drivers and then it works for me with the kernel drivers, otherwise > > it doesn't. > > It doesn't work even it I start the computer without going into w2k : > always the weird noises. Wierd noises? Go into GMix and turn off the microphone? That's the only time I have had wierd noises come out - audio feedback between speaker and microphone... The 'after w2k' problem I was having didn't matter whether I had powered the machine off - after running w2k I need to use the alsa modules for the sound to work again. I can power off any number of times, but until I use the alsa modules, sound won't work for me. Cheers, Andrew. -- _ Andrew McMillan, e-mail: Andrew @ catalyst . net . nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709
Re: How to mail (userfriendly)?
On Thu, 2001-09-13 at 22:35, Schoppitsch Dieter wrote: > Hi all! > > It's horrible - I can't install Mail Services on my Laptop. > > I am a single user and have an Email-Account at my ISP. > All I want is to dial in to my ISP and put mails from my laptop to > this mail account and fetch mails from this account to the laptop > (and read and answer offline). > As my laptop is very old (486) and I am not that expert in setting up > I search for small (no X) and simple solution (out of the box). > > The last thing I tried was a mutt/masqmail/fetchmail-combination > without setup-success. This is two problems. (1) receiving mail, (2) sending mail. I can relate my experience - I don't know if it is any help, but it might be interesting... Firstly, for receiving mail, I use fetchmail. This means that I can use any mail client I like, locally. I run fetchmail in daemon mode, and it checks for my mail every minute. Fetchmail is also triggered when my ppp connection comes up - this is done by the standard Debian install, and you shouldn't need to do any more. For sending mail, I use masqmail. I set up a line for each internet connection location. When each connection comes up I touch a file in the /tmp directory called masqmail. For ppp connections I did this through adding scripts to /etc/ppp/ip-up.d and /etc/ppp/ip-down.d, and for network connections I use 'whereami' to do this. My minutely cron job then comes along and if it finds /tmp/masqmail.*, and /var/spool/masqmail/local/* then it does a masqmail queue run (masqmail -qo ). I'm sure this sounds all a little complicated, but I have quite a few different places I go to where I want to be able to send and receive mail, and I want it to 'just work' when I arrive there. Here are some of the scripts concerned: ---/etc/ppp/ip-up.d/1masmqmail-- #!/bin/sh # Exit if package was removed but not purged. test -x /usr/sbin/masqmail || exit 0 if [ -n "$PPP_IFACE" ]; then # Set the provider according to the value of PPP_IPPARAM PROVIDER="$PPP_IPPARAM" fi if [ -n "$PROVIDER" ]; then # Record the provider name in a file. This is necessary if we're using # the "online_detect = file" method (cf. /etc/masqmail/masqmail.conf) echo -n "$PROVIDER" > /tmp/connect_route chmod 0644 /tmp/connect_route # When the connection goes up, we flush the MasqMail queue using the route # defined for the provider by "connect_route.$PROVIDER" # in /etc/masqmail/masqmail.conf /usr/sbin/masqmail -qo & fi if grep -qsx "^get.$PROVIDER.*=.*" /etc/masqmail/masqmail.conf; then # optionally fetch mails from POP servers, if a get method is defined # in /etc/masqmail/masqmail.conf /usr/sbin/masqmail -g & fi ---/etc/ppp/ip-down.d/1masmqmail #!/bin/sh rm /tmp/masqmail.* Finally, the script I run every minute to send any queued mail: ---/root/bin/mymail- #!/bin/bash cd /tmp MAILQUEUE=`ls | grep masqmail | cut -f2 -d.` if [ "$MAILQUEUE" = "" ]; then # logger -tmymail "No mail queue active" MAILQUEUE=$MAILQUEUE else if [ `ls /var/spool/masqmail/input/*-H 2>/dev/null | wc -l` -ge 1 ]; then logger -tmymail "Queue '$MAILQUEUE' is active - sending mail" /usr/sbin/masqmail -qo $MAILQUEUE logger -tmymail "Mail sent" fi fi In my masqmail setup, for each connection I have: connect_route.connection = "/etc/masqmail/connection" and in each /etc/masqmail/connection file, I have something along the lines of: mail_host = mail.connection.co.nz (I think there are newer ways of doing this, but I've been using masqmail for a couple of years). I hope all this helps somewhat - feel free to ask questions if you want to set yourself up this way. Regards, Andrew. -- _ Andrew McMillan, e-mail: Andrew @ catalyst . net . nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709
Re: Storm Linux Does anyone know where I can get updates ??
On Sun, 2001-09-23 at 21:37, Shane Broomhall wrote: > Hi I am new to this List, First day. > I have been using, though not exclusively, linux for about 12 months. > I am hoping now to learn how to use Debian. I have a copy of Storm Linux, > (Boxed Set), that works well on my old Acer Laptop. I am hoping to use it > to > learn how Debian works and update some of its packages from the Debian > packages, i am told this is possible. > > I was wondering if any one knows of any software sepositories on servers > on the web that might hold extra packages or updates for storm. I have > checked their site and they are no longer functioning. You can happily point your system at standard Debian mirrors and do a 'apt-get update' 'apt-get dist-upgrade' to use more recent Debian packages. You will most likely want the 'unstable' branch of Debian in that case. Find the nearest mirror at http://www.debian.org/distrib/ftplist and a good look around the Debian site will help you out in configuring your system to use the Debian mirrors - basically adding a couple of new lines to your /etc/apt/sources.list . Regards, Andrew. -- _________ Andrew McMillan, e-mail: Andrew @ catalyst . net . nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709
Re: KDE
On Fri, 2001-09-28 at 23:00, Tom Allison wrote: > Tom Allison wrote: > > > I installed KDE and all the fixings. > > > > in my .xsession file I have, currently, > > > > --- > > #!/bin/bash > > gnome-session > > --- > > > > How do I edit this for using KDM? > > > > > > Sorry, I forgot something... > > How also would I edit this for starting KDM from the command line (startx)? > I had to drop using the xdm because X would hang when I did a suspend. I use startx myself, and have two scripts to switch between kde and gnome: == use-gnome === #!/bin/bash update-alternatives --install /usr/bin/x-session-manager x-session-manager /usr/bin/kde2 50 update-alternatives --install /usr/bin/x-session-manager x-session-manager /usr/bin/gnome-session 99 === use-kde == #!/bin/bash update-alternatives --install /usr/bin/x-session-manager x-session-manager /usr/bin/kde2 99 update-alternatives --install /usr/bin/x-session-manager x-session-manager /usr/bin/gnome-session 50 (forgive my editor for wrapping the long lines :-) Regards, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267
Re: X-Fonts
On Mon, 08 Oct 2001 02:21:44 -0500, wrote: > > *** Please say _something_ to me !! :) > > I'm running Debian 90% Woody on my laptop. > > The menus and dialog-boxes of most X win > applications (Nedit, The Gimp, playlists) > are all SquArEs !! Unreadable. > > Do you know what x-library might be > responsible for the font problem ? > > Thank you ! I think I saw somewhere that this problem is to do with the internal font server in X 4.1.0 which is seeing the wrong default encoding - the fix is to use xfs to serve the fonts. Regards, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267
RE: x-window-manager link
On Wed, 2001-10-10 at 10:05, Mark R. Millsap wrote: > > Ohh... bummer. > > Here is what I get when I tried the command you suggested: > > There is only 1 program which provides x-window-manager > (/usr/bin/X11/twm). Nothing to configure. Both Gnome and KDE wrap the window-manager in a Session manager. You should be able to get KDE starting if you install a few more KDE packages so that you get the KDE session manager installed. Once that is installed 'startx' will run the session manager, and KDE insists on trumping all the other alternatives, so you should get KDE starting from 'startx' that way. Otherwise, do as someone else suggested and install 'kdm' so you log in from a graphical shell. Regards, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267
Re: Woody Killed PCMCIA & Root in Gnome
On Sat, 2001-10-20 at 15:55, Doc - KD4E wrote: > Just upgraded from Progeny-Debian 2.2.18 to Woody, or > so I thought. > > When I boot 2.2.18 still shows up but Grub has changed appearance > as has Gnome. > > Problems: > > Cannot access my pcmcia nic (3Com 589c which worked perfectly > prior to the upgrade). > > When I remove then re-insert the card there are no tones. > > When I reboot, Grub won't recognize Root but accepts my user account. > Problem is that the user account doesn't permit me to edit and change > things as I need to. > > If I break out of Gnome using Log Out and then Ctrl-Alt-F2 at the > Grub login I can get to a command line where I can log in as Root > but then I lack access to gedit (at the moment I lack the patience to > learn the eccentricities of vi and the other command line editors). > > Can someone suggest how I repair Grub re. Root and how I then > repair PCMCIA. Since I cannot access the Internet from my laptop > I cannot download anything new for the moment. What is probably happening is that your X session is aborting when started by GDM (not Grub - Grub only load's the boot image and starts Linux running with no further input into the process). If the Xsession fails at a very early point you will be returned to the GDM login screen, which sounds like it is what is happening from your description. You should be able to start an xterm when logged into your user account. Once there, you should be able to use the 'su' command to become root temporarily. Once root, I suggest you take a look at the file /root/.xsession-errors and see if it indicates what the problem might be. For example I recently saw someone with a problem caused by one of the accessories to ssh (I forget which one). I hope this is some help, but I suspect there will be quite a few more questions before it is working for you. If you need to run X programs as root, you should be able to run "xhost +127.0.0.1" (before "su") to allow local clients to always connect, regardless of the user they are running as. Regards, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267
Re: The SpedStep crash problem ...
On Wed, 2001-10-24 at 09:53, [EMAIL PROTECTED] wrote: > Clayton Carter [EMAIL PROTECTED] wrote: > > > > For what it's worth, I've a Dell Inspiron 7000 running 2.2.19 > > and SpeedStep seems to work fine. Well, in so far as when I plug the > > machine in /proc/whatever says 700MHz and when I unplug the box it's > > reported as 550. I've always assumed that this meant that it worked, > > though I've never taken any measures to enable/disable it. > > > apparently the problem really only occurs going from a high speed to a low > speed (or is it the other way round) :) I guess is a kinda "your mileage may > vary" sort of thing :) It is the other way around - if the timing loops don't have enough loops in them, everything unravels! If you want reliable computing on a speedstep machine you would be advised to always boot with the mains attached, or failing that: reboot before attaching to the mains. I almost always boot with mains attached, and operate in a mix of battery and powered environments, with the laptop suspended when I go from one to the other. I regularly manage periods of more than a couple of weeks between reboots with a 2.4.4 kernel, running unstable. Regards, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267
IBM Thinkpad A21p
Hi all, I'm looking to purchase one of these, because I just can't go past that 1600x1200 LCD (and I don't know of any other laptops that match that. Indeed I haven't found more than a couple that go past 1024x768. Does anyone here have any experience with running Linux (particularly Debian, of course) on such a beast? Looks like I might be able to buy it with one of: 10/100 mini-PCI "EtherJet" with Modem (Lucent?) 10/100 mini-PCI "Ethernet" with Modem (3com) 10/100 mini-PCI "EtherJet" with Modem (Intel) and the 3com claims to support DOS (but not Linux - sigh) so presumably would be the best choice unless anyone has specific experience. Also, I think I might be better with an "Ethernet" adaptor than an "EtherJet" one... sounds suspicious... :-) Any and all comments and experience welcome. Regards, Andrew. -- _________ Andrew McMillan, e-mail: Andrew at catalyst.net.nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: pcmcia problem
Robert Voigt wrote: > > > pcnet_cs: sorry, the AX88190 chipset is not supported. > > pcnet_cs: unable to read hardware net address for io > > base 0x300 > > I have the same problem, I'm getting this same message. > I have a W-Linx Linx Pro 10/100 Card. It's listed as supported in the > pcmcia-cs-3.1.25 list of supported cards, but under 10 MBit/s cards, not > under 10/100. > First I had the potato pcmcia-cs package installed (3.1.22). I got a > high and a low beep when I inserted the card. Then I saw that pcmcia > modules package and installed it too (the version that matches my > kernel, 2.2.18). I think the beeps changed to high and middle then, but > I'm not sure. > When I saw that my card is not in the list of supported cards in the > 3.1.22 version I unstalled the pcmcia-cs and pcmcia-modules debian > packages and compiled pcmcia-cs-3.1.25. I don't know if I need a modules > packages for this too, I haven't found one. But the pcnet_cs module, > which is supposed to be the one for my card, is loaded. Here is the > output of lsmod: Sounds like your card is recognised as being some sort of PCNET variant, but you will need to build a "binary-modules" target from the 3.1.25 source. The pcmcia-cs source will build either or both packages for you - take a look at the debian/rules file for what targets are valid. From memory I think you want "binary-modules" and "binary-cs". Hope this helps, Andrew. -- _ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Integrated Mini-PCI ethnet/modem combo for Dell
Bill Shui wrote: > > Hi, > has anyone got an integrated 10/100ETHNET/56modem combo installed for > their dell laptops? > > If so, did you get it working with your linux? Which option should I > pick for kernel compilation in order to get it working? > > The Mini pci card is: > - INTERNAL 3Com MINI-PCI COMBO ENET 10/100+MDM 56K,32 BIT > > It's for a dell Latitude c800 or c600. I have the same Mini-PCI card in my laptop (not a Dell, though). The ethernet requires 2.2.18 or later and it is a 3com 3c556 chip ("Hurricane" or something). The "modem" is not a modem unless you have drivers for it. There is some e-mail address you can post to (which I forget now) to encourage 3com to produce a Linux driver for the modem. Regards, Andrew. -- _____ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: hardware profiles?
Matt Pepper wrote: > > My biggest concern is that I wonder if the PC card ethernet port will hang > at home with no network cable attached and no DHCP server responding to it. > Any idea if this will be a problem? You can edit /etc/pump.conf - here's mine: # pump configuration file. # Set the timeout to allow for 2 seconds to get a DHCP answer. timeout 2 # turn off pump's annoying attempts to obliterate my /etc/resolve.conf at # every opportunity device eth0 { nodns } This means that the DHCP will time out in two seconds (assuming you're using pump, which most recent Debian installations are, although perhaps not Progeny). I have written a bunch of scripts and things to try and make this sort of thing easier to reconfigure which are available in Debian as 'whereami' (just went into unstable this week, but should install without problem in stable or testing if you download it). Also, consider using "lspci | grep ..." to detect whether the laptop is docked, if that is important outside of knowing which network you are on (like if you have drives in the docking station that you only want to try and mount if they are there. Cheers, Andrew. -- _____ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Hard drive crash
[EMAIL PROTECTED] wrote: > > G'Day ! > > I have an old Dell Latitude LX that has proven to be very reliable over the years > and powerful enough to handle the loads I put it through. In addition, the price > is right. But today the old harddrive crashed, so I need to get a replacement. > > Now I do not think they make 500M ide harddrives anymore, so does anyone have any > ideas about replacement hd's ? Just about any laptop hard drive should work. You may have to run something like DriveManager on it (which Linux understands just fine) for it to work. DriverManager doesn't completely understand Linux, so you have to make sure you have a partition marked "Bootable" or it won't boot. Other than that, it should be straightforward. I've done hard drive upgrades on laptops half a dozen times now with no problems. Regards, Andrew. -- _________ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Ati Mobility Performance
Andreas Tille wrote: > > It is the one named "Radeon" which I have to use for a > > ~> grep ATI /proc/pci > VGA compatible controller: ATI Technologies Inc 3D Rage P/M Mobility AGP 2x > (rev 100). > > ?? I don't think so - that looks most likely be an R128. BTW, you are better to use lspci - /proc/pci has been deprecated for some years. lspci -v on my laptop gives: 01:00.0 VGA compatible controller: ATI Technologies Inc Mobility M3 AGP 2x (rev 02) (prog-if 00 [VGA]) Subsystem: IBM: Unknown device 0155 Flags: bus master, stepping, fast Back2Back, 66Mhz, medium devsel, latency 66, IRQ 11 Memory at f800 (32-bit, prefetchable) I/O ports at 3000 Memory at f020 (32-bit, non-prefetchable) Capabilities: [50] AGP version 2.0 Capabilities: [5c] Power Management version 2 And that is an r128 (IBM A21p). Cheers, Andrew. -- _________ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax: +64(4)499-5596, Office: +64(4)499-2267xtn709 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: SpeedStep / Geyserville lockups?
Heather wrote: > > > > > > Is anyone else out there seeing lockups under 2.2.x (2.2.18 here) with a > > > > > PIII SpeedStep (aka Geyserville) chip? > > > > > > > > > > I've had lockups over the past week I suspect are due to CPU step-speed > > > > > changes resulting from power source switching. > > I believe that Speedstep machines are much more stable if they are always > (re)booted while attached to wall power. Suspends and resumes should behave > much better, but *those* depend on whether your APM BIOS is crappy :( > > The reasoning is, boot time is when the kernel measures its bogomips, to > figure out what sorts of timings to use for hardware-driver matters. > > If you start at say, 500 MHz, but later go to 800 MHz, then your bogomips > are too low and something critical may not wait long enough during an > otherwise inocuous device reset or command. Oops, panic, whatever. You can > get lucky a lot before it fails for "no reason". Bad juju. > > I personally suspect that some things may not be all that well behaved "at > the wrong speed" too but I have no direct experience with that. That's really interesting. I haven't had any lock-ups on this system at all (I finally got an IBM A21p). I have seen bogomips ratings of between 187 and 1690. Perhaps the BIOS manages to sort this out for me? Suspend / resume have also worked flawlessly, apart from the (apparently) standard sound driver bugs, requiring ALSA to be restarted on resume. Regards, Andrew. -- _ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax: +64(4)499-5596, Office: +64(4)499-2267xtn709 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: modem on a TP A21m
Colazzo Eugenio wrote: > > Hy everibody, > > does anibody know where can i find docs about A21m modem and how to make it > work? If that is the 3Com mini-PCI modem + ethernet then you are SOL. On my A21p My modem looks like this, according to 'lspci -v': 00:03.0 Ethernet controller: 3Com Corporation: Unknown device 6056 (rev 20) Subsystem: 3Com Corporation: Unknown device 6356 Flags: bus master, medium devsel, latency 80, IRQ 11 I/O ports at 1800 Memory at f0101400 (32-bit, non-prefetchable) Memory at f0101000 (32-bit, non-prefetchable) Capabilities: [50] Power Management version 2 00:03.1 Communication controller: 3Com Corporation: Unknown device 1007 (rev 20) Subsystem: 3Com Corporation: Unknown device 6159 Flags: medium devsel, IRQ 11 I/O ports at 2000 Memory at f0101c00 (32-bit, non-prefetchable) Memory at f0101800 (32-bit, non-prefetchable) Capabilities: [50] Power Management version 2 If you search long enough you will find some e-mail which appears to be polling the Linux community to see if there is sufficient need for 3Com to produce a driver. Cheers, Andrew. -- _____ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax: +64(4)499-5596, Office: +64(4)499-2267xtn709 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: T22 modem setup / configuration with 2.2r3 installation help needed
Randolph Kahle wrote: > > I am installing Debian 2.2r3 on an IBM T22 portable. > > Things are working very well (including support for the 1400*1050 > screen) on my LAN. > > Now I need to configure the modem and get dial-up ISP support working. I > have never done this on any Linux installation and I believe I do not > even have the modem working on the T22. > > I installed minicom and tried using /dev/ttyS0 - /dev/ttS3 for the > serial port. When minicom comes up I get a blank screen. I would think I > could just type ATZ and see the modem respond "OK" to verify that it is > working. This does not happen. > > So - question number one is --> how do I know if the modem is working on > the T22 and if it is not, does anyone have any tips on how to get it > working? Do an 'lspci -v' to see whether you have the 3com mini-PCI card. If you do then you are, unfortunately, SOL. Here's the relevant output on my Thinkpad A21p, which disappoints me enormously by not working. I will be buying a new mini-PCI card next month - as soon as I have figured out exactly which model _will_ work... 00:03.0 Ethernet controller: 3Com Corporation 3c556B Laptop Hurricane (rev 20) Subsystem: 3Com Corporation: Unknown device 6356 Flags: bus master, medium devsel, latency 80, IRQ 11 I/O ports at 1800 [size=256] Memory at f0101400 (32-bit, non-prefetchable) [size=128] Memory at f0101000 (32-bit, non-prefetchable) [size=128] Expansion ROM at [disabled] [size=128K] Capabilities: 00:03.1 Communication controller: 3Com Corporation: Unknown device 1007 (rev 20) Subsystem: 3Com Corporation: Unknown device 6159 Flags: medium devsel, IRQ 11 I/O ports at 2000 [size=256] Memory at f0101c00 (32-bit, non-prefetchable) [size=256] Memory at f0101800 (32-bit, non-prefetchable) [size=128] Capabilities: As an aside, it also seems that the 2.4.5 kernel does not work for me (lock up during boot), and I think that it is related to the ethernet card driver, so I'm sticking with 2.4.4 for the time being. Cheers, Andrew. -- _ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(27)246-7091, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: moving to a new laptop
Philipp Bliedung wrote: > > Hi > > I'm going to move to a new laptop pretty soon. My question: > Can I simply "move" all the software to the new one? (Well, except for > the XConfig and other hardware stuff like sound, 3D, etc...) > My biggest concern is that I have to install all the packages again that > are on my laptop rigth now. What about programs that I compiled myself - > do I have to compile them again? > I have a lot of packages from woody and sid and I really don't feel like > getting them again (I only have potato stuff on CD) - I really want to > avoid that, especially because it took me a long time to configure > everything. > > Thanks for you help! In the past I have found it easier to use dpkg --get-selections and dpkg --set-selections after installing a base set of things on my new laptop. After that I copy personal stuff across and put it into the appropriate locations. I usually take the opportunity to try and reorganise things a bit more sensibly than last time too :-) Cheers, Andrew. -- _____ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(27)246-7091, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: kernel defaults to reiserfs?
Tony Godshall wrote: > > I'm not sure it this is OT, but it did happen on a laptop > ;-) > > I recompiled my kernel to include reiserfs and now it seems > to want to mount my root partition (/dev/hda1) as reiserfs. > I can't seem to find any place to default it to ext2 (both > are compiled resident, not as modules). I did make a reiserfs > part but its an upper one and is totally empty at this point. > I was having the same problem with a kernel I compiled recently, and it turned out to be related to the initrd options I had chosen, IIRC. Wierd. Hope this helps. I tracked it down doing diffs between the options I had for a (working) 2.4 kernel and my 2.5 kernel. Cheers, Andrew. -- _____ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(27)246-7091, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: PCMCIA Flash Card Problem
thomas wrote: > > I have a 64MB flash memory card with a pcmcia adapter. > > As far as I know those things use ide/ata interface. > It worked this way on my old Laptop with a potato frozen > release. I could mount it with something like > "mount -t msdos /dev/hde1 /flash". > > Something changed in the meanwhile with potato r3 > instead ide_cs some memory_cs and sram modules > get loaded. Is this correct and if so how do I access the card now? > A mount on /dev/mem0 fails of course (no valid block device). > > My overall feeling is that the card is not recocnized correctly. > Does anybody have or had a similar problem ? I have seen a similar problem, but it was when I built a 2.4.x kernel with pcmcia support. I now have 2.4.4 working fine with my PCMCIA doohickey after I disabled pcmcia in the kernel and built it as a separate package (a la 2.2.x style). Cheers, Andrew. -- _____ Andrew McMillan, e-mail: [EMAIL PROTECTED] Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(27)246-7091, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Wireless Networking
Jacques L'helgoualc'h wrote: > > Craig T. Milling wrote: > > I just bought two D-Link wireless PCMCIA ethernet cards (DWL-650 & > > DWL-500 = 650+PCI<->PCMCIA) [...] is there a non-kernel program which > > manipulates the settings of the card? > > - man wvlan_cs => loading options ; > > - see iwconfig in: > >http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html > > it's used in /etc/pcmcia/wireless. While everyone is talking about wireless networking, has anyone had any experience connecting a Debian system via wireless up to a Nokia M1122W ADSL router? It apparently comes with an 802.11 access point built-in and I am sorely tempted to buy one for home... Am I likely to encounter any problems dealing with a non-linux device from Linux? Regards, Andrew. -- _____ Andrew McMillan, e-mail: Andrew @ catalyst . net . nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(27)246-7091, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Thinkpad A21p top-open screen redraw problem (update)
Peter Amstutz wrote: > > Okay, I emailed the list a few days ago about this, where the closing the > top (NOT suspending the system, simply closing the computer which cause > the BIOS to turn off the LCD by default) causes some problems when the > computer is re-opened. > > The first problem, that the display is garbled, has gone away by using > vesafb in the kernel. I don't understand the relation between the problem > in the fix, but irregardless it does work. > > The second problem, however, has not gone away. Sometimes when the top is > reopened, the display simply remains blank. The backlight comes on, but > the screen is not redrawn. Hitting keys, moving the pointer etc have no > effect. Strange. I have had an A21p now for around 6 months, and never experienced any of these problems. I guess I was lucky in the first one that I always compile my kernels with VESA FB in them and add a line like: vga=0x375 # 1600x1200 x 16M into /etc/lilo.conf, because I love humungous text consoles :-) Also, a few other variations on that theme which are not listed in /usr/src/linux/Documentation/fb/vesa.txt are: # vga=0x307 # 1280x1024 x 256 # vga=0x319 # 1280x1024 x 32k # vga=0x31a # 1280x1024 x 64k # vga=0x31b # 1280x1024 x 16M > A friend of mine has suggested this may be related to kernel-based console > blanking, which might explain why input to the X server doesn't cause the > screen to come back. Does anyone have any suggestions as to how to > disable console blanking entirely? Since the bios seems to handle this > more intellegently than linux can, and LCDs don't suffer from burn-in (at > least I don't think they do?), standard console blanking (which leaves on > the battery-eating backlight anyhow [1]) is completely useless to me. Yes, it sounds like it could be. You could also check your BIOS settings. Are you running on stable, testing or unstable? If you want my .config and XF86Config-4 you are welcome (I won't spam the list with them though :-). My system works really reliably just closing the panel to suspend it. I shut it down for real every week or so for some reason or another, but I go from home -> client -> client -> office -> client -> home, connecting up to all their networks (including WLAN at home) and everything 'just works'. I hope I can be some help to you. Regards, Andrew. -- _ Andrew McMillan, e-mail: Andrew @ catalyst . net . nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: pcmcia-modules... for 2.4.x kernel?
Bart Szyszka wrote: > > Hi, > > I have a quick question. If I want to upgrade to a 2.4.x kernel, what do I do > about the pcmcia-modules... package I need for my cable connection on this > laptop? There's no pcmcia-modules-2.4... They're all for 2.2.x kernels. Has > pcmcia-modules... been replaced by something else for 2.4.x kernels? Download pcmcia-source and then when you build your kernel package using make-kpkg, build the modules_image target as well. Cheers, Andrew. -- _________ Andrew McMillan, e-mail: Andrew @ catalyst . net . nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Modem of notebook hp xe3
On Thu, 2001-09-06 at 22:10, Roberto Burceni wrote: > Hi! > I'm a new subscriber of this list. I woul like to know if there's a support > form te internal modem of the notebook hp xe3. If so, where I could find > information? > I have Debian gnu/linux 2.2r3 with kernel 2.2.19. If you have pciutils installed you should be able to use 'lspci -vv' to get some solid clues as to what it is. If it is a 3com based windmodem you are probably SOL, but if it says 'Lucent Microelectronics' in it somewhere there is an ltmodem package in Debian you can use. Anything else and I have no idea :-) Good luck, Andrew. -- _____ Andrew McMillan, e-mail: Andrew @ catalyst . net . nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: pcmcia-cs and configuring network...
On Mon, 2001-09-10 at 22:35, Hugo van der Merwe wrote: > > (discover is a hardware detection system. Don't think it does network > environment detection too... I know there are others, also don't > remember what they are.) divine does network environment detection, as does intuitively. I maintain 'whereami' which tries to combine these sorts of things together under one roof. > I guess these are all for detecting one of a number of preconfigured > network settings? Thanks, I may try some more of these on my laptop, but > for this little project the network environment is completely unknown. > Having pcmcia look at /etc/network/interfaces is the "right" solution in > this case. Well, the only thing I know that really does a lot of configuring based on information supplied externally to your laptop is DHCP. In fact in many cases DHCP may be underutilised, since it can hand out all sorts of information. Most DHCP servers just hand out the IP address, default gateway and nameserver(s) and leave it at that. If by 'completely unknown' you mean even DHCP is not supplied and you have to enter some parameters at boot time then I think your requirement is sufficiently off the wall to be outside most of the existing stuff. If you want to talk a little more privately then I could look at adding some functionality to 'whereami' to support your case a little better. Regards, Andrew. -- _____ Andrew McMillan, e-mail: Andrew @ catalyst . net . nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Thinkpad A21m SoundFusion
On Wed, 2001-09-12 at 00:02, Nicolas SABOURET wrote: > Hi all ! > > By looking in the archive 1.5 month ago, I took contact with someone to > get help on having my Crystal SoundFusion card to work on the my > ThinkPad A21m. > However, I can't remember the guy's name, and I still have the problem, > so I decided to write to the list. > > I use Potato with kernel 2.2 and it doesn't work. I recompiled the > kernel and the card is detected at login, but I get the "permission > denied" (/dev/dsp) or "no such device" (/dev/sndstat) answer. > > I switched to kernel 2.4.7 but it doesn't work either : when I cat > foo.wav > /dev/dsp, I got very weird noises (like a modem bipbip). > > Can anyone help me ? I have it operating here. I use the kernel drivers, mostly, because they handle it gracefully when I suspend. The first time I reboot after running Win2k I find I need to load up the Alsa drivers and then it works for me with the kernel drivers, otherwise it doesn't. I have no Idea WTF w2k does in this situation, but since I don't use it more than once every couple of months it isn't a big deal. I'm using kernel 2.4, and the alsa-source package form unstable. Regards, Andrew. -- _ Andrew McMillan, e-mail: Andrew @ catalyst . net . nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to mail (userfriendly)?
On Thu, 2001-09-13 at 22:35, Schoppitsch Dieter wrote: > Hi all! > > It's horrible - I can't install Mail Services on my Laptop. > > I am a single user and have an Email-Account at my ISP. > All I want is to dial in to my ISP and put mails from my laptop to > this mail account and fetch mails from this account to the laptop > (and read and answer offline). > As my laptop is very old (486) and I am not that expert in setting up > I search for small (no X) and simple solution (out of the box). > > The last thing I tried was a mutt/masqmail/fetchmail-combination > without setup-success. This is two problems. (1) receiving mail, (2) sending mail. I can relate my experience - I don't know if it is any help, but it might be interesting... Firstly, for receiving mail, I use fetchmail. This means that I can use any mail client I like, locally. I run fetchmail in daemon mode, and it checks for my mail every minute. Fetchmail is also triggered when my ppp connection comes up - this is done by the standard Debian install, and you shouldn't need to do any more. For sending mail, I use masqmail. I set up a line for each internet connection location. When each connection comes up I touch a file in the /tmp directory called masqmail. For ppp connections I did this through adding scripts to /etc/ppp/ip-up.d and /etc/ppp/ip-down.d, and for network connections I use 'whereami' to do this. My minutely cron job then comes along and if it finds /tmp/masqmail.*, and /var/spool/masqmail/local/* then it does a masqmail queue run (masqmail -qo ). I'm sure this sounds all a little complicated, but I have quite a few different places I go to where I want to be able to send and receive mail, and I want it to 'just work' when I arrive there. Here are some of the scripts concerned: ---/etc/ppp/ip-up.d/1masmqmail-- #!/bin/sh # Exit if package was removed but not purged. test -x /usr/sbin/masqmail || exit 0 if [ -n "$PPP_IFACE" ]; then # Set the provider according to the value of PPP_IPPARAM PROVIDER="$PPP_IPPARAM" fi if [ -n "$PROVIDER" ]; then # Record the provider name in a file. This is necessary if we're using # the "online_detect = file" method (cf. /etc/masqmail/masqmail.conf) echo -n "$PROVIDER" > /tmp/connect_route chmod 0644 /tmp/connect_route # When the connection goes up, we flush the MasqMail queue using the route # defined for the provider by "connect_route.$PROVIDER" # in /etc/masqmail/masqmail.conf /usr/sbin/masqmail -qo & fi if grep -qsx "^get.$PROVIDER.*=.*" /etc/masqmail/masqmail.conf; then # optionally fetch mails from POP servers, if a get method is defined # in /etc/masqmail/masqmail.conf /usr/sbin/masqmail -g & fi ---/etc/ppp/ip-down.d/1masmqmail #!/bin/sh rm /tmp/masqmail.* Finally, the script I run every minute to send any queued mail: ---/root/bin/mymail- #!/bin/bash cd /tmp MAILQUEUE=`ls | grep masqmail | cut -f2 -d.` if [ "$MAILQUEUE" = "" ]; then # logger -tmymail "No mail queue active" MAILQUEUE=$MAILQUEUE else if [ `ls /var/spool/masqmail/input/*-H 2>/dev/null | wc -l` -ge 1 ]; then logger -tmymail "Queue '$MAILQUEUE' is active - sending mail" /usr/sbin/masqmail -qo $MAILQUEUE logger -tmymail "Mail sent" fi fi In my masqmail setup, for each connection I have: connect_route.connection = "/etc/masqmail/connection" and in each /etc/masqmail/connection file, I have something along the lines of: mail_host = mail.connection.co.nz (I think there are newer ways of doing this, but I've been using masqmail for a couple of years). I hope all this helps somewhat - feel free to ask questions if you want to set yourself up this way. Regards, Andrew. -- _ Andrew McMillan, e-mail: Andrew @ catalyst . net . nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Thinkpad A21m SoundFusion
On Thu, 2001-09-13 at 19:06, Nicolas SABOURET wrote: > Andrew McMillan wrote: > > > > I wrote : [...] > > > > > get help on having my Crystal SoundFusion card to work on the my > > > ThinkPad A21m. > > > > > > I switched to kernel 2.4.7 but it doesn't work either : when I cat > > > foo.wav > /dev/dsp, I got very weird noises (like a modem bipbip). > > > > > Just to make thinkgs clear : I do have /dev/dsp and I did add my user to > the audio group. The card is beeing detected and "seems to work", except > that I don't get the right "noise". > > > > > The first time I reboot after running Win2k I find I need to load up the > > Alsa drivers and then it works for me with the kernel drivers, otherwise > > it doesn't. > > It doesn't work even it I start the computer without going into w2k : > always the weird noises. Wierd noises? Go into GMix and turn off the microphone? That's the only time I have had wierd noises come out - audio feedback between speaker and microphone... The 'after w2k' problem I was having didn't matter whether I had powered the machine off - after running w2k I need to use the alsa modules for the sound to work again. I can power off any number of times, but until I use the alsa modules, sound won't work for me. Cheers, Andrew. -- _ Andrew McMillan, e-mail: Andrew @ catalyst . net . nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Woody Killed PCMCIA & Root in Gnome
On Sat, 2001-10-20 at 15:55, Doc - KD4E wrote: > Just upgraded from Progeny-Debian 2.2.18 to Woody, or > so I thought. > > When I boot 2.2.18 still shows up but Grub has changed appearance > as has Gnome. > > Problems: > > Cannot access my pcmcia nic (3Com 589c which worked perfectly > prior to the upgrade). > > When I remove then re-insert the card there are no tones. > > When I reboot, Grub won't recognize Root but accepts my user account. > Problem is that the user account doesn't permit me to edit and change > things as I need to. > > If I break out of Gnome using Log Out and then Ctrl-Alt-F2 at the > Grub login I can get to a command line where I can log in as Root > but then I lack access to gedit (at the moment I lack the patience to > learn the eccentricities of vi and the other command line editors). > > Can someone suggest how I repair Grub re. Root and how I then > repair PCMCIA. Since I cannot access the Internet from my laptop > I cannot download anything new for the moment. What is probably happening is that your X session is aborting when started by GDM (not Grub - Grub only load's the boot image and starts Linux running with no further input into the process). If the Xsession fails at a very early point you will be returned to the GDM login screen, which sounds like it is what is happening from your description. You should be able to start an xterm when logged into your user account. Once there, you should be able to use the 'su' command to become root temporarily. Once root, I suggest you take a look at the file /root/.xsession-errors and see if it indicates what the problem might be. For example I recently saw someone with a problem caused by one of the accessories to ssh (I forget which one). I hope this is some help, but I suspect there will be quite a few more questions before it is working for you. If you need to run X programs as root, you should be able to run "xhost +127.0.0.1" (before "su") to allow local clients to always connect, regardless of the user they are running as. Regards, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: The SpedStep crash problem ...
On Wed, 2001-10-24 at 09:53, [EMAIL PROTECTED] wrote: > Clayton Carter [[EMAIL PROTECTED]] wrote: > > > > For what it's worth, I've a Dell Inspiron 7000 running 2.2.19 > > and SpeedStep seems to work fine. Well, in so far as when I plug the > > machine in /proc/whatever says 700MHz and when I unplug the box it's > > reported as 550. I've always assumed that this meant that it worked, > > though I've never taken any measures to enable/disable it. > > > apparently the problem really only occurs going from a high speed to a low > speed (or is it the other way round) :) I guess is a kinda "your mileage may > vary" sort of thing :) It is the other way around - if the timing loops don't have enough loops in them, everything unravels! If you want reliable computing on a speedstep machine you would be advised to always boot with the mains attached, or failing that: reboot before attaching to the mains. I almost always boot with mains attached, and operate in a mix of battery and powered environments, with the laptop suspended when I go from one to the other. I regularly manage periods of more than a couple of weeks between reboots with a 2.4.4 kernel, running unstable. Regards, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Mobile network configuration
On Thu, 2001-11-01 at 02:02, David Z Maze wrote: > I have a fairly new laptop running Debian unstable. It has on-board > MiniPCI 802.11 wireless (yay!). I'm using kernel 2.4.12, with the > driver modules from the pcmcia-source package (specifically, the > wvlan_cs module). > > What I'd like to do is have the laptop automatically detect the local > network and configure itself appropriately at boot time. In > particular: > > -- If I'm at home, use a known static IP address. > -- If I'm at work, use one set of access points preferentially over >another, and get an address via DHCP. > -- Otherwise, use any access point that's available and get an address >via DHCP. I run whereami in the script that runs on insert of my WLAN card so that it reconfigures my laptop for that environment. My configuration is slightly different in that I have mostly DHCP-assigned ethernet addresses at various work locations and use WLAN at home. I no longer have any static IP anywhere, although whereami includes an easily customised sample test for this situation. Since my WLAN access point provides a DHCP address I modified the example DHCP test to look for the appropriate DHCP address on the different ethernet device. This is now included in the current package as "35wireless-lan". If you use multiple access points, and can't know the appropriate nameserver / routing configuration in advance, you could extend the whereami utilities scripts to parse this information from the data returned by DHCP - I have only one WLAN location at this stage, so I haven't done that. Regards, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Network connection
On Tue, 2001-11-06 at 07:53, Fredrik Jagenheim wrote: > > How do I make eth0 configure itself automatically whenever a network > cable is inserted? Or otherwise configure the network at the request > of a user? > > My laptop is usually connected to a DHCP LAN, either at home or at > work. However, I sometimes use it outside this environement and have > no network cable attached. If I have my eth0 configured to set itself > up automatically in /etc/networks/devices/eth0 it takes several > minutes for it to boot up and time out whenever pump can't reach the > DHCP server... Thus I have configured it so it won't start > automatically, and run 'sudo ifup eth0' whenever I access the net. > 'whereami' comes with a patch that will insert itself into the /etc/pcmcia/network script which gets run on insertion and removal of a PCMCIA network card. Cheers, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IBM A Series, Mod. 26523VG
On Tue, 2001-11-20 at 23:01, Dave Swegen wrote: > > Unfortunatly this is not the case (at least as far as the A21m is > concerned). It would seem that some of them ship with a 3com card, which > doesn't work, from what I've gathered. So to be on the safe side > doublecheck before buying one. > Yes, I got the 3com card with my A21p, and I don't believe it will _ever_ be supported by Linux (apart from the ethernet, which is fine). I had to shell out quite a few more $$$ to get a different card with eepro100 ethernet + lucent winmodem, which is working well. Cheers, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: Xfree downgrade
On Wed, 2001-11-14 at 11:36, Arlen Carlson wrote: > Hmm! I'd be very surprised if it wasn't the reverse situation...In general > cards that work under 3.x will work under 4.x, but not the other way around. > As an example, I believe there are some newer Nvidia-based cards that require > 4.x, and will not work under 3.x. Well prepare to be surprised. The laptop in question, which the poster mentions, is some years old and uses a fairly unusual Cirrus Logic LCD-only graphics card. This is all quite well documented in the XFree86 package. Support using the XFree86 3.3.6 XF86_SVGA xserver is noticeably better than with the XFree86 4.x.x xservers. I think it highly unlikely that this model will ever be supported by v4 unless someone very altruistic finds a way of re-supporting all these sorts of old cards. There are actually quite a few old cards which are not well-supported by XFree86 4.x, and that seems pretty reasonable too, when you take the word 'old' into the equation. I had one of these laptops (still do, but it isn't my main system any longer). It should operate fine with XFree86 4.x, but using the xserver-svga package (which is version 3.3.6) from unstable worked fine for me (currently 3.3.6-39). Debian supports concurrent or mixed installation of 3.3.6 and 4.x, and I expect will continue to do for some time for exactly this reason. The X protocol hasn't changed so much that the XServer is incompatible with the X clients - you just lose some of the snazzier functionality that the v4 XServer implements, such as truetype font support. OTOH TT fonts are available with a font-server anyway. Hope this is some help, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Dell Inspiron 8100 text screen
On Thu, 2001-11-15 at 03:23, Goran Ristic wrote: > > I suppose you use framebuffer. > Unfortunately vesa-framebuffer can handle only 1280x1024. Your screen > can handle 1600x1280. That's what you see, when you switch between X > and Con. I use VESA framebuffer at 1600x1200 on my Thinkpad - I add this line to my lilo.conf: vga=0x375 # 1600x1200 x 16M Regards, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: Network connection
On Tue, 2001-11-06 at 14:41, Marc Andreu wrote: > > I've seen tools that at the begining of the startup of the computer asks > u which network configuration to use. I got 2 networks, one at > work and another at home, both have a very diferent network configuration > ( DHCP&Workgroups / Static IP¢ral server ). > > Do u know where could i get one of this tools? or setup my own debian to > do that? > 'whereami' doesn't prompt you for information - it runs a series of tests looking for the presence of various hardware or network addresses and _makes the decision for you_ on this basis. It is a framework for finding where the laptop is, and configuring your environment appropriately. As such it pretty much isn't working properly if it has to ask you to do something once you have it set up. The patch included in the package will mean it runs on insertion or removal of a PCMCIA card - an ideal time to figure where you are. The base installation will run at boot time as well. Cheers, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Storm Linux Does anyone know where I can get updates ??
On Sun, 2001-09-23 at 21:37, Shane Broomhall wrote: > Hi I am new to this List, First day. > I have been using, though not exclusively, linux for about 12 months. > I am hoping now to learn how to use Debian. I have a copy of Storm Linux, > (Boxed Set), that works well on my old Acer Laptop. I am hoping to use it > to > learn how Debian works and update some of its packages from the Debian > packages, i am told this is possible. > > I was wondering if any one knows of any software sepositories on servers > on the web that might hold extra packages or updates for storm. I have > checked their site and they are no longer functioning. You can happily point your system at standard Debian mirrors and do a 'apt-get update' 'apt-get dist-upgrade' to use more recent Debian packages. You will most likely want the 'unstable' branch of Debian in that case. Find the nearest mirror at http://www.debian.org/distrib/ftplist and a good look around the Debian site will help you out in configuring your system to use the Debian mirrors - basically adding a couple of new lines to your /etc/apt/sources.list . Regards, Andrew. -- _________ Andrew McMillan, e-mail: Andrew @ catalyst . net . nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax:+64(4)499-5596, Office: +64(4)499-2267xtn709 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: KDE
On Fri, 2001-09-28 at 23:00, Tom Allison wrote: > Tom Allison wrote: > > > I installed KDE and all the fixings. > > > > in my .xsession file I have, currently, > > > > --- > > #!/bin/bash > > gnome-session > > --- > > > > How do I edit this for using KDM? > > > > > > Sorry, I forgot something... > > How also would I edit this for starting KDM from the command line (startx)? > I had to drop using the xdm because X would hang when I did a suspend. I use startx myself, and have two scripts to switch between kde and gnome: == use-gnome === #!/bin/bash update-alternatives --install /usr/bin/x-session-manager x-session-manager /usr/bin/kde2 50 update-alternatives --install /usr/bin/x-session-manager x-session-manager /usr/bin/gnome-session 99 === use-kde == #!/bin/bash update-alternatives --install /usr/bin/x-session-manager x-session-manager /usr/bin/kde2 99 update-alternatives --install /usr/bin/x-session-manager x-session-manager /usr/bin/gnome-session 50 (forgive my editor for wrapping the long lines :-) Regards, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: X-Fonts
On Mon, 08 Oct 2001 02:21:44 -0500, wrote: > > *** Please say _something_ to me !! :) > > I'm running Debian 90% Woody on my laptop. > > The menus and dialog-boxes of most X win > applications (Nedit, The Gimp, playlists) > are all SquArEs !! Unreadable. > > Do you know what x-library might be > responsible for the font problem ? > > Thank you ! I think I saw somewhere that this problem is to do with the internal font server in X 4.1.0 which is seeing the wrong default encoding - the fix is to use xfs to serve the fonts. Regards, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Thoughts on network detection and configuration on Debian
On Fri, 2001-12-07 at 04:41, [EMAIL PROTECTED] wrote: > * Thoughts on network detection and configuration on Debian > > There are a lot of packages for automatic network detection and > reconfiguration on debian: whereami, divine, intuitively, > laptop-netconf, laptop-net, netenv and maybe others. IMHO they all have > a problem: they do network detection AND reconfiguration. This is a > problem because Debian already has a way to configure network > interfaces, provided by the base package ifupdown. For so many options, there is obviously an itch being scratched here. On the other hand it seems to be one of those worst kind of itches that no scratcher can quite hit right :-) I developed whereami in the direction I did because purely _network_ reconfiguration was not sufficient for what I wanted. When I plug my laptop into a docking station (for example) I want to take action on that. Perhaps that sort of _hardware_ reconfiguration is now a job for 'hotplug' (which wasn't around when I first wrote 'whereami' :-). 'whereami' tries to be one place to combine all of 'these sorts of things' together. Unfortunately, perhaps, 'these sorts of things' turns out to follow Wittgenstein's 'family resemblance' model - it is not subject to a clean definition. In making 'whereami' be one place, I have endeavoured to make it safe to call often. There should be no harm in hooking it into apm, for example, or into pcmcia, or hotplug. > ifupdown already provides a way to define configuration profiles, and > hooks for selecting the good one. This means that Debian does not need > a unique tool for network detection AND reconfiguration, but two > different tools, one for network detection and one for system > reconfiguration. I wasn't aware of that. Again, ifupdown weren't around when I first put it together and I have had no need to use them on my laptop since. There is no reason the 'configuration' side of whereami can't simply be an appropriate ifupdown command or two though, if that is simple enough for you. Backing up to network drives on an automatic way, changing proxy settings and e-mail settings is somewhat beyond the scope of ifupdown, however, and these are quite common requirements of change when a person uses their laptop inside multiple organisations. > I'd like to cooperate with the authors and users of the involved > packages to address this problem and see what they think. If we share > the same concerns, maybe we should merge efforts and try to clean up the > mess. I'm happy to cooperate. I'm in the process of rewriting whereami from the ground up to provide better interfaces to what it does and easier configuration. Now is probably the perfect time to think more deeply on the issue and to build a wider debian infrastructure for this. Thanks for thinking :-) Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: problems debian / gnome
On Mon, 2001-10-29 at 23:03, Marko Djukic wrote: > Hi all, > > have a problem, I did a debian install and that went ok... i did a gnome > install and that didn't seem to go too well. > > everytime i boot, debian gets to the login prompt, waits 1sec then blanks > out the screen with a cursor blinking in the top left corner and i can't do > anything. > > most probably some file missing, but i can't figure out what. i can get > into maintainance mode (ID 1) and look around but not sure where... > > any ideas anyone? > > thanks, > > marko > > ps. potete rispondere anche in italiano, grazie! :) Look in /home//.xsession-errors Regards, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: problems debian / gnome
On Mon, 2001-10-29 at 23:16, Marko Djukic wrote: > there is no /home//.xsession-errors file... > > i don't think it gets to the xsession to do any error logging... i see the > terminal prompt for login for a second and then it goes blank... i don't > even get a chance to log in... Right, sorry I see from rereading your description. It is presumably trying to start gdm, which it will try and do a thousand or so times before giving up for a while. If you uninstall gdm / kdm / xdm ("dpkg -r gdm xdm kdm") you will get the login prompt and be able to log in, then go 'startx' to start an Xsession. Sorry I can't help for diagnosing problems with xdm, kdm or gdm as I loathe them all about equally and just use startx myself :-) Regards, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: xfree video-configuration
On Fri, 2001-11-30 at 06:37, Max Koszela wrote: > I've got the sis630-motherboard with the agp-graphics > chipset with the same name built in. This card seems to be > supported (at least if XF86Setup is to be trusted). The install > script of the svga-something xserver didn't succeed in > configuring itself either... > > By the way, i'm running the stable-dist of debian... Either upgrade to unstable (or testing) and use the XFree86 4.1 packages that way (recommended), or use the 4.1 packages kindly put together by someone for potato. SiS video support under 3.3.6 is dubious. Cheers, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: x-window-manager link
On Wed, 2001-10-10 at 10:05, Mark R. Millsap wrote: > > Ohh... bummer. > > Here is what I get when I tried the command you suggested: > > There is only 1 program which provides x-window-manager > (/usr/bin/X11/twm). Nothing to configure. Both Gnome and KDE wrap the window-manager in a Session manager. You should be able to get KDE starting if you install a few more KDE packages so that you get the KDE session manager installed. Once that is installed 'startx' will run the session manager, and KDE insists on trumping all the other alternatives, so you should get KDE starting from 'startx' that way. Otherwise, do as someone else suggested and install 'kdm' so you log in from a graphical shell. Regards, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Thoughts on network detection and configuration on Debian
On Sun, 2001-12-09 at 07:35, David Roundy wrote: > > As far as ideas for improvement to whereami, I was just thinking that > perhaps a nice way to do some of its work would be to have it switch > runlevels. Since we already have the runlevel mechanism for creating > different configurations (esp for daemons, etc), it might be nice to use > that, although we'd still need a mechanism for changing config files. > Also, that would limit us to three such configurations, which is probably > usually more than enough, but still you hate to build a limitation in to > the software... oh well. Maybe not such a hot idea... I think there aren't enough runlevels for this. I wouldn't want to be restricted to just three choices. I suppose that the 6 runlevels are traditional, and that more could be added, but there are a lot of tools out there which don't expect more than that. Regarding whereami: I'm in the throes of creating a new version of whereami with an easier configuration at the moment. I hope to release it into the wild next week. Once that is out, I plan to focus on developing a GUI for configuration. Regards, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why Linux on a Laptop?
On Fri, 2001-11-30 at 21:39, Alec wrote: > > I'm wondering what everyone's motivation is for using Linux on a laptop > instead of Cygwin + Windows. The way I see it, a laptop is basically a giant > PDA. People usually use them for typing down stuff during classes, seminars, > conferences, in the library, for presenting (powerpoint) material, or for > keeping all their mail and personal archives in one place, etc. Laptops don't > get used much as servers or development workstations, are they? Sure they do: I travel, I work at home, I work at the office, I work at clients offices in my home town and in other cities and countries. In all of these locations I need to be able to continue to work, and a PDA won't run a webserver, a database server or a development environment for me to do what I do. You obviously live a pretty sheltered life if you see a laptop as a PDA - mine has 0.5G RAM, 30G HD, 1600x1200 LCD screen and a PIII 850... I haven't owned a desktop PC for the last 7 years and there is no way I would ever go back to one. I sit here now in my lounge at home, WLAN connected to my home network, and thence the internet, running on batteries. I have done some of my best work on aeroplanes, in airport lounges and in the backs of taxis. WTF would I want Windows for anyway? Nothing I do requires it! I don't want to run Windows, so I have restructured my client base so that I can do everything I need to do with DFSG software. But you are right about keeping all of my mail in one place - evolution does that quite nicely for me. Regards, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: thinkpad pad, woody and a linksys wpc11 lan card
On Fri, 2001-12-21 at 20:05, nick lidakis wrote: > Just purchased a Linksys WPC11 wireless lan card to use with my > thinkpad. Currently running woody with kernel 2.4.16. I compiled the > kernel with the Prsim drivers as modules. hermes.o, orinoco.o and > orinoco_cs.o appear in /lib/modules.../wireless. pcmcia-cs is installed > and > working properly. > > When I insert the card into the pcmcia slot I hear one high pitched beep > followed by a lower pitch. Cardinfo sts the card has been identified as > a D-Link DWL-650 11Mps Wireless Adapter. Searches on google and debian > planet reveal conflicting statements on how to configure this card and > with which driver. > > /var/log/daemon.log reveals the following > > Dec 21 01:48:30 thinkpad cardmgr[2024]: watching 2 sockets > Dec 21 01:48:30 thinkpad cardmgr[2024]: initializing socket 0 > Dec 21 01:48:30 thinkpad cardmgr[2024]: socket 0: D-Link DWL-650 11 Mbps > Wireless Adapter > Dec 21 01:48:30 thinkpad cardmgr[2024]: executing: 'modprobe wvlan_cs' > Dec 21 01:48:30 thinkpad cardmgr[2024]: + modprobe: Can't locate module > wvlan_cs > Dec 21 01:48:30 thinkpad cardmgr[2024]: modprobe exited with status 255 > Dec 21 01:48:30 thinkpad cardmgr[2024]: module > /lib/modules/2.4.16/pcmcia/wvlan_cs.o not available > Dec 21 01:48:32 thinkpad cardmgr[2024]: get dev info on socket 0 failed: > Resource temporarily unavailable > > How do I get this card to load the appropriate module which I assume is > orinoco_cs? Looks like you're using kernel PCMCIA, but this card is defined to use a different module with David Hinds PCMCIA package. You're using that for the /etc/pcmcia/config, however, so the card is being identified as a Wavelan compatible. I think the general approach you have been taking is right, but after you have changed that config file you have to (A) stop and start pcmcia support (the config is read at startup) and (B) make sure the existing entry that points it at wvlan_cs is gone. Cheers, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 Are you enrolled at http://schoolreunions.co.nz/ yet? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: pcmcia modem ... IS A WINMODEM!!!
On Thu, 2001-12-06 at 09:28, [EMAIL PROTECTED] wrote: > > Sorry for submitting such a stupid problem to the list: > cardctl output is: > > Socket 0: > no product info available > Socket 1: > product info: "LT WIN MODEM", "PC card", "", "" > function: 2 (serial) > > Happy new year to the list! > > P.S. any suggestion for a pcmcia TRUE modem? There is a linux driver for the ltmodem - check out linmodems.org. Not sure if it works with a PCMCIA version though. Cheers, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 Are you enrolled at http://schoolreunions.co.nz/ yet? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Thinkpad 760XL Sound and Compactlfash cards
On Thu, 2001-12-27 at 10:00, bigill wrote: > Hi. > I have an ibm thinkpad 760xl and i dont know how to install the sound card ;( > The name of the soundcard is = ESS1688 Sound Blaster Compatible. > Can sombody help me ? There should be a module in either the standard kernel, or the alsa modules, that will work with that. > Than i have an SanDisk SDCFB-8, ATA Disk drive...its an adapter for a compactflash >card > when i put in the pcmcia card there comes this error: > > hdc: SanDisk SDCFB-8, ATA Disk drive > ide1 at 0x100-0x0107,0x10 on irq 5 > hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error } > hdc: drive_cmd: error=0x04 { DriveStatusError } These errors are not important - they mean that the drive doesn't support eject notification, or something like that. > Fdisk shows me that: > > fdisk /dev/hdc > >Device BootStart EndBlocks Id System > /dev/hdc1 * 1 244 77921 FAT12 Looks good. You should be able to mount it then: mount /dev/hdc1 /mnt (as root) "ls /mnt" should then show you the files on it. "man mount" for more information on how you can mount it on a different part of the filesystem. > and ... > > fdisk /dev/hdc1 This is bogus. The partition table isn't stored _in_ the partition, it defines it. Hope this helps somewhat. Cheers, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 Are you enrolled at http://schoolreunions.co.nz/ yet? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: External Monitor
On Thu, 2001-12-27 at 14:17, Jerome BENOIT wrote: > Bonjour: > > Is there an easy way to `plug' > a Debian laptop to an external/second monitor > (in fact the one of my Debian desktop)? Huh? Every laptop I have ever had I just plugged one in. There is usually a keyboard sequence to roll through LCD-only, LCD+Monitor, Monitor only . Cheers, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 Are you enrolled at http://schoolreunions.co.nz/ yet? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Xircom CardBus: silence the modem
On Thu, 2001-12-27 at 14:15, Jerome BENOIT wrote: > Bonjour: > > I have a very naive question: > How can we avoid the annoying connection noise > of our modem ? Send the appropriate AT command to the modem before dialling, or possibly save it in the modems command set. ATM0 Is probably the one you want. ATL1 might make it quieter. This is all from memory I'm afraid as I haven't tried to deal too closely with modems for a few years. There are some good references on the AT command set on the internet - search google for "Hayes AT commands for modems" or something like that. Cheers, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 Are you enrolled at http://schoolreunions.co.nz/ yet? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
New 'whereami' in unstable
Hi All, For those who may be interested, I have released a substantially changed version of 'whereami'. The major changes are that: - Detection is now handled from a single configuration file, rather than from having to write a bunch of small scripts. - The program is now written in perl, rather than in a shell script, which should give a lot more room for expansion. The perl script allows quite a lot of improvement already. - Much improved man pages. Having all configuration in two files (/etc/whereami/detect.conf and /etc/whereami/whereami.conf) means that I can hope to work up some kind of a GUI to help the less technically minded configure things. This won't happen for some time though. I've given this a reasonable bashing for about six weeks now (with some help from expert bug hunter Chris Halls :-), so it should all work. Yeah right! Regards, Andrew. PS. For those who already have configurations set up for the old whereami I have left it in place, with a debconf question allowing you to continue with the old operation. This will be removed in a version or two. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 Are you enrolled at http://schoolreunions.co.nz/ yet? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Problem w/ T23 and NIC (eepro100)
On Sat, 2002-01-12 at 20:25, Bryan Daniels wrote: > I am running Debian 2.2_Rev4, kernel 2.2.19 on a Think > Pad T23 with an Intel(R) PRO/100 network card. As far > as I can tell from the HOWTO for Ethernet, this > requires the eepro100 network module. I have been > unable to get the NIC recognized. > > Originally, I was using 2.2.19-idepci because that was > the only version I could boot off of the CDROM > distribution. Unfortunately, the idepci version did > not have eepro100 available as a module--though if I > am reading the config file created by make > menu-config, it does look like it might be compiled > directly into the kernel. In any case, I tried > recompiling a customized kernel providing eepro100 as > a module. It appears to have compiled--at least it > shows up in /lib/moduled/2.2.19/. Still no luck. > > The response I get from 'insmod eeprp100' and > 'modprobe eepro100' is: > # depmod -a; modprobe eepro100 > # eepro100.c: init_module: Device or resource busy > Hint: this error can be caused by incorrect module > paramaters, including invalid IO and IRQ parameters. > > I know that the card works (at least under WindowsXP). > > Not sure what to do. Any advice would be appreciated. You could look to the e100 module, which is a different version of support for the eepro100. It's not part of the standard kernel, but it is available as a package in 'unstable'. You could also look at using a more recent kernel - 2.2.19 is pretty old now, and your laptop could be substantially newer. I have an A21p with an eepro100 in it and I use the eepro100 driver and a 2.4.4 kernel (I'd use a newer kernel myself but Nokia don't provide open-source drivers for the C110/C111 wireless LAN card that I use). I had a problem with a desktop system recently where the Intel PRO/100 network card wouldn't work with 2.2.19, 2.2.20 or 2.4.17, but once I switched to the e100 module things have been fine (touch wood!). You might also want to do an "lspci -v" just to confirm your network card is identified as something like: 00:03.0 Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (rev 0c) Subsystem: Intel Corp.: Unknown device 2205 Flags: bus master, medium devsel, latency 66, IRQ 9 Memory at f012 (32-bit, non-prefetchable) [size=4K] I/O ports at 1800 [size=64] Memory at f010 (32-bit, non-prefetchable) [size=128K] Expansion ROM at [disabled] [size=64K] Capabilities: [dc] Power Management version 2 Regards, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 Are you enrolled at http://schoolreunions.co.nz/ yet? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Large HD problem(s) with older Laptop
On Mon, 2002-01-14 at 08:35, Glenn Becker wrote: > Hi, > > Successfully replaced my 2.1G HD on a Toshiba Satellite Pro 470CDT with > a 30G-er I won off eBay. Re-installed Win98 (ecch) and just for the hell > of it, checked the drive size ... it seems to be only 8G. > > I've heard of older machines having a "large drive" problem, but was > wondering what - if anything - could be done about it. I'm downloading > an IBM app called Disk Manager 2000 that is supposed to do something > about this, but it may do the trick only for the Windows end of things > ... ? > > NB I upgraded the machine's BIOS before doing any of this stuff. > > Any advice would be much appreciated! I installed Disk Manager on an old laptop I put a 20G drive into and it worked fine. I had that one dual-booting Win98 and Linux - it worked fine, but you have to be sure you don't boot from a floppy or CD without doing it through Disk Manager. If you can get away without using Windows Linux can support the large drive natively, and this can be a better idea. Cheers, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 Are you enrolled at http://schoolreunions.co.nz/ yet? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: radeon mobility
On Mon, 2002-01-14 at 16:27, Jason Majors wrote: > Is there a driver for the ati radeon mobility for x 4.1? > I set my notebook up using the radeon driver, but X dies complaining that > there are no devices available. Switching the Device line to "Standard VGA" > brings it up, but at vga16. I believe that the Radeon driver is only available in CVS at this stage. You may be able to get a binary module that works with Debian's 4.1 packages from somewhere on the XFree86 website though. Regards, Andrew. -- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201MOB: +64(21)635-694OFFICE: +64(4)499-2267 Are you enrolled at http://schoolreunions.co.nz/ yet? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: WLAN-Card on Sarge
On Sat, 2004-06-12 at 17:26 +0200, Thomas Hood wrote: > > It's a Debian issue. The hotplug and ifupdown maintainers are inactive. > However, I don't know of any other distros that have better support for > automatic dynamic configuration of laptops. Do you? Of course if we could all agree that there was life after ifupdown, then there are other alternatives, already existing. :-) Cheers, Andrew. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 You will pioneer the first Martian colony. - signature.asc Description: This is a digitally signed message part
Re: Thinkpad R50 - NetInstall -> no shutdown / ACPI
On Thu, 2004-07-08 at 17:34 +0200, Karl wrote: > Hi! > > I just installed Debian on my Thinkpad R50 using the new Debian Installer > and installing over the net. > > Installed Kernel is 2.6.6-1. Quite everything works fine, but not ACPI. > > Worst thing is, that when I shutdown the laptop, it is not switched off, > just the display goes dark, I have to switch it off manually. > > Any ideas? Or a HowTo I did not find? Yes, I have the same laptop and this is a problem for me as well. It seems that ACPI doesn't quite get all the way there. I think that when I used APM it worked, but for myself I am using ACPI anyway because in fact I only very rarely shut it down. Cheers, Andrew. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 You fill a much-needed gap. - signature.asc Description: This is a digitally signed message part
Re: using acpi
On Tue, 2004-07-13 at 10:10 +0200, Bernhard Kleine wrote: > Hi, > since I have already asked some days before whether anybody could > provide scripts for acpi support e.g. to shut down the screen when the > cover is closed and since I did not receive any response, > > I will ask again: > > Is there someone to share his experience using acpi with kernel 2.6.(6) > and higher? I'm using 2.6 (currently 2.6.8-rc1) and have been using these scripts: /etc/acpi/suspend_to_ram.sh = #!/bin/sh # /etc/acpi/suspend_to_ram.sh # Initiates a suspend to memory [when the lid is closed] if ps -Af | grep -q '[k]desktop' && test -f /usr/bin/dcop then dcop --all-users ksmserver ksmserver logout 0 2 0 && exit 0 fi sync whereami --syslog --run_from suspend2ram undocked xscreensaver-command -lock logger -t "acpi-sleep" "Stopping hotplug" /etc/init.d/hotplug stop sleep 1 logger -t "acpi-sleep" "Initiating sleep at `date`" #echo 3 >/proc/acpi/sleep echo mem >/sys/power/state sleep 1 logger -t "acpi-sleep" "Awakening from sleep at `date` ?" ( # Run in a subshell so we can finish our job... # modprobe e1000 sleep 2 /etc/init.d/hotplug start & whereami --syslog --run_from resumefromram ) 2>&1 | logger -t 'acpi-sleep' & = /etc/acpi/suspend_to_disk.sh = #!/bin/sh # /etc/acpi/suspend_to_disk.sh # Initiates a suspend to disk if ps -Af | grep -q '[k]desktop' && test -f /usr/bin/dcop then dcop --all-users ksmserver ksmserver logout 0 2 0 && exit 0 fi whereami --syslog --run_from suspend2disk undocked # logger -t "acpi-sleep" "Stopping hotplug" # /etc/init.d/hotplug stop sleep 1 logger -t "acpi-sleep" "Initiating disk-based suspend at `date`" echo 4 >/proc/acpi/sleep sleep 2 logger -t "acpi-sleep" "Awakening from sleep at `date` ?" sleep 3 whereami --syslog --run_from resumefromdisk = /etc/acpi/suspend_to_disk.sh = = And these configuration files... /etc/acpi/events/lid = # /etc/acpi/events/lid # This is called when the user closes the lid. # Optionally you can specify the placeholder %e. It will pass # through the whole kernel event message to the program you've # specified. # We need to react on "button lid.*" and "button/lid.*" because # of kernel changes. event=button[ /]lid action=/etc/acpi/suspend_to_ram.sh = /etc/acpi/events/allevents = # /etc/acpi/events/allevents # This is called when any ACPI event happens # /etc/acpi/log_event is called to log the event # Optionally you can specify the placeholder %e. It will pass # through the whole kernel event message to the program you've # specified. event=.* action=/etc/acpi/log_event "%e" = /etc/acpi/events/powerbtn = # /etc/acpi/events/powerbtn # This is called when the user presses the power button and calls # /etc/acpi/powerbtn.sh for further processing. # Optionally you can specify the placeholder %e. It will pass # through the whole kernel event message to the program you've # specified. # We need to react on "button power.*" and "button/power.*" because # of kernel changes. event=button[ /]power action=/etc/acpi/shutdown.sh = In fact I only rarely use the suspend_to_disk script because it doesn't work reliably. I suspend to RAM at least twice each day (driving to work, driving home, plus twice each time I have to go to a meeting out of the office) - this has worked reliably for many different kernel versions from 2.6.3 through 2.6.7-mm6. YMMV, of course, because ACPI is not yet smoothly supported on all laptop models. How it all works The events directory contains definitions of things that should happen for various ACPI events. The names of the files in this directory are informative, rather than special. The events that are hooked into are defined by the: event= line, which should pattern match against an ACPI event. I use the "allevents" definition, along with the "log_event" script to let me figure out what/whether some specific marked button my keyboard sends, as far as ACPI goes. In the case of my laptop, I am able to hook into the "lid" and "power" buttons (the sleep button doesn't appear to trigger an ACPI event). When the "event" is matched, the associated "action" is run. In my case this means that the suspend_to_ram script is kicked off when I close the lid. This script gets fiddled w