[SLUG] Re: console messages

2004-05-27 Thread Jan Alonzo
Erik de Castro Lopo [EMAIL PROTECTED] writes:

 Hi all,

 I'm currently working on a machine without X which is connected 
 to another via a crossover cable. The other machine goes up and 
 down all day (by design) resulting in eth1: link down and 
 eth1: link up ... messages all over my screen.

 Is there any way to stop this?

Hi,

I think it's klogd. 'man klogd', look for '-c'.


HTH.


-- 
Jan Alonzo  [EMAIL PROTECTED]
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Message Stopped ---- Virus Detected ----

2004-05-27 Thread jobfindmailadmin
MailMarshal (an automated content monitoring gateway) has stopped 
the following message:

   Message: B1818d.0001.mml
   From:[EMAIL PROTECTED]
   To:  [EMAIL PROTECTED]
   Subject: Re: Old times

Because it believes the message contains a virus.
The virus scanning software used was: Norman Virus Control 
[EMAIL PROTECTED]

Please clean the file and resend it.

MailMarshal Rule: Custom Anti-Virus (Inbound) : Block Virus

For more information on email virus scanning, security and content 
management, visit http://www.marshalsoftware.com
1276 17:50:58.640 Message From [EMAIL PROTECTED], Return-path [EMAIL PROTECTED], 
Recipients (1) -  [EMAIL PROTECTED] 
1276 17:50:58.640 Thread 3 Starting to unpack B1818d.0001.mml
1276 17:50:58.656 Type=MAIL,  size=41509,  Name=B1818d.0001.mml
1276 17:50:58.656   Type=MHDR,  size=463,  Name=MsgHeader.txt
1276 17:50:58.656   Type=MBODY,  size=25,  Name=Plain.txt
1276 17:50:58.656   Type=EXEW32,  size=29568,  Name=letter_3dcatherine.griffin.txt.scr
1276 17:50:58.656 1 user(s) match ruleset - Custom Anti-Virus (Inbound)
1276 17:50:58.656   1 user(s) match rule - Microsoft Patch Viruses
1276 17:50:58.656 Name=U1\B1818d.0001.mml (MAIL,41509) False
1276 17:50:58.656   Name=U2\MsgHeader.txt (MHDR,463) False
1276 17:50:58.656   Name=U2\Plain.txt (MBODY,25) False
1276 17:50:58.656   Name=U2\letter_3dcatherine.griffin.txt.scr (EXEW32,29568) False
1276 17:50:58.656   1 user(s) match rule - Block Virus
1276 17:50:58.671 virus scanner OK Norman Virus Control file 
B1818d.0001.mml after 15 millisecs
1276 17:50:58.671 virus scanner OK Norman Virus Control file MsgHeader.txt after 0 
millisecs
1276 17:50:58.671 virus scanner OK Norman Virus Control file Plain.txt after 0 
millisecs
1276 17:50:58.687 virus scanner FOUND virus Norman Virus Control name [EMAIL 
PROTECTED] file letter_3dcatherine.griffin.txt.scr after 16 millisecs
1276 17:50:58.718 virus scanner OK Norman Virus Control file 
B1818d.0001.mml after 31 millisecs
1276 17:50:58.718 Name=U1\B1818d.0001.mml (MAIL,41509) False
1276 17:50:58.718 virus scanner OK Norman Virus Control file MsgHeader.txt after 0 
millisecs
1276 17:50:58.718   Name=U2\MsgHeader.txt (MHDR,463) False
1276 17:50:58.718 virus scanner OK Norman Virus Control file Plain.txt after 0 
millisecs
1276 17:50:58.718   Name=U2\Plain.txt (MBODY,25) False
1276 17:50:58.734 virus scanner FOUND virus Norman Virus Control name [EMAIL 
PROTECTED] file letter_3dcatherine.griffin.txt.scr after 16 millisecs
1276 17:50:58.734   Name=U2\letter_3dcatherine.griffin.txt.scr (EXEW32,29568) TRUE 
Terminal
1276 17:50:58.734   Requesting Action Custom Anti-Virus (Inbound):Block 
Virus:MailTemplate be run
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Non-blocking sockets

2004-05-27 Thread John Clarke
On Thu, May 27, 2004 at 07:25:10PM +1000, Erik de Castro Lopo wrote:

 I'm not sure fcntl() works on sockets, I thought you had to use an ioctl().

fcntl() does work on sockets.  I've used it.

  int fileDescriptor = socket(AF_INET, SOCK_STREAM, 0);
  if ( 0  fileDescriptor )
  printf(Unable to obtain new socket (errn = %d, text = \%s\\n,
  errno, strerror(errno));
 
 Errrm, all you have is a socket, its not connected to anything. Maybe you
 could connect() or accept() on the socket before you set it to non-blocking.

I was going to wait until I got home before I answered the original
post (my Unix Network Programming books are at home), but I think
you've found the answer.  From fcntl(2):

EBADFfd is not an open file descriptor, or the command
 was F_SETLK or F_SETLKW and the  file  descriptor
 open  mode  doesn't  match  with the type of lock
 requested.


 -- 
 +---+
   Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
 +---+
 A good debugger is no substitue for a good test suite.
 -- 
 -- 
 +---+
   Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
 +---+
 A good debugger is no substitue for a good test suite.


CChhrrss,,

JJoohhnn
-- 
Trying to do *anything* industrial-strength on a NT platform is doomed to 
failure - it's like the realisation that you've been allocated a bunk-space 
below a confirmed bedwetter. The question is not whether you are going to 
get pissed on, but when.-- Tanuki
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] ADSL link yoyoing

2004-05-27 Thread The Salisburys
  Any clues as to what is causing the problem.
I had the same thing on redhat 9   I changed from  the Redhat specfic
rp-pppoe rpm
to the standard one.
IE
from version 3.5-2
to version  3.5-1

Yes going back a version

But fixed the problem!

cheers
Roger


- Original Message - 
From: Howard Lowndes [EMAIL PROTECTED]
To: UnknownMailList-SLUG [EMAIL PROTECTED]; UnknownMailList-MURLUG
[EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 12:27 PM
Subject: [SLUG] ADSL link yoyoing


 I have a bridged ADSL link using a Dynalink RT100+ together with
 rp-pppoe client that keeps recycling the link to the DSL provider
 between about 30 secs and about 4 mins.

 I had to change the config of the modem from routed to bridged and the
 pppoe-server-options file has lcp-echo-interval 10, and lcp-echo-failure
 2.

 Any clues as to what is causing the problem.

 The specific error messages that I get from pppoe are:
 May 27 12:23:47 gw pppoe[12061]: Inactivity timeout... something wicked
 happened on session 3037
 May 27 12:23:47 gw pppoe[12061]: Sent PADT

 after which pppd hangs up the modem and reconnects.

 -- 
 Howard.
 LANNet Computing Associates - Your Linux people
http://www.lannetlinux.com
 --
 Flatter government, not fatter government - Get rid of the Australian
states.
 --
 To mess up a Linux box, you need to work at it;
 to mess up your Windows box, you just need to work on it.
  - Scott Granneman, SecurityFocus



-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] console messages

2004-05-27 Thread The Salisburys

If you want the messages readily available on the console  the machine has
its own monitor (not a remote connection)  

It took me a few years to realise this.. multiple terminals without X

Just open out a new virtual screen/terminal.

Alt +F1 would most likely be the console

Alt+F2 would be another screen/terminal.

Alt+F3 would be another screen  etc  up perhaps Alt+F6

So you don't need X  windows to have mutiple terminals.

Roger




- Original Message - 
From: [EMAIL PROTECTED]
To: Malcolm V [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 3:16 PM
Subject: Re: [SLUG] console messages


 On Thu, May 27, 2004 at 09:44:20AM +1000, Malcolm V wrote:
  On Wed, 2004-05-26 at 22:24, [EMAIL PROTECTED] wrote:
   Check your /etc/syslog.conf.
 
  Also. some Redhat (and others?) systems have a kernel logging daemon
  klogd which will put messages above a certain configurable log level to
  the console.

 xterm (used to?) have a -C option which made it the console.
 I don't know whether it would redirect klogd stuff as well.

 Matt


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] console messages

