[SLUG] ip aliases and netmasks
Hi all, Running Redhat 7.3 on a server. I've got a bunch of ip aliases which I am running from /etc/rc.local to run them when the comp boots. Problem is that on boot it creates the aliased ip's but they have mask of Mask:255.0.0.0 instead of the required 255.255.255.248 An example line from rc.local is : /sbin/ifconfig eth0:0 netmask 255.255.255.248 xxx.xxx.xxx.xxx (with the x's being the additional ip addr) If I copy and paste the lines from rc.local it will update the first 2 with the correct netmask and give the following error for the rest: SIOCSIFNETMASK: Cannot assign requested address I'm guessing this could be because some services that are started are already listening on the aliased ip's. If I repeat the command 2 or 3 times it eventually sets the mask correctly. Anyone able to offer any ideas why it does this and how to fix it? Cheers, Paul
Re: [SLUG] ip aliases and netmasks
This one time, at band camp, Paul Robinson wrote: Running Redhat 7.3 on a server. I've got a bunch of ip aliases which I am running from /etc/rc.local to run them when the comp boots. Problem is that on boot it creates the aliased ip's but they have mask of Mask:255.0.0.0 instead of the required 255.255.255.248 An example line from rc.local is : /sbin/ifconfig eth0:0 netmask 255.255.255.248 xxx.xxx.xxx.xxx (with the x's being the additional ip addr) I'd actually create a file /etc/sysconfig/network-interfaces/ifcfg-eth0:0 (ugh) with the following contents: DEVICE=eth0:0 IPADDR=xx.xx.x.x NETMASK=255.255.255.248 which will then get the interface automagically created by the Red Hat init scripts, plus gives you control via the useful ifup/ifdown commands. SIOCSIFNETMASK: Cannot assign requested address I wonder what will happen if you instead rearrange the command like so: ifconfig eth0:0 xxx.xxx.xxx.xxx netmask 255.255.255.248 I'm guessing this could be because some services that are started are already listening on the aliased ip's. If I repeat the command 2 or 3 times it eventually sets the mask correctly. Services that are configured to listen on that interface won't actually be able to listen on an interface that doesn't exist yet. -- [EMAIL PROTECTED] http://spacepants.org/jaq.gpg -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] four-port serial board help, please?
Peter == Peter Chubb [EMAIL PROTECTED] writes: Peter Hi, I've an old four-port serial board, labelled T4R-100. I'm Peter trying to use it as a console server for some of the Peter crash'n'burn machines around here. Peter setserial ttyS9 auto_irq autoconfig OK, even though it is *not* an AST fourport board, setting setserial ttySX fourport auto_irq autoconfig gives IRQ7 (which is what I expected given the way I'd traced the traces on the board) for two of the TTYs. The other two are still on IRQ 4 and 3 (and conflicting with the on-motherboard serial ports). Any more ideas? Pete c -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Quick fix sought for Sendmail
I need to do a quick fix in Sendmail to allow a specific IP unresolvable _address_ to relay emails rather than a specific domain name or host name. Where do I need to put this, which file? TIA -- Howard. LANNet Computing Associates - Your Linux people http://www.lannetlinux.com -- Flatter government, not fatter government - Get rid of the Australian states. -- There are 10 types of people in the world, those who understand binary, and those who don't. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] SLUG Python Interest Group - Monday 17th February 2002
Hi everyone, SLUG's Python Interest Group is on this Monday... Andrew Bennetts: Twisted Programming Date: Monday February 17th Time: 7:00pm Location: UTS Broadway, building 10, room 2.440 (computer lab, on the entrance level). -Mary SLUG Python Interest Group meetins are announced on: * comp.lang.python.announce and [EMAIL PROTECTED][0] * the Australasian Python users list[1] * The Sydney Linux User's Group announce list[2] [0] http://mail.python.org/mailman/listinfo/python-announce-list [1] http://starship.python.net/mailman/listinfo/python-au [2] http://lists.slug.org.au/listinfo/announce/ The Sydney Python Interest Group is, while not restricted to Python on Linux, a Special Interest Group of the Sydney Linux Users Group (SLUG), and would like to thank SLUG for its support. msg30166/pgp0.pgp Description: PGP signature
Re: [SLUG] Quick fix sought for Sendmail
On Thu, Feb 13, 2003 at 10:49:28AM +1100, Howard Lowndes wrote: I need to do a quick fix in Sendmail to allow a specific IP unresolvable _address_ to relay emails rather than a specific domain name or host name. Where do I need to put this, which file? In /etc/mail/access 61.8.3.14 RELAY this assumes you have access.db turned on in your sendmail mc/cf not sure if the none resolvable will matter or not. I think not. -- John http://www.inodes.org/ -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Quick fix sought for Sendmail
On Thu, 13 Feb 2003, John Ferlito wrote: On Thu, Feb 13, 2003 at 10:49:28AM +1100, Howard Lowndes wrote: I need to do a quick fix in Sendmail to allow a specific IP unresolvable _address_ to relay emails rather than a specific domain name or host name. Where do I need to put this, which file? In /etc/mail/access 61.8.3.14 RELAY this assumes you have access.db turned on in your sendmail mc/cf not sure if the none resolvable will matter or not. I think not. Tks, that's the one I was trying to think of. I'll remake the access.db just in case restarting sendmail doesn't do so. -- Howard. LANNet Computing Associates - Your Linux people http://www.lannetlinux.com -- Flatter government, not fatter government - Get rid of the Australian states. -- There are 10 types of people in the world, those who understand binary, and those who don't. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] ip aliases and netmasks
Thanks Jamie, the ifcfg-eth0:0 works perfectly. I wasn't sure if the boot scripts would pick up anything with a : after the ethernet device name. Cheers, Paul - Original Message - From: Jamie Wilkinson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 13, 2003 9:41 AM Subject: Re: [SLUG] ip aliases and netmasks This one time, at band camp, Paul Robinson wrote: Running Redhat 7.3 on a server. I've got a bunch of ip aliases which I am running from /etc/rc.local to run them when the comp boots. Problem is that on boot it creates the aliased ip's but they have mask of Mask:255.0.0.0 instead of the required 255.255.255.248 An example line from rc.local is : /sbin/ifconfig eth0:0 netmask 255.255.255.248 xxx.xxx.xxx.xxx (with the x's being the additional ip addr) I'd actually create a file /etc/sysconfig/network-interfaces/ifcfg-eth0:0 (ugh) with the following contents: DEVICE=eth0:0 IPADDR=xx.xx.x.x NETMASK=255.255.255.248 which will then get the interface automagically created by the Red Hat init scripts, plus gives you control via the useful ifup/ifdown commands. SIOCSIFNETMASK: Cannot assign requested address I wonder what will happen if you instead rearrange the command like so: ifconfig eth0:0 xxx.xxx.xxx.xxx netmask 255.255.255.248 I'm guessing this could be because some services that are started are already listening on the aliased ip's. If I repeat the command 2 or 3 times it eventually sets the mask correctly. Services that are configured to listen on that interface won't actually be able to listen on an interface that doesn't exist yet. -- [EMAIL PROTECTED] http://spacepants.org/jaq.gpg -- 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
[SLUG] KnoppixKDE
-BEGIN PGP SIGNED MESSAGE- Hi folks, Just read a really good review of the KnoppixKDE variant of Knoppix, basically it's Knoppix with KDE3.1 and all the .deb'd KDE packages they could find. The reviewer had never used Linux before (he's an MCP) and does an (IMHO) excellent job of reviewing it, including constructive comments and updating his article with responses from people with fixes, tips and tricks. His tone is of someone who's found a new toy and loves it. :-) URL for the review is: http://ammai.com/modules.php?op=modloadname=Reviewsfile=indexreq=showcontentid=2page=1 KnoppixKDE's page is at: http://www.knoppix.net/docs/index.php/KnoppixKDE I'd love to try this out, as well as possibly try and pass it out at the local Illawarra Computer Enthusiasts group (a nice bunch, they're not technically minded, just a bunch of regular Joe Users who like to get together and talk about what they've managed to do) and to others who might like to try Linux but don't want to risk damaging their existing Linux install. However, I'm on the end of an analogue modem link (too far from the exchange for ADSL and in a shadow area as far as Etherwave's concerned) and the ISO is a terrifying 457Mb in size! You can guess what's going to come next.. :-) By some chance, has anyone already downloaded this, or is anyone willing to download this, burn me a CD and pop it in the post to me ? Download URL is: http://ktown.kde.org/~dirk/knoppixkde/ thanks! Chris - -- Chris SamuelWollongong, NSW -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iQEVAwUBPkse/Y1yjaOTJg85AQEyngf/c8WbySdiJHfSzQnlYF2cosAjCsSINhAs r4jPPvAFMqcT/Wdx2GHQxzd/VJ7HPdrMlsFVl9KGj3kyKMnPipP2PgMZEby6kYu8 CGM+MAFjRqbnRBIIN2gSGDRhLAADLnjEp5or4etDUi+MGSCPOsBfcFrrJcGI6FHs fdRWcAY/ZMXeHWIHto+Yc5wgPf67S7nE8jcw0nmuM7J4EwvWWE3kduANNCM/TI6y EpJj1ic41IEWpL+BfOElrtxmkoFrto/wgyxkV9Dco1Gz1+7DcviFeEizE7HtdZTE eevyu1uauAlAfLYP94a5kA332/ItLpQi3mxLFOK3Fl3mro1tOrKaBQ== =4YEF -END PGP SIGNATURE- -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Hard Drives
OK so I am getting a new harddrive (as a second HD) from my local PC store, and am thinking of a 40gb (or 60gb) Seagate 7200rpm 3y for $179.00, what do people think, and what are their experiences. Thanx Andrwe D -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Hard Drives
Bit expensive - check the prices on www.programmersparadise.com.au - I think that size is about $153. Jon OK so I am getting a new harddrive (as a second HD) from my local PC store, and am thinking of a 40gb (or 60gb) Seagate 7200rpm 3y for $179.00, what do people think, and what are their experiences. Thanx Andrwe D -- 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] Hard Drives
On Thu, 2003-02-13 at 14:32, Andrewd wrote: OK so I am getting a new harddrive (as a second HD) from my local PC store, and am thinking of a 40gb (or 60gb) Seagate 7200rpm 3y for $179.00, what do people think, and what are their experiences. I got an 80Gb the other day, for $209 - without shopping around. Rob -- GPG key available at: http://users.bigpond.net.au/robertc/keys.txt. signature.asc Description: This is a digitally signed message part
RE: [SLUG] Hard Drives
I think my next harddrive purchase will be a 120gig drive.. for round about $300 .. all depends on how much space you need, but I use a lot of space (lots of games/pictures/copy my cds to hdd). For the extra $100 you get another 40gigs! -Original Message- From: Robert Collins [mailto:[EMAIL PROTECTED]] Sent: Thursday, 13 February 2003 3:49 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [SLUG] Hard Drives On Thu, 2003-02-13 at 14:32, Andrewd wrote: OK so I am getting a new harddrive (as a second HD) from my local PC store, and am thinking of a 40gb (or 60gb) Seagate 7200rpm 3y for $179.00, what do people think, and what are their experiences. I got an 80Gb the other day, for $209 - without shopping around. Rob -- GPG key available at: http://users.bigpond.net.au/robertc/keys.txt. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] KnoppixKDE
We downloaded the full knoppix of 20/2/03 I can burn a copy of that if you like. Knoppix rocks!!! dave -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] KnoppixKDE
-BEGIN PGP SIGNED MESSAGE- On Thursday 13 Feb 2003 4:29 pm, David Kempe wrote: We downloaded the full knoppix of 20/2/03 I can burn a copy of that if you like. I think that's the the one with KDE3.0 and it was KDE3.1 I was especially after. Thanks for the kind offer though! Knoppix rocks!!! :-) - -- Chris SamuelWollongong, NSW -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iQEVAwUBPksvi41yjaOTJg85AQEpTQgAvDYRHnl0nJzU7f07RlMHM52uStopyl+c URcdn5ATbRar3WwVxQ10zRDcGk4onMflfQ7rU4K5bXAhyr1LoWrS3c+dGYcgSVux 36z2viVl68aaHbeSBx1P5RI3yh9CMysm+nl9+ogtdK5nETw43ZhzLwKJQ4w9/puB 2ydbH0asdke5Y4nDangP4IuJAiR/Za6RcKD1d8Xz/0iD4uhLxNc52G3iGNvme0l3 3EurEjZT/6lS74r/t8y+braBqnxLcI2mYCaNanwip7CybIaudgOiOpg8/xAvfPFJ N0Iy2gUSD/RZuTcz6hDFhZsJhsexMyLLn9XmUEZqFouifaLctCdwzw== =k+rs -END PGP SIGNATURE- -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
RE: [SLUG] Hard Drives
yes.. but what about reliability? is there a difference? I need two new drives, but I much prefer reliability to size (I'm told that size isn't everything ;-) David On Thu, 13 Feb 2003, Shanna Daly wrote: I think my next harddrive purchase will be a 120gig drive.. for round about $300 .. all depends on how much space you need, but I use a lot of space (lots of games/pictures/copy my cds to hdd). For the extra $100 you get another 40gigs! -Original Message- From: Robert Collins [mailto:[EMAIL PROTECTED]] Sent: Thursday, 13 February 2003 3:49 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [SLUG] Hard Drives On Thu, 2003-02-13 at 14:32, Andrewd wrote: OK so I am getting a new harddrive (as a second HD) from my local PC store, and am thinking of a 40gb (or 60gb) Seagate 7200rpm 3y for $179.00, what do people think, and what are their experiences. I got an 80Gb the other day, for $209 - without shopping around. Rob -- GPG key available at: http://users.bigpond.net.au/robertc/keys.txt. -- 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] Hard Drives
On Thursday 13 February 2003 16:54, David wrote: yes.. but what about reliability? is there a difference? I need two new drives, but I much prefer reliability to size (I'm told that size isn't everything ;-) Every time I go see the friendly chinese guy down at my local pc shop for a new drive, he sells me a different brand. I asked him about this and he said that the quality of a given brand can vary greatly, because manufacturer A's drives can be made in different places at different times. He sells whatever he thinks is best this week (up to you whether you believe that!). Actually I believe him because there have been long discussions on /. about hard drives, and in the same thread you'll find slashbot A arguing that he swears by brand Foo, whereas slashbot B lost his job, car and girlfriend due to a crashed drive of the same brand. Moral of the story: ASSUME ALL DRIVES ARE CRAP. This is OK, because Linux gives us fantabulous software RAID. If you care about data integrity, get two drives, do mirroring, and the chance of data loss is very, very small. Better yet, get 3, so that you have one on hand when one dies. You should still do backups, of course. Personally I use RH, the installer makes setting up RAID pretty easy, other distros are probably not that hard either. RAID costs more, but I reckon the peace of mind is worth it. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Autorepeat broken after suspend
On Wed, 2003-02-12 at 15:31, Bruce Badger wrote: Ben de Luca suggested that fiddling with the Repeat Keys options in the Keyboard Preferences dialog fixed a similar problem for him in the past. It didn't work for me though. Have you tried that? what dialog? I'm wondering at what level this is a problem. e.g. IBM hardware, Video card driver, X, Metacity, Gnome ... I don't know but repeat keys works for me from the login screen (gdm) if i log out after suspend. It's a nuisance, that's for sure. Yeah I had just given up and learnt to hit the backspace key really fast :) -- Myles Byrne [EMAIL PROTECTED] ByrneWebServices -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Hard Drives
On Thu, 13 Feb 2003, Carl G Lewis wrote: On Thursday 13 February 2003 16:54, David wrote: yes.. but what about reliability? is there a difference? I need two new drives, but I much prefer reliability to size (I'm told that size isn't everything ;-) Moral of the story: ASSUME ALL DRIVES ARE CRAP. This is OK, because Linux gives us fantabulous software RAID. If you care about data integrity, get two drives, do mirroring, and the chance of data loss is very, very small. Better yet, get 3, so that you have one on hand when one dies. You should still do backups, of course. Personally I use RH, the installer makes setting up RAID pretty easy, other distros are probably not that hard either. RAID costs more, but I reckon the peace of mind is worth it. I went to the trouble of installing a hardware RAID card (anyone want to buy it?). When the data on one drive was corrupted by a drive fault, the other drive dutifully mirrored it so I had TWO corrupted sets of data. The moral of this story is: backup with RAID is better than RAID without backup.. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug