Linux-Misc Digest #186, Volume #26               Mon, 30 Oct 00 13:13:01 EST

Contents:
  How to dual boot a SCSI machine? (Ilya)
  Re: silly question: clock (mpulliam)
  Re: daylight savings. (John Wingate)
  Duplex printing option in /etc/printcap (hugh)
  Re: How to Auto Insert USB module? ("John Hall")
  Hauppauge/RH 7.0 lockup (J.R. Lockwood)
  Re: silly question: clock (Wayne Pollock)
  Re: silly question: clock (Wayne Pollock)
  Re: squid (Jose Moreno Andrades)
  Re: Mutt kills Linus. (Michel Catudal)
  Re: SMTP problem (NAVARRO LOPEZ, =?iso-8859-1?Q?Jes=FAs?= Manuel)
  Re: Corporate email help (Marcel Loesberg)
  Re: Chrooting SFTP? (Jessica Luedtke)
  Re: Corporate email help (Anthony White)

----------------------------------------------------------------------------

From: Ilya <[EMAIL PROTECTED]>
Subject: How to dual boot a SCSI machine?
Date: Mon, 30 Oct 2000 16:56:31 GMT



I installed a second SCSI hard drive in my all SCSI machine. Where
is a good example of a /etc/lilo.conf file that allows for a 10 second
window to select the OS to boot? The device files for the disks are
/dev/sda and probably /dev/sdb. I don't know what the name for the
second Windows disk is since it obviously does not show up in Linux
df command. Right now I manually plug in the correponding hard drive
to boot either into Redhat 6.1 or Windows 2000 Pro. My Linux disk
is SCSI id of 0, my Windows has SCSI id of 1, tape drive 4 and CDROM 6
so there is no conflict there.

Also, not related to dual boot question: How do I get Windows 2000 Pro
to see my modem. The current set up works perfectly under Redhat 6.1
and I don't want to mess with IRQs and other hardware stuff. I have
already asked around on Windows groups and nobody knows.  Windows does
not autodetect my modem - US Robotics Sportster 56K V90/X2 message
plus. When I explicitly tell it that it is US Robotics, it either does
not recognize it at all, or says "hardware found" but then I cannot
quiry the modem.  I have been struggling with this for days so any help
is appreciated. Is it a driver problem? If so, how do I get drivers for
the modem?






Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: [EMAIL PROTECTED] (mpulliam)
Subject: Re: silly question: clock
Date: 30 Oct 2000 17:11:04 GMT

On Mon, 30 Oct 2000 12:05:32 GMT, 
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>Sorry if this question is extremely stupid. 

If it is, I just spent about 45 minutes figuring
it out on my own system :-) How come everybody
else's computer did this by itself?

>...  the clock did not change las saturda with the
>change hour, how can i reset the clock in my desktop?

be root
go to a terminal and enter linuxconf

a window will show up with a sort of file tree
of various options -- select date/time

another window will show up where you can
change the hour back to what it should be

exit linuxconf

exit X windows (log out however your KDE or Gnome
logs out) 

restart X windows (go startx at the command
line if you have never done that before) 
and the new correct time should
be displayed.

- - - - -

Now I would like it if somebody posted the correct
command line to use with the "date" command to 
reset the time. Linuxconf is a stick of dynamite
and I only use it in dire circumstances because it
messes up permissions and whatnot and takes me
for ever to repair. "Date" is clear as mud -- I
must have tried fifteen different ways to interpret
the man page and only succeeded in making my computer
believe it was permanently 2 am, which is not.
I am now waiting to find out what weird stuff
linuxconf did behind my back  . . .

Original poster, ignore that -- you're prolly OK
using linuxconf on a relatively virgin system.

MP 


------------------------------

From: John Wingate <[EMAIL PROTECTED]>
Subject: Re: daylight savings.
Crossposted-To: alt.os.linux
Date: Mon, 30 Oct 2000 17:12:32 GMT

In comp.os.linux.misc Hal Burgiss <[EMAIL PROTECTED]> wrote:
> On Mon, 30 Oct 2000 09:34:05 -0500, Samuel Irlapati
> <[EMAIL PROTECTED]> wrote:
>>Is there a way to change the time automatically for daylight savings
>>for Linux? I had to swallow my pride and boot into windoze98 to get the
>>right time. I know there is also a Unix command to change time. Does
>>anyone know what is that command?