2004-05-27 Thread Jamie Wilkinson
This one time, at band camp, Benno wrote:
On Wed May 26, 2004 at 22:22:00 +1000, Jamie Wilkinson wrote:
This one time, at band camp, Erik de Castro Lopo wrote:
I'm currently working on a machine without X which is connected 
to another via a crossover cable. The other machine goes up and 
down all day (by design) resulting in eth1: link down and 
eth1: link up ... messages all over my screen.

Is there any way to stop this?

I thought it was 'mesg' but the manpage doesn't agree with me...


dmesg -n$ (maybe)

That's the one!

-- 
[EMAIL PROTECTED]   http://spacepants.org/jaq.gpg
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Toshiba Portege

2004-05-27 Thread James Gregory
Hey all, 
 
It's looking very much like my current laptop is dead. Am yet to get a 
quote on fixing it but weighing up the option of getting a new laptop 
to replace it. I initially thought a PowerBook was the way to go since 
they seem to be outrageously fashionable these days, but the advice I've 
had suggests that Linux doesn't support a bunch of the hardware in the 
current models. 
 
So I stumbled upon the Toshiba Portege M100 which looks like a cool box. 
Unfortunately I'm having trouble finding linux compatability information 
on it. Specs for it are here: 
 
http://tinyurl.com/2wa7x 
 
Does anyone know how well these things work with linux? linux-laptops.net 
didn't have them listed. The things I'm most concerned about are: 
 
* Getting decent (not necessarily stellar) performance in X. 
* Working wireless and bluetooth. 
 
I'd also be interested in anyone who has found a particular type of laptop 
to be awesome on linux. I'd prefer a smaller machine (ie around 12 inch 
monitor), but aside from that I'm flexible. 
 
Thanks, 
 
James. 
 
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Toshiba Portege

2004-05-27 Thread Jordan Wightman
James Gregory wrote:
Does anyone know how well these things work with linux? linux-laptops.net 
didn't have them listed. The things I'm most concerned about are: 
 
* Getting decent (not necessarily stellar) performance in X. 
* Working wireless and bluetooth. 
 
I'd also be interested in anyone who has found a particular type of laptop 
to be awesome on linux. I'd prefer a smaller machine (ie around 12 inch 
monitor), but aside from that I'm flexible. 
I've been particularly happy with Debian on IBM Thinkpads. In 
particular, my T30 seems to be working great (only remaining niggle is 
getting IRDA stuff working, and I'm assuming that's PEBKAC, any pointers 
would be welcome.. :)

It's bigger than what you were after, but wireless works out of the box 
with the orinoco_pci module in 2.4.22 and my X performance is fine 
(although I haven't pushed the box in terms of 3D stuff, works fine for 
my standard 2D stuff).

It's also nice in that it has a 1400x1050 display, as opposed to the 
more standard 1024x768 I see on a lot of laptops, but it's battery life 
leaves something to be desired (but I didn't expect a lot out of a box 
that is effectively a desktop replacement).

I've heard some good things from other people re: IBM laptops as well. 
Just a thought. :)

Jordan
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Toshiba Portege

2004-05-27 Thread Andrew Cowie
On Thu, 2004-05-27 at 11:40, James Gregory wrote:
 So I stumbled upon the Toshiba Portege M100 which looks like a cool box. 

On the road I use a Toshiba Portege 4010, which I believe is the
previous years' model. [The picture looks the same]

The thing about Toshiba is they are renowned for *radically* changing
the chip sets from one model year/number to the next. So it's entirely
possible the one you are considering has different internals.

BUY A PLANE TICKET AND FLY TO NORTH AMERICA TO BUY THIS. LAPTOPS ARE
STUPIDLY EXPENSIVE IN AUSTRALIA. SAME LAPTOP IN CANADA IS $2,899.00 CAD
== AUD! Ok, so maybe just get FedEx to ship it ;)

My specs listed here, with comments:

Toshiba Portege 4010 
933 MHz Pentium III

Like all Toshibas, it tends to run hot. toshutils from Buzzard mostly
work (ie fan works). Better yet, recent 2.6 kernels ACPI are working.
There's a Toshiba extension to ACPI available - you end up with some
things in /proc/acpi/toshiba that largely negate necessity to use
userspace toshutils.

Software suspend swsusp2 2.0.0.80 + kernel 2.6.6 works.

2 PCMCIA slots (which I never use :)). A *third* PCMCIA slot (actually
slot zero) is where the 802.11b card is plugged in. Its orinoco-cs,
works. Since yours is Pentium M that probably means you'll have to
jump through Centrino hoops.

2 USB slots - usb-ohci.

10/100 Ethernet - works great. I use e100 kernel module.

Winmodem - doesn't work. Maybe it will someday, but I doubt it.

Fireware - never tested, sorry.

SD slot - does NOT work. Chip to talk to is it totally proprietary - no
one I've seen has any idea how to talk to it.

1024x768 screen. trident XF86Config module. X is fine, but not 3D
accelerated.

Sound is good. Nice speakers.

CD-ROM/DVD-ROM is slim select bay. DVD *works* (used Totem to play a DVD
movie for the first time yesterday. Woot!)

Suggest you also buy:

Slim select bay Secondary battery

Slim select bay Secondary Hard Drive (I just use it for backups, but
backups are a good thing when you're on the road for a months or two at
a time shrug). DMA doesn't seem to work to secondary drive, which is
weird, as it does seem to work (?) to CD/DVD.

I've got 1024MB (which is max) memory in mine. Probably overkill, though
I do a lot of compiling. 512 MB would be fine.

ONE LAST THING: MAJOR PISS OFF - THE CORNERS BOTTOM RIGHT AND BOTTOM
LEFT WHERE YOUR HANDS REST ARE VERY SHARP. GET THE THING ON YOUR LAP AND
DO SOME EXTENSIVE TYPING. IT'S FINE. GET THE THING ON A DESK, AND YOU
START STABBING YOUR PALMS. So make sure that this isn't an issue for
you.

Guess I should make a web page out of this and put it somewhere. :)

AfC
Toronto

-- 
Andrew Frederick Cowie
Operational Dynamics Consulting Pty Ltd

Fixing your technology by focusing on your people
and the processes around them. We improve usabilty,
scalabilty, and maintainability - the keys to making
technology work - through team building, implementing
effective procedures, and enhancing systems performance.

Contact us!

http://www.operationaldynamics.com/

Sydney, New York, Toronto, London
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] NTFS and Fedora

2004-05-27 Thread Simon Bryan
Hi all,
I need to install an NTFS disk in an FC1 system. I have downloaded the
NTFS rpm and tried to install it and got the following message:

This RPM requires kernel-2.4.22-1.2188.nptl.
You already have it installed, but it is not running.
Please reboot and select that kernel, then retry the install.

My kernel appears to be 2.4.22-1.2115 and when I boot it does not offer me
an alternative kernel to boot from.

I have installed the apt-get on this system.

Could the rpm be mistaken, or is it likely I do have that kernel, if so
where would it be and how do I activate it. I have never built a kernel
and have no concept of the process...yet.

-- 
Simon Bryan
IT Manager
OLMC Parramatta
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] NTFS and Fedora

2004-05-27 Thread Mike MacCana
On Fri, 28 May 2004, Simon Bryan wrote:

 Hi all,
 I need to install an NTFS disk in an FC1 system. I have downloaded the
 NTFS rpm and tried to install it and got the following message:

 This RPM requires kernel-2.4.22-1.2188.nptl.
 You already have it installed, but it is not running.
 Please reboot and select that kernel, then retry the install.

 My kernel appears to be 2.4.22-1.2115 and when I boot it does not offer me
 an alternative kernel to boot from.

 I have installed the apt-get on this system.

 Could the rpm be mistaken, or is it likely I do have that kernel, if so
 where would it be and how do I activate it. I have never built a kernel
 and have no concept of the process...yet.

