Re: /etc/network/interfaces and unique identifiers for NICs
On Thu, Feb 20, 2003 at 01:33:50AM -0800, Adam Lydick wrote: > Is there a way to associate a MAC or device type (wireless vs. ethernet) > with entries in /etc/network/interfaces? My laptop is configured to > disable the ethernet hardware onboard if the cable is disconnected, thus > eth0 and eth1 are often interchanged. Also, the driver used for a given > card will change the name given to the interface (wlan0 vs. eth1). > > Is there a way to ID a nic via the MAC address (in > /etc/network/interfaces) so that I am not bound to the whims of > device/driver activation order? see /usr/share/doc/ifupdown/examples/ Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 CPU's dont tend to work very well after their "magic smoke" has escaped.
Re: Mail (smtp) config at different locations. Script or ..?
On Mon, Mar 10, 2003 at 03:16:10AM +, Joao Pedro Clemente wrote: > So I'm seeking for advice here... [snip] 1 compound word: offlineimap IMAP server on home machine. (preferably courier) offlineimap on laptop to fetch/send(using courier) mutt to send with: [EMAIL PROTECTED]:~> cat bin/mailout #!/bin/sh safecat /home/mjb/Mail/Outbox/tmp /home/mjb/Mail/Outbox/new [EMAIL PROTECTED]:~> (the trick, is that courier is configured to send anything saved to that box.. must be in 822 format, which mutt does.) set up offlineimap to use localhost:1143, and run: [EMAIL PROTECTED]:~> cat bin/mailtunnel #!/bin/sh remotehost=your.mail.server if [ -n "$DISPLAY" ]; then exec rxvt -T Mailtunnel -ls +sb -rv -fn nil2 -geometry 5x5+1010+720 \ -e zsh -c "ssh -t -L 1143:${remotehost}:143 $host 'echo -e WWW;cat'" & else (exec ssh -L 1143:${remotehost}:143 $host 'sleep 1800') & fi [EMAIL PROTECTED]:~> (the W's make a nice little white square in the rxvt when the tunnel is up and opened (I have a 1024x768 TFT)) mutt config: macro pager f "!offlineimap\n" "Sync IMAP with local mail" macro index f "!offlineimap\n" "Sync IMAP with local mail" macro index F "!mailtunnel\n" "Start mail tunnel for offlineimap" set sendmail="/home/mjb/bin/mailout" # how to deliver mail set folder=~/Mail # where I keep my mailboxes set spoolfile='+INBOX'# where my new mail is located Thats it. Works for me(tm) Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 yip yip yip yip yip yip yap yap yip *BANG* NO TERRIER
Re: Mail (smtp) config at different locations. Script or ..?
On Mon, Mar 10, 2003 at 08:55:59AM +0100, martin f krafft wrote: > > (the trick, is that courier is configured to send anything saved to that > > box.. must be in 822 format, which mutt does.) > > how do you accomplish that? /etc/courier/imapd: ##NAME: OUTBOX:0 # # The next set of options deal with the "Outbox" enhancement. # Uncomment the following setting to create a special folder, named # INBOX.Outbox # OUTBOX=.Outbox ##NAME: SENDMAIL:0 # # If OUTBOX is defined, mail can be sent via the IMAP connection by copying # a message to the INBOX.Outbox folder. For all practical matters, # INBOX.Outbox looks and behaves just like any other IMAP folder. If this # folder doesn't exist it must be created by the IMAP mail client, just # like any other IMAP folder. The kicker: any message copied or moved to # this folder is will be E-mailed by the Courier-IMAP server, by running # the SENDMAIL program. Therefore, messages copied or moved to this # folder must be well-formed RFC-2822 messages, with the recipient list # specified in the To:, Cc:, and Bcc: headers. Courier-IMAP relies on # SENDMAIL to read the recipient list from these headers (and delete the # Bcc: # header) by running the command "$SENDMAIL -oi -t -f $SENDER", with the # message piped on standard input. $SENDER will be the return address # of the message, which is set by the authentication module. # # DO NOT MODIFY SENDMAIL, below, unless you know what you're doing. # SENDMAIL=/usr/sbin/sendmail > that functionality is built into offlineimap. check out the > preauthtunnel configuration. (mine actually does more, like work out if it has to log into the firewall first, then port forward from there.) But yes, if offlineimap does it, use that. Probably added after I started using it. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 The first 90% of the code in a project takes 90% of the time. The next 10% of the code will take another 90% of the time. -- J. S. Labuschagne
Re: Mail (smtp) config at different locations. Script or ..?
On Mon, Mar 10, 2003 at 11:55:55AM +0100, martin f krafft wrote: > Is the message subsequently deleted from the outbox folder? No, I periodically do that manually. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." - Douglas Adams
Re: Mail (smtp) config at different locations. Script or ..?
On Mon, Mar 10, 2003 at 01:43:35PM +0100, martin f krafft wrote: > so courier keeps track of which of these have been sent? New flag? Read the docs. AIUI, it sends mail which gets *saved* to that mailbox. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Never underestimate the power of very stupid people in large groups.
Re: your mail
On Mon, Mar 17, 2003 at 09:04:52PM +0100, [EMAIL PROTECTED] wrote: > The problem is, I want to run ipmasq on this laptop. Right now I let the > settings for the NICs be taken from /etc/network/interfaces. The cards are > configured correctly. But ipmasq is started two early, so I have to manually > restart ipmasq after each boot to make it work. I saw an option in > /etc/pcmcia/network.opts that lets me choose whether to run ipmasq. I think > this could solve > the problem. But for this option to be effective I must put my configuration > for both cards in /etc/pcmcia/network.opts. So use the 'up' directive in /e/n/interfaces RTFM://interfaces(5) - around line 70 or so. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "This isnt Mission Difficult Mr Hunt, this is Mission Impossible. Difficult should be a walk in the park for you." -- MI:2
Re: offlineimap (Re: Mail (smtp) config at different locations. Script or ..?)
On Mon, Mar 17, 2003 at 07:50:32PM +, Joao Pedro Clemente wrote: > 1 - The maildir format is supported by mutt. Anyway I would like to be > able to have some graphical mail client also.. Neither kmail or sylpheed > seem to support the maildir format.. File wishlist bugs to have them support it. > 2 - How about sending? IMAP does not take cover of sending, and here I've > seen quite some different approaches: > - Tunneling to my mail server: No good. Sometimes my mail server is my ISP > (when I'm at home, at my home lan), other times it's my university mailer. Use a script that works out where you are, to set up a tunnel. Mine, for the ssh tunnel for imap, uses resolv.conf to take a best guess where I am. (simple, since that it check if I'm at home, and logs into the server, if not, it logs into the firewall, and points the port forward at the mail server) > - Running courier, or qmail, or sendmail: Aren't those too complicated/big > for the job? I feel them as "server" mailers, not "client" mailers... If you're going on what I said about courier, I think you're missing that I meant that if you run the server, use courier as the server. Then you can have an Outbox folder.. Courier sucks, but that feature is nice. (I'd use cyrus, but thats overkill, and well, uw is just stupid) Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "This isnt Mission Difficult Mr Hunt, this is Mission Impossible. Difficult should be a walk in the park for you." -- MI:2
Re: your mail
On Tue, Mar 18, 2003 at 10:37:00AM -0400, Derek Broughton wrote: > > RTFM://interfaces(5) - around line 70 or so. > > He appears to be using pcmcia nics, in which case changing anything in > ../interfaces won't do him a bit of good. What a load of shit. I use /e/n/interfaces for all of my PCMCIA cards, have never had to modify /etc/pcmcia/*.opts . Go read some docs yourself, before commenting. (specifically, the last 16 or so lines of /etc/pcmcia/network.opts) Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Spock, the women on your planet are logical. No other planet in the galaxy can make that claim. -- Capt. James T. Kirk
Re: your mail
On Wed, Mar 19, 2003 at 01:47:55PM -0400, Derek Broughton wrote: > OK, that obviously wasn't necessary - I probably did it myself long ago. I've > used etherconf to reconfigure my network without any damage - but without > fixing > things. No, because ifupdown is not what controls the pcmcia sockets. you want to let cardmgr do the work, including calling ifup for configuration of the interface. > I changed that and things have changed, but they're still not right. > > If I do "ifdown eth0", the firewall is torn down. If I do "ifup eth0" the > firewall is rebuilt. This is good. But if I remove/replace the pcmcia card, > ifup/ifdown don't appear to be run. The script as I have it (taken from a > reinstall, so not my fault :-) ) contains: ... > It seems I'd picked up a version of pcmcia-cs from sid in one of my > experiments, > but even having downgraded this to 3.1.33-6 it does _not_ seem to invoke > ifup/ifdown (all that seems different is the use of hotplug in sid). I _did_ > reset DHCP="y" when I recreated the network.opts file. Of cource, you do realise that when using /e/n/interfaces with pcmcia, you dont want to change the default network.opts at all, right? Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "Sometimes I think that the surest sign that intellegent life exists elsewhere in the universe is that none of it has tried to contact us."
Re: your mail
On Thu, Mar 20, 2003 at 09:21:11AM -0400, Derek Broughton wrote: > Well, no I didn't, but a private email led me to understand the error of > my ways. It still seems odd that I need to leave network.opts saying > DHCP="n" if I want to get ifup to use dhcp. But I do understand that > that's correct. Of course, it still didn't work... > > I've reinstalled pcmcia-cs just to make sure that I _do_ have a default > network.opts (attached). It's not. you need to purge it, then install it. The stanza in network.opts doesnt apply, because it's not using dhcp/bootp/whatever, and has no IP assigned. that's what the list of it_true's at the bottom is for. In my default config, they're uncommented. It seems backwards, I know. but if you leave that file alone, and use interfaces(5), it'll work. > But whatever's happening, I'm seeing 'ifdown' execute (correctly - it > runs the firewall's stop script) but 'ifup' doesn't: > > cardmgr[308]: + /sbin/ifup: interface eth0 already configured > > At least I can see that it's _trying_ to run ifup. ... > Mar 20 09:07:01 casio.othello.dyn.ca /etc/hotplug/net.agent: invoke ifup eth0 > Mar 20 09:07:10 casio.othello.dyn.ca cardmgr[308]: + /sbin/ifup: interface > eth0 already configured Get rid of hotplug, it's getting there 'first'. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Contentsofsignaturemaysettleduringshipping.
Re: your mail
On Thu, Mar 20, 2003 at 08:56:44PM -0500, [EMAIL PROTECTED] wrote: > Where can I read about The Debian Way of letting /e/n/interfaces handle > pcmcia? man 5 interfaces e.g: My wireless card is eth1: (builtin ethernet is eth0) /etc/network/interfaces has: ... mapping eth1 script /etc/network/ifscheme # Home iface eth1-home inet dhcp wireless_nick toolbox wireless_mode managed wireless_essid blah wireless_key 's:12345' # Others... ... etc. (for the ifscheme script, see http://bugs.debian.org/15) And it Just Works(tm), So, you can see that there is no difference between using interfaces(5) for a builtin card, or a pcmcia card. The point is, that network.opts does the magic of calling ifup or ifdown for you, if you leave the configuration alone. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "This isnt Mission Difficult Mr Hunt, this is Mission Impossible. Difficult should be a walk in the park for you." -- MI:2
Re: online/offline exim config
On Mon, Mar 24, 2003 at 04:21:40PM +0100, Fran?ois TOURDE wrote: > Exim is always ready on my laptop. Not started directly, but using inetd > capabilities... > > /etc/inetd.conf: > [...] > smtp stream tcp nowait mail/usr/sbin/exim exim -bs > [...] > > So, when I send local mail, it is queued. Um, why do you need 25 open? Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Contentsofsignaturemaysettleduringshipping.
Re: DWL-650 (D-Link)
On Mon, Mar 24, 2003 at 12:43:17PM -0900, Jon wrote: > This card (the D-Link) will now give me a high beep then a low beep. > And here is the snip from the log: > Mar 23 22:49:51 desiree kernel: eth0: Looks like an Intersil firmware version > 1.3.4 Hmm, from memory, thats a buggy firmware. I found 1.4.9 somewhere, and used the intersil flashing tool on a windows laptop at work. > Mar 23 22:49:51 desiree kernel: eth0: Station name "Prism I" Ugh? the 650's a prism-II.. Cant remember where that comes from. Either way, you've got an ok mix of software, 2.4.18 is ok, the 0.13b release of the orinoco driver is what David suggested I tried. I highly suggest a firmware upgrade. Not for the D-link, but same chipset, and the 1.4.9 worked for me: http://www.netgate.com/support/prism_firmware/ use this to do the upgrade: ftp://ftp.dlink.com/Wireless/DWL650/Firmware/dwl650_firmware_8c2.exe now go find a windows laptop. :) (I accept no responsibility for any bad outcome of the above activities. they Worked For Me(tm). Above all, I HIGHLY recommend reading ALL of the documents found within the 1.4.9.zip file at the netgate URL) Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." - Douglas Adams
Re: online/offline exim config
On Tue, Mar 25, 2003 at 02:50:22AM +0100, Fran?ois TOURDE wrote: > For my local MTA running... But if you have a solution without 25 open, > I'm interested... Even if my firewall is paranoid.. :) You only need 25 when you're accepting remote mail. local delivery is performed with /usr/bin/sendmail Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Never underestimate the power of very stupid people in large groups.
Re: Wifi Cards for Linux?
On Mon, Mar 24, 2003 at 10:16:20PM -0900, Jon wrote: > Hi, > > I could not get the D-Link 650 to flash and/or even detect drivers, on > the windows disk... so I give up.. Of course, you need to install the drivers for it, that came with it. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 The first 90% of the code in a project takes 90% of the time. The next 10% of the code will take another 90% of the time. -- J. S. Labuschagne
Re: online/offline exim config
On Tue, Mar 25, 2003 at 09:08:03AM -0400, Derek Broughton wrote: > Aargh. No. It _can_ be performed with sendmail Correct. > (or exim - in the current > discussion we've been discussing exim but no mention has been made of the fact > that exim installs itself with the synonym 'sendmail'). As do most MTA's. Please note that in my original mail, I stated "/usr/bin/sendmail", as distinct from "sendmail". The '/usr/sbin/sendmail'[0] interface is a defacto standard whichever way you look at it. If your MTA provides such an interface, it proves much easier to use with default configurations. And no, it doesn't 'install itself' with the synonym 'sendmail', the package contains a symlink of that name pointing to the exim binary, to supply that interface. [0] I was incorrect, /usr/sbin is the correct location. (although Solaris has /usr/lib/sendmail, so this is a moot point) > But there's absolutely > no reason not to use SMTP for queuing local mail if your preferred MUA can't > pipe to a native program (fairly common). > > If exim is configured not to accept SMTP connections except from the local > subnet (common for this kind of laptop setup) and you have appropriate > firewall > rules, there's nothing to fear from letting exim use SMTP to queue local mail. Of course not. but people need to be aware that most programs will use /usr/bin/sendmail to inject mail into the local MTA's queue, and if they do so, they do not require the MTA to be listening on port 25. This is an awareness factor, more than anything else. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "Sometimes I think that the surest sign that intellegent life exists elsewhere in the universe is that none of it has tried to contact us."
Re: Exim config...
On Tue, Mar 25, 2003 at 02:48:14PM +, Andy Swallow wrote: > Ok, so if I'm offline and I send an email, it gets queued and waits > patiently until I connect. Various addresses are re-written so that it can > send properly. But then if it's on the queue for a long time (which often > happens), exim sends a reminder email to the sender. Exactly which message > headers need to be re-written so that a) there is no problem sending the > message, but b) these reminder messages get sent to the localhost address > and not the external address? Just remove the exim queue run cron job, and add a manual queue run to your 'connection' scripts, whatever that may be. see /etc/cron.d/exim Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." - Douglas Adams
Re: hdd spindown + wifi question
On Fri, Mar 28, 2003 at 10:49:02AM -0900, Jon wrote: > 2> I'm feed up with the dwl-650 wifi, because it doesn't really work > well (yet, I guess), so I looked for another cheap wifi card, and found > a 'Compaq iPac 802.11b' card for $31 ... Anyone know if this is a Prism2 > card? If not is it worth getting, say over a $79 Linksys Card? Works prefectly for me. what seems to be the problem? Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 yip yip yip yip yip yip yap yap yip *BANG* NO TERRIER
Re: linux-wlan packages...
On Sat, Mar 29, 2003 at 03:24:47PM -0500, [EMAIL PROTECTED] wrote: > I have the D-Link WDL-650 card in my laptop. However, when I installed > the linux-wlan-ng packages from sarge, I was unable to connect to the > network and had to remove the package in order to go back online. It was > my understanding that the card is PrismII and that the package would > support that. Am I mistaken? Yes, it would. did you install the necessary modules? Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." - Douglas Adams
Re: linux-wlan packages...
On Sat, Mar 29, 2003 at 07:04:33PM -0500, [EMAIL PROTECTED] wrote: > I thought the DWL-650 used tulip_c. It doesnt. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 The first 90% of the code in a project takes 90% of the time. The next 10% of the code will take another 90% of the time. -- J. S. Labuschagne
Re: linux-wlan packages...
On Sat, Mar 29, 2003 at 08:04:25PM -0500, Darryl L. Pierce wrote: > I assume so. I selected the ones for the 2.4.20-686 kernel image, and > they were found successfully when I rebooted my system. Ok, some log entries please. a description of what happens. hi-lo tones? Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "This isnt Mission Difficult Mr Hunt, this is Mission Impossible. Difficult should be a walk in the park for you." -- MI:2
Re: linux-wlan packages...
On Sun, Mar 30, 2003 at 07:42:51AM -0500, Darryl L. Pierce wrote: > Reinstalled the package, rebooted. Prior to this, I was online just fine > with orinoco_cs. I've since moved the /etc/pcmcia/wlan* files to a > temporary directory in order to get back online. This is the daemon.log file > from the whole time: > Mar 30 07:35:33 localhost cardmgr[567]: executing: 'modprobe prism2_cs' > Mar 30 07:35:34 localhost cardmgr[567]: executing: './wlan-ng start wlan0' > Mar 30 07:35:34 localhost cardmgr[567]: + /sbin/ifconfig wlan0 up > Mar 30 07:35:34 localhost cardmgr[567]: + SIOCSIFFLAGS: No such device Looks like the problem. I suggest you get some more details on that card, and/or investigate what is or is not happening when this module is loaded. Try stopping cardctl, and manually inserting the card and modules, and let us know the results.. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 If you can stay calm, while all around you is chaos... Then you probably haven't completely understood the seriousness of the situation.
Re: wireless.opts
On Mon, Apr 14, 2003 at 11:35:46PM +1000, ben wrote: > Is there some trick to enabling wireless.opts in debian? > > I have edited the file to meet the configuration of my network and deleted > the four lines following this one: > # NOTE : Remove the following four lines to activate the samples below ... > > nothing seems to happen however! > > I can manually set my configuration and at this stage have a little script > that does this for me, but would prefer to use wireless.opts to do it for > me. > > Is there anything else I should be doing? Yeah. leave wireless.opts as the default distributed file, and use a stanza in /etc/network/interfaces. see /etc/network/if-pre-up.d/wireless-tools for a view of how the options are set by ifupdown. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "Why Not? I'm drunk right now."-- Anthony Towns when asked about naming the next Debian release after the winner of an auction.
Re: compiling & installing kernels
On Tue, Apr 15, 2003 at 01:27:28PM +1000, ben wrote: > I am attempting to install a new kernel into my debian woody when I run > make menuconfig i get this: ... > >>Unable to find the Ncurses libraries. > >> > >>You must have Ncurses installed in order > >>to use 'make menuconfig' ... > how do i go about installing Ncurses? I have tried apt-get but Ncurses > doesn't seem to exist. [EMAIL PROTECTED]:~> apt-cache show kernel-source-2.4.20 | grep Suggest Suggests: libncurses-dev | ncurses-dev, kernel-package try libncurses-dev. > Xlib: connection to ":0.0" refused by server > Xlib: No protocol specified You need to allow the user running that to access your X server. root I imagine. easy: as your uid - 'xhost +localhost' better: as root, 'ln -sf ~youruid/.Xauthority ~' Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Never put off until tomorrow what you can avoid altogether.
Re: Change interface name
On Thu, Apr 17, 2003 at 10:49:46PM -0700, Jeff wrote: > I'd like to have it use wlan0 when it loads up instead of eth0 as the > interface name, but I can't find how to do that. My google searches > haven't turned up anything that works and I haven't found anything > searching the list archive. You cant. the driver registers the card as 'eth', not 'wlan'. AFAIAA, linux-wlan-ng is the only set of drivers that registers 'wlan' devices. (find the module source, you'll see 'eth' hardcoded) Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 yip yip yip yip yip yip yap yap yip *BANG* NO TERRIER
Re: alternate boot for internet connection
On Tue, Jun 17, 2003 at 07:57:35AM -0700, Michael Perry wrote: > You could use schemes. If you peruse the pcmcia-howto that Hinds wrote > for the pcmcia-cs package, he mentions how to setup lilo to boot with > different append statements which launch different network setups. I > have not done this in awhile but I did do it before. I basically > created two schemes in /etc/pcmcia/network.opts called "home" and "work" > with different network setups like dhcp or static IP addresses. I then > added this to my lilo.conf. ... On Tue, Jun 17, 2003 at 08:57:00AM -0700, Michael Perry wrote: > Its not really difficult to do this with the pcmcia tools. All one does > is create stanzas in /etc/pcmcia/network.opts or even > /etc/pcmcia/wireless.opts and then create append lines in lilo that > launch the schemes. When the system boots the next time it will show > both entries in lilo. ... UGH. Use /etc/network/interfaces: ---8<-- # Wireless mapping eth1 script /etc/network/ifscheme # Home iface eth1-home inet dhcp wireless_nick foo wireless_mode managed wireless_essid myessid wireless_key 's:"Khttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=15 (ok, so further reading show's it's in ifupdown-roaming.. shows how often I have needed to think about this setup) Advantages: *) Dont need to piss around with updated .opts files, and manually copying changes. *) All information for all configs is in one place. Disadvantages: *) I cant think of any. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Spock, the women on your planet are logical. No other planet in the galaxy can make that claim. -- Capt. James T. Kirk
Re: [OT] laptops stolen
On Wed, Jul 23, 2003 at 09:55:39AM +1200, [EMAIL PROTECTED] wrote: > My point? Wireless cards based on the Intersil Prism 2, 2.5 or 3 firmware > ROCK HARD! Indeed, I'm using one now in my laptop at Oslo Airport (Gardermoen) One thing, make sure you try and find some up to date firmware. 1.4.9 is the best I've found. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "Sometimes I think that the surest sign that intellegent life exists elsewhere in the universe is that none of it has tried to contact us."
Re: Firmware upgrade Was: [OT] laptops stolen
On Wed, Jul 23, 2003 at 12:03:31PM +0200, Juraj Ziegler wrote: > > Indeed, I'm using one now in my laptop at Oslo Airport (Gardermoen) > > > > One thing, make sure you try and find some up to date firmware. 1.4.9 is the > > best I've found. > > Is there a way to upgrade the firmware from linux? Not that I know of. I used the windows tool with a workmate's windows laptop. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Never underestimate the power of very stupid people in large groups.
Re: 802.11b cards
On Mon, Aug 18, 2003 at 08:30:49AM +1200, criggie wrote: > As for security, I have mine locked down to the mac addresses of my two > wireless cards, and I intend to modify my iptables rulesets to be more You do realise, of course, that a simple amount of sniffing to ascertain the MAC addresses involved, and a simple 'ifconfig ethX hw ether XX:XX:XX:XX:XX:XX' gets around that? (on cards that support it...) I have a similar setup at home. I recently bought a new wireless device (internal, specific to my laptop) and wanted to try it out. To avoid having to go and reboot my clunky old desktop into win98 to update the MAC access list on the AP, I just changed the MAC locally on the laptop. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "Why Not? I'm drunk right now."-- Anthony Towns when asked about naming the next Debian release after the winner of an auction.
Re: Prism chipset Re: 802.11b cards
On Mon, Aug 18, 2003 at 10:19:34AM +1200, CF wrote: > Intersil - makers of the prism chipsets > http://www.intersil.com/design/prism/ss/p2smtrx.asp Very worthwhile: (to at least 1.4.9... WFM, YMMV... etc) http://www.netgate.com/support/prism_firmware/ Info on how to do it: http://hostap.epitest.fi/hostap/2002-08/1701.html Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 yip yip yip yip yip yip yap yap yip *BANG* NO TERRIER
Re: mail synchronisation between laptop and desktop
On Mon, Aug 18, 2003 at 12:32:04PM +0200, Johann Spies wrote: > On Mon, Aug 18, 2003 at 11:21:28AM +0100, Daniel Andor wrote: > > Any tools to convert mbox to maildir? > > If I remember correctly this is what I did some years ago: > > Configure mutt to use maildir and then read the mbox-file with > mutt. When it saves the changed status, it saved it in maildir format. If you save to a different, new, mail box name. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 If you can stay calm, while all around you is chaos... Then you probably haven't completely understood the seriousness of the situation.
Re: orinoco_cs problem/question
On Sun, Aug 31, 2003 at 12:26:15PM -0400, Sridhar Srinivasan wrote: > I have a Linksys wireless card that uses the orinoco_cs pcmcia driver. > The card works fine (for a while) and then I begin to get a huge > number of errors in the syslog of the form: > > Aug 31 11:15:35 hoth kernel: eth1: Error -110 writing Tx descriptor to > BAP I had a lot of those with an old orinoco_cs version, and older firmware on a prism2 card. How about you start by telling us the driver version, and the chipset/firmware version of your card? (nearly all of this you'll get from driver as it loads) Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Spock, the women on your planet are logical. No other planet in the galaxy can make that claim. -- Capt. James T. Kirk
Re: orinoco_cs problem/question
On Mon, Sep 01, 2003 at 12:08:21AM -0400, Sridhar Srinivasan wrote: > These are the messages that are reported in the syslog: (some of the > lines are wrapped) ... > Aug 31 21:31:30 hoth kernel: orinoco.c 0.11b (David Gibson > <[EMAIL PROTECTED]> and others) > Aug 31 21:31:30 hoth kernel: orinoco_cs.c 0.11b (David Gibson > <[EMAIL PROTECTED]> and others) ... > So I take it that the driver version is 0.11b and the firmware is > Intersil 1.04, correct? Correct. try upgrading your kernel to 2.4.2x or so, where you'll get 0.13b which I believe fixes this problem. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Spock, the women on your planet are logical. No other planet in the galaxy can make that claim. -- Capt. James T. Kirk
Re: No fsck in battery mode
On Sun, Sep 07, 2003 at 09:44:47PM +0200, Marcus C. Gottwald wrote: > 2. Run "tune2fs -j /dev/hdxx" to create a (preliminary) journal >in the ext2 filesystem on partition "/dev/hdxx". This step is missing the usage of tune2fs to change the mount count option... check the -i and -c options. My ext3 fs' have a max mount of 50, and an interval of 6 months. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 The first 90% of the code in a project takes 90% of the time. The next 10% of the code will take another 90% of the time. -- J. S. Labuschagne
Re: No fsck in battery mode
On Mon, Sep 08, 2003 at 11:47:27PM -0500, Tony Godshall wrote: > Well, I mount the drives with noatime, which helps. And I > used to run noflushd. But to be honest I haven't tested the > spindown issue that much. Mostly I use hdparm to get > faster disk I/O. By the way, I'm certainly no expert on > these topics, but I pitched in my two bits when it came to the > fsck issue, since I agree that it sucks to fsck on battery, > but the full-fsck-every-few-mounts thing should not be > disabled entirely. ... > : start|restart|reload) > : if /usr/bin/on_ac_power > : then > : FSCK_MOUNTS=10 > : FSCK_INTERVAL=1w > : else > : FSCK_MOUNTS=40 ... > : for PART in $PARTS > : do > : tune2fs -c $FSCK_MOUNTS -i $FSCK_INTERVAL $PART Ok, it's bothering me enough that I'm going to add my $0.02. Wasnt going to. *Why* are you doing the tune2fs above? It doesnt do anything except change the threshold for when a fsck will happen... ok, this may appear to help when you're on battery power, but it's actually not helping as much as you think. In all honesty, you should only have a difference of 5 or 10, as you just want to raise the threshold enough to pass the time you dont have power - which is likely to only be 5 or 6 mounts max, and perhaps a day or two? Since 10/1w is far too often, even on a powered system, you'd be quite safe to leave the settings at about 40/50, with 6m or so. Instead of this approach, how about setting a longer period, and leaving it there, doing what the manpage suggests - stagger the counts, so that you only end up checking one fs each time one is needed. an example: /home gets lots of use, so say, 30 mounts. /var is next, say 37 mounts /usr next, maybe 43 mounts / last, perhaps 49 mounts. Those are sufficiently staggered that you'll only get an overlap after several hundred mounts. Now, wouldnt that help save your battery more than mucking around with fs settings that are much safer to leave alone? (another option is to have your script touch /fastboot when on battery, as that will completely bypass the running of fsck - just make sure it runs before checkroot.sh!... you'd need a static copy of on_ac_power (well, awk/grep..), and /etc/rcS.d/S09powercheck.sh or so) Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Never underestimate the power of very stupid people in large groups.
Re: No fsck in battery mode
On Thu, Sep 11, 2003 at 09:18:28AM -0500, Tony Godshall wrote: > > > Thanks for bringing this up. I wasn't aware of /fastboot. > > > Looks like a good solution. Well, except that / has to be > > > mounted first. > > > > ummm, / is gonna be mounted, otherwise how is the OS reading /etc or > > attempting to run fsck? > > Well, I think it comes up read-only, then is fsck'd, then is > remounted rw. Touching /fastboot would fail if the drive is > mounted ro. I guess you could touch fastboot before you go > on the road, but I'd rather have a more automated method. Well, the tip is to make / small, and not worry that it occasionally has to get checked on boot. if it's ~100-150M, it'll be all over in seconds (like, 3 or 4) Obviously, I'm implying that the script to touch /fastboot would run just after the remount rw. I forgot to mention, it could delete the file too, if it finds you're running on AC. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 The first 90% of the code in a project takes 90% of the time. The next 10% of the code will take another 90% of the time. -- J. S. Labuschagne
Re: swsusp on Debian laptop (kernel 2.4.22)
On Sun, Sep 28, 2003 at 12:34:47AM -0500, Cesar Rincon wrote: > - Sometimes X gets confused by it. Specifically xv acceleration; on >rare occasions the touchpad dies too. Sometimes switching to a >text console and back fixes these, sometimes I have to restart X. >This is Xfree86 4.3.0 on a Trident Cyberblade, with the synaptics >touchpad driver. Oooo... trident CyberBlade. Do you use any form of fb on the console? I've had no luck with the trident support in recent 2.4 kernels, but vesa works well... Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." - Douglas Adams
Re: needed: on_ac_power script
On Tue, Sep 30, 2003 at 03:35:21PM -0400, Harry Barnes wrote: > Well, problem is, I am no longer running debian and gentoo does not have > apt. Download the .deb, or even the source, and extract it... Tip: .deb's are ar archives... Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 yip yip yip yip yip yip yap yap yip *BANG* NO TERRIER
Re: /etc/network/interfaces and unique identifiers for NICs
On Thu, Feb 20, 2003 at 01:33:50AM -0800, Adam Lydick wrote: > Is there a way to associate a MAC or device type (wireless vs. ethernet) > with entries in /etc/network/interfaces? My laptop is configured to > disable the ethernet hardware onboard if the cable is disconnected, thus > eth0 and eth1 are often interchanged. Also, the driver used for a given > card will change the name given to the interface (wlan0 vs. eth1). > > Is there a way to ID a nic via the MAC address (in > /etc/network/interfaces) so that I am not bound to the whims of > device/driver activation order? see /usr/share/doc/ifupdown/examples/ Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 CPU's dont tend to work very well after their "magic smoke" has escaped. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Mail (smtp) config at different locations. Script or ..?
On Mon, Mar 10, 2003 at 03:16:10AM +, Joao Pedro Clemente wrote: > So I'm seeking for advice here... [snip] 1 compound word: offlineimap IMAP server on home machine. (preferably courier) offlineimap on laptop to fetch/send(using courier) mutt to send with: [EMAIL PROTECTED]:~> cat bin/mailout #!/bin/sh safecat /home/mjb/Mail/Outbox/tmp /home/mjb/Mail/Outbox/new [EMAIL PROTECTED]:~> (the trick, is that courier is configured to send anything saved to that box.. must be in 822 format, which mutt does.) set up offlineimap to use localhost:1143, and run: [EMAIL PROTECTED]:~> cat bin/mailtunnel #!/bin/sh remotehost=your.mail.server if [ -n "$DISPLAY" ]; then exec rxvt -T Mailtunnel -ls +sb -rv -fn nil2 -geometry 5x5+1010+720 \ -e zsh -c "ssh -t -L 1143:${remotehost}:143 $host 'echo -e WWW;cat'" & else (exec ssh -L 1143:${remotehost}:143 $host 'sleep 1800') & fi [EMAIL PROTECTED]:~> (the W's make a nice little white square in the rxvt when the tunnel is up and opened (I have a 1024x768 TFT)) mutt config: macro pager f "!offlineimap\n" "Sync IMAP with local mail" macro index f "!offlineimap\n" "Sync IMAP with local mail" macro index F "!mailtunnel\n" "Start mail tunnel for offlineimap" set sendmail="/home/mjb/bin/mailout" # how to deliver mail set folder=~/Mail # where I keep my mailboxes set spoolfile='+INBOX'# where my new mail is located Thats it. Works for me(tm) Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 yip yip yip yip yip yip yap yap yip *BANG* NO TERRIER -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Mail (smtp) config at different locations. Script or ..?
On Mon, Mar 10, 2003 at 08:55:59AM +0100, martin f krafft wrote: > > (the trick, is that courier is configured to send anything saved to that > > box.. must be in 822 format, which mutt does.) > > how do you accomplish that? /etc/courier/imapd: ##NAME: OUTBOX:0 # # The next set of options deal with the "Outbox" enhancement. # Uncomment the following setting to create a special folder, named # INBOX.Outbox # OUTBOX=.Outbox ##NAME: SENDMAIL:0 # # If OUTBOX is defined, mail can be sent via the IMAP connection by copying # a message to the INBOX.Outbox folder. For all practical matters, # INBOX.Outbox looks and behaves just like any other IMAP folder. If this # folder doesn't exist it must be created by the IMAP mail client, just # like any other IMAP folder. The kicker: any message copied or moved to # this folder is will be E-mailed by the Courier-IMAP server, by running # the SENDMAIL program. Therefore, messages copied or moved to this # folder must be well-formed RFC-2822 messages, with the recipient list # specified in the To:, Cc:, and Bcc: headers. Courier-IMAP relies on # SENDMAIL to read the recipient list from these headers (and delete the # Bcc: # header) by running the command "$SENDMAIL -oi -t -f $SENDER", with the # message piped on standard input. $SENDER will be the return address # of the message, which is set by the authentication module. # # DO NOT MODIFY SENDMAIL, below, unless you know what you're doing. # SENDMAIL=/usr/sbin/sendmail > that functionality is built into offlineimap. check out the > preauthtunnel configuration. (mine actually does more, like work out if it has to log into the firewall first, then port forward from there.) But yes, if offlineimap does it, use that. Probably added after I started using it. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 The first 90% of the code in a project takes 90% of the time. The next 10% of the code will take another 90% of the time. -- J. S. Labuschagne -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Mail (smtp) config at different locations. Script or ..?
On Mon, Mar 10, 2003 at 11:55:55AM +0100, martin f krafft wrote: > Is the message subsequently deleted from the outbox folder? No, I periodically do that manually. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." - Douglas Adams -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Mail (smtp) config at different locations. Script or ..?
On Mon, Mar 10, 2003 at 01:43:35PM +0100, martin f krafft wrote: > so courier keeps track of which of these have been sent? New flag? Read the docs. AIUI, it sends mail which gets *saved* to that mailbox. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Never underestimate the power of very stupid people in large groups. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: your mail
On Mon, Mar 17, 2003 at 09:04:52PM +0100, [EMAIL PROTECTED] wrote: > The problem is, I want to run ipmasq on this laptop. Right now I let the > settings for the NICs be taken from /etc/network/interfaces. The cards are > configured correctly. But ipmasq is started two early, so I have to manually > restart ipmasq after each boot to make it work. I saw an option in > /etc/pcmcia/network.opts that lets me choose whether to run ipmasq. I think this > could solve > the problem. But for this option to be effective I must put my configuration > for both cards in /etc/pcmcia/network.opts. So use the 'up' directive in /e/n/interfaces RTFM://interfaces(5) - around line 70 or so. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "This isnt Mission Difficult Mr Hunt, this is Mission Impossible. Difficult should be a walk in the park for you." -- MI:2 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: offlineimap (Re: Mail (smtp) config at different locations. Script or ..?)
On Mon, Mar 17, 2003 at 07:50:32PM +, Joao Pedro Clemente wrote: > 1 - The maildir format is supported by mutt. Anyway I would like to be > able to have some graphical mail client also.. Neither kmail or sylpheed > seem to support the maildir format.. File wishlist bugs to have them support it. > 2 - How about sending? IMAP does not take cover of sending, and here I've > seen quite some different approaches: > - Tunneling to my mail server: No good. Sometimes my mail server is my ISP > (when I'm at home, at my home lan), other times it's my university mailer. Use a script that works out where you are, to set up a tunnel. Mine, for the ssh tunnel for imap, uses resolv.conf to take a best guess where I am. (simple, since that it check if I'm at home, and logs into the server, if not, it logs into the firewall, and points the port forward at the mail server) > - Running courier, or qmail, or sendmail: Aren't those too complicated/big > for the job? I feel them as "server" mailers, not "client" mailers... If you're going on what I said about courier, I think you're missing that I meant that if you run the server, use courier as the server. Then you can have an Outbox folder.. Courier sucks, but that feature is nice. (I'd use cyrus, but thats overkill, and well, uw is just stupid) Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "This isnt Mission Difficult Mr Hunt, this is Mission Impossible. Difficult should be a walk in the park for you." -- MI:2 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: your mail
On Tue, Mar 18, 2003 at 10:37:00AM -0400, Derek Broughton wrote: > > RTFM://interfaces(5) - around line 70 or so. > > He appears to be using pcmcia nics, in which case changing anything in > ../interfaces won't do him a bit of good. What a load of shit. I use /e/n/interfaces for all of my PCMCIA cards, have never had to modify /etc/pcmcia/*.opts . Go read some docs yourself, before commenting. (specifically, the last 16 or so lines of /etc/pcmcia/network.opts) Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Spock, the women on your planet are logical. No other planet in the galaxy can make that claim. -- Capt. James T. Kirk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: your mail
On Wed, Mar 19, 2003 at 01:47:55PM -0400, Derek Broughton wrote: > OK, that obviously wasn't necessary - I probably did it myself long ago. I've > used etherconf to reconfigure my network without any damage - but without fixing > things. No, because ifupdown is not what controls the pcmcia sockets. you want to let cardmgr do the work, including calling ifup for configuration of the interface. > I changed that and things have changed, but they're still not right. > > If I do "ifdown eth0", the firewall is torn down. If I do "ifup eth0" the > firewall is rebuilt. This is good. But if I remove/replace the pcmcia card, > ifup/ifdown don't appear to be run. The script as I have it (taken from a > reinstall, so not my fault :-) ) contains: ... > It seems I'd picked up a version of pcmcia-cs from sid in one of my experiments, > but even having downgraded this to 3.1.33-6 it does _not_ seem to invoke > ifup/ifdown (all that seems different is the use of hotplug in sid). I _did_ > reset DHCP="y" when I recreated the network.opts file. Of cource, you do realise that when using /e/n/interfaces with pcmcia, you dont want to change the default network.opts at all, right? Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "Sometimes I think that the surest sign that intellegent life exists elsewhere in the universe is that none of it has tried to contact us." -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: your mail
On Thu, Mar 20, 2003 at 09:21:11AM -0400, Derek Broughton wrote: > Well, no I didn't, but a private email led me to understand the error of > my ways. It still seems odd that I need to leave network.opts saying > DHCP="n" if I want to get ifup to use dhcp. But I do understand that > that's correct. Of course, it still didn't work... > > I've reinstalled pcmcia-cs just to make sure that I _do_ have a default > network.opts (attached). It's not. you need to purge it, then install it. The stanza in network.opts doesnt apply, because it's not using dhcp/bootp/whatever, and has no IP assigned. that's what the list of it_true's at the bottom is for. In my default config, they're uncommented. It seems backwards, I know. but if you leave that file alone, and use interfaces(5), it'll work. > But whatever's happening, I'm seeing 'ifdown' execute (correctly - it > runs the firewall's stop script) but 'ifup' doesn't: > > cardmgr[308]: + /sbin/ifup: interface eth0 already configured > > At least I can see that it's _trying_ to run ifup. ... > Mar 20 09:07:01 casio.othello.dyn.ca /etc/hotplug/net.agent: invoke ifup eth0 > Mar 20 09:07:10 casio.othello.dyn.ca cardmgr[308]: + /sbin/ifup: interface eth0 > already configured Get rid of hotplug, it's getting there 'first'. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Contentsofsignaturemaysettleduringshipping. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: your mail
On Thu, Mar 20, 2003 at 08:56:44PM -0500, [EMAIL PROTECTED] wrote: > Where can I read about The Debian Way of letting /e/n/interfaces handle > pcmcia? man 5 interfaces e.g: My wireless card is eth1: (builtin ethernet is eth0) /etc/network/interfaces has: ... mapping eth1 script /etc/network/ifscheme # Home iface eth1-home inet dhcp wireless_nick toolbox wireless_mode managed wireless_essid blah wireless_key 's:12345' # Others... ... etc. (for the ifscheme script, see http://bugs.debian.org/15) And it Just Works(tm), So, you can see that there is no difference between using interfaces(5) for a builtin card, or a pcmcia card. The point is, that network.opts does the magic of calling ifup or ifdown for you, if you leave the configuration alone. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "This isnt Mission Difficult Mr Hunt, this is Mission Impossible. Difficult should be a walk in the park for you." -- MI:2 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: online/offline exim config
On Mon, Mar 24, 2003 at 04:21:40PM +0100, Fran?ois TOURDE wrote: > Exim is always ready on my laptop. Not started directly, but using inetd > capabilities... > > /etc/inetd.conf: > [...] > smtp stream tcp nowait mail/usr/sbin/exim exim -bs > [...] > > So, when I send local mail, it is queued. Um, why do you need 25 open? Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Contentsofsignaturemaysettleduringshipping. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DWL-650 (D-Link)
On Mon, Mar 24, 2003 at 12:43:17PM -0900, Jon wrote: > This card (the D-Link) will now give me a high beep then a low beep. > And here is the snip from the log: > Mar 23 22:49:51 desiree kernel: eth0: Looks like an Intersil firmware version 1.3.4 Hmm, from memory, thats a buggy firmware. I found 1.4.9 somewhere, and used the intersil flashing tool on a windows laptop at work. > Mar 23 22:49:51 desiree kernel: eth0: Station name "Prism I" Ugh? the 650's a prism-II.. Cant remember where that comes from. Either way, you've got an ok mix of software, 2.4.18 is ok, the 0.13b release of the orinoco driver is what David suggested I tried. I highly suggest a firmware upgrade. Not for the D-link, but same chipset, and the 1.4.9 worked for me: http://www.netgate.com/support/prism_firmware/ use this to do the upgrade: ftp://ftp.dlink.com/Wireless/DWL650/Firmware/dwl650_firmware_8c2.exe now go find a windows laptop. :) (I accept no responsibility for any bad outcome of the above activities. they Worked For Me(tm). Above all, I HIGHLY recommend reading ALL of the documents found within the 1.4.9.zip file at the netgate URL) Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." - Douglas Adams -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: online/offline exim config
On Tue, Mar 25, 2003 at 02:50:22AM +0100, Fran?ois TOURDE wrote: > For my local MTA running... But if you have a solution without 25 open, > I'm interested... Even if my firewall is paranoid.. :) You only need 25 when you're accepting remote mail. local delivery is performed with /usr/bin/sendmail Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Never underestimate the power of very stupid people in large groups. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Wifi Cards for Linux?
On Mon, Mar 24, 2003 at 10:16:20PM -0900, Jon wrote: > Hi, > > I could not get the D-Link 650 to flash and/or even detect drivers, on > the windows disk... so I give up.. Of course, you need to install the drivers for it, that came with it. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 The first 90% of the code in a project takes 90% of the time. The next 10% of the code will take another 90% of the time. -- J. S. Labuschagne -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: online/offline exim config
On Tue, Mar 25, 2003 at 09:08:03AM -0400, Derek Broughton wrote: > Aargh. No. It _can_ be performed with sendmail Correct. > (or exim - in the current > discussion we've been discussing exim but no mention has been made of the fact > that exim installs itself with the synonym 'sendmail'). As do most MTA's. Please note that in my original mail, I stated "/usr/bin/sendmail", as distinct from "sendmail". The '/usr/sbin/sendmail'[0] interface is a defacto standard whichever way you look at it. If your MTA provides such an interface, it proves much easier to use with default configurations. And no, it doesn't 'install itself' with the synonym 'sendmail', the package contains a symlink of that name pointing to the exim binary, to supply that interface. [0] I was incorrect, /usr/sbin is the correct location. (although Solaris has /usr/lib/sendmail, so this is a moot point) > But there's absolutely > no reason not to use SMTP for queuing local mail if your preferred MUA can't > pipe to a native program (fairly common). > > If exim is configured not to accept SMTP connections except from the local > subnet (common for this kind of laptop setup) and you have appropriate firewall > rules, there's nothing to fear from letting exim use SMTP to queue local mail. Of course not. but people need to be aware that most programs will use /usr/bin/sendmail to inject mail into the local MTA's queue, and if they do so, they do not require the MTA to be listening on port 25. This is an awareness factor, more than anything else. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "Sometimes I think that the surest sign that intellegent life exists elsewhere in the universe is that none of it has tried to contact us." -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Exim config...
On Tue, Mar 25, 2003 at 02:48:14PM +, Andy Swallow wrote: > Ok, so if I'm offline and I send an email, it gets queued and waits > patiently until I connect. Various addresses are re-written so that it can > send properly. But then if it's on the queue for a long time (which often > happens), exim sends a reminder email to the sender. Exactly which message > headers need to be re-written so that a) there is no problem sending the > message, but b) these reminder messages get sent to the localhost address > and not the external address? Just remove the exim queue run cron job, and add a manual queue run to your 'connection' scripts, whatever that may be. see /etc/cron.d/exim Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." - Douglas Adams -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: hdd spindown + wifi question
On Fri, Mar 28, 2003 at 10:49:02AM -0900, Jon wrote: > 2> I'm feed up with the dwl-650 wifi, because it doesn't really work > well (yet, I guess), so I looked for another cheap wifi card, and found > a 'Compaq iPac 802.11b' card for $31 ... Anyone know if this is a Prism2 > card? If not is it worth getting, say over a $79 Linksys Card? Works prefectly for me. what seems to be the problem? Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 yip yip yip yip yip yip yap yap yip *BANG* NO TERRIER -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: linux-wlan packages...
On Sat, Mar 29, 2003 at 03:24:47PM -0500, [EMAIL PROTECTED] wrote: > I have the D-Link WDL-650 card in my laptop. However, when I installed > the linux-wlan-ng packages from sarge, I was unable to connect to the > network and had to remove the package in order to go back online. It was > my understanding that the card is PrismII and that the package would > support that. Am I mistaken? Yes, it would. did you install the necessary modules? Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." - Douglas Adams -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: linux-wlan packages...
On Sat, Mar 29, 2003 at 07:04:33PM -0500, [EMAIL PROTECTED] wrote: > I thought the DWL-650 used tulip_c. It doesnt. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 The first 90% of the code in a project takes 90% of the time. The next 10% of the code will take another 90% of the time. -- J. S. Labuschagne -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: linux-wlan packages...
On Sat, Mar 29, 2003 at 08:04:25PM -0500, Darryl L. Pierce wrote: > I assume so. I selected the ones for the 2.4.20-686 kernel image, and > they were found successfully when I rebooted my system. Ok, some log entries please. a description of what happens. hi-lo tones? Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "This isnt Mission Difficult Mr Hunt, this is Mission Impossible. Difficult should be a walk in the park for you." -- MI:2 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: linux-wlan packages...
On Sun, Mar 30, 2003 at 07:42:51AM -0500, Darryl L. Pierce wrote: > Reinstalled the package, rebooted. Prior to this, I was online just fine > with orinoco_cs. I've since moved the /etc/pcmcia/wlan* files to a > temporary directory in order to get back online. This is the daemon.log file > from the whole time: > Mar 30 07:35:33 localhost cardmgr[567]: executing: 'modprobe prism2_cs' > Mar 30 07:35:34 localhost cardmgr[567]: executing: './wlan-ng start wlan0' > Mar 30 07:35:34 localhost cardmgr[567]: + /sbin/ifconfig wlan0 up > Mar 30 07:35:34 localhost cardmgr[567]: + SIOCSIFFLAGS: No such device Looks like the problem. I suggest you get some more details on that card, and/or investigate what is or is not happening when this module is loaded. Try stopping cardctl, and manually inserting the card and modules, and let us know the results.. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 If you can stay calm, while all around you is chaos... Then you probably haven't completely understood the seriousness of the situation. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: alternate boot for internet connection
On Tue, Jun 17, 2003 at 07:57:35AM -0700, Michael Perry wrote: > You could use schemes. If you peruse the pcmcia-howto that Hinds wrote > for the pcmcia-cs package, he mentions how to setup lilo to boot with > different append statements which launch different network setups. I > have not done this in awhile but I did do it before. I basically > created two schemes in /etc/pcmcia/network.opts called "home" and "work" > with different network setups like dhcp or static IP addresses. I then > added this to my lilo.conf. ... On Tue, Jun 17, 2003 at 08:57:00AM -0700, Michael Perry wrote: > Its not really difficult to do this with the pcmcia tools. All one does > is create stanzas in /etc/pcmcia/network.opts or even > /etc/pcmcia/wireless.opts and then create append lines in lilo that > launch the schemes. When the system boots the next time it will show > both entries in lilo. ... UGH. Use /etc/network/interfaces: ---8<-- # Wireless mapping eth1 script /etc/network/ifscheme # Home iface eth1-home inet dhcp wireless_nick foo wireless_mode managed wireless_essid myessid wireless_key 's:"Khttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=15 (ok, so further reading show's it's in ifupdown-roaming.. shows how often I have needed to think about this setup) Advantages: *) Dont need to piss around with updated .opts files, and manually copying changes. *) All information for all configs is in one place. Disadvantages: *) I cant think of any. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Spock, the women on your planet are logical. No other planet in the galaxy can make that claim. -- Capt. James T. Kirk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [OT] laptops stolen
On Wed, Jul 23, 2003 at 09:55:39AM +1200, [EMAIL PROTECTED] wrote: > My point? Wireless cards based on the Intersil Prism 2, 2.5 or 3 firmware > ROCK HARD! Indeed, I'm using one now in my laptop at Oslo Airport (Gardermoen) One thing, make sure you try and find some up to date firmware. 1.4.9 is the best I've found. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "Sometimes I think that the surest sign that intellegent life exists elsewhere in the universe is that none of it has tried to contact us." -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Firmware upgrade Was: [OT] laptops stolen
On Wed, Jul 23, 2003 at 12:03:31PM +0200, Juraj Ziegler wrote: > > Indeed, I'm using one now in my laptop at Oslo Airport (Gardermoen) > > > > One thing, make sure you try and find some up to date firmware. 1.4.9 is the > > best I've found. > > Is there a way to upgrade the firmware from linux? Not that I know of. I used the windows tool with a workmate's windows laptop. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Never underestimate the power of very stupid people in large groups. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 802.11b cards
On Mon, Aug 18, 2003 at 08:30:49AM +1200, criggie wrote: > As for security, I have mine locked down to the mac addresses of my two > wireless cards, and I intend to modify my iptables rulesets to be more You do realise, of course, that a simple amount of sniffing to ascertain the MAC addresses involved, and a simple 'ifconfig ethX hw ether XX:XX:XX:XX:XX:XX' gets around that? (on cards that support it...) I have a similar setup at home. I recently bought a new wireless device (internal, specific to my laptop) and wanted to try it out. To avoid having to go and reboot my clunky old desktop into win98 to update the MAC access list on the AP, I just changed the MAC locally on the laptop. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "Why Not? I'm drunk right now."-- Anthony Towns when asked about naming the next Debian release after the winner of an auction. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Prism chipset Re: 802.11b cards
On Mon, Aug 18, 2003 at 10:19:34AM +1200, CF wrote: > Intersil - makers of the prism chipsets > http://www.intersil.com/design/prism/ss/p2smtrx.asp Very worthwhile: (to at least 1.4.9... WFM, YMMV... etc) http://www.netgate.com/support/prism_firmware/ Info on how to do it: http://hostap.epitest.fi/hostap/2002-08/1701.html Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 yip yip yip yip yip yip yap yap yip *BANG* NO TERRIER -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: mail synchronisation between laptop and desktop
On Mon, Aug 18, 2003 at 12:32:04PM +0200, Johann Spies wrote: > On Mon, Aug 18, 2003 at 11:21:28AM +0100, Daniel Andor wrote: > > Any tools to convert mbox to maildir? > > If I remember correctly this is what I did some years ago: > > Configure mutt to use maildir and then read the mbox-file with > mutt. When it saves the changed status, it saved it in maildir format. If you save to a different, new, mail box name. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 If you can stay calm, while all around you is chaos... Then you probably haven't completely understood the seriousness of the situation. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: orinoco_cs problem/question
On Sun, Aug 31, 2003 at 12:26:15PM -0400, Sridhar Srinivasan wrote: > I have a Linksys wireless card that uses the orinoco_cs pcmcia driver. > The card works fine (for a while) and then I begin to get a huge > number of errors in the syslog of the form: > > Aug 31 11:15:35 hoth kernel: eth1: Error -110 writing Tx descriptor to > BAP I had a lot of those with an old orinoco_cs version, and older firmware on a prism2 card. How about you start by telling us the driver version, and the chipset/firmware version of your card? (nearly all of this you'll get from driver as it loads) Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Spock, the women on your planet are logical. No other planet in the galaxy can make that claim. -- Capt. James T. Kirk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: orinoco_cs problem/question
On Mon, Sep 01, 2003 at 12:08:21AM -0400, Sridhar Srinivasan wrote: > These are the messages that are reported in the syslog: (some of the > lines are wrapped) ... > Aug 31 21:31:30 hoth kernel: orinoco.c 0.11b (David Gibson > <[EMAIL PROTECTED]> and others) > Aug 31 21:31:30 hoth kernel: orinoco_cs.c 0.11b (David Gibson > <[EMAIL PROTECTED]> and others) ... > So I take it that the driver version is 0.11b and the firmware is > Intersil 1.04, correct? Correct. try upgrading your kernel to 2.4.2x or so, where you'll get 0.13b which I believe fixes this problem. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Spock, the women on your planet are logical. No other planet in the galaxy can make that claim. -- Capt. James T. Kirk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: No fsck in battery mode
On Sun, Sep 07, 2003 at 09:44:47PM +0200, Marcus C. Gottwald wrote: > 2. Run "tune2fs -j /dev/hdxx" to create a (preliminary) journal >in the ext2 filesystem on partition "/dev/hdxx". This step is missing the usage of tune2fs to change the mount count option... check the -i and -c options. My ext3 fs' have a max mount of 50, and an interval of 6 months. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 The first 90% of the code in a project takes 90% of the time. The next 10% of the code will take another 90% of the time. -- J. S. Labuschagne -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: No fsck in battery mode
On Mon, Sep 08, 2003 at 11:47:27PM -0500, Tony Godshall wrote: > Well, I mount the drives with noatime, which helps. And I > used to run noflushd. But to be honest I haven't tested the > spindown issue that much. Mostly I use hdparm to get > faster disk I/O. By the way, I'm certainly no expert on > these topics, but I pitched in my two bits when it came to the > fsck issue, since I agree that it sucks to fsck on battery, > but the full-fsck-every-few-mounts thing should not be > disabled entirely. ... > : start|restart|reload) > : if /usr/bin/on_ac_power > : then > : FSCK_MOUNTS=10 > : FSCK_INTERVAL=1w > : else > : FSCK_MOUNTS=40 ... > : for PART in $PARTS > : do > : tune2fs -c $FSCK_MOUNTS -i $FSCK_INTERVAL $PART Ok, it's bothering me enough that I'm going to add my $0.02. Wasnt going to. *Why* are you doing the tune2fs above? It doesnt do anything except change the threshold for when a fsck will happen... ok, this may appear to help when you're on battery power, but it's actually not helping as much as you think. In all honesty, you should only have a difference of 5 or 10, as you just want to raise the threshold enough to pass the time you dont have power - which is likely to only be 5 or 6 mounts max, and perhaps a day or two? Since 10/1w is far too often, even on a powered system, you'd be quite safe to leave the settings at about 40/50, with 6m or so. Instead of this approach, how about setting a longer period, and leaving it there, doing what the manpage suggests - stagger the counts, so that you only end up checking one fs each time one is needed. an example: /home gets lots of use, so say, 30 mounts. /var is next, say 37 mounts /usr next, maybe 43 mounts / last, perhaps 49 mounts. Those are sufficiently staggered that you'll only get an overlap after several hundred mounts. Now, wouldnt that help save your battery more than mucking around with fs settings that are much safer to leave alone? (another option is to have your script touch /fastboot when on battery, as that will completely bypass the running of fsck - just make sure it runs before checkroot.sh!... you'd need a static copy of on_ac_power (well, awk/grep..), and /etc/rcS.d/S09powercheck.sh or so) Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Never underestimate the power of very stupid people in large groups. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: No fsck in battery mode
On Thu, Sep 11, 2003 at 09:18:28AM -0500, Tony Godshall wrote: > > > Thanks for bringing this up. I wasn't aware of /fastboot. > > > Looks like a good solution. Well, except that / has to be > > > mounted first. > > > > ummm, / is gonna be mounted, otherwise how is the OS reading /etc or > > attempting to run fsck? > > Well, I think it comes up read-only, then is fsck'd, then is > remounted rw. Touching /fastboot would fail if the drive is > mounted ro. I guess you could touch fastboot before you go > on the road, but I'd rather have a more automated method. Well, the tip is to make / small, and not worry that it occasionally has to get checked on boot. if it's ~100-150M, it'll be all over in seconds (like, 3 or 4) Obviously, I'm implying that the script to touch /fastboot would run just after the remount rw. I forgot to mention, it could delete the file too, if it finds you're running on AC. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 The first 90% of the code in a project takes 90% of the time. The next 10% of the code will take another 90% of the time. -- J. S. Labuschagne -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: swsusp on Debian laptop (kernel 2.4.22)
On Sun, Sep 28, 2003 at 12:34:47AM -0500, Cesar Rincon wrote: > - Sometimes X gets confused by it. Specifically xv acceleration; on >rare occasions the touchpad dies too. Sometimes switching to a >text console and back fixes these, sometimes I have to restart X. >This is Xfree86 4.3.0 on a Trident Cyberblade, with the synaptics >touchpad driver. Oooo... trident CyberBlade. Do you use any form of fb on the console? I've had no luck with the trident support in recent 2.4 kernels, but vesa works well... Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." - Douglas Adams -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: needed: on_ac_power script
On Tue, Sep 30, 2003 at 03:35:21PM -0400, Harry Barnes wrote: > Well, problem is, I am no longer running debian and gentoo does not have > apt. Download the .deb, or even the source, and extract it... Tip: .deb's are ar archives... Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 yip yip yip yip yip yip yap yap yip *BANG* NO TERRIER -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: linux-wlan-ng wep
On Fri, Oct 17, 2003 at 09:13:01PM +0100, Yves Rutschle wrote: > > iwconfig doesn't work with linux-wlan-ng. > > That's very odd; I think I use linux-wlan-ng as well (with a > Netgear 401M card), and my SSID and channel is definitely > defined in /etc/netword/interfaces the way I showed. > > After trying with wireless_key as suggested by Matt, maybe > you can try it using directly iwconfig by hand? See /usr/share/doc/linux-wlan-ng/README.Debian.gz Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Artificial Intelligence is no match for Natural Stupidity. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Broadcom NetXtreme Fast Ethernet
On Sun, Oct 19, 2003 at 12:32:32PM +0200, andi wrote: > add 'bcm5700' to your /etc/modules file and call > update-modules afterwards - I think that will do. update-modules has nothing to do with /etc/modules. all it does is update /etc/modules.conf from the files in /etc/modutils/ /etc/modules is just used to list modules (sans .o extension) that should be loaded at boot by the boot scripts. so, what you meant to say, was: add 'bcm5700' to /etc/modules and reboot, or to avoid rebooting, run 'modprobe bcm5700'. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "Sometimes I think that the surest sign that intellegent life exists elsewhere in the universe is that none of it has tried to contact us." -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: please help with D-Link 650+
On Mon, Nov 03, 2003 at 10:07:13PM -0600, Alex Roitman wrote: > I have built and installed linux-wlan-ng under unstable. Compiled > everything from source, both the kernel (2.4.22) and the linux-wlan-ng It's not a prism chipset. (the 650 is). try http://acx100.sourceforge.net/ Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Never underestimate the power of very stupid people in large groups. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: cant get x server running.
On Thu, Nov 06, 2003 at 03:41:28PM -0500, donnie wrote: > edit your /etc/inittab file: > > # The default runlevel. > id:2:initdefault: > > That will load you up in text-mode, and not start X automatically. > Run-level 5 starts X automatically, such as id:5:initdefault: No, that's redhat. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Spock, the women on your planet are logical. No other planet in the galaxy can make that claim. -- Capt. James T. Kirk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: wireless configuration questions
On Thu, Nov 13, 2003 at 11:53:29AM -0700, Tim Folger wrote: > Thanks very much for your advice, Joey. At this point I've altered the > configuration files so much that I might have to reinstall debian to > straighten things out, so I think I'll wait for the (imminent?) release > of sarge and then start over again. Don't be silly. just purge the packages in question, and reinstall them. You'll get the standard default configs then. apt-get --purge remove apt-get install > Assuming I'm able to configure the > card using only /etc/network/interfaces, would I also need to start the > interface from a console with ifup whenever I reboot? No. the pcmcia scripts will call ifup/ifdown whenever a card is inserted/removed, and it deems the card is a network device. For this to work, you must make sure there is no 'auto' line for that device in /etc/network/interfaces. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Never put off until tomorrow what you can avoid altogether. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: wireless configuration questions
On Sat, Nov 15, 2003 at 02:33:52AM +0100, Osamu Aoki wrote: > This is because of Debian specific patch which is making hotplug messy. > I think this is bug like Thomas. So I suggest killing the last part of > the script and use hotplug to initiate ifup/ifdown. (no auto) Why use hotplug? This is half of the trouble with all the tools available for different bits of laptop usage, they all overlap and don't play nice. My solution is to use as little as possible, and that means pcmcia-cs only. anything else, I do by hand. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 CPU's dont tend to work very well after their "magic smoke" has escaped. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: CyberBlade XPAi1
On Wed, Jan 28, 2004 at 05:17:53PM -0200, Tiago Giovanaz da Silva wrote: > Ok, but: > > Xlib: extension "XFree86-DRI" missing on display ":0.0". > 983 frames in 5.0 seconds = 196.600 FPS > 1120 frames in 5.0 seconds = 224.000 FPS > > DVDs and games run with a very bad quality!!! > > My machine is a A25S207. One of the latest 4.3 releases packaged by Daniel Stone has acceleration support for this chip, which should help. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Contentsofsignaturemaysettleduringshipping. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Cron startup bug (3.0r2 on Dell 8600/2.4.24)
On Sun, Feb 08, 2004 at 07:07:54PM -0500, A. F. Cano wrote: > Hi everyone, > > This might be old news to everyone else, but I didn't see any reference > to it while I was tracking down the problem. [snip] So, did you file it as a bug? Doesn't look like it: http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=powermgmt-base Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "Why Not? I'm drunk right now."-- Anthony Towns when asked about naming the next Debian release after the winner of an auction. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: what is this? from ps aux
On Tue, Mar 02, 2004 at 08:05:39PM +1000, [EMAIL PROTECTED] wrote: > Hi! > just wondering if anybody may have any idea what this is (from ps aux) > I am running debian testing on an asus L3C, if that makes any difference.. > > root 2375 0.0 0.2 3028 1176 ?S19:29 0:00 -:0 Your X server. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 The first 90% of the code in a project takes 90% of the time. The next 10% of the code will take another 90% of the time. -- J. S. Labuschagne -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: linux-wlan-ng wep
On Fri, Oct 17, 2003 at 09:13:01PM +0100, Yves Rutschle wrote: > > iwconfig doesn't work with linux-wlan-ng. > > That's very odd; I think I use linux-wlan-ng as well (with a > Netgear 401M card), and my SSID and channel is definitely > defined in /etc/netword/interfaces the way I showed. > > After trying with wireless_key as suggested by Matt, maybe > you can try it using directly iwconfig by hand? See /usr/share/doc/linux-wlan-ng/README.Debian.gz Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Artificial Intelligence is no match for Natural Stupidity.
Re: Broadcom NetXtreme Fast Ethernet
On Sun, Oct 19, 2003 at 12:32:32PM +0200, andi wrote: > add 'bcm5700' to your /etc/modules file and call > update-modules afterwards - I think that will do. update-modules has nothing to do with /etc/modules. all it does is update /etc/modules.conf from the files in /etc/modutils/ /etc/modules is just used to list modules (sans .o extension) that should be loaded at boot by the boot scripts. so, what you meant to say, was: add 'bcm5700' to /etc/modules and reboot, or to avoid rebooting, run 'modprobe bcm5700'. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "Sometimes I think that the surest sign that intellegent life exists elsewhere in the universe is that none of it has tried to contact us."
Re: please help with D-Link 650+
On Mon, Nov 03, 2003 at 10:07:13PM -0600, Alex Roitman wrote: > I have built and installed linux-wlan-ng under unstable. Compiled > everything from source, both the kernel (2.4.22) and the linux-wlan-ng It's not a prism chipset. (the 650 is). try http://acx100.sourceforge.net/ Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Never underestimate the power of very stupid people in large groups.
Re: cant get x server running.
On Thu, Nov 06, 2003 at 03:41:28PM -0500, donnie wrote: > edit your /etc/inittab file: > > # The default runlevel. > id:2:initdefault: > > That will load you up in text-mode, and not start X automatically. > Run-level 5 starts X automatically, such as id:5:initdefault: No, that's redhat. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Spock, the women on your planet are logical. No other planet in the galaxy can make that claim. -- Capt. James T. Kirk
Re: wireless configuration questions
On Thu, Nov 13, 2003 at 11:53:29AM -0700, Tim Folger wrote: > Thanks very much for your advice, Joey. At this point I've altered the > configuration files so much that I might have to reinstall debian to > straighten things out, so I think I'll wait for the (imminent?) release > of sarge and then start over again. Don't be silly. just purge the packages in question, and reinstall them. You'll get the standard default configs then. apt-get --purge remove apt-get install > Assuming I'm able to configure the > card using only /etc/network/interfaces, would I also need to start the > interface from a console with ifup whenever I reboot? No. the pcmcia scripts will call ifup/ifdown whenever a card is inserted/removed, and it deems the card is a network device. For this to work, you must make sure there is no 'auto' line for that device in /etc/network/interfaces. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Never put off until tomorrow what you can avoid altogether.
Re: wireless configuration questions
On Sat, Nov 15, 2003 at 02:33:52AM +0100, Osamu Aoki wrote: > This is because of Debian specific patch which is making hotplug messy. > I think this is bug like Thomas. So I suggest killing the last part of > the script and use hotplug to initiate ifup/ifdown. (no auto) Why use hotplug? This is half of the trouble with all the tools available for different bits of laptop usage, they all overlap and don't play nice. My solution is to use as little as possible, and that means pcmcia-cs only. anything else, I do by hand. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 CPU's dont tend to work very well after their "magic smoke" has escaped.
Re: CyberBlade XPAi1
On Wed, Jan 28, 2004 at 05:17:53PM -0200, Tiago Giovanaz da Silva wrote: > Ok, but: > > Xlib: extension "XFree86-DRI" missing on display ":0.0". > 983 frames in 5.0 seconds = 196.600 FPS > 1120 frames in 5.0 seconds = 224.000 FPS > > DVDs and games run with a very bad quality!!! > > My machine is a A25S207. One of the latest 4.3 releases packaged by Daniel Stone has acceleration support for this chip, which should help. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 Contentsofsignaturemaysettleduringshipping.
Re: Cron startup bug (3.0r2 on Dell 8600/2.4.24)
On Sun, Feb 08, 2004 at 07:07:54PM -0500, A. F. Cano wrote: > Hi everyone, > > This might be old news to everyone else, but I didn't see any reference > to it while I was tracking down the problem. [snip] So, did you file it as a bug? Doesn't look like it: http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=powermgmt-base Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 "Why Not? I'm drunk right now."-- Anthony Towns when asked about naming the next Debian release after the winner of an auction.
Re: what is this? from ps aux
On Tue, Mar 02, 2004 at 08:05:39PM +1000, [EMAIL PROTECTED] wrote: > Hi! > just wondering if anybody may have any idea what this is (from ps aux) > I am running debian testing on an asus L3C, if that makes any difference.. > > root 2375 0.0 0.2 3028 1176 ?S19:29 0:00 -:0 Your X server. Mike. -- Mike Beattie <[EMAIL PROTECTED]> ZL4TXK, IRLP Node 6184 The first 90% of the code in a project takes 90% of the time. The next 10% of the code will take another 90% of the time. -- J. S. Labuschagne