> [good info from Hal snipped]
>  
> But curiously, Linux has always automatically handled the time change
> for me. I was sitting here at 2:00AM Sun, and watched the clock on my
> desktop jump to 1:00AM. No user intervention. I have no idea where/how
> this gets done though. But a nice trick.

It's based on the zoneinfo file for your timezone.  System time is kept
in UTC and translated from that to local time for display.  The system
time is set from the hardware clock at boot time, adjusting for the
timezone if the hardware clock is on local time rather than UTC.

If you dual boot and keep the hardware clock on local time, because that's
what Windows expects, either change the hardware clock on Linux and
do not let Windows change it when it offers, or change it on Windows and
do nothing on Linux.

Things are a lot simpler if you keep the hardware clock in UTC,
and tell Windows (if you use it, and can live without local time
display) to use UTC (or GMT or whatever it calls it) and also tell it
not to make daylight saving time changes.  DST does not make sense for
GMT, but Windows wants to change it anyway.  Windows for me is an
unfamiliar OS, and I only use it when someone sends me something in
some strange proprietary format that requires Windows software, so
having UTC rather than local time in that mode doesn't bother me.

I last booted Windows in July 1999.  Since then there have been three
DST changes (should not matter, but you never know) and a Y2000 change,
so I am a little afraid what might happen to the clock if I were to
boot it.  :-)

-- 
John Wingate             Language serves three functions.  One is to
[EMAIL PROTECTED]     communicate ideas, one is to conceal ideas, and
                         the third is to conceal the absence of ideas.
                                                        --Otto Jespersen

------------------------------

From: hugh <[EMAIL PROTECTED]>
Crossposted-To: comp.periphs.printers
Subject: Duplex printing option in /etc/printcap
Date: Tue, 31 Oct 2000 01:27:51 +0900

Hi,

I bought a new LexMark Printer (Optra T612) with the Duplexer option. 
WIth 
the duplexer unit installed, it gives two-sided printing all 
the time.  Is there any way to disable it without deinstalling 
the duplexer unit?  For example, there is a check box in the 
Windows 98 driver. So we can set up two printers with that option
box checked differently.  What can we do within LInux?

Thank you.

Regards,

Hugh

------------------------------

From: "John Hall" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware
Subject: Re: How to Auto Insert USB module?
Date: Mon, 30 Oct 2000 17:29:31 GMT

as already mentioned /etc/rc.d/rc.local or if you want to get into the guts
of your machine make your own rc.sysinit [make sure to backup!]

But alternatively, today's kernels can auto-probe for modules and install
them automatically; if you're ready to compile a kernel yourself, look into
it.


"root" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Dear sir
>
> I am using a Creative Web3 Cam and have installed a usb driver ov511.o.
> However, I need to use the command "insmod ov511.o" to activate it. I
> have tried to use xconfig to set "y" instead of "m" and then build
> kernel again but cannot work :-(. Is there any place in Linux can
> automatically run some commands during startup (such as AUTOEXEC.BAT in
> DOS) ?
>
> Please give me some advices on this case.
>
> Thanks a lot
>
> Alan Po
>



------------------------------

From: J.R. Lockwood <[EMAIL PROTECTED]>
Subject: Hauppauge/RH 7.0 lockup
Date: Mon, 30 Oct 2000 17:30:12 -0000

I have a Hauppauge WinTV card on a home-built AMD Athlon 650 Windows
2000/RH 7.0 dual boot machine.  The card functions correctly under
Windows, and the card functioned correctly with both kwintv and xawtv
under RH 6.2 on a different machine AND on an upgrade to RH 7.0 on
that same machine.  However, it does not work correctly with RH 7.0
freshly installed on my current machine.  Here are the symptoms:

1) xawtv gives a black screen and nearly locks up the machine.  It is
   difficult for me to get to a virtual console to kill the process.

2) kwintv starts briefly, gives me a snip of FM radio audio from the
   card, and dumps core.

3) The FM tuner works correctly using gradio

Here is /etc/modules.conf:

========
alias parport_lowlevel parport_pc
alias char-major-81 bttv
alias usb-controller usb-uhci
alias sound-slot-0 es1370
========

What I used to do to get the card to work with xawtv/kwintv was to
manually perform the following module operations after booting:

============
/sbin/modprobe bttv
/sbin/rmmod bttv
/sbin/insmod bttv radio=1
/sbin/insmod tuner type=2
/sbin/insmod msp3400
/sbin/insmod radio-cadet
=============

However, even with those operations, the problems persist.
Here is some possibly relevant text from /var/log/messages:

----(directly after boot) -------
Oct 29 17:00:48 vertigo kernel: Linux video capture interface: v1.00
Oct 29 17:00:48 vertigo kernel: i2c: initialized
Oct 29 17:00:48 vertigo kernel: bttv0: Brooktree Bt878 (rev 2) bus: 0,
devfn: 72, irq: 9, memory: 0xdbdfe000.
Oct 29 17:00:48 vertigo kernel: bttv: 1 Bt8xx card(s) found.
Oct 29 17:00:48 vertigo kernel: bttv0: Hauppauge eeprom: tuner=Philips
FM1236 (2)
Oct 29 17:00:48 vertigo kernel: bttv0: fader chip: TEA6300
Oct 29 17:00:48 vertigo kernel: bttv0: model: BT878(Hauppauge new)
Oct 29 17:00:48 vertigo modprobe: modprobe: Can't locate module
char-major-81-1

----(after module operations listed above-------

Oct 29 17:05:42 vertigo kernel: bttv0: Brooktree Bt878 (rev 2) bus: 0,
devfn: 72, irq: 9, memory: 0xdbdfe000.
Oct 29 17:05:42 vertigo kernel: PCI: Enabling bus mastering for device
00:48
Oct 29 17:05:42 vertigo kernel: bttv: 1 Bt8xx card(s) found.
Oct 29 17:05:42 vertigo kernel: bttv0: Hauppauge eeprom: tuner=Philips
FM1236 (2)
Oct 29 17:05:42 vertigo kernel: bttv0: fader chip: TEA6300
Oct 29 17:05:42 vertigo kernel: bttv0: model: BT878(Hauppauge new)
Oct 29 17:05:42 vertigo kernel: msp3400: daemon started
Oct 29 17:05:42 vertigo kernel: msp3400: init: chip=MSP3430G-A1, has NICAM
support
Oct 29 17:05:42 vertigo kernel: ADS Cadet Radio Card at 0x330
Oct 29 17:05:51 vertigo kernel: bttv0: PLL: 28636363 => 35468950 ... ok
===========================

Finally, here is /sbin/lsmod output after module operations:

===================
Module                  Size  Used by
radio-cadet             4444   0  (unused)
msp3400                10056   1 
tuner                   2180   1 
bttv                   33824   0 
ide-cd                 23628   0  (autoclean)
i2c-old                 3520   3  (autoclean) [msp3400 tuner bttv]
videodev                2656   4  (autoclean) [radio-cadet bttv]
binfmt_misc             3280   0 
autofs                  9124   1  (autoclean)
lockd                  31176   1  (autoclean)
sunrpc                 52964   1  (autoclean) [lockd]
ppp                    20236   0  (autoclean) (unused)
slhc                    4504   0  (autoclean) [ppp]
nls_cp437               3876   2  (autoclean)
vfat                    9404   1  (autoclean)
fat                    30688   1  (autoclean) [vfat]
es1370                 22548   1 
soundcore               2596   5  [msp3400 es1370]
usb-uhci               19052   0  (unused)
usbcore                42088   1  [usb-uhci]
================================

Could the problem be related to an incorrect framebuffer address?
Other suggestions?  Thanks to all in advance.

J.R.


--
Posted via CNET Help.com
http://www.help.com/

------------------------------

From: Wayne Pollock <[EMAIL PROTECTED]>
Subject: Re: silly question: clock
Date: Mon, 30 Oct 2000 12:19:11 -0500

You can try setting the TZ environment variable.  For me the
setting is:

        export TZ=EST5EDT

-Wayne Pollock

[EMAIL PROTECTED] wrote:
> Sorry if this question is extremely stupid. I have started with linux a
> week ago, and i am very new in this operqative system. The guy that
> helped me is now gone and the clock did not change las saturda with the
> change hour, how can i reset the clock in my desktop?

------------------------------

From: Wayne Pollock <[EMAIL PROTECTED]>
Subject: Re: silly question: clock
Date: Mon, 30 Oct 2000 12:19:19 -0500

You can try setting the TZ environment variable.  For me the
setting is:

        export TZ=EST5EDT

-Wayne Pollock

[EMAIL PROTECTED] wrote:
> Sorry if this question is extremely stupid. I have started with linux a
> week ago, and i am very new in this operqative system. The guy that
> helped me is now gone and the clock did not change las saturda with the
> change hour, how can i reset the clock in my desktop?

------------------------------

From: Jose Moreno Andrades <[EMAIL PROTECTED]>
Subject: Re: squid
Date: Mon, 30 Oct 2000 18:02:37 GMT

This is a multi-part message in MIME format.
==============A96D5D350D6BE3097E77E530
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

i think you may try to find squid on your hard drive:

if you installed it from an rpm file, you may do
rpm -ql squid

anyway you may try
find / -name squid -print

the fact is that you need the docs which come with squid, there is one
named QUICKSTART or something alike, read it (look in
/usr/doc/squid-xxxxxx/)

it asks you to edit some lines on /etc/squid/squid.conf
i don't remember them just now, but in a simple way, you'll be able to
proxy your lan in a few minutes.

when you find it (quickstart) read it carefully, for it says that if
you're not going to modify a default setting, you should do nothing in
the /etc/squid/squid.conf file (you'll see the lines commented, and
there's no need to uncomment them)

did it help?

best regards


walter wrote:

> I have just been through a 9 month dual with my Suse linux system
> to dial the internet.  Now I want to proxy.  Squid appears to
> be on my system but my books instructions weren't very good and
> it doesn't appear to be working.  Anyone have a step by step
> proc on this?
>
> --
> Posted via CNET Help.com
> http://www.help.com/

--
________________________________________
Jose Moreno Andrades
e-mail: [EMAIL PROTECTED]
________________________________________


==============A96D5D350D6BE3097E77E530
Content-Type: text/x-vcard; charset=us-ascii;
 name="jmorenoa.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Jose Moreno Andrades
Content-Disposition: attachment;
 filename="jmorenoa.vcf"

begin:vcard 
n:Moreno;Jose
tel;work:913752314
x-mozilla-html:FALSE
org:Terra Networks;Area de Seguridad
adr:;;c/ Julian Camarillo 6;Madrid;;28037;Espa�a
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard

==============A96D5D350D6BE3097E77E530==


------------------------------

From: Michel Catudal <[EMAIL PROTECTED]>
Subject: Re: Mutt kills Linus.
Date: 30 Oct 2000 12:00:05 -0600

Jean-David Beyer a �crit :
> 
> 
> I suppose I could have figured it out if I thought the reference sufficiently
> important. But mutt works OK for me and never killed the OS. When someone
> posts a hot link, it should be correct, IMAO, and that clicking on it shoult
> achieve the implied result.

Mutt like in dog, chien
This was about a seeing eye dog named Linus killed by an other dog.

-- 
Tired of Microsoft's rebootive multitasking?
then it's time to upgrade to Linux.
http://www.netonecom.net/~bbcat/
We have software, food, music, news, search,
history, electronics and genealogy pages.

------------------------------

From: NAVARRO LOPEZ, =?iso-8859-1?Q?Jes=FAs?= Manuel 
Subject: Re: SMTP problem
Date: Mon, 30 Oct 2000 18:13:11 +0100

Rafael - LumesITSupport wrote:
> 
> I can not configure my qmail server. I can log to it if I telnet
> 127.0.0.1 25 , but when I telnet using IP address (ex. telnet
> 130.235.0.234 25 ) I am getting Connection closed by foreign host.
> In Host.allow I write down my IP, what I should configure to get my SMTP
> working
> 
> Rafael

Qmail is configured by default with the policy of NO-RELAY, and I mean
NO-RELAY, not even the external interface is allowed to relay, you will
have to configure yourself.  Since it deppends too much on how did you
installed qmail (as a standalone daemon? through inetd? trough
ucspi-tcp? it's not so easy to help you).
-- 
SALUD,
Jes�s
***
[EMAIL PROTECTED]
***

------------------------------

From: Marcel Loesberg <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin,comp.os.linux.help,comp.os.linux.networking
Subject: Re: Corporate email help
Date: Mon, 30 Oct 2000 18:05:52 GMT

Diehard Duck wrote:

> I'm not an advanced user but I think a basic machine such as a standard
> pentium with decent memory would do the job.  You would need to run
> sendmail/exim/equivalent and a pop3 daemon such as GnuPop3d.  Then just set
> up each user and get DNS pointed to your IP of the server and away you go.

Only I would use qpopper in stead of GnuPOP3D.
GnuPOP3D has some serious performance issues.

Cheers,

Marcel

>
>
> Russ
>
> "Phil Labonte" <[EMAIL PROTECTED]> wrote in message
> news:XnhL5.19767$[EMAIL PROTECTED]...
> > Hello all,
> >
> > I work for a small company of approx 70 employees, we plan to grow to
> about
> > 200 in the next year.
> >
> > What kind of linux solutions are there for email?  We want to host our own
> > email internally, right now we use our isp.
> >
> > I checked and for Microsoft Exchange it would cost us about 10000$ in
> > licenses and hardware.  What are some Linux solutions that would work with
> > our small company?
> >
> > Thanks for your help.
> >
> > Phil Labonte
> >
> >


------------------------------

From: Jessica Luedtke <[EMAIL PROTECTED]>
Crossposted-To: comp.security.ssh,comp.os.linux.networking,comp.os.linux.security
Subject: Re: Chrooting SFTP?
Date: 30 Oct 2000 18:09:18 GMT

In comp.os.linux.security Jean-Sebastien Morisset <[EMAIL PROTECTED]> wrote:
: I currenty use ProFTPd and SSH 2.0.13 (on a Linux 2.2.13 box) -- neither 
: one does what I need. I have to offer a secure FTP login *and* I have to 
: chroot the user to his directory. I had high hopes for SFTP, but there 
: doesn't seem to be a way to chroot the user.

: Can anyone recommend an aaternate product and/or a way to config. SFTP to 
: chroot the users?

Have you looked into srp? http://www-cs-students.stanford.edu/~tjw/srp/

I haven't looked into it enough to know if it'll do everything you need,
but it might be helpful.

Using ssh to do port forwarding to the ftp server would allow for secure
logins (though data transfered wouldn't be secure), but would be a pain in
the neck to setup. I also don't know if you could configure it to only
accept logins forwarded over ssh, if that is what you want. Perhaps with
ipchains?

jessica

------------------------------

From: Anthony White <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.networking
Subject: Re: Corporate email help
Date: Mon, 30 Oct 2000 18:16:03 GMT

Phil Labonte wrote:
> 
> Hello all,
> 
> I work for a small company of approx 70 employees, we plan to grow to about
> 200 in the next year.
> 
> What kind of linux solutions are there for email?  We want to host our own
> email internally, right now we use our isp.
> 
> I checked and for Microsoft Exchange it would cost us about 10000$ in
> licenses and hardware.  What are some Linux solutions that would work with
> our small company?

We use Q-Mail at my office and total set-up cost, including ISP
and a 2 machines (1 for firewall and ISDN hookup and 1 for server)
was less than US$3,000.-

The server also acts as internal SMB server, DNS, E-Mail server and
http server (Apache www server) for internal as well as external
web serving.

Most of the cost are in the server.  It has Ultra Wide SCSI controller,
2 SCSI UW drives (9.1G) in a RAID 1 configuration as well as a SCSI
CD-ROM reader but is only 128Mb Pentium 200MMX.

All is built in-house.  The server was new 3 years ago (Had 2 SCSI 
2.1G drives) but the gateway (ISDN machine) was an old Pentium MMX
box that was retired from an other setup.

It just shows that it does not cost a lot to set up things and
licensing software was not needed.

Anthony

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to