Building a kernel is generally unnecessary. If you need a new driver, just
grab the package containing that driver for your kernel.

rpm -q kernel

Will list installed kernels on your machine.

Tell us the output and we'll take it from there.

Mike

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] NTFS and Fedora

2004-05-27 Thread mlh
 On Fri, 28 May 2004, Simon Bryan wrote:
 
  Hi all,
  I need to install an NTFS disk in an FC1 system. I have downloaded the
  NTFS rpm and tried to install it and got the following message:
 
  This RPM requires kernel-2.4.22-1.2188.nptl.
  You already have it installed, but it is not running.
  Please reboot and select that kernel, then retry the install.
 
  My kernel appears to be 2.4.22-1.2115 and when I boot it does not offer me
  an alternative kernel to boot from.

Have you been dual-booting?  And not sharing /boot between instances
of fedora?

Then you probably need to run grub-install.

Matt

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] NTFS and Fedora

2004-05-27 Thread Simon Bryan

On Fri, May 28, 2004 11:00 am, Mike MacCana said:
 On Fri, 28 May 2004, Simon Bryan wrote:

 Hi all,
 I need to install an NTFS disk in an FC1 system. I have downloaded the
 NTFS rpm and tried to install it and got the following message:

 This RPM requires kernel-2.4.22-1.2188.nptl.
 You already have it installed, but it is not running.
 Please reboot and select that kernel, then retry the install.

 My kernel appears to be 2.4.22-1.2115 and when I boot it does not offer
 me
 an alternative kernel to boot from.

 I have installed the apt-get on this system.

 Could the rpm be mistaken, or is it likely I do have that kernel, if so
 where would it be and how do I activate it. I have never built a kernel
 and have no concept of the process...yet.

 Building a kernel is generally unnecessary. If you need a new driver, just
 grab the package containing that driver for your kernel.

 rpm -q kernel

 Will list installed kernels on your machine.

 Tell us the output and we'll take it from there.

I had another look back at what I had done with the apt-get system and it
seemed that apt-get dist-upgrade had never finished, so I have started it
again and one of the 'new' packages listed is the new kernel that I want.
Will wait until that finishes and see what happens - besides I cant do an
rpm -q at the moment as apt-get appears to have locked the rpm database.

Thanks and will let you know what happens




-- 
Simon Bryan
IT Manager
OLMC Parramatta
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] NTFS and Fedora

2004-05-27 Thread Simon Bryan

On Fri, May 28, 2004 11:00 am, Mike MacCana said:
 On Fri, 28 May 2004, Simon Bryan wrote:

 Hi all,
 I need to install an NTFS disk in an FC1 system. I have downloaded the
 NTFS rpm and tried to install it and got the following message:

 This RPM requires kernel-2.4.22-1.2188.nptl.
 You already have it installed, but it is not running.
 Please reboot and select that kernel, then retry the install.

 My kernel appears to be 2.4.22-1.2115 and when I boot it does not offer
 me
 an alternative kernel to boot from.

 I have installed the apt-get on this system.

 Could the rpm be mistaken, or is it likely I do have that kernel, if so
 where would it be and how do I activate it. I have never built a kernel
 and have no concept of the process...yet.

 Building a kernel is generally unnecessary. If you need a new driver, just
 grab the package containing that driver for your kernel.

 rpm -q kernel

 Will list installed kernels on your machine.

kernel-2.4.22-1.2115.nptl

After all that downloading the apt-get failed during the install :-(


-- 
Simon Bryan
IT Manager
OLMC Parramatta
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] External HDD Cases Linux

2004-05-27 Thread Simon Wong
On Thu, 2004-05-27 at 14:30, Malik Jayawardena wrote:
 I got this case from Harris Technology that works really well. It's a
 DataFab case, supports Firewire, USB 1.1  2.0. Never really had a
 problem with it.

Does it have an external power supply or is it bus powered?



-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html