[SLUG] Newbie having troubles with Diald
Hi all, Please forgive if I have sent a message that is too long, but I thought in order to get the assistance required I needed to supply all available information. I have installed Red Hat 6.1 and daild 0.99.4. I have several accounts that a client needs to dial into at given times. Account 1 is a 6am-6pm business account - forced up for the 12 hours. Outside those hours I need to dial into account 2 on the same server - on demand. The problem: I can dial - with error messages - and login but I cant start PPP successfully!! If I use /sbin/ifup ppp0 I get all the way. So I figure it's to do with the connect script of the diald configuration. any assistance greatfully appreciated. The following is an extract from the /etc/messages log file. Aug 21 12:59:42 eric modprobe: can't locate module tap0 Aug 21 12:59:42 eric modprobe: can't locate module tap1 Aug 21 12:59:42 eric modprobe: can't locate module tap2 Aug 21 12:59:42 eric modprobe: can't locate module tap3 Aug 21 12:59:43 eric modprobe: can't locate module tap4 Aug 21 12:59:43 eric modprobe: can't locate module tap5 Aug 21 12:59:43 eric modprobe: can't locate module tap6 Aug 21 12:59:43 eric modprobe: can't locate module tap7 Aug 21 12:59:44 eric modprobe: can't locate module tap8 Aug 21 12:59:44 eric modprobe: can't locate module tap9 Aug 21 12:59:44 eric modprobe: can't locate module tap10 Aug 21 12:59:45 eric modprobe: can't locate module tap11 Aug 21 12:59:45 eric modprobe: can't locate module tap12 Aug 21 12:59:45 eric modprobe: can't locate module tap13 Aug 21 12:59:45 eric modprobe: can't locate module tap14 Aug 21 12:59:46 eric modprobe: can't locate module tap15 Aug 21 12:59:46 eric diald[1513]: start sl0: SIOCSIFMETRIC: Operation not supported Aug 21 12:59:46 eric diald[1513]: Calling site 192.168.1.9 Aug 21 12:59:47 eric connect: Initializing Modem Aug 21 12:59:48 eric connect: Dialing system Aug 21 13:00:15 eric connect: Connected Aug 21 13:00:15 eric connect: Loggin in Aug 21 13:00:16 eric connect: Protocol started Aug 21 13:00:16 eric diald[1513]: Connected to site 192.168.1.9 Aug 21 13:00:16 eric diald[1513]: Running pppd (pid = 1544). Aug 21 13:00:16 eric modprobe: can't locate module char-major-108 Aug 21 13:00:17 eric kernel: PPP: version 2.3.7 (demand dialling) Aug 21 13:00:17 eric kernel: PPP line discipline registered. Aug 21 13:00:17 eric kernel: registered device ppp0 Aug 21 13:00:17 eric pppd[1544]: pppd 2.3.10 started by root, uid 0 Aug 21 13:00:17 eric pppd[1544]: Using interface ppp0 Aug 21 13:00:17 eric pppd[1544]: Connect: ppp0 -- /dev/ttyS1 Aug 21 13:00:23 eric kernel: PPP BSD Compression module registered Aug 21 13:00:23 eric kernel: PPP Deflate Compression module registered Aug 21 13:00:24 eric pppd[1544]: local IP address 203.57.114.143 Aug 21 13:00:24 eric pppd[1544]: remote IP address 203.57.114.129 Aug 21 13:00:24 eric diald[1513]: New addresses: local 203.57.114.143, remote 203.57.114.129, broadcast 0.0.0.0 Aug 21 13:00:24 eric diald[1513]: start ppp0: SIOCSIFMETRIC: Operation not supported The following is my /etc/diald.conf.wdbc file - for account 1 the /etc/diald.conf file is empty at this stage restrict 6:01:00 17:59:00 1-5 * * up restrict 18:01:00 * 1-5 * * or-restrict * * 6 * * or-restrict * 6:00:00 0 * * down authsimple /etc/ppp/pap-secrets mode ppp connect /root/wdbcconnect speed 115200 device /dev/ttyS1 local 192.168.1.8 remote 192.168.1.9 dynamic include /usr/lib/diald/standard.filter accounting-log /var/log/diald.log The Following is my Connect script: /root/wdbcconnect - account 1 #!/bin/sh # Copyright (c) 1996, Eric Schenk. # # This script is a connection script that # uses the "message" facility of diald to communicate progress through # the dialing process to a diald monitoring program such as dctrl or diald-top. # It also reports progress to the system logs. This can be useful if you # are seeing failed attempts to connect and you want to know when and why # they are failing. # # This script requires the use of chat-1.9 or greater for full # functionality. It should work with older versions of chat, # but it will not be able to report the reason for a connection failure. # Configuration parameters # The initialization string for your modem MODEM_INIT="ATZ" # C1D2%C0" # The phone number to dial PHONE_NUMBER="phone number removed" # The chat sequence to recognize that the remote system # is asking for your user name. USER_CHAT_SEQ="ogin:--ogin:--ogin:--ogin:--ogin:--ogin:--ogin:" # The string to send in response to the request for your user name. USER_NAME="account name removed" # The chat sequence to recongnize that the remote system # is asking for your password. PASSWD_CHAT_SEQ="ssword:" # The string to send in response to the request for your password. PASSWORD="password removed" # The prompt the remote system will give once you are logged in # If you do not define this then the script will assume that # there is no command to be issued to start up the
[SLUG] X4 color depth at startup
Hi, I have sucessfully changed the XF86Config-4 file to start X at depth 16, but this seems to work only if I do startx from the command line. If I change the runlevel to 5 and start X automatically, it defaults to a color depth of 8 Is there a parameter to prefdm(gdm) that I can pass to start at the color depth of 16 ?? Running Mdk 7.1 -- Aravind -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] X4 color depth at startup
Mdk7.1 has both 3.3 and 4 versions... maybe you are running 3.3 in runlevel 5? What does prefdm point at? -Colin Aravind Naidu wrote: Hi, I have sucessfully changed the XF86Config-4 file to start X at depth 16, but this seems to work only if I do startx from the command line. If I change the runlevel to 5 and start X automatically, it defaults to a color depth of 8 Is there a parameter to prefdm(gdm) that I can pass to start at the color depth of 16 ?? Running Mdk 7.1 -- Aravind -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] questions... squid...
Michael Fox wrote: Afternoon everybody, Just want to put a few questions to those who have a little more experience with some advance squid questions I may have. We have 50/50 spread of users who are using locked down browsers while another lot of users don't. The issue we are having is we want to identify those users who don't bypass the squid server for local addresses. What I'd like to do, is setup some rules on squid, that will deny clients from in our company from accessing numerous servers/sites via the proxy, and when they do, I want it to error out and give them a informative error page. Can anyone confirm can something like this be done in squid's config using rules of some sort? If so, anyone care to point me to some documentation/examples? If I could be cc'd directly at this email address, I'll be sure to get it much quicker. Thanks in advance. Michael Fox -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug Try SquidGuard, it is versatile and highly configurable: http://freshmeat.net/appindex/1999/06/07/928729724.html -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Re: questions... squid...
On Mon, Aug 21, 2000 at 04:49:26PM +1000, Michael Fox wrote: We have 50/50 spread of users who are using locked down browsers while another lot of users don't. The issue we are having is we want to identify those users who don't bypass the squid server for local addresses. surely the squid logs tell you that much? -- - Gus -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
RE: [SLUG] X4 color depth at startup
Bingo !!! That was the problem I could'nt work out how prefdm starts the server up, but I used xdpyinfo to prin out the vendor string and it was x 3.3.6 ... Next quesion. How do I make prefdm start x4 ? -- Aravind -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Colin Humphreys Sent: Monday, 21 August 2000 17:29 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [SLUG] X4 color depth at startup Mdk7.1 has both 3.3 and 4 versions... maybe you are running 3.3 in runlevel 5? What does prefdm point at? -Colin Aravind Naidu wrote: Hi, I have sucessfully changed the XF86Config-4 file to start X at depth 16, but this seems to work only if I do startx from the command line. If I change the runlevel to 5 and start X automatically, it defaults to a color depth of 8 Is there a parameter to prefdm(gdm) that I can pass to start at the color depth of 16 ?? Running Mdk 7.1 -- Aravind -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] usb modem
Netcomm Roadster 11 64k usb AM5050 R3 FirmwareV1.55 Suse 6.4 kernel 2.2.16 backport patch usb-2.4.0-test2-pre2-for-2.2.16-v3.diff This modem is on the working device list at linux-usb.org. Has anyone at Slug configured one? Has this been covered in Slug before ? In the following I load the modules acm, (modprobe calls up usbcore by itself) and usb-uhci. I then mount usbdevfs and look at the result. The log below shows the kernel responses. The connection timed out. Something seems to be missing -any help appreciated. I have studied notes and material at usb.org. Methinks I need to look at a recent kernel. Brian Marr root@Gomez:/home/bombay modprobe acm root@Gomez:/home/bombay lsmod Module Size Used by acm 6324 0 (unused) usbcore48008 0 [acm] vmnet 16352 3 vmmon 18048 0 (unused) ne2k-pci4232 1 (autoclean) 83906676 0 (autoclean) [ne2k-pci] parport_pc 7588 0 (unused) parport 7884 0 [parport_pc] vfat9308 1 (autoclean) fat30080 1 (autoclean) [vfat] root@Gomez:/home/bombay modprobe uhci-usb modprobe: Can't locate module uhci-usb root@Gomez:/home/bombay modprobe usb-uhci root@Gomez:/home/bombay cat /proc/bus/usb/devices cat: /proc/bus/usb/devices: No such file or directory root@Gomez:/home/bombay mount -t usbdevfs usb /proc/bus/usb root@Gomez:/home/bombay cat /proc/bus/usb/devices T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor= ProdID= Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=e000 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms root@Gomez:/home/bombay lsmod Module Size Used by lp 5636 1 (autoclean) usb-uhci 22272 0 (unused) acm 6324 0 (unused) usbcore48008 0 [usb-uhci acm] vmnet 16352 4 vmmon 18048 3 ne2k-pci4232 1 (autoclean) 83906676 0 (autoclean) [ne2k-pci] parport_pc 7588 1 parport 7884 1 [lp parport_pc] vfat9308 1 (autoclean) fat30080 1 (autoclean) [vfat] Aug 20 10:23:46 Gomez kernel: usb.c: registered new driver usbdevfs Aug 20 10:23:46 Gomez kernel: usb.c: registered new driver hub Aug 20 10:23:46 Gomez kernel: usb.c: registered new driver acm Aug 20 10:24:54 Gomez kernel: usb-uhci.c: $Revision: 1.232 $ time 09:21:15 Aug 20 2000 Aug 20 10:24:54 Gomez kernel: usb-uhci.c: High bandwidth mode enabled Aug 20 10:24:54 Gomez kernel: usb-uhci.c: Intel USB controller: setting latency timer to 0 Aug 20 10:24:54 Gomez kernel: usb-uhci.c: USB UHCI at I/O 0xe000, IRQ 12 Aug 20 10:24:54 Gomez kernel: usb-uhci.c: Detected 2 ports Aug 20 10:24:54 Gomez kernel: usb.c: new USB bus registered, assigned bus number 1 Aug 20 10:24:54 Gomez kernel: usb.c: USB new device connect, assigned device number 1 Aug 20 10:24:54 Gomez kernel: usb.c: kmalloc IF c6a47c80, numif 1 Aug 20 10:24:54 Gomez kernel: usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1 Aug 20 10:24:54 Gomez kernel: usb.c: USB device number 1 default language ID 0x0 Aug 20 10:24:54 Gomez kernel: Product: USB UHCI Root Hub Aug 20 10:24:54 Gomez kernel: SerialNumber: e000 Aug 20 10:24:54 Gomez kernel: hub.c: USB hub found Aug 20 10:24:54 Gomez kernel: hub.c: 2 ports detected Aug 20 10:24:54 Gomez kernel: hub.c: ganged power switching Aug 20 10:24:54 Gomez kernel: hub.c: standalone hub Aug 20 10:24:54 Gomez kernel: hub.c: global over-current protection Aug 20 10:24:54 Gomez kernel: hub.c: power on to power good time: 2ms Aug 20 10:24:54 Gomez kernel: hub.c: hub controller current requirement: 0mA Aug 20 10:24:54 Gomez kernel: hub.c: port 1 is removable Aug 20 10:24:54 Gomez kernel: hub.c: port 2 is removable Aug 20 10:24:54 Gomez kernel: hub.c: local power source is good Aug 20 10:24:54 Gomez kernel: hub.c: no over-current condition exists Aug 20 10:24:54 Gomez kernel: hub.c: enabling power on all ports Aug 20 10:24:54 Gomez kernel: usb.c: hub driver claimed interface c6a47c80 Aug 20 10:24:54 Gomez kernel: hub.c: port 1 connection change Aug 20 10:24:55 Gomez kernel: hub.c: portstatus 101, change 1, 12 Mb/s Aug 20 10:24:55 Gomez kernel: hub.c: portstatus 103, change 0, 12 Mb/s Aug 20 10:24:55 Gomez kernel: usb.c: USB new device connect, assigned device number 2 Aug 20 10:24:58 Gomez kernel: usb_control/bulk_msg: timeout Aug 20 10:24:58 Gomez kernel: usb.c: USB device not accepting new address (error=-110) Aug 20 10:24:58 Gomez kernel: usb.c: USB new device connect, assigned device number -1 Aug 20
Re: [SLUG] Re: Linux Certification
Stuart Cooper wrote: If companies ever send you word documents, hunt around them with 'strings' or a binary editor like weekend-Coke and you can often find other information hidden in the structure, which I believe is a consequence of them using the 'quick save' function which sort of saves the undo stuff as well?? again, excuse the M$ ignorance. If you do find something, ring the company back and tease them with this secret knowledge. Tell them that there's a leak in their company, which is true enough. I always 'strings' any Werd dox sent to me, before bothering to fire up StarOffice. Usually, there's no real formatting that warrants the latter. And, oh yeah, the goodies one finds hidden inside *.DOC files! One I read contained a complete copy of confidential letter to another recipient. Must have been part of the undo buffer, when the write re-used the same file for the letter sent to me. When I told the offending party about it, panic mode! "Let's dump Word!" was the response. If only more people knew about this little privacy hole :^) -- Rick Welykochy || Praxis Services Pty Limited -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Modem Problem
No handshake or sound. The modem isn't activated at all. Thanks Richard Dave Kempe wrote: Try tail /var/log/messages that will tell you where pppd died a bit better. For a more interactive approach use a -f after that. I think your connect script is failing... Does the handshake finish properly and sound ok? dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Blackburn Sent: Monday, 21 August 2000 5:49 AM To: Sydney Linux Users Group Subject: [SLUG] Modem Problem Finally getting in back together after hardware headache. Had to reinstall RH6.2 (never denigrate backups). Now modem won't go. Says 'failed to activate with error 4'. What is error 4 or how to I find out? Thanks Richard -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Network card data
Hi, I have a couple of network cards that I would like to try out but have no data for. My searches this morning seem to turn up lots of leads but none seem to get me anywhere in the end. The first card is an Accton P/N: 142650-400 REV:01D which has a large chip marked MPXT 448AJ24391150 Almost certainly NE2000 (ne.o). Accton have a good web site, you should be able to get data and setup programs there. The second is from Racal-Datacom and carries a sticker on one side with the numbers 625-0331-01 REV AB and on the other side a sticker 620-0331-01 REV AB. The chip on this card is an AMD chip AM79C960KC lance.o -- This mail sent via NLC WebMail: http://www.nlc.net.au/ -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Newbie having troubles with Diald
On 21-Aug-2000 Lindsay McPhee wrote: Hi all, Please forgive if I have sent a message that is too long, but I thought in order to get the assistance required I needed to supply all available information. Quite right too, IMHO. I have installed Red Hat 6.1 and daild 0.99.4.[...] The problem: I can dial - with error messages - and login but I cant start PPP successfully!! If I use /sbin/ifup ppp0 I get all the way. So I figure it's to do with the connect script of the diald configuration. First off, how did you install diald? Did you build it from source yourself or install from an RPM somewhere? The reason I ask is the first collection of log messages: Aug 21 12:59:42 eric modprobe: can't locate module tap0 Aug 21 12:59:42 eric modprobe: can't locate module tap1 etc. Diald can be built to use ethertap or SLIP for monitoring traffic. However, ethertap isn't on the list of modules available with the stock kernel on this RH6.2 machine. Aug 21 12:59:46 eric diald[1513]: start sl0: SIOCSIFMETRIC: Operation not supported On the other hand, it does look as if something - and that SIOCSIFMETRIC messages is a classic diald hallmark - is using sl0 (SLIP). So maybe diald is falling back to SLIP after ethertap won't work, and all is OK after all. (Must check sources and see if it does that). Aug 21 12:59:46 eric diald[1513]: Calling site 192.168.1.9 Aug 21 12:59:47 eric connect: Initializing Modem Aug 21 12:59:48 eric connect: Dialing system Aug 21 13:00:15 eric connect: Connected Aug 21 13:00:15 eric connect: Loggin in Aug 21 13:00:16 eric connect: Protocol started Aug 21 13:00:16 eric diald[1513]: Connected to site 192.168.1.9 Aug 21 13:00:16 eric diald[1513]: Running pppd (pid = 1544). Aug 21 13:00:16 eric modprobe: can't locate module char-major-108 Aug 21 13:00:17 eric kernel: PPP: version 2.3.7 (demand dialling) Aug 21 13:00:17 eric kernel: PPP line discipline registered. Aug 21 13:00:17 eric kernel: registered device ppp0 Aug 21 13:00:17 eric pppd[1544]: pppd 2.3.10 started by root, uid 0 Aug 21 13:00:17 eric pppd[1544]: Using interface ppp0 Aug 21 13:00:17 eric pppd[1544]: Connect: ppp0 -- /dev/ttyS1 Aug 21 13:00:23 eric kernel: PPP BSD Compression module registered Aug 21 13:00:23 eric kernel: PPP Deflate Compression module registered Aug 21 13:00:24 eric pppd[1544]: local IP address 203.57.114.143 Aug 21 13:00:24 eric pppd[1544]: remote IP address 203.57.114.129 Aug 21 13:00:24 eric diald[1513]: New addresses: local 203.57.114.143, remote 203.57.114.129, broadcast 0.0.0.0 Aug 21 13:00:24 eric diald[1513]: start ppp0: SIOCSIFMETRIC: Operation not supported That all looks 100% OK. You can safely ignore the SIOCSIFMETRIC whingeing - this is stuff necessary for a 2.0 kernel but not required or supported by 2.2. My working diald produces them exactly as above. To be honest, it looks from the above as if diald is working fine. Diald doesn't start pppd until after the chat script has completed, so I don't think there is much wrong with that. And pppd is, from the above, connecting and starting the link OK. What does your routing table look like after starting diald and at that point? And if you're running X does dctrl think you're online, and can it see traffic passing? Oh, one more thought. What's in your /etc/ppp/options? Remember diald requires this to be pretty much empty. Though I have to confess that /sbin/ifup could run into similar trouble. On which subject, what's in /etc/sysconfig/network-scripts/chat-ppp (or wherever the pppd chat script is)? FWIW, I have found that authentication via PPP is a lot quicker than scripted login - my diald chat script exits just before # We're connected try to log in. message "Loggin in" -- Jim Hague - [EMAIL PROTECTED] (Work), [EMAIL PROTECTED] (Play) Never trust a computer you can't lift. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Re: questions... squid...
Of course... but with over 2000 clients... you sure that would be the best way... I think not, I'd sooner deny it and show error message stating please call service center :) -Original Message- From: Angus Lees [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Monday, 21 August 2000 5:34 Subject: [SLUG] Re: questions... squid... On Mon, Aug 21, 2000 at 04:49:26PM +1000, Michael Fox wrote: We have 50/50 spread of users who are using locked down browsers while another lot of users don't. The issue we are having is we want to identify those users who don't bypass the squid server for local addresses. surely the squid logs tell you that much? -- - Gus -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] And thou shalt drool...
Holy Cow! I think that this is gonna be one of the killer features of Helix. My only thought is - Is this not somewhat treading into Eazel's stated business plan? I seem to remember reading on their site that their main cash flow is scheduled to come from providing this sort of integrated upgrade etc service. Or will the two systems be tied/play nicely together? cheers Thom, who just got his working-holiday-visa-form-thingy from the Australian Embassy :-) At some point around Sat, Aug 19, 2000 at 06:15:08PM +1000, Jeff Waugh spaketh thusly: Comments? http://primates.helixcode.com/~vladimir/rc/ -- excuse the email software - i have not yet enlightened my coworkers -- -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- Thomas May Sys Admin, AMX Communications (T) +44 (0)20 7440 3955 (F) +44 (0)20 7613 5333 (E) [EMAIL PROTECTED] (W) http://www.amxstudios.com -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Emacs meta-key
I have Debian woody on one machine, and in Emacs the Alt key functions as the Meta-key. That's fine. I installed potato on another machine (without going through slink). The alt-key won't function as meta in Emacs on this one. I've used xev to check. Sure enough alt is there, but not for Emacs. I've looked in Jespersen's Emacs book; for this problem he suggests asking your system admin. Well that's me and I'm no help. I've googled the topic, and got one posting to the debian-users list with the same question but no follow-up in the thread! ___ A related question: The .Xresources seems to get ignored by emacs when it loads, even though netscape pays attention to the .Xresources file. ( I do the xrdb -merge .Xresources, btw). Any emacs users there? Nick. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] ISDN Info
Hi all, Following up on the ISDN thread - you can use the Telstra Home Highway with DOV (Data Over Voice) and a HiSAX DOV Compliant ISDN Card (NetJet-s from everything linux) for UNTIMED ISDN Calls. DOV places the data call over the voice channels in a similar way to a modem over PSTN. And as the home-highway local calls are 18c untimed... More info is available from the traverse site: http://www.traverse.com.au Cheers Jason. --- Jason Ball Electronic Commerce Specialist Corporate Express Australia Ltd Phone: +61 2 9335 0374 Fax: +61 2 9335 0753 Email: [EMAIL PROTECTED] -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] ISDN Info
On Mon, Aug 21, 2000 at 08:49:12PM +1000, [EMAIL PROTECTED] wrote: Hi all, Following up on the ISDN thread - you can use the Telstra Home Highway with DOV (Data Over Voice) and a HiSAX DOV Compliant ISDN Card (NetJet-s from everything linux) for UNTIMED ISDN Calls. DOV places the data call over the voice channels in a similar way to a modem over PSTN. And as the home-highway local calls are 18c untimed... More info is available from the traverse site: http://www.traverse.com.au Cheers Jason. You're ISP will have to do some configuration on their access servers before this works however. It's unlikely many of them will have this by default but this will probably change over time. Unless Telstra get their first and can the DOV loop hole. --- Jason Ball Electronic Commerce Specialist Corporate Express Australia Ltd Phone: +61 2 9335 0374 Fax: +61 2 9335 0753 Email: [EMAIL PROTECTED] -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- John -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Linux Certification
www.brainbench.com They have a series of exams on different subjects that you can do, and get a rating on. Not sure if they cost money not yet, though they will charge (i think they are still in beta)... ...though the first one will always be free... ;) later marty "I can't buy what I want because it's free. Can't be what they want because I'm me." - Corduroy, Pearl Jam -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Re: Keyboard repeat disable
On Mon, 21 Aug 2000, Angus Lees generated: On Wed, Aug 16, 2000 at 09:17:32AM +1000, Peter Vogel wrote: Is there a common way of diabling the repeat on an average PC-AT keyboard, from the keyboard? xset r off (at least under X) setterm -repeat off -- jamesw "We're like sisters... with really different hair!" -- Cordelia Chase, Buffy the Vampire Slayer -- [EMAIL PROTECTED] -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Re: Linux Certification
i see this as being a good way to test the employer. if they insist on a redhat (or some other) certification, and ignore whatever other work you have done, they probably aren't a good place to work. i guess i was thinking that certification would give me some confidence going into an interview (ie. that bit of paper works for me as well as the employer)... but that just comes down to me not using my skills in the real world enough, something that would make me more knowledgable and all also provide references to back up my skills... ditto goes for demanding CV's in word .doc, etc, etc do you think they would actually not take your CV it was .txt ?? if i was to interview you, i'd be much more interested in what you knew, understood and had done. most importantly - how well you can learn on your own. a certificate from one of these "courses" doesn't necessarily count for much. this is very reassuring... i just have to find more guinea pigs with the "trust me, i'll be gentle" line... ;) later marty "I can't buy what I want because it's free. Can't be what they want because I'm me." - Corduroy, Pearl Jam -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Linux Certification
Stephen Mills wrote: Ive done the RHCE - yes you must know RPM, I can't go into too much detail (or Redhat will give me a boot up the behind) but if you know your Linux very well, you shouldnt have much trouble RedHat will do WHAT? Reminds me of a couple of database vendors who refuse publication of benchmark results. "Hey, what's your Uni like?" "Pretty good. I can't tell you all that much about it though, I'll have my degree revoked." "That's a brilliant marketing tactic. Sucks that much, hey?" "I can't go into too much detail, but there *are* buildings there, and even rooms." - Jeff -- [EMAIL PROTECTED] --- http://linux.conf.au/ -- Ye shall be cursed to fall in love so easily, and yet be so cold of heart as never to express it. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Sendmail - email for virtual hosting
Hi folks, If Iconfigured the Sendmail on my server ( say: [EMAIL PROTECTED] ), canIconfigure the Sendmail to receive emails for virtual hostedsites on the same server, say : [EMAIL PROTECTED] and [EMAIL PROTECTED]? Thanks for the replies. Lewis
[SLUG] Someone buzzing me?
Hi, I've got a firewall set up to deny any external access apart from ssh, and also mail me if anybody tries to connect. Just had a couple of interesting emails: Subject: Port Denial noted in.telnetd-24.228.0.114 Date: Mon, 21 Aug 2000 22:58:10 +1000 From: root To: root [24.228.0.114] Login: archangel Name: Bob Smith Directory: /home/archangel Shell: /bin/bash On since Sat Aug 19 20:55 (EDT) on tty1 17 hours 29 minutes idle No mail. No Plan. (Then the same basic email repeated, but with different times). Telnetted to 24.228.0.114, and Bob Smith appears to be running RH 6.2. He seems to have just given me his IP and login name (assuming he's not coming from a cracked box), so maybe not a 1337 h40r. Just started a sniffer running, it's not showing any traffic from 24.228.0.114, so I assume he didn't get in or anything (and this is certainly not a trojaned sniffer). I'm just a little concerned because I didn't think that anybody outside the Sydney Uni intranet (which should show an IP of 10.x.x.x) would even be able to see my box - they've got their own firewall/proxy set up which should isolate any dial up connections to them, which is what I'm using. Anybody have any thoughts? (Apart from 'Go to bed you paranoid bastard' :-) Horribly tempted to nmap Bob Smith... -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Sendmail - email for virtual hosting
On Tue, Aug 22, 2000 at 11:37:35PM +1000, Mighty Dragon wrote: Hi, Hi folks, If I configured the Sendmail on my server ( say: [EMAIL PROTECTED] ), can I configure the Sendmail to receive emails for virtual hosted sites on the same server, say : [EMAIL PROTECTED] and [EMAIL PROTECTED] ? Thanks for the replies. you have to edit your sendmail.mc add the following line to your std.mc FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable') generate you new cf file m4 std.mc std.cf edit your /etc/mail/virtusertable looks like this: virtual account local-mailbox account [EMAIL PROTECTED] usr1 [EMAIL PROTECTED] usr2 generate the db-File makemap hash /etc/mail/virtusertable.db /etc/mail/virtusertable restart sendmail P.S. dont forget to put the domainnames to local-host-names / Sendmail 8.11.0 or sendmail.cw 8.10.0 amu -- Lat: 39 55 N Long: 32 50 E -- Public-gpg-Key: http://tr.debian.net/amu/amu.key -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Someone buzzing me?
Alexander Else wrote: Do it. You know you want to. and Marty Richards wrote: Go ahead and NMAP him - fastest way to guess if its a cracked box or not... (You evil h40rs... :-) I had a closer look - seems to be at least 7 potential ways into the machine, including port 513 login, and port 514 shell, which look strange to me (these are the services reported on those ports - is this guy running a shell as a service?!?). Looks like a box just asking to be cracked, and perhaps has been. Anyway, I'm going to bed, will investigate more tomorrow. Any advice welcome - particularly ideas as to how this got past the Sydney Uni firewall, they'd probably like to hear about it. Tom -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Senator Alston, The Copyright Act, DVD...
Hi, Might Senator Alston's spokesperson like to emerge from the shadows and own up to their comments in the following news report: http://www.msnbc.com/news/448215.asp?0nm=T19M "However, a spokesperson for minister responsible for IT, Senator Richard Alston, told ZDNet Australia that the new legislation would definitely mean that the [2600 Australia] Web site would be in breach of Australian copyright laws now. It has specific provisions in the legislation for anybody who promotes breach of copyright in. manufacturing and/or commercial dealings in decoding devices, the spokesperson said." This person obviously didn't do their research very well... 2600 Australia links to the software on another site under the title "DVD for all operating systems", linking to the code itself, the OpenDVD project and the LiViD project (LiViD = Linux Video). 2600 Australia has no connection with 2600 Magazine in the USA except in name and that we hold open, public meetings each month in capital cities around the country. 2600 Australia is not an incorporated organisation. Wiretapped.net, the site hosting the code, is a small non-incorporated group of people that carry out security and cryptography research as well as host a 10Gb site of security, cryptography and privacy-enhancing software. This site is accessible at www.wiretapped.net I would advise Senator Alston's representative to visit it. Neither site purports to be a manufacturer of such code nor is either site a commercial operation (they both cost us money, in fact). Last time I personally checked, there were no provisions in law preventing linking to code assisting in the development of products made for the purpose of interoperability nor hosting it when there is a legitimate exemption for either security, cryptography or, as is additionally the case here, purposes of interoperability. Given it seems the Government through lack of research is on the side of the US Motion Picture houses and those that seek to limit the reach of free and open operating systems (Linux, BSD), might I ask that legal representatives from any law firm experienced in such things and willing to challenge a law that places itself at odds with the increasingly popular open-source movement contact me by email at [EMAIL PROTECTED] I'd appreciate your thoughts on this matter and pro-bono assistance if either of the sites I play a part in is asked to remove the code at some point. Grant Bayley 2600 Australia AND Wiretapped --- Grant Bayley [EMAIL PROTECTED] -Admin @ AusMac Archive, Wiretapped.net, 2600 Australia www.ausmac.net www.wiretapped.net www.2600.org.au --- -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Re: Emacs meta-key
On Mon, Aug 21, 2000 at 08:19:22PM +1000, Nick Croft wrote: I installed potato on another machine (without going through slink). The alt-key won't function as meta in Emacs on this one. I've used xev to check. Sure enough alt is there, but not for Emacs. if you've told the X setup that you have a 104 keyboard, the windows key is now your meta key (see, they *are* useful for something) A related question: The .Xresources seems to get ignored by emacs when it loads, even though netscape pays attention to the .Xresources file. ( I do the xrdb -merge .Xresources, btw). what resources in particular? -- - Gus -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
RE: [SLUG] Copyright Amendment
From: Roland Turner [mailto:[EMAIL PROTECTED]] John Wiltshire wrote: Is it just me or has anyone else noticed that the Copyright Amendment Act currently back in the Senate has some relevance on the DeCSS / LiViD work inside Australia. I've not yet figured out whether it expressly permits Open Sorce DVDs on Linux or denys it. Does anyone else have any idea? http://search.aph.gov.au/search/ParlInfo.ASP?Folder=BILLSCrite ria=bill_id:r910;seq_num:0;action=bookmark APH's search engine is a crock (it has sessions intrinsic to its URLs). Can you tell us what search string you used to get to it? Sure - 'Copyright Amendment'. Title of the bill is 'Copyright Amendment (Digital Agenda) Bill 2000' I tried very hard to get a URL without any of the session junk in it but I guess I failed. John Wiltshire -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Re: Linux Certification
i see this as being a good way to test the employer. if they insist on a redhat (or some other) certification, and ignore whatever other work you have done, they probably aren't a good place to work. i guess i was thinking that certification would give me some confidence going into an interview (ie. that bit of paper works for me as well as the employer)... but that just comes down to me not using my skills in the real world enough, something that would make me more knowledgable and all also provide references to back up my skills... ditto goes for demanding CV's in word .doc, etc, etc do you think they would actually not take your CV it was .txt ?? Definately not! Having just been in the position of advertising for a position (which was for a Linux job), I was amazed that out of the 13 replies, 11 sent word files, 1 sent a text file and 1 just sent a link to their web page which contained their CV. The people sending .doc files were definately at a disadvantage, however the format of their CV was not the determining factor in choosing who got the job. Cheers, Benno -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
RE: [SLUG] Copyright Amendment
On Mon, 21 Aug 2000 15:41:08 +1000, Conrad Parker [EMAIL PROTECTED] wrote: IANAL It appears to be quite like [my impression, via slashdot, of] the DMCA -- not that that answers John's question. For example: Objective (a)(ii) is to "ensure the efficient operation of relevant industries in the online environment by ... providing a practical enforcement regime for copyright owners"; but Objective (c) is to "provide reasonable access and certainty for end users of copyrighted material online". _Without_ the 'online' bit, it would seem that choosing to use free software for the viewing of DVDs would be reasonable. The definitions of "circumvention device" and "technological protection measure" are interesting. Weak "scrambling" would be covered by law as such a protection measure (I take it it isn't now), and "any device (including a computer program)" having limited or no use "other than circumvention, or facilitating the circumvention, of" it would be illegal -- which sounds very much like what we hear of the DMCA. [snip] /IANAL The piece I found interesting (and more vague than the rest) was: 116A (4) This section does not apply in relation to the making or importing of a circumvention device: (a) for use only for a permitted purpose relating to a work or other subject-matter that is not readily available in a form that is not protected by a technological protection measure... Now, IANAL, but it seems fairly clear to me that you aren't making a "circumvention device" if you are just making a DVD viewer. That makes LiViD somewhat ok, but it may be more difficult to argue that DeCSS is ok. Section 15B defines a "technological protection measure" as means a device or product, or a component incorporated into a process, that is designed, in the ordinary course of its operation, to prevent or inhibit the infringement of copyright in a work or other subject-matter by either or both of the following means: (a) by ensuring that access to the work or other subject matter is available solely by use of an access code or process (including decryption, unscrambling or other transformation of the work or other subject-matter) with the authority of the owner or licensee of the copyright; (b) through a copy control mechanism. I think it is fairly certain CSS will fall squarely under definition (a) even though it is really a distribution control mechanism and not a copyright protection mechanism. Of course, designing a mechanism to get around the region coding probably falls easily under the exclusion listed in 116A above because if you buy the work from the USA then you have the right to watch it (as far as I can tell). It all gets very hard and unfortunately the movie industry has more money for lawyers than the rest of us. John Wiltshire -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Re: Linux Certification
The people sending .doc files were definately at a disadvantage, however the format of their CV was not the determining factor in choosing who got the job. But you're a well-informed engineer type. :) The only little addition that I'd make is that - when dealing with *pimps* (not directly with employers) - regardless of the *format* of the document - a *document* generally must be sent to all pimps. A link generally doesn't suffice, as most pimps take your document and stuff it into a database of sorts. Needless to say, a web-based CV would cause the majority of pimps a huge technical headache to (oh my gosh!) .. download it and save the file somewhere. You'll also find that most pimps do simple pattern matching on their CV databases for their "recruiters" to make the initial contact with you (which is why in some cases you get calls by people who ask you if you know ASC2 format or a programming language called TCP/IP). //umar. PhD. Pimpology and Contractorism (U.N.S.W.) -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
RE: [SLUG] Re: Linux Certification
The people sending .doc files were definately at a disadvantage, however the format of their CV was not the determining factor in choosing who got the job. Last week I sent my resume to an agency for a position in .txt form, and they didn't know how to open it. I had to resend in .doc. --Steve -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
RE: [SLUG] Re: Linux Certification
On Tue, 22 Aug 2000, Stephen Mills wrote: The people sending .doc files were definately at a disadvantage, however the format of their CV was not the determining factor in choosing who got the job. Last week I sent my resume to an agency for a position in .txt form, and they didn't know how to open it. I had to resend in .doc. If anyone ever asks you for a .doc file, just create your usual text file, give it a .doc extension (and MIME attribute if you have to) and just send it like that. Works for me. rachel (didn't we have this thread about 3 months ago?) Rachel Polanskis University of Western Sydney, Nepean Senior UNIX AdminPO Box 10, Kingswood NSW 2747 Systems OperationsInformation Technology Services, Kingswood [EMAIL PROTECTED]Phone: +61 (0247) 360 291 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
RE: [SLUG] Linux Certification
Who knows, "bad stuff" (revoke your quals?)- they make you sign a contract not to disclose the exam, I guess to protect its integrity, I personally think its a good idea, keeps the playing field equal. We all know that MCSE exams aren't based on real life stuff, I bet more then half don't know how to recover a BSOD on startup without reinstalling in situations where it wouldnt be necessary. --Stephen Stephen Mills wrote: Ive done the RHCE - yes you must know RPM, I can't go into too much detail (or Redhat will give me a boot up the behind) but if you know your Linux very well, you shouldnt have much trouble RedHat will do WHAT? Reminds me of a couple of database vendors who refuse publication of benchmark results. snip - Jeff -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Re: Linux Certification
Umar Goldeli wrote: doesn't suffice, as most pimps take your document and stuff it into a database of sorts. Har, har, har. You are definitely dealing with a better class of pimp than I am. Database? What database? I regularly have different pimps from the same company ring me up one day after another asking the same questions (different position). This usally occurs right after the weekend call to "update my listing" http://www.techstreet.com.au is highly recommended for contractors and employers a like. Also allows permanent positions as well. -- Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861 email: [EMAIL PROTECTED] www: http://www.woa.com.au or [EMAIL PROTECTED] WOA Computer Services lan/wan, linux/unix, novell snail: PO Box 1047, Campbelltown, NSW 2560. "People without trees are like fish without clean water" -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Select and kill running process
Hello Sluggers list process | grep desired-process | kill desired-process Can someone tell me the format of the last part? ps axf | grep process | kill -9 "process???" -- Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861 email: [EMAIL PROTECTED] www: http://www.woa.com.au or [EMAIL PROTECTED] WOA Computer Services lan/wan, linux/unix, novell snail: PO Box 1047, Campbelltown, NSW 2560. "People without trees are like fish without clean water" -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Select and kill running process
Hi Terry! On Tue, 22 Aug 2000, Terry Collins wrote: Hello Sluggers list process | grep desired-process | kill desired-process Can someone tell me the format of the last part? ps axf | grep process | kill -9 "process???" ps axf | grep netscape | sed s/^\ *// | cut -f1 -d" " | xargs kill -9 seems to work for me. kill takes the PID afaik, which is the first argument of ps axf. The pid is right justified so I strip the spaces off the front, and then use cut to get the first field (being the PID). This works, _BUT_ I'm sure there is another (probably better) way of doing it. Cheers, Benno -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Select and kill running process
On Tue, Aug 22, 2000 at 09:50:25AM +1000, Terry Collins wrote: list process | grep desired-process | kill desired-process Can someone tell me the format of the last part? ps axf | grep process | kill -9 "process???" If they are all 5 digit pids, you can use ps axf | grep process | cut -d' ' -f1 | xargs kill For 4 digit pids, you need to use -f2 in the cut. Cheers, Malcolm -- Malcolm Tredinnickemail: [EMAIL PROTECTED] CommSecure Pty Ltd PGP signature
Re: [SLUG] Select and kill running process
Hello Sluggers list process | grep desired-process | kill desired-process Can someone tell me the format of the last part? ps axf | grep process | kill -9 "process???" Others have presentented you with some clever shell/perl/awk/backtick ways of doing this. More convenient for me is a command called "killall" which does this stuff for you; it's part of a package called 'psmisc' on my system, psmisc also contains the useful fuser and pstree commands. $ killall netscape-communicator $ killall -9 netscape-communicator Hope this helps, Stuart. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Select and kill running process
Slightly simplified version is: ps -uaxw|grep process|awk '{print $2}'|xargs kill -9 (adjust $2 with regards to the args on ps) //umar. seems to work for me. kill takes the PID afaik, which is the first argument of ps axf. The pid is right justified so I strip the spaces off the front, and then use cut to get the first field (being the PID). This works, _BUT_ I'm sure there is another (probably better) way of doing it. Cheers, Benno -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Print server under SAMBA
Hi, I want to use my parellel printer on the network. I have a spare computer, that will be dedicated to run this printer. I can already print under Linux from the attached computer. I have installed RedHat on this computer and now I want to make its printer available to everyone on the network. What is the simplest smb.conf, that will do this job? I seem to have trouble opening samba enough for people to use the printer. Your help is, as usual, appreciated. Bernhard -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Select and kill running process
Just don't try it on Solaris. :) ( yes there is a killall, but it kills.. *ALL* ) $grin$ //umar. $ killall netscape-communicator $ killall -9 netscape-communicator -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Re: Emacs meta-key
On Tue, 22 Aug 2000, Angus Lees wrote: if you've told the X setup that you have a 104 keyboard, the windows key is now your meta key (see, they *are* useful for something) I'll give it a go when I get to work. That machine isn't hooked up to the net yet. A related question: The .Xresources seems to get ignored by emacs when it loads, even though netscape pays attention to the .Xresources file. ( I do the xrdb -merge .Xresources, btw). what resources in particular? emacs.font:fixed emacs.foreground:Wheat emacs.background:DarkSlateGray emacs.pointerColor:Azure emacs.cursorColor:Yellow I want to use the good old colour schem which I got used to on rh. Debian uses that scheme in gvim. It may be a bit trivial, but I find it soothing on the eyes as opposed to black and white. Thanks for your help Angus, I'll try that windows key at work. Nick -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Copyright Amendment
On Tue, Aug 22, 2000 at 08:36:41AM +1000, John Wiltshire wrote: On Mon, 21 Aug 2000 15:41:08 +1000, Conrad Parker [EMAIL PROTECTED] wrote: [snip - Conrad's comment on the act] The piece I found interesting (and more vague than the rest) was: [snip - John's comment on the act] I think it is fairly certain CSS will fall squarely under definition (a) even though it is really a distribution control mechanism and not a copyright protection mechanism. Of course, designing a mechanism to get around the region coding probably falls easily under the exclusion listed in 116A above because if you buy the work from the USA then you have the right to watch it (as far as I can tell). It all gets very hard and unfortunately the movie industry has more money for lawyers than the rest of us. This seems an oppurtune time for me to bound in and mention a `Linux Task Force'. Conrad and I envisage this as a group which would do submissions at Govt meetings, convince organisation (like Telstra, banks, the ATO, etc.) that Linux is worth supporting. We want to try and make it organised and easy to assimilate everyone ( but without the cool implants :-/ ) so if you are interested drop us a line. Thanks, Anand -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
RE: [SLUG] Select and kill running process
This command is so dangerous if you work with other OS's... like Unixware, AIX, Solaris etc killall does that!! Kills all. $ killall netscape-communicator $ killall -9 netscape-communicator Hope this helps, Stuart. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Select and kill running process
This command is so dangerous if you work with other OS's... like Unixware, AIX, Solaris etc killall does that!! Kills all. ...including the process you wanted to kill in the first place :) This reminds me of answers to an editor quiz, assume vi without loss of generality. For each question, assume you begin at position 1 of line 1 Q1: How do you delete line 10 of the file? Answer: dG Q2: How do you delete line 15 through to line 20 of the file? Answer: dG ...and so it went on. From the linux killall manpage KNOWN BUGS section: Be warned that typing killall name may not have the desired effect on non-Linux systems, especially when done by a privileged user. for large values of 'may not'! The choice of the name 'killall' for the Linux version was unfortunate. Maybe 'killbyname' would have been better (the original, natural kill could be aliased to 'killbynature'). I used to carry a shell script similar to the ps|awkish answers others have posted which I called 'namedkill' to kill processes by name not by process id. Stuart. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Select and kill running process
On Tue, Aug 22, 2000 at 10:30:14AM +1000, Umar Goldeli ([EMAIL PROTECTED]) wrote: Just don't try it on Solaris. :) ( yes there is a killall, but it kills.. *ALL* ) $grin$ Yep. I remember the first time I used it on a Solaris box .. You should have seen the SURPRISE ON MY FACE the box (a REAL BIG server!!!) was shutting down and I couldnt do a THING to warn ALL the users on(connected to) that machine . It does make sense to have "killall squid" or "killall xterm" or something like that to have ALL processes by THAT name killed. But it does make sense to have "killall" as well. What surprised me that there was NO warning aka "Do you really want to do this". Nope. Nothing. Zilch. Zero. Null. The box just went blank (and so did my face). It is funny now, but not at that time. $grin$! Jobst -- Rule number six: No pooftahs. |__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director| | _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L | |-(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia| -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] multihomed machine.
Can I have two IP Addresses on one machine, a registered 203.n.n.n and a private 10.10.n.n for example? you can bind multiple IP addresses to a single card... eg if eth0 is your card, then the first ifconfig command uses "dev eth0" the second "dev eth0:0" the third "dev eth0:1" etc. etc. but, i can't see why you would want to bind one routable and one unroutable address to the one card... :-? later marty "I can't buy what I want because it's free. Can't be what they want because I'm me." - Corduroy, Pearl Jam -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Easy shell scripting question
I'm sure this is easy but U'm having a big mental blank when I try to do it. I have a variable in a shell script (#!/bin/sh) which is a number representing a month. It has a 0 in the front if it is less than ten (ie: July is 07) but I need to remove that leading zero. How can I do this? - Doug -- _ Network Operations Engineer - Big Pond Advance Satellite Ericsson Australia - Level 5, 184 The Broadway, Sydney 2000 Ph: +61-416-085-390 Email: [EMAIL PROTECTED] -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] multihomed machine.
You need to have your kernel configured to support IP aliasing. See /usr/src/linux/Documentation/networking/alias.txt for more info. there's a mini how-to as well... "IP Aliasing" later marty "I can't buy what I want because it's free. Can't be what they want because I'm me." - Corduroy, Pearl Jam -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Easy shell scripting question
On Tue, Aug 22, 2000 at 12:36:51PM +1000, Doug Stalker wrote: I'm sure this is easy but U'm having a big mental blank when I try to do it. I have a variable in a shell script (#!/bin/sh) which is a number representing a month. It has a 0 in the front if it is less than ten (ie: July is 07) but I need to remove that leading zero. How can I do this? newmonth = `echo $oldmonth | sed -e 's/0\([1-9]\)/\1/'` - Doug -- _ Network Operations Engineer - Big Pond Advance Satellite Ericsson Australia - Level 5, 184 The Broadway, Sydney 2000 Ph: +61-416-085-390 Email: [EMAIL PROTECTED] -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- John -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Easy shell scripting question
On Tue, 22 Aug 2000, CaT wrote: On Tue, Aug 22, 2000 at 12:49:08PM +1000, John Ferlito wrote: On Tue, Aug 22, 2000 at 12:36:51PM +1000, Doug Stalker wrote: I'm sure this is easy but U'm having a big mental blank when I try to do it. I have a variable in a shell script (#!/bin/sh) which is a number representing a month. It has a 0 in the front if it is less than ten (ie: July is 07) but I need to remove that leading zero. How can I do this? newmonth = `echo $oldmonth | sed -e 's/0\([1-9]\)/\1/'` Hmmm... newmonth = `echo $oldmonth | sed -e 's/^0//'` or how about using Arithmetic Expansion: % oldmonth='07' % echo $oldmonth 07 % echo $((oldmonth)) 7 -- Jim. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Easy shell scripting question
On Tue, Aug 22, 2000 at 12:36:51PM +1000, Doug Stalker wrote: I have a variable in a shell script (#!/bin/sh) which is a number representing a month. It has a 0 in the front if it is less than ten (ie: July is 07) but I need to remove that leading zero. How can I do this? I'm not sure how important portability is here, but if you are on a linux system then /bin/sh is linked to /bin/bash. In bash you can do this as: oldmonth='07' echo ${oldmonth#'0'} The ${A#B} construct removes the shortest part of pattern B from the front of $A (and ${A##B} removes the longest part). This has to have lower overhead than the calls to sed that others have been posting. :-) Cheers, Malcolm -- Malcolm Tredinnickemail: [EMAIL PROTECTED] CommSecure Pty Ltd PGP signature
[SLUG] sed help please
This is an example of a script I am trying to put together: #!/bin/sh PATH=/bin:/sbin:/usr/bin:/usr/sbin . /etc/site-params sed -e 's/CHARS/$CHARS/g' this.file Line 3 puts the variable CHARS into the local environment. What I then want the sed to do is to run thru this.file and replace all occurences of the string CHARS with the value of the variable $CHARS. All it achieves though is to replace the string CHARS with the string $CHARS, which is not what I want. Can someone please suggest (politely) what I should do here. -- Howard. __ LANNet Computing Associates http://www.lannet.com.au -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] multihomed machine.
Firstly thanks to everyone who answered :) but, i can't see why you would want to bind one routable and one unroutable address to the one card... :-? Well I have run short of IP Addresses, I only have a measly C Class, and need more, so I am going to make a private range, existing on the same ethernet segment, NAT'd or Squid'ed (haven't decided) to the registered addresses, including internet. The NAT/squid machine is the one with the two ip addresses obviously. This will also allow me some control over what they access, as some will only have access to one webserver. Now that I think about it I could multihome the webserver as well (AIX) but I don't think I want to go that way. Our internet router won't route any of the 10.10.n.n packets. Any flaws in my plan? Brock Henry At 12:24 22/08/2000 +1000, you wrote: Can I have two IP Addresses on one machine, a registered 203.n.n.n and a private 10.10.n.n for example? but, i can't see why you would want to bind one routable and one unroutable address to the one card... :-? * Brock Henry - [EMAIL PROTECTED] (H) - [EMAIL PROTECTED] (W) Adventure? Excitement? A Jedi craves not these things. * -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] sed help please
On Tue, Aug 22, 2000 at 01:11:48PM +1000, Howard Lowndes wrote: This is an example of a script I am trying to put together: #!/bin/sh PATH=/bin:/sbin:/usr/bin:/usr/sbin . /etc/site-params sed -e 's/CHARS/$CHARS/g' this.file try sed -e "s/CHARS/$CHARS/g" this.file If you use single quotes you don't get variable interpolation. -- John -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Redirecting mail in /var/spool/mail/username
I have a user with 100 messages sitting in /var/spool/mail/username. I'd like to redirect the mail in that mailbox to another user, on another mail system. Is there anyway to move all messages in their mailbox to another external email address? Thanks, Jarrod. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] sed help please
#!/bin/sh PATH=/bin:/sbin:/usr/bin:/usr/sbin . /etc/site-params sed -e 's/CHARS/$CHARS/g' this.file All it achieves though is to replace the string CHARS with the string $CHARS, which is not what I want. This is where the difference between " and ' matters. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] sed help please
On Tue, 22 Aug 2000, Howard Lowndes wrote: This is an example of a script I am trying to put together: #!/bin/sh PATH=/bin:/sbin:/usr/bin:/usr/sbin . /etc/site-params ssed -e 's/CHARS/$CHARS/g' this.file $CHARS is not being expanded when enclosed within single quotes. try: sed -e "s?CHARS?$CHARS?g" -- Jim -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
RE: [SLUG] multihomed machine.
I would (as I have at work) add 2 physical NICS as it's cheap and fully firewalls the internal from the external. Having 1 network card means that if not setup properly, people can NAT through the router whithout going through Squid or whatever. I'm pretty sure your router should be able to do NAT (unless it's real cheap or old or something). Also my advice with Squid is to compile it yourself if you intend to do bandwidth control and so on... I had to scrap my RPM and go with tha tar.gz verion. -Original Message- From: Brock Henry [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 22 August 2000 1:07 To: [EMAIL PROTECTED] Subject: Re: [SLUG] multihomed machine. Firstly thanks to everyone who answered :) but, i can't see why you would want to bind one routable and one unroutable address to the one card... :-? Well I have run short of IP Addresses, I only have a measly C Class, and need more, so I am going to make a private range, existing on the same ethernet segment, NAT'd or Squid'ed (haven't decided) to the registered addresses, including internet. The NAT/squid machine is the one with the two ip addresses obviously. This will also allow me some control over what they access, as some will only have access to one webserver. Now that I think about it I could multihome the webserver as well (AIX) but I don't think I want to go that way. Our internet router won't route any of the 10.10.n.n packets. Any flaws in my plan? Brock Henry At 12:24 22/08/2000 +1000, you wrote: Can I have two IP Addresses on one machine, a registered 203.n.n.n and a private 10.10.n.n for example? but, i can't see why you would want to bind one routable and one unroutable address to the one card... :-? * Brock Henry - [EMAIL PROTECTED] (H) - [EMAIL PROTECTED] (W) Adventure? Excitement? A Jedi craves not these things. * -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] multihomed machine.
but, i can't see why you would want to bind one routable and one unroutable address to the one card... :-? Well I have run short of IP Addresses, I only have a measly C Class, and need more, so I am going to make a private range, existing on the same ethernet segment, NAT'd or Squid'ed (haven't decided) to the registered addresses, including internet. The NAT/squid machine is the one with the two ip addresses obviously. ahhh... i have it figured... you need a second IP for whatever is performing NAT and squid to listen to, and seeing as it won't need to be visible to the routable internet, you might as well not waste a routable IP... I should put my brain in gear more often... ;) later marty "I can't buy what I want because it's free. Can't be what they want because I'm me." - Corduroy, Pearl Jam -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Redirecting mail in /var/spool/mail/username
On Tue, Aug 22, 2000 at 01:22:56PM +1000, MacFarlane, Jarrod ([EMAIL PROTECTED]) wrote: I have a user with 100 messages sitting in /var/spool/mail/username. I'd like to redirect the mail in that mailbox to another user, on another mail system. Is there anyway to move all messages in their mailbox to another external email address? That depends on your setup. If you have sendmail you could set an alias in the "aliases" file of your system, depending of your version it will be located in /etc/mail if sendmail_version 8.10 and in /etc if sendmail version = 8.9.X: username: [EMAIL PROTECTED] or alternatively you could put a ".forward" file in the users home dir with the address pointing at the new mailbox. sources: man sendmail man aliases /usr/doc/sendmail-X.X.X /usr/lib/sendmail-cf jobst -- Hoju Keyboard solo! skskskskskskskskskskskskskskskskskskskskksksksksks |__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director| | _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L | |-(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia| -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Linux Certification
It would be like all these Microsoft MSCE people. How many of them know anything about Windows' application design? Or even just the registry structure? (Is there a registry structure? :P) But seriously, even though one could argue, "But why would they need to know that?", I don't think you deserve a certificate of creditation for anything less than that. You should be expected to know at least a bit of everything. Let me tell you an MCSE (Must Consult Someone Educated) tale; I was contracting for United Distillers (great place to get cheap "samples" !!) doing their Y2K testing and, because of total mismanagement of the project by their IT director, we were grossly behind. No problem, he says, get a few temps to help you... Better still, I'll get them for you. So I get A B. "A" was a nice, friendly, personable (and not unattractive, but that's inconsequential) Uni student doing her B.Sc(IT) part time - yes, made mistakes and needed hand-holding, but could get the job done and wasn't afraid to ask questions if she was unsure. "B" was a "certified MCSE", bla, bla, bla. Not only did he try to take over the project by telling management that he was more qualified than me (he was, hell - I'm an ex-Lawyer !!), but he showed his total ignorance in two ways. Firstly, he had absolutely NO idea how to turn off the EvilWare95 "splash screen" to see what was going on behind it (you hit ESCAPE) - claimed that " they didn't teach us such trivia at MS...". Secondly, being the suspicious bastard that I am, I set him up with a problem - NT4 workstation would boot to the command prompt only. No, we MUST save the data on this drive, so you cannot reinstall NT. He spend 2 days on it and gave up, saying that a full reinstall was needed. When all that was needed was to change the BOOTGUI=0 to BOOTGUI=1 in the (scratches head) boot.ini file (file might be wrong). Again, claimed that they didn't teach anything like this. In the example above (A and B), I was asked to recommend one of them to an affiliated company as an IT desktop support person - guess which one got the job ? These are the sorts of things that Cisco will do to you when doing a CCNA/CCIE course - goodies like sticking a pin through yout CAT5 cable to create a short, then trimming off the ends so you have to FEEL for it. The point is, are these certification courses really worth it ? Both in terms of money spend (I believe some of the linux ones are bloody expensive), but in terms of industry recodnition ? The CISCO ones certainly are comprehensive (my boss is sending me for my CCNA this year, and allowing me to upgrade to a CCIE at the company's expense next year if I want to (I WANT !!! I WANT !!!), but the Linux ones ? Are any of them recognised, not only bt the IT industry, but by recruitment agencies / contractors ? Will the RHCE or any "generic" course teach you how to use one distro, how to use tools that are not common across 90% of the distros ? The MCSE, (which my company is trying hard to talk me into doing and I'm trying with equal assertiveness to avoid !) teaches you to pass a set of exams - it teaches you little of "real world experience" that would be useful to a potential employer. You are taught, not to use "experience", "intuition" or other resources to solve the problem, but "... to do things the Microsoft way...", that there can only be ONE solution to a problem with MS products, and that's the Microsoft-approved one (and God help anyone who questions this or trys to do things an "unapproved" way during the course / exams). /rant off Just my $0.022 worth (includes GST !!) -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Redirecting mail in /var/spool/mail/username
I have a user with 100 messages sitting in /var/spool/mail/username. I'd like to redirect the mail in that mailbox to another user, on another mail system. Is there anyway to move all messages in their mailbox to another external email address? check out formail (man formail)... it can break up the mbox format into individual messages... also, if you have the july LJ lying around, check out the bottom of page 12 for where i learnt about this tool... :) later marty "I can't buy what I want because it's free. Can't be what they want because I'm me." - Corduroy, Pearl Jam -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
RE: [SLUG] Redirecting mail in /var/spool/mail/username
His problem is that the mails have arrived already and the person who owns it probably doesn't work there anymore or has requested it forwarded to another account. Like I said direclty to him, probably a POP3 will be the trick unless someone can strip out the mail file into seperate emails files and send them one by one -Original Message- From: Jobst Schmalenbach [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 22 August 2000 1:34 To: '[EMAIL PROTECTED]' Subject: Re: [SLUG] Redirecting mail in /var/spool/mail/username On Tue, Aug 22, 2000 at 01:22:56PM +1000, MacFarlane, Jarrod ([EMAIL PROTECTED]) wrote: I have a user with 100 messages sitting in /var/spool/mail/username. I'd like to redirect the mail in that mailbox to another user, on another mail system. Is there anyway to move all messages in their mailbox to another external email address? That depends on your setup. If you have sendmail you could set an alias in the "aliases" file of your system, depending of your version it will be located in /etc/mail if sendmail_version 8.10 and in /etc if sendmail version = 8.9.X: username: [EMAIL PROTECTED] or alternatively you could put a ".forward" file in the users home dir with the address pointing at the new mailbox. sources: man sendmail man aliases /usr/doc/sendmail-X.X.X /usr/lib/sendmail-cf jobst -- Hoju Keyboard solo! skskskskskskskskskskskskskskskskskskskskksksksksks |__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director| | _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L | |-(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia| -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Linux Certification
On Tue, 22 Aug 2000, Jon Biddell wrote: [...Must Consult Someone Experienced tale of woe deleted...] The point is, are these certification courses really worth it ? Both in terms of money spend (I believe some of the linux ones are bloody expensive), but in terms of industry recodnition ? The CISCO ones certainly are comprehensive (my boss is sending me for my CCNA this year, and allowing me to upgrade to a CCIE at the company's expense The MCSE is the laughing stock of the IT world - the only people who insist on it are certified Microsoft shops - everyone else is happy if you know enough of troubleshooting. The Csico courses are, IMHO, definitely worth it - the CCNA you can get by reading a good book {just}, the CCNP you haven't got a hope {you've got to have hands on experience}, and the CCIE - forget it. If you haven't lived, beathed and eaten Cisco for 18 months, don't even try. It's up to us, in a way, to ensure that Linux certifications don't fall into the same class as the MCSE - by refusing to deal with any one of them which gets to a similar point - in other words, anyone which you can pass by just lobbing in off the street, doing the training, reading the books and taking the exam - without the benefit of any experience at all. How are we going to make that happen? Good question. Anyone from RedHat listening? DAZZa -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Interesting Keystrokes
Are these key console key strokes documented anywhere ? control Scroll Lock - seems to process memory utilization shift Scroll Lock - appears to give memory buffer summaries System is a RH6.0 system on any console. PW -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Re: Emacs meta-key
You guys on this list are amazing. Thanks Angus, the windows key is the go on the machine at work. And Conrad, I'll put that to use shortly, and apt-get editres. I tried getting some help with a mac question recently. Looked for a mailing list. Found one advertised in Sydney (on the archive-mac site). Submitted my subscribe message. Nothing. No archives. It's a hoax. Macs don't have problems, apparently. Or many uses for that matter. Reminds me of the operating systems running the airlines story. Nick -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] sed help please
On Tue, 22 Aug 2000, you wrote: ; $CHARS is not being expanded when enclosed within single quotes. ; ; try: ; sed -e "s?CHARS?$CHARS?g" firstly, you don't need the -e. good point. secondly, there's no need for an alternate pattern/replacement seperator, sed is smart enough to recognise that when '$' is followed by something, it doesn't denote end of line. this I know. But if the result of the variable expansion contains the pattern/replacement seperator, the script will break (ie., if $CHARS='foo/bar', "s/CHARS/$CHARS/g" fails). -- Jim. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Linux Certification
Terry Collins wrote: If you are looking for work, then in general, then certification (any certification) will get you looked at ahead of a person without certification. Rings true... a friend of mine in the US repeats the mantra with new glee... BA/BSc: Five years, thousands of hours and a debt to the government CNE: Many $1000's of dollars and a great deal of pain MSCE: Many $1000's of dollars and a great deal of pain CCNE: Many $1000's of dollars RHCE: Many $1000's of dollars (at RedHat no less!) Copy of Debian in his briefcase and on every server? Priceless. - Jeff -- [EMAIL PROTECTED] --- http://linux.conf.au/ -- Ye shall be cursed to fall in love so easily, and yet be so cold of heart as never to express it. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] sed help please
Yes, the s/'/"/g was an error, but the true problem was that there was a "/" character in one of the variables being substituted in and the regexp was getting confused over that. This is why it's important to report the exact problem. If you had had an extra / in the s command, sed would have said something like bad expression. If the problem had been 's you would have had $CHAR all over the output. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Redirecting mail in /var/spool/mail/username
On Tue, 22 Aug 2000, George Vieira generated: Like I said direclty to him, probably a POP3 will be the trick unless someone can strip out the mail file into seperate emails files and send them one by one formail /var/spool/mail/user | mail user@newdomail That might munge headers though. Or just ftp them a gzipped version of the mail file and tell them to formail | procmail at their end -- works for me :) -- jamesw "We're like sisters... with really different hair!" -- Cordelia Chase, Buffy the Vampire Slayer -- [EMAIL PROTECTED] -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] ipchains to get around cable/ADSL AUP?
Greetings, I'm looking at getting either cable or ADSL running with Linux. The AUP for these sort of services have a no-server policy. I've heard that port scans are regularly carried out to identify those that have servers running. However, the way I see it, one could simply use ipchains to block the cable/ADSL provider from port scanning. Is it this simple, or have I missed something here? If I wanted to run something like gnapster to share some of my files, and I simply block my cable or ADSL provider from scanning on gnapster's port (using ipchains), how are they to know I have a server listening on that port? Also, the AUPs sometimes state that only one machine can be connected at once... again, using ip masquerading, how can they possibly know there's more than one machine connected? I don't wish to be antisocial and allow huge amounts of data to be downloaded from my machine... I simply would like to be able to run gnapster every now and then, ssh to my box, etc, etc. Many thanks, Petra (terribly annoyed at these AUP restrictions) Play Daily Trivia and Win BIG!! http://trivia1.jazzmonkey.com/trivia/triviaintro.htm http://www.cometmail.com -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] RH6.0+Enlightenment+Gnome = Edge Flip Resistance
Hello Sluggers Sorry to ask this one, but the Gnome Help system doesn't I'm looking for edge flip resistance in RH6.0+Enlightenment+Gnome. Can someone tell me where to find it? -- Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861 email: [EMAIL PROTECTED] www: http://www.woa.com.au or [EMAIL PROTECTED] WOA Computer Services lan/wan, linux/unix, novell snail: PO Box 1047, Campbelltown, NSW 2560. "People without trees are like fish without clean water" -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] RH6.0+Enlightenment+Gnome = Edge Flip Resistance
Terry Collins wrote: Hello Sluggers Sorry to ask this one, but the Gnome Help system doesn't I'm looking for edge flip resistance in RH6.0+Enlightenment+Gnome. Try looking in 'E-Conf', under Desktops with an older version of Enlightenment, or under 'Vitual Desktop Settings...', in the 'Settings' from the menu you get with the third mouse button with the latest version. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] RH6.0+Enlightenment+Gnome = Edge Flip Resistance
I'm looking for edge flip resistance in RH6.0+Enlightenment+Gnome. Can someone tell me where to find it? from memory... go into gnome control centre - window manager - enlightenment conf - under desktops near the bottom later marty "I can't buy what I want because it's free. Can't be what they want because I'm me." - Corduroy, Pearl Jam -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug