[SLUG] Debian SIG (?)
I think Anand mentioned on Friday night that there would be a Debian SIG this week. It's earlier than usual so that Martin Michlmayr (the Debian Project Leader) can come along so it should be Specially Interesting :-) Can anyone confirm the date and location? AFAIK it is 6:30pm Wednesday, Sept 3, Woolloomoolloo Bay Hotel, upstairs. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Exim and root mail
On Wed, Sep 10, 2003 at 07:41:17PM +1000, David Fisher wrote: > The root mail is to go to my ordinary user account on the machines, > from where it is handled by a .forward to my account on my home > machine. You could put "root: david" in /etc/aliases, and then use your .forward, or you could cut to the chase and put "root: [EMAIL PROTECTED]", or you could put your address in /root/.forward. I'd go the first option, like you said. > I am looking for the config to stop exim accepting external mail but > so far cannot find it. Probably it would work to put "smtp: 127.0.0.1" in /etc/hosts.allow and "smtp: ALL" in /etc/hosts.deny. For more on this see man hosts_access and this page I saw: http://www.linuxgazette.com/issue37/tag/9.html hope it works for you, Patrick Lesslie -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Net connection: welcome to debian/credativ/whatever
Here's a fairly vague analysis ... Surely someone can just hit this nail on the head ... anyone? On Fri, Sep 26, 2003 at 09:30:23PM -0500, Hal Ashburner wrote: > I'm writing from my parent's box which is running RH9 & Gnome on the > desktop, which incidentally as self-proclaimed 'proud luddites' they > both absolutely love using in comparison to the other computing > alternatives they have tried previously. > > The box hooks up to the net with Telstra big pond cable, which goes > ok. My problem is this, I once hooked up my laptop running debian to > the same modem, which then seemed to re-name the connection to > 'debian' the login screen on red hat said "welcome to debain" then I'm not sure I understand this bit. Which login screen do you mean? If you mean the main one into the window manager, then it looks like you have set the hostname to debian. > logging into gnome said it was unable to resolve 'debian' and to add > debian to /etc/hosts. (which I did) Sounds like this was just a guess by gnome or some program, and you probably don't really want that. How did you set up the connection on each machine? > I then booted Gnoppix on their box to see how that went, > and the connection was renamed credativ You must mean Knoppix ;) They might use "credativ" as the hostname ... I don't think so ... This might be a bit strange. Otherwise where are all these names coming from I wonder? > and the same error message. > Obviously I have no clue about what I'm doing here, ideally I'd like > to be able to give the connection/computer a name on boot from RH9 > something like "Mum & Dad's box" or just "Ashburner" Any suggestions? :) "ashburner" would be a good choice. Look out for spaces and fancy characters in hostnames. I prefer shortish lowercase hostnames. The computer name is the hostname, and that should be fixed. I'm not sure what kind of name the connection needs. Do you know how you first set that? What did you use to set up the cable on each distro? Are you running a local network? I'm also not quite sure what is going on. However, I'd suggest that the hosts file(s) might have something to do with it. What I would do is post any network configuration you have to the list, especially the contents of /etc/hostname, /etc/hosts, /etc/network/interfaces (debian specific?) or whatever the redhat equivalent to that is, and let the cable experts on the list fix them up for you. There is much more to explain but I think we'd better find a bit more about the question. You might do well to check out Chapter 8 of the Redhat 9 Reference: http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/ 144.136.71.171 is your (assigned) static IP address, on the interface (likely eth1 or eth0) that is connected to the cable modem. FWIW you might try some things like this: On the redhat machine: /etc/hosts 127.0.0.1 localhost 144.136.71.171 ashburner ashburner.domain.if.you.have.one You might not need that second line. Also, /etc/hostname: ashburner > 127.0.0.1 localhost.localdomain localhost > debian hostname.domain.com > Link > 144.136.71.171 debian hostname.domain.com > Link > 144.136.71.171 credativ hostname.domain.com And was that an exact copy of /etc/hosts? I don't recognise the "Link" lines, I'm sure they shouldn't be there ... Patrick Lesslie -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Net connection: welcome to debian/credativ/whatever
On Sat, Sep 27, 2003 at 11:05:29PM -0500, Hal Ashburner wrote: > I believe the hostname of the computer is being set by the modem, as when I > disconected this computer from the modem and connected another, the name of the > other computer is imposed upon this one when I reconnect it. As far as I can see, this is something that wants fixing. And I don't know why that is happening, but my bet is that is somewhere in the network config, probably a line missing from the dhcp settings (which will be with the relevant interface setup probably -- see below). > Only one computer is ever connected to the modem at one time. I'm not trying to > network many computers, just have a nice, fast & reliable net connection. > > The modem is something called a Motorola 'surfboard' and it claims on it's box that > it is a 'cable modem' (I'm being careful here as I am well out of my depth with > networking and hardware - this is both) Yep, it's a cable modem. > The laptop was certainly called 'debian' being the default on installation of the > debian distro. (You might want to change the hostname on your laptop to distinguish it from all the other default installs ... you have to modify /etc/hostname and /etc/hosts, and maybe /etc/mailname, and then run /etc/init.d/hostname.sh) > Gnoppix http://www.gnoppix.org (The Gnome based Knoppix) calls itself 'credativ' Ha. Gnoppix must have passed me by ... > > I believe these names are being stored in the cable modem or at a computer on the > Telstra side of things. Thus renaming this computer to whatever is being stored. My > shell now reads [EMAIL PROTECTED], if I can impose my will on what comes after the @ > I guess everything will fall into place. > > My idea was rather than renaming the conection in /etc/hosts everytime something > else gets booted plugged into the modem, to get RH9 to rename the connection when it > boots and connects it. So it's /etc/hosts will always be fine. Chapter 8 of the redhat manual: "Regardless of the type of network the computer is on, this file should contain a line specifying the IP address of the loopback device (127.0.0.1) as localhost.localdomain." So your original line was better than mine. > How did I set up the connection? I plugged the modem into the USB, installed BPA > login and from there it 'just worked' no I don't know much about it. Hmm neither do I. I'm sure google does though ... does anyone else? > /etc/hosts > The 'Link' lines were added by myself after much googling, they work in as much as > they make the error messages go away on login to Gnome, which makes M & D more > comfortable. > They came from a script that was designed to update the IP address if it isn't > static. Possibly a sub-optimal solution... Ok ... > there is no /etc/network/interfaces on this RH9 distro, nor is there an > /etc/hostname. My mistake. Then you'll need /etc/sysconfig/networking/ifcfg-eth0 or similar. (is the usb modem on eth0, anyone? And where do you set the hostname again?) Post your config files so we can get help from someone who is familiar with redhat. > I'm going to try changing /etc/sysconfig/networking/ifcfg-lo > commenting out NAME=loopback > inserting NAME="Ashburner" That's lo for loopback interface. From chapter 8 of the redhat manual: "Never edit the loopback interface script, /etc/sysconfig/network-scripts/ifcfg-lo, by hand. Doing so can prevent the system from operating correctly." You'd better change that back ... > So we'll see if that goes well...(just a little scary this kind of stuff, when you > have no clue, reminds me of the time I set this thing up with eth0 as a 'trusted > device' then connected it to the cable modem, D'Oh!!!) :) I'm sure we can manage something of that calibre again ;-) It would be best to post ifcfg-* and /etc/hosts (in its current form). Patrick Lesslie -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] cbsydney config fest, Sat 6th December
Computerbank Sydney is holding a config-fest this Saturday (Dec 6). All the information: * The address: Unit 32, 195 Prospect Highway, Seven Hills. It'll be open on the day from 10am to 4pm. There's parking, and it's also a very short walk to the North of Seven Hills train station (go under the carpark and a block up the hwy). * People are welcome to come and help out, or to bring a machine to get linux on it, or to find out more, get help with security or configuration issues, sort hardware etc. ;-) * There may be some sausages and a barbeque (TBC). There's also tea/coffee and a $1 softdrinks machine. * Due to the time of year and a general hush within computerbank ;-), we're not expecting it to be *huge*. Regardless, there'll be people there to hack on machines, play with the install scripts, lounge about and chat, etc, and of course help out anyone who comes along. It should be a fun day. * Everyone's welcome. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Copy over network maintaining owner group etc
On Fri, Dec 12, 2003 at 02:31:40PM +1100, John Clarke wrote: > On Fri, Dec 12, 2003 at 03:25:49PM +1100, Peter Vogel wrote: > > > I used scp -pr but all the files end up being owned by "root". > > > > I thought -p will preserve everything. But the man page on my RH8 > > installation does not say it does. Is this a version problem? > > -p Preserves modification times, access times, and modes from > the original file. > > There's nothing there about preserving user and group. If you want to > do that, try rsync (use -a). Even then, that only root (on the > destination host) can fully preserve user and group information because > ordinary users don't have privilege to set user to anyone else or group > to any group of which they're not a member. I agree about trying rsync. It's the best in many ways. You can also use tar. AFAIK you can choose (in tar at least) to preserve names instead of uids/gids, which might work better if the uids/gids aren't synchronised between the machines. Patrick -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] freeswan on debian
Hi, I'm trying to get freeswan running on debian stable. The trouble is there is a cisco router doing DSL and doing NAT to the debian box, which also masquerades to another internal network. Is anyone successfully running freeswan through a router? Patrick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: Fw: [SLUG] freeswan on debian
On Mon, Feb 09, 2004 at 05:19:26PM +1100, [EMAIL PROTECTED] wrote: > Not freeswan, but "super-freeswan" - www.freeswan.ca > The feature you are looking for is "nat traversal". > afaik there is no deb for it - and you need to recompile the kernel > for nat traversal. > Alternatively you could download the nat traversal patch for freeswan. Thanks, I'll give that a go :-) -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] freeswan on debian
On Mon, Feb 09, 2004 at 07:43:37PM +1100, Matthew Palmer wrote: > On Mon, Feb 09, 2004 at 04:56:40PM +1100, Patrick Lesslie wrote: > > I'm trying to get freeswan running on debian stable. The trouble is > > there is a cisco router doing DSL and doing NAT to the debian box, > > which also masquerades to another internal network. > > > > Is anyone successfully running freeswan through a router? > > Yes, but it's a hack. > > The problem is that IPSec requires that both source and destination ports for > an IKE connection be UDP 500. Now, with a sane NAT engine (*cough* iptables > *cough*) this works, because it tries to keep ports the same as much as > possible. However, Ciscos don't - you'll get a source port out of the NAT > router in the high range, which your other end will take one look at and go > "screw that and the horse it rode in on". > > The way to fix it is to configure the Cisco to do port forwarding of UDP 500 to > your IPSec machine inside, and initiate the connection from outside to the > public interface. That way both source and dest port will be 500, and your > IPSec boxes are none the wiser. I think I see. The source port gets preserved if the packet is explicitly port-forwarded.. So at the moment it's configured to do a source NAT sending packets addressed to 203.x.x.1 to 192.168.1.2 (debian) and the packets appear to be from the router (192.168.1.1) instead of from the remote IP, which means that UDP 500 packets to the external IP do get to debian, but presumably with the source ports altered for some Cisco reason, and I should also port-forward UDP 500. Do I also need NAT-T just to get the packets to be UDP packets, or is IKE always like that, and I still have to get the router to forward the ESP and GRE packets? > Short of making NAT traversal work (and it's a PITA, if only by the fact that > there's several different "standards" for doing it), this is the best way if > you've got to make it work over a brain-dead NAT device. Naturally, this way > won't work for multiple separate VPN endpoints behind your NAT device, but it's > better than nothing. I don't mind if they can only access one machine, so long as it runs windows and is on the internal lan ;-P But you didn't mean that there can only be one person coming in at once did you? After all I want VPN connections flying all over the place... > Anyway, if you've got VPN connections flying all over the > place, then the network design probably needs to be rethought a little, to > accomodate those sorts of things more gracefully... That would be excellent. I was wondering though, how to do it. I thought perhaps I might be able to get the Cisco into bridging mode, or just replace it with a brick, I mean a bridge (I guess?). That way the diagrams would be simpler, and I could talk using the external IP. I guess that means running pppoe as well. Since the cisco has 4 external IPs, it would be great to bridge at least one of them, so that there were sort of two independent external interfaces, debian on one and cisco on the others. Later with another box I'd like to be able to split the internal firewall and the freeswan one, in which case I suppose freeswan should go on an independently strong machine in a demilitarised zone. Then IPtables would just have to allow ipsec through, and if someone broke the freeswan machine, they could just vpn into the LAN :-) There actually doesn't seem to be much need for the router's fancy features above being a bridge anyway, now that the linux box is running the firewall, so swapping it out might be feasible if that were the best way to go. I still need NAT traversal anyway, going to try superfreeswan, because there might be NAT going on at the road warrior end ... The more I re-read this, the less it makes sense ;-} Thanks for the tips, Patrick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] freeswan on debian
On Tue, Feb 10, 2004 at 09:39:51AM +1100, Alexander Samad wrote: > On Mon, Feb 09, 2004 at 11:06:47PM +1100, Patrick Lesslie wrote: > > On Mon, Feb 09, 2004 at 07:43:37PM +1100, Matthew Palmer wrote: > > > On Mon, Feb 09, 2004 at 04:56:40PM +1100, Patrick Lesslie wrote: > --- snip --- > > I thought perhaps I might be able to get the Cisco into bridging mode, > > or just replace it with a brick, I mean a bridge (I guess?). > > That way the diagrams would be simpler, and I could talk using the > > external IP. I guess that means running pppoe as well. > > > > Since the cisco has 4 external IPs, it would be great to bridge > > at least one of them, so that there were sort of two independent > > external interfaces, debian on one and cisco on the others. > > Why not forward one of this IP addresses to the linux box, you can still > filter on the cisco and the linux box and no NAT'ing. > > Not sure if it is possible on Cisco, I have done a similiar thing on a > linux box. I hope it is, that would be great. So the debian box would have the external IP on it's outward facing interface, which I could put in network/interfaces as static. Patrick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] freeswan on debian
On Mon, Feb 09, 2004 at 07:43:37PM +1100, Matthew Palmer wrote: > The problem is that IPSec requires that both source and destination ports for > an IKE connection be UDP 500. Now, with a sane NAT engine (*cough* iptables > *cough*) this works, because it tries to keep ports the same as much as > possible. However, Ciscos don't - you'll get a source port out of the NAT > router in the high range, which your other end will take one look at and go > "screw that and the horse it rode in on". > > The way to fix it is to configure the Cisco to do port forwarding of UDP 500 to > your IPSec machine inside, and initiate the connection from outside to the > public interface. That way both source and dest port will be 500, and your > IPSec boxes are none the wiser. > > Short of making NAT traversal work (and it's a PITA, if only by the fact that > there's several different "standards" for doing it), this is the best way if > you've got to make it work over a brain-dead NAT device. Naturally, this way > won't work for multiple separate VPN endpoints behind your NAT device, but it's > better than nothing. Ok, I see what you mean now; since I'm forwarding UDP 500 to one machine, that machine is the only VPN endpoint. > Anyway, if you've got VPN connections flying all over the > place, then the network design probably needs to be rethought a little, to > accomodate those sorts of things more gracefully... I'm curious, how are other people doing this? Patrick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] freeswan on debian
On Tue, Feb 10, 2004 at 01:44:29PM +1100, [EMAIL PROTECTED] wrote: > On Mon, Feb 09, 2004 at 04:56:40PM +1100, Patrick Lesslie wrote: > > > > Is anyone successfully running freeswan through a router? > > As others have commented, ipsec is a bit hairy through ciscos. > > You might want to consider openvpn instead. > It is apparently easier to get running. > > It doesn't use ipsec. It uses SSL/TLS, can use certificates, tunnels everything over a single UDP or TCP port, handles NAT and installs on nearly anything. The best thing is that it has a self-installing executable for windows machines, so that remote users can install without (apparently) any difficulty. And here was I thinking it must use PPTP. So anyway, thanks very much for the suggestion, I really appreciate it and I'm going to run with it. Patrick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] E: Unable to parse package file /var/lib/dpkg/status (1)
On Tue, Feb 17, 2004 at 09:33:23PM +1300, Adam Bogacki wrote: > >E: Unable to parse package file /var/lib/dpkg/status (1) > >E: The package lists or status file could not be parsed or opened. > > I'm seeing an awful lot of this error message at the moment. > It comes up whenever I try to 'apt-get update', 'apt-get remove', 'dselect'. I saw this on debian-user: http://lists.debian.org/debian-user/2003/debian-user-200301/msg02664.html On Thu, 16 Jan 2003 17:43:46 +0100, Magnus Therning wrote: > On Wed, Jan 15, 2003 at 11:31:14PM +0100, Ing. Vladimir M. Kerka wrote: > > This is definitely so called Dynamic MMap error, this week mentioned > > at least thrice in this list, find solution in archive. > > Hint: in your /etc/apt/apt.conf fill in: APT::Cache-Limit 25165824; > > that solves the problem. > > Wonderful. It took away all the badness :-) Any particular reason for > the number? > > I suppose this will keep on hitting me every now and then as Debian > grows ever bigger, anyone fixing it properly? > > There are two related bugs: 172777 172726 Patrick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] detaching files over ssh from mail: pine ?
On Tue, Feb 17, 2004 at 11:38:29PM +1100, Craig Ayliffe wrote: > On Tue, 17 Feb 2004 [EMAIL PROTECTED] wrote: > > the mail is in /Maildir structire > > > > if I recall, pine was suggested as what I could use ? > > > > I don't seem to be able to access the actual /Maildir: > You could try pinq - comes with pine. > > It basically converts a maildir to mbox, and then loads it into pine. > Read the docs on it before using it tho. > > (I can't comment on whether mutt would be better, having never tried it > yet) Some of the advantages of mutt (to which jeff alluded earlier), * it can use Maildir (or mbox) * it has a freer license, and it's in debian main * it's more scriptable than pine * it handles gpg without patching (I think you can patch pine) * you can modify the keys to be just like pine ... * you can set the editor to vim * you can just make a big .muttrc and you are set * Maildir and procmail work well together procmail * (example) you can edit an mbox file with mutt -f mbox Pine on the other hand also has some advantages, * the license is more restrictive, and you get to download source only (though there are binary backports) * you get to compile it, e.g. when you want to add pgp support * it is quite easy to use from information on the screen * you don't have to find out how to make it use Maildir (mutt uses environment vars or the .muttrc for this) * you can play with pine settings from within pine * you don't need procmail to split mailing lists into folders * I used it for ages, and the keys got stuck in my fingers Patrick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] detaching files over ssh from mail: pine ?
On Wed, Feb 18, 2004 at 12:00:30PM +1100, James Gregory wrote: > On Wed, 2004-02-18 at 00:38, Patrick Lesslie wrote: > > * you can set the editor to vim > > you can do that with pine as well. Heh, thought flew by at the time about doing my homework :-) > > * you can just make a big .muttrc and you are set > > Pine also has this notion of "configuration files". They're somewhat > ubiquitous these days. Yes. I was thinking that with mutt you don't have much choice but to directly use the config file. > > * Maildir and procmail work well together procmail > > That's completely orthogonal. True. But the redundant procmail in my line is parallel ;-) -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Crystal Lan adapter and IBM 300GL platforms
On Thu, Feb 19, 2004 at 09:08:19PM +1100, Del wrote: > Bret Comstock Waldow wrote: > >Computerbank has a boatload of IBM 300GL systems, including integrated > >LAN using the Crystal Lan 8920 chipset. > > > >Theoretically the cs89x0.o module will utilize this, but it didn't last > >weekend. > > > >Does anyone have experience with this? If you've got it working, could > >you tell me with which distro/version, and any other suggestions you can > >contribute? > > I've used them successfully with Red Hat <= 6.2 (for some reason > the older machines that I inherited with these on the mobo wouldn't > boot under the 2.4 kernel), and IPCop, again 2.2 kernel and earlier. > > They are an ISA card so you have to specify the IO port for > them when loading the driver. From memory I did a bit of > googling about and found a config utility for them that > ran under DOS. They needed to be programmed with a non- > conflicting IRQ as well. Also, you might get lucky with the old bash loop, for io in 220 240 260 280 300 320 340 380 do for irq in 3 5 7 9 10 11 do echo "Trying io=$io, irq=$irq ..." modprobe cs89x0 io=$io irq=$irq done done and then check lsmod to see if you got lucky. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Help with exim :)
On Sat, Feb 21, 2004 at 10:10:16PM +1100, Michael F. wrote: > When I ran my old boxes with qmail, we had a sendmail wrapper script, > that would allow you to invoke qmail just like you would sendmail for > commandline type sending. How does one do this on exim, as the machine > in question can't use the php mail() procedure because I believe > /usr/sbin/sendmail aint available and if I link it to the exim binary, I > can't seem to find the correct switches to make it work. Exim is (almost) a sendmail replacement, and there's heaps on it in the docs and the man page. E.g. /usr/share/doc/exim/oview.txt.gz What exactly is failing? FWIW I get this on exim4 on sarge: # sendmail Exim is a Mail Transfer Agent. It is normally called by Mail User Agents, not directly from a shell command line. Options and/or arguments control what it does when called. For a list of options, see the Exim documentation. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Help with exim :)
On Sun, Feb 22, 2004 at 01:10:00AM +1100, Michael F. wrote: > A few php scripts using php mail() procedure/call don't work.. And I > suspect because when they call sendmail, which is symlink to exim, it > produces the output you show below. > > > # sendmail > > Exim is a Mail Transfer Agent. It is normally called by Mail > > User Agents, not directly from a shell command line. Options > > and/or arguments control what it does when called. For a list > > of options, see the Exim documentation. > > And I get this error too. I've attempted to find an option to invoke it > so it will work much like sendmail when called from a command line but > no go. > > Any hints? Yes, tell us what options you are trying. That's not an error, it's an informational -- it says you should supply arguments, and tells you where to look for a list :-) E.g. my queue is empty, # sendmail -qf # If you can't see arguments qmail is using, perhaps you could write a sendmail wrapper that spits out the command line it's using and then calls exim4. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] call for votes: BSP talks
On Sun, Mar 07, 2004 at 08:30:58PM +1100, Matthew Palmer wrote: This is fantastic. I'd love to see all of them :-} FWIW this is the order I'd pick them in. > * Basic debugging with GDB and friends (30 min - 1 hour, depending on how > * Playing with the Debian BTS (30 min). What it is, what it does, and how > * Methods of package building (30 min). From the basic debian/rules binary, > * The Process of Packaging (30 min). How does a random collection of files > * New Maintainership and Sponsorship (30 min). Probably should be titled > * Alex Comfort's Joy of Debconf (30 min). What is it, how it works, and why > * Version Control Is Your Friend (30 min). Why you should learn a version Patrick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] NFS mount on Debian Woody not working
On Sat, Mar 13, 2004 at 07:55:26PM +1100, Terry Collins wrote: > Jeff Waugh wrote: > > > Do you have nfs-common installed? > > Yes. That version has > nfs-common > nfs-kernel-server > nfs-user-server running. > > All three were restarted with no difference and the machine was rebooted > with no difference, aka same error. > > and ps axf |grep rpc returns > > rpc.statd > rpc.nfsd > rpc.mounted You could also check that portmap is running. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Persistent routes in Debian
On Fri, Mar 19, 2004 at 11:10:05AM +1100, Craig Mead wrote: > Trying to get Debian to maintain some routes over resets. > > Even windows makes it as simple is -p, but can't seem to find much on > getting it working in Debian, or any Linux. On Debian you can configure this in /etc/network/interfaces. (man interfaces). See also /usr/share/doc/ifupdown/examples/network-interfaces.gz e.g. for something more complicated than a simple gateway: auto eth0 iface eth0 inet static address 192.168.1.42 network 192.168.1.0 netmask 255.255.255.128 broadcast 192.168.1.0 up route add -net 192.168.1.128 netmask 255.255.255.128 gw 192.168.1.2 up route add default gw 192.168.1.200 down route del default gw 192.168.1.200 down route del -net 192.168.1.128 netmask 255.255.255.128 gw 192.168.1.2 Patrick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Persistent routes in Debian
David Kempe wrote: > Patrick Lesslie wrote: > > > >auto eth0 > >iface eth0 inet static > >address 192.168.1.42 > >network 192.168.1.0 > >netmask 255.255.255.128 > >broadcast 192.168.1.0 > >up route add -net 192.168.1.128 netmask 255.255.255.128 gw 192.168.1.2 > >up route add default gw 192.168.1.200 > >down route del default gw 192.168.1.200 > >down route del -net 192.168.1.128 netmask 255.255.255.128 gw > >192.168.1.2 > > I don't know why you wouldn't user the 'gateway' directive to add a > gateway - unless theres some funny subnet maths there I couldn't be > bothered working out Yes I know how you feel. I just pasted a bit of network-interfaces.gz to illustrate the idea of adding up and down commands generally. Also route isn't the greatest command for adding routes anyway, as Rob pointed out; ip is much nicer. > we add a '||true' at the end of the route statements so everything > parses ok if the card doens't come up or something. Patrick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Name based virtual hosts...
On Sat, Mar 20, 2004 at 11:34:46PM +1100, John McQuillen wrote: > However, if I access http://localhost/admin/phpMyAdmin/ (with a trailing > slash) it works. > > Could anyone tell me why that is? > > The config is as follows: > > NameVirtualHost * > > > ServerName www.mcquillen.bur.st > ServerAlias *.mcquillen.bur.st localhost > DocumentRoot /var/www/html/ > DocumentRoot doesn't like a trailing slash (apparently bug in mod_dir). Patrick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] clamav and exiscan revisited.
On Thu, Mar 25, 2004 at 12:52:16AM +1100, Shaun Oliver wrote: > sorry to be a bother, but there seems to be a slight difference between > my config structure and yours alexander > I have various options > in several files under /etc/exim4/conf.d/ main auth acl router retry > and so on so forth. > where abouts do I place these directives? the config structure is a > little confusing. This is sort of a guess, but perhaps try putting them in /etc/exim4/conf.d/acl/40_exim4-config_check_data, then run update-exim4.conf. The generated config is in /var/lib/exim4/. This is Debian specific AFAIK. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] External USB Hard Drive Case + HDD
On Fri, Mar 26, 2004 at 07:53:24AM +1100, David Kempe wrote: > Gerard Blacklock wrote: > >Anyone had any luck in getting an external USB hard drive to work under > >linux? I have had the USB keys working fine by mounting as FAT no probs, > > > >Any pointers on where to look regarding this issue? not 100% sure where > >to start! > > is it usb2? > you need a recent kernel.. then just use the usbstorage module and dmesg > should tell you it added /dev/sda or whatever I had trouble till I realised I also needed the sd_mod module for the hard disk (I think sr_mod if it's a CD device). -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] add route to ppp0
On Fri, Apr 02, 2004 at 05:15:28PM +1000, Amanda wrote: > I'm setting up an SME server as server & gateway. It has 2 ethernet cards, eth0 > (192.168.0.210)to the local network, eth1 (10.0.0.3)to the adsl modem (10.0.0.1). > > >From a machine on the Lan, I can access the internet just fine. > > On the SME server, I'm running pptp client to establish a tunnel into the > company's Windows 2000 VPN server. This also works fine. (I'm running rsync & > mysql replication over it). > > How do I add a route so local users on the lan can see machines on the lan at > head office. I can see them just fine from the SME server. > > route add -net 10.0.0.150 netmask 255.255.255.255 dev ppp0 > > 10.0.0.150 being an intranet web server on the company's lan. This is the > machine I'm rsyncing & replicating against. > > I can ping 10.0.0.150 from the SME server, but not from my machine on the Lan. This looks solveable, but I'm a bit confused. Could you post ifconfig and route table? What's happening with the ping packets? Also it looks a bit funny have a host entry for -net, but it seems fair enough all the same. I guess you could try using -host. Also, is there a firewall on the server? Patrick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Debian not starting eth0 at boot.
On Sat, Apr 03, 2004 at 07:11:57PM +1000, Eddie F wrote: > > Hi all, > > After first boot settings entered for eth0 where lost. Sorted all this out > and all works fine after running ifup eth0, but this interface isn't > started at boot. > So... How does Debian 3.0 r2 normally start network interfaces at bootup? > > > ~~~ I?m online, therefore I am ! ~~~ > Eddie. You need the line "auto eth0" before the line "iface eth0 inet ..." in /etc/network/interfaces. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] finding Linux professionals
On Thu, Apr 08, 2004 at 05:50:35PM +1000, Bret Comstock Waldow wrote: > I'm advising some people who are establishing a business. I know > GNU/Linux can do their computer stuff, and they are interested. > > How do I go about finding people to do the work? Likely there's a > website to set up, and perhaps e-commerce, and likely a database backing > it all up. > > I know I can put a message on slug - what I want to know is, are there > other avenues, perhaps with more context and information? Is there any > established market place to look at? You could also try the OpenSkills list ... it's fairly new but it might be worth letting them know. You can post to the dev list: [EMAIL PROTECTED] FWIW you shouldn't have too much trouble finding people for this kind of work. Patrick Lesslie -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Debian Printing - where do I start?
On Sat, Apr 17, 2004 at 04:59:09PM +1000, Terry Collins wrote: > The short answer is that my lprng printing on Debian Woody is now > squarking that all the printer queues are non-existant, e.g no > [EMAIL PROTECTED] > > And yes it squarks about running checkpc -f, which in turns squarks > about .banner on ttyS0 (modem-efax), but that isn't the problem. > > here is that message > damselfly:/etc# lpr -Php5ps /etc/hosts > Status Information: > sending job '[EMAIL PROTECTED]' to [EMAIL PROTECTED] > connecting to 'localhost', attempt 1 > connected to 'localhost' > requesting printer [EMAIL PROTECTED] > job '[EMAIL PROTECTED]' transfer to [EMAIL PROTECTED] failed >error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack > 'ACK_FAIL' >sending str '^Bhp5ps' to [EMAIL PROTECTED] > error msg: 'spool queue for 'hp5ps' does not exist on server >damselfly.woa.com.au' Do you have the spool directory? e.g: drwx-- 2 daemon lp 4096 2004-04-15 22:51 /var/spool/lpd/hp5ps Also check that /etc/printcap hasn't changed and that /etc/lprng/printcap is linked to it. Patrick Lesslie -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] spam filters not working
On Fri, May 07, 2004 at 11:52:30AM +1000, James Gregory wrote: > On Thu, 2004-05-06 at 23:36 +1000, Nicholas Tomlin wrote: > > How can we get a spam filter to check for misspelt words and reject the mail > > on that basis? > > I thought about this a while ago. It would be relatively easy to > implement -- just hook aspell into a procmail rule. I eventually came to I thought you were going to suggest using a spell checker to auto-correct some of the spelling, and then filter for spam ... -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] moving partition hda9 -> hda1
On Sat, May 08, 2004 at 06:36:06PM +1000, Russell Davie wrote: > Hi > I want to move the Linux partition in hda9 to hda1. > Yes, after too much procrastination, Linux is been promoted from ext. > partiton to replace the other OS! > how can this be done with out trashing the system? > I plan to copy on to another hdisk as well, though not yet installed. > regards > Russell There are two ways to do it that have worked for me. One way is to turn hda1 into an ext2 (or ext3) partition with cfdisk and mke2fs (and perhaps tunefs -j to make it ext3), then copy in the whole filesystem from hda9 (not including /proc, or better yet do it when it's not running, like from knoppix or a rescue disk) with cp -a /mnt-hda1/* /mnt-hda2/ or similar. The other way is to dd if=/dev/hda9 of=/dev/hda1 (from a rescue disk), to make a bit for bit copy of the partition. Another way to do this would be to image /dev/hda1 with partimage or similar and restore to /dev/hda9. (dd can be really slow, but IIRC you can find out how it's going by sending kill -1 `pidof dd` or something like that). But whatever you do you have to modify /etc/lilo.conf and /etc/fstab on the new partition. Modifying the files is easy, you just mount the new filesystem. Then you have to run lilo on the new partition. You can do this with chroot from the existing installation. It's something like chroot /mnt-hda1 /sbin/lilo or you can boot from a rescue disk. I'm no expert, so expect some corrections :-) Depending on your boot manager setup it might be different for example. Patrick Lesslie -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Installing from scratch
On Thu, Jun 24, 2004 at 09:00:21PM +1000, Johngibbons wrote: > On Thu, 24 Jun 2004 08:37 pm, [EMAIL PROTECTED] wrote: > > Johngibbons <[EMAIL PROTECTED]> wrote: > > > I have a boot floppy for XP but I get the "A:>\" thing and I do not know > > > what to type after that to get it moving along. So this route is beyond > > > me at the moment. Something you could try at the A: prompt is to type C: and see if it can see your C: drive. If it can, then it should confirm that the master boot record (mbr) has been corrupted and nothing else has been damaged. This is a fairly common pitfall when setting up dual boot systems. You could even use fdisk (I think) from the A: prompt, to investigate the partitioning of the drive. So the avenue may still be open to install a new boot record via one of Matt's suggestions. > > Assuming the windows partition is actually ok, and you have > > merely killed the mbr, you should be able to do one of: > > > > 1. boot from windows cdrom and choose repair > > 2. install linux and use grub to boot the windows partition > > > > Have you configured the bios to boot from cdrom? Yes, configuring the bios usually means hitting or some other key combination very shortly after powering up the machine, which will bring up the bios "setup" screen, where you can typically set the boot device order to boot first from CD. > > If you can't boot from cdrom, you'll have to boot from floppy. > > There are various ways to get a windows boot floppy or linux > > boot floppy. One of my favourites is to use a Smart Boot Manager (SBM) floppy, which comes on some linux CDs as a floppy-sized image. You really need another system though to create one of those. Once you have one you boot off that and it brings up a menu of other bootable devices on the machine, including the CD drive. > No bios shows up Matt, just a black screen with "no system installed". It > ignores the presence of bootable CDs. It also gets me nowhere when I put in a > boot floppy for XP, because that is when I get the "A:\" showing up. I tried > a boot floppy for Mandrake 10. I got about 8 or 10 lines of indeciferable > stuff followed by the invitation to put in a CD and press any key. I did but > nothing happened except a repeat of the lines of nonsence followed by the > same invitation to insert a CD. This doesn't sound so good ... Could you post those lines? If you have a floppy for Xandros it would be good to try that, since Xandros has been successfully installed before. There should be images on the CD for making floppies, which, like SBM, you should be able to create on another PC (even under windows). If you can install Xandros again, in the same partition as last time, then you'll be well placed to repair the MBR and get windows back. If the Xandros partition filled the drive, wiping windows, then you'll have to start from scratch. You might be able to type "setup" at the A: prompt for that, but I'm not sure, and in any case, I'd recommend linux ... :-) We can always fix your internet connection ... that's the easy bit. BTW, how did you get Xandros installed last time? Patrick Lesslie -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] LDAP help for a newbie
On Fri, Jun 25, 2004 at 10:31:04AM +1000, Lyle Chapman wrote: > I was wondering if someone could help me. I have had no experience with > LDAP and have attempted to setup LDAP on a RedHat 9 machine. The LDAP > master is an Apple XServe. I have followed what I think is the correct > way to enter the information that points to the xserve but now I cannot > locally log into the machine at all. Although I do have netatalk > running on it and you can log in and mount the shares fine but not with > any of the username and passwords from the xserve. You might need to boot into single user mode, or use a rescue disk and edit the configuration back to a working state. You've probably modified some PAM files. What did you edit? Or did you modify the configuration with some kind of GUI? If you can get at the files, you can probably add some fallthrough to old-fashioned login methods for when the LDAP login fails. Patrick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Installing from scratch
On Fri, Jun 25, 2004 at 05:57:54PM +1000, Johngibbons wrote: > Thanks to everyone who sent me some help. I finally got Xandros re-installed > by using the floppy and CD plus jiggling the delete key. How it works, I have > no idea but thanks to Patrick who suggested the combination of magic passes. > Still no sign of any BIOS. Heh, it's not supposed to work quite that way, but here's to it. :-) > I now have the problem of getting Xandros to recognise my modem. It appears > the laptop has two. Unfortunately both are Winmodems which I understand are > often problems in themselves. They are shown as follows: > > (1) Agere Systems > pci: 0x11C1, 0x441, 0x38. (Whatever all that means? Should I have > > typed a capital O and not a zero?) > > (2) Toshiba|FIR Port > driver: donauboe > Manu: Toshiba American Info Systems. That second one looks like an infrared port or something. You'll need to post some more info I think. You could try lspci -v > pci-list.txt and then attach pci-list.txt, so we can have a good look, determine compatibility etc. (via google) Lots of winmodems are useful in linux these days, but if it turns out yours isn't, then you'll need a PCMCIA or external modem, or better yet an ethernet card and an ADSL connection. ;-) Patrick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Help Scrollback lines!!!
On Mon, Jul 26, 2004 at 12:31:26AM +1000, Michael S. E. Kraus wrote: > G'day... > > On Sun, 2004-07-25 at 05:29, Michael Still wrote: > > You mean the command history? As root, type "history". If you mean the > > output of the various commands that root has executed during that login, > > I don't think it's stored anywhere... > > Err.. no :) (Everything is stored somewhere.) Um, think you missed a bit there ... The output of commands isn't usually stored, unless you use something like script. patrick > > ~/.bash_history is the file that stores a history of entered commands. > (All users, not just root - and assuming you're using bash, which is a > pretty safe assumption.) > > Rodney, is this what you were after? > > -Mike -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] special characters in mutt... again
On Wed, Aug 04, 2004 at 10:14:52AM +1000, Taryn East wrote: > - I am a part of a gaidhlig mailing list, and there are "special" > characters in said list (mainly vowels with accents) which come > through to me thusly: > A Shi\371saidh, 's truagh nach fhaca mi thusa You might have some luck with gnome-terminal if you make sure it is set to UTF-8 (terminal -> character coding -> UTF-8). Presumably you will need UTF-8 support in both the kernel (should be fine for a stock kernel) and in /etc/locale.gen (that's on Debian). My locale.gen looks something like: en_AU ISO-8859-1 en_AU.UTF-8 UTF-8 Then you run locale-gen. Accented characters in mutt work for me now, although I'm not sure how to create them directly on the terminal. You might have more trouble than this; I didn't have chars as numbers like that, they were more just garbled characters or sometimes question marks. Patrick Lesslie -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Bigpond cable and WRT054G
On Mon, Aug 02, 2004 at 12:03:57PM +1000, Stuart Guthrie wrote: > Has anyone setup these two to play together nicely. I've just > recommended the WRT054G to a friend and bigpond are not being helpful as > to how to connect. ie pppoe, ppptp dhcp. > > I'm sure it can be done, but what incantation? > > His setup is (hopefully) > > PC . wifi card ~~ WRT054G -- CableModem ---> Bigpond > ^^ ethernet cable > ^^^ Wireless FWIW, I set up a WRT54G with bigpond cable and a heartbeat signal last week. It was a snap since it was a menu option in the WRT54G - apparently the version 2 model works well, earlier versions need a firmware upgrade. A nice page on the subject: http://www.ozcableguy.com/linksys1.html#wrt54g I forget where I read it, but you should be careful not to change the ping interval to zero, since apparently it goes into an infinite reboot loop ... Patrick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] "Right" way to kill firefox from a script?
On Fri, Aug 01, 2008 at 09:26:19AM +1000, Amos Shapira wrote: > Otherwise - can I change something in Firefox's configuration to cause > it to ignore crashes? If you put about:config in the URL, then filter on "crash", you'll find the setting browser.sessionstore.resume_from_crash which you can set to false. Patrick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] X11 Forwarding over ssh
On Sun, Nov 16, 2008 at 05:13:38PM +1100, Kyle wrote: > Hiya folks, > > can someone pls provide me with an idiot's guide to getting X11 running > over ssh. You could also use NX, it's very fast and runs over port 22. You need to install nxserver at one end, either the proprietary one from nomachine.com or freenx. There are GPL clients for many platforms also downloadable from nomachine.com. Patrick Lesslie -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Problems running X in Red Hat 7.3 - Help?
Rod, As Terry pointed out, you don't need to run X to run a firewall; for that you just need a firewall script, the iptables package, and a kernel that supports iptables. (unless you use ipchains or even ipfwadm; a bit old though) Then link to it so it starts at boot, or perhaps whenever the connection comes up. The first thing you will want to do though is to stop X starting up (you did say, no graphics card ?). You'll need to boot to single user mode or similar (type "linux single" at the boot prompt; a redhat 7.3 person might be more helpful here) and login as root, remove the links that are starting gdm or kdm from /etc/rc/rc3.d (?) or better yet, just uninstall gdm and/or kdm (rpm --uninstall gdm (?)). If you do want to run X, try installing a nice thin window manager like WindowMaker (wmaker) (my favourite ;-). It will run with very little RAM. patrick (I forgot to cc the list first time I sent this...) On Thu, 30 Jan 2003, Rod Elliott - Hush Solutions wrote: > Hey Guys, > Just hoping to get a bit of a helping hand with a server set up of Red > Hat Linux 7.3. Ive set it up on an older Pentium I machine in the hope > of bringing it back from the grave, and the installation appears to go > fine, however upon booting, KDE or GNOME fails to run, citing memory > problems (not enough) as being the cause. The machine also doesnt have a > graphics card...and this may be the obvious cause of the problems. > > Can someone point me in the right direction on this. Does RH 7.3 require > more RAM in order to run, a graphics card perhaps? I have the shell > running fine, but it's X that appears to be struggling with the current > hardware. What other options are available for aged and lesser quality > hardware? All i really need is a box that will act a firewall between my > win2k network and the internet. > > thanks in advance > > Rod. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] LaTeX slides
I've found that pdflatex works where latex -> dvips -> ps2pdf will sometimes create a seemingly font-free document. I assumed that that meant, as Gus has suggested, that pdflatex embedded the fonts and therefore allowed portability. BTW I really appreciate this discussion of LaTeX slides ;) patrick On Fri, 7 Feb 2003, Angus Lees wrote: > At Thu, 6 Feb 2003 17:06:22 +1100, Jill Rowling wrote: > > I have used seminar.sty and converted the output using ps2pdf. > > The font should have been embedded in the ps and pdf files produced - > if not, you (or your TeX installation) is doing something wrong. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] LaTeX slides
On Fri, 7 Feb 2003, Jamie Wilkinson wrote: > http://www.cse.unsw.edu.au/~chak/presentation/presentation.html > > or grab the chaksem package on Debian (sid) systems. Manuel Chakravarty makes some interesting points. TeX people write such nice pages ;-) and you weren't kidding about the examples ... > Latest News: ... > * A second example on how to use the style Michael Wiedmann's document http://www.miwie.org/presentations/presentations.html looks like it will keep growing. I like how it has an index! Typical TeX fiend ... Patrick -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] /dev/dsp can't be opened
You can find out what process numbers are using /dev/dsp with fuser /dev/dsp Then pick them out with, say ps ax | grep On Sat, 8 Feb 2003, mick wrote: > Hi all, > > I still can't sound working under rehat 8.0 > > Here the latest error message > Sound server informational message: > Error while initializing the sound driver: > device /dev/dsp can't be opened (Resource temporarily unavailable) > The sound server will continue, using the null output device. > > Any help please. > > Regards > > Mick > -- > SLUG - Sydney Linux User's Group - http://slug.org.au/ > More Info: http://lists.slug.org.au/listinfo/slug > > -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] /dev/dsp can't be opened
Sorry, better yet is fuser -v for verbose (and check out k for kill...) $ fuser -v /dev/dsp USERPID ACCESS COMMAND /dev/dsp patrick 21592 f sox > On Sat, 8 Feb 2003, mick wrote: > > > device /dev/dsp can't be opened (Resource temporarily unavailable) This means that another program is blocking /dev/dsp. Jeff's earlier post should help once you've found the program: > 1. you have the correct output plugin selected > 2. no other program is blocking the sound card > 3. your sound card is properly configured > > I can safely say 3 is not the issue. What are then other two messages > indictive of? 1 means that the XMMS output plugin may not be correct - you can choose OSS, ALSA, esd, arts, etc. If you're running KDE, you probably want to choose arts. This is probably true, especially if 2 is also true. 2 means that your sound card may not support mixing in hardware, which means that only one program can write to it at once. That is probably the case with your hardware. What you have to do in this instance is write to a sound server, which mixes in software and sends the result to the hardware -> esd and arts are the most common sound servers used to do this (esd in GNOME, arts in KDE). On Sat, 8 Feb 2003, Patrick Lesslie claimed: > You can find out what process numbers are using /dev/dsp with > > fuser /dev/dsp > > Then pick them out with, say > ps ax | grep > -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Serial Modem Problems
If your modem is up but the web is down, it is often because you have forgotten to specify the addresses of your nameservers in /etc/resolv.conf. Your ISP will give you the IP addresses of the nameservers. Otherwise possibly the default route has been set to the wrong IP address, as Heracles has suggested may have happened during your install. Is is a new install? "route" tells you about the default route, and it should be straight to your ISP whenever the modem is up and ppp is connected. A friend had a problem where he had issued the the magical incantation (to try to get connection) route add default gw and all transmissions thereafter were sent to himself ... Patrick -- "A line has two sides" -- Brian Eno "Oblique strategies" On Wed, 22 Jan 2003, Nathan Walshaw wrote: > Hi, > > I appear to be connecting ok, kppp reports that I am connected at 50666 > however cannot send and receive any data, pages don't load up etc. etc. > I am running dual boot and windows has no problem with data transfer. > > Can anyone shed some light on this problem? > > Thanks, > Nathan. > -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Creating hard Links to directories
Crossfire, I have the testing version of coreutils(=4.5.2-1). (from man ln) -d, -F, --directory hard link directories (super-user only) # ln /tmp /tmp2 ln: `/tmp': hard link not allowed for directory # ln --directory /tmp /tmp2 ln: creating hard link `/tmp2' to `/tmp': Operation not permitted unstable provides coreutils 4.5.7-1, in which it must have been fixed. Perhaps it's out of the manpage until they have finished implementing it ;-) -- On Wed, 26 Feb 2003, Crossfire wrote: > Stalker, Doug was once rumoured to have said: > > > > How can I create a hardlink to a directory? ln promises to do it if I use > > '--directory' as root, but I get permissions errors. > > You don't. For a start, --directory doesn't even exist in the ln on my > Debian unstable box, which is a pretty good indicator that it doesn't exist. > > Secondly, Hardlinking directories is WRONG - to permit such an act would be > insanely stupid due to the massive amount of damage that you could allow > users to inadvertantly cause due to them not realising that the directory is > a hardlink and trying to do something simple like a 'rm -rf' against it. > > Symlinks will suffice. > > Consult your friendly ln manpage for further (correct) information. > > C. > -- > --==-- > Crossfire | This email was brought to you > [EMAIL PROTECTED] | on 100% Recycled Electrons > --==-- > -- -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Debian Manuals
On Mon, 17 Mar 2003, mick wrote: > After a busy few weeks I finally had the oppurtunity to sit down and start to > look around my new Debian Woody install. I still don't have Xwindows cause > my radeons not supported. I wanted to start getting to know this OS, when I > started with RedHat, I had a nice BIG book to read from. > > Is there a BIG book of Debian, either downloadable or bought that is highly > recommended for Newbies. (Advanced Network Administration for Debian Servers > is out of the question, something more of the "Using Debian ... the How to > find your arse with both hands guide.", type flavour) Congratulations on trying out Debian Woody. This might seem obvious to some, but I feel I must point out http://www.debian.org/doc/ (or equivalently, http://www.au.debian.org/doc/) I find the "Debian Reference" very good, and quite thick. Apparently it is very actively maintained too, and some other Debian manuals may be on track to merge into it soon. There are some Debian specific HOWTOs mentioned on that page too. BTW, what kind of Radeon do you have? Patrick Lesslie -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Radeon Type under Debian
On Tue, 18 Mar 2003, mick wrote: > I have "powered by" ATi radeon 7500VE Dual Head 64MB Video Card. RedHat used > to install it as a Radeon 7500QW. AFAIK, you should be able to use the XF86Config-4 that you used for Redhat, in Debian. I notice you posted the very file to slug [1] last September :) It shouldn't matter how you generated it, so long as it worked. To get the same result you may need the same version of X, and you will probably need to upgrade X to testing, or to a particular release of X by hand, to achieve that. Patrick Lesslie [1] http://lists.slug.org.au/archives/slug/2002/09/msg00144.html -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Kernel building under Debian...
On Thu, 3 Apr 2003, Intelligent Dynamic wrote: > Using Debian Woody... I've installed the kernel source and packages > (unpacked the kernel and applied a patch to it) ... > > I'm about to compile and make a new kernel the traditional way, however I > can remember someone saying an easier way to do it under Debian? Hi Mike, The traditional way is good, especially for learning, and if you want only the stuff you need. However, it can mean recompiling later on when you find that you need some module you didn't think you needed, like for a new card in the box, or when you find you missed something out, or when it doesn't boot ;-) The alternative is to install a precompiled kernel, which comes with lots of modules or compiled-in components. Most stuff comes as modules, and you basically get all the modules. So you save on kernel source space, and since all the modules are there, you often don't have to worry about the kernel too much again, unless you have specialised needs. Clearly there are some choices in building a kernel that are determined by the kind of computer you have, such as the processor type, and whether or not you use SCSI, and of course many other things. Typically binary kernels come in several varieties to account for this variation. It is only practical to distribute a limited number of packages of differently configured binary kernels, before it is better for people to do their own for specialised needs. So in practice you have to reach a compromise and pick a binary kernel that is close enough, e.g a K7 kernel for an average K7 style PC. On Debian, apt is very useful. Debian packages binary kernels as "kernel-image-*" and kernel sources as "kernel-source-*". To search the package cache for packages starting with kernel-image: # apt-cache search ^kernel-image The other reference you might have noticed was to make-kpkg. This is a way of making your own binary kernel debian package from a configured source tree, which is cool. Let me know if this is off the track ... Patrick Lesslie -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Auto Mount
On Sun, 27 Jul 2003, Md. Ashraful Alam wrote: > Can any one suggest me ...how i can automount the cdrom in Redhat 7.1 ? You could install an rpm of autofs, and then to mount the floppy on /mnt/floppy and the cdrom on /mnt/cdrom (you'll need to mkdir the ones you need I think) you do something like this: # vi /etc/auto.master add: /mnt /etc/auto.floppy timeout=10 # vi /etc/auto.floppy add: floppy -fstype=auto,rw,user,nodev,uid=guest :/dev/fd0 cdrom -fstype=iso9660,r,user,uid=guest :/dev/cdrom # vi /etc/fstab remove cdrom and floppy entries # service autofs reload I haven't tested this, I saw it on a page about a webcafe but you get the idea. Patrick Lesslie -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Random System Freezes
On 7 Aug 2003, Kevin Saenz wrote: > Gonzalo, > > I used to have that problem. My computer would freeze in Windows > when ever playing a 3d game. I found it would freeze spasmodically > using Linux. The problem was with my mother board and a buggy ACPI > component. Now I have ACPI modules installed and I have not > experienced a freeze. > > Gonzalo wrote: > > I'm experiencing complete (and random) system freezes every day or > > two. I've not found a pattern yet, it happens at random. System > > specs as follows: > > > > Athlon 1800+ CPU > > 256MB DDR > > Matrox G400 Dualhead > > 2 x HDD > > 2 x SCSI CDROM > > 1 x FDD I have a very similar system, (Athlon 1800+, Matrox G550 dualhead) and apparently the same problem. I have heard that Athlons like this suffer from overheating, so I assumed it was that. It freezes sometimes when there is a lot of system activity, so I put in more fans. While it hasn't helped much, I haven't ruled out overheating. But I've never tried ACPI modules. It sounds good to me Patrick Lesslie -- Trevor Howard: Mr Christian! Kindly satisfy your lust elsewhere! Marlon Brando: Yessir! Lust .. to be satisfied elsewhere sah -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] xargs with files with spaces
On Fri, Nov 21, 2008 at 06:45:41PM +0900, Kevin Shackleton wrote: > I'm having trouble finding the right syntax for using xargs to extract > multiple zip files that have space characters in the name. Using null > delimiters (eg like: > find *.zip -print0 | xargs -0 unzip > ) is not doing it for me. You need -name before the *.zip to make it work: find -name "*.zip" -print0 | xargs -0 unzip Without quotes around *.zip you will run into trouble whenever there is a match in the current working directory because bash will interpolate it first. If there is one match it will just find that file, if there is more than one, find will give an error "find: paths must precede expression". -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Just sharing a gotcha with "rsync" that caused me big trouble ...extra
On Sun, Dec 14, 2008 at 11:38:10PM +1100, R.G.Salisbury wrote: > Like the deal with the trailing slash . which can cause issues --- > (often put there by bashs tab completion). > I like putting a "*" after a trailing slash as i find it more intuitive. The trailing slash or not option is handy once you know about it, but confusing until you do. It also makes a difference whether you put a "*" after the trailing slash or not, since the shell interpolates the "*" and doesn't include hidden files, which may be important for a home directory backup for example. Patrick Lesslie -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] network manager files
On Sun, Apr 12, 2009 at 04:14:01PM +1000, James Gray wrote: > On 12/04/2009, at 1:57 PM, david wrote: > >> I'm trying to debug a networkmanager problem. I've found this xml >> file: >> >> ~/.gconf/system/networking/connections/1/ipv4/%gconf.xml SNIP >> >> >> > > Again, assuming this is an integer representation of the binary (and > assuming 2's compliment) we end up with 254.36.23.203 (after ignoring > the highest 32 bits which are all ones) - which looks like a multicast > address. I have no idea if this is how things work in Gnome world, but > it was fun to blow the cobwebs off my binary arithmetic on a long > weekend! It was a good guess ... if you reverse that IP, it belongs to the original poster. :-) Patrick > > Cheers, > > James -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html