Linux-Misc Digest #600, Volume #26               Thu, 21 Dec 00 01:13:02 EST

Contents:
  I am confused about Sendmail. (Jean-David Beyer)
  Re: alsa ("Jason Byrne")
  Re: squid proxy server (Derek)
  Linux on a 720K LD disk.... (Radix)
  Re: 2.2->2.4 pppd error: Couldn't set tty to PPP discipline: Invalid argument ("Dan")
  Re: ODBC & MySql (Dustin Puryear)
  Re: Question About Timing Functions Under Linux ("Norman Dresner")
  Re: Linux on a 720K LD disk.... (Philo)
  Re: Question About Timing Functions Under Linux (frankc)
  Linux 2 Solaris translation question? (WORLOK)
  Re: Linux on a 720K LD disk.... ("John E. Garrott, Sr")
  Re: Setting my hardware clock to atomic clock? (Bob Bawcutt)
  Re: Setting my hardware clock to atomic clock? (Prasanth A. Kumar)
  Re: GeForce2 MX (Creative) Linux Problem (Chan Chung Hang Christopher)
  How to see all the cron jobs. (Thaddeus L Olczyk)

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

From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: I am confused about Sendmail.
Date: Wed, 20 Dec 2000 21:30:00 -0500

I have the sendmail Bat Book and the DNS and Bind Cricket Book, but
cannot figure out how to handle what I need. I normally generate the
sendmail.cf file by editing the sendmail.mc file and running m4 on it.

I have two machines networked together (named valinux and touchl) on a
tiny (2-machine) network, and I configured each one so that sendmail can
send my stuff to my ISP and out over the Internet. One of the things I
had to do to make that work with my ISP is set my /etc/sendmail.cf file
to say (in part):

# my official domain name
# ... define this only if sendmail cannot automatically determine your
domain
Djjdbeyer.exit109.com

(jdbeyer.exit109.com is my static IP address's name)

so when my ISP (mail.exit109.com) examines my domain name, it is valid
and it is willing to forward the e-mail.

If I set up both machines like this, I cannot e-mail from one to the
other (even though ping, etc., work between them) because the sendmail
at the target machine (touchl, in this case, but the problem is
symmetric) complains:

553: touchl.localdomain config error Mail loops back to me (MX problem?)
554: [EMAIL PROTECTED] ... Local Configuration error

I could be wrong, but I doubt it is an MX problem, because my only named
(bind) file that discusses MX records on the valinux machine says:

@ IN  SOA valinux.localdomain. jdbeyer.exit109.com. 
             ( 2000062100 10800 3600 604800 86400 )
  IN  NS  valinux.localdomain.

localhost            IN  A     127.0.0.1
touchw               IN  A     192.168.1.1
valinux              IN  A     192.168.1.250
valinux              IN  MX    10 valinux.localdomain.
touchl               IN  A     192.168.1.201
touchl               IN  MX    10 touchl.localdomain.

Now if I change /etc/sendmail.cf on touchl machine to read (again, in
part):

# my official domain name
# ... define this only if sendmail cannot automatically determine your
domain
#Dj$w.Foo.COM

I can send e-mail between the machines just fine (in either direction).
But then I cannot send e-mail from touchl through my ISP because it then
uses domain name localhost.localdomain, and my ISP does not like that.

On valinux, my /etc/sendmail.cw file is:
# sendmail.cw - include all aliases for your machine here.
valinux
valinux.localdomain
jdbeyer.exit109.com
localhost
localhost.localdomain

On touchl, my /etc/sendmail.cw file is:
# sendmail.cw - include all aliases for your machine here.
touchl
touchl.localdomain
localhost
localhost.localdomain

I seem to be stuck in a rut here. Can anyone give me a pointer, into the
Bat Book perhaps, so I can configure all this wo work?

-- 
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 9:05pm up 16 days, 5:52, 2 users, load average: 2.03, 2.11, 2.09

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

From: "Jason Byrne" <[EMAIL PROTECTED]>
Subject: Re: alsa
Date: Wed, 20 Dec 2000 18:14:50 -0800

"glitch" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I also get the following error when tryign to run 'alsamixer' : Failed
> to open mixer #0/#0: no such file or directory.  So where is it looking
> for the mixer at??
>
> Alsasound is running however looking at /proc/asound shows all files are
> empty so ther eisn't a card being loaded. I thought when I modprobed all
> the modules it loads all the appropriate files(in /proc/asound) with
> info?

it would probably help if you posted your /etc/modules.conf, your efforts to
load the modules (scripts, whatever), the output of /sbin/lsmod - and what
sound card you happen to have.

off the top of my head... it's better to use modprobe to load things...
since alsa has a lot of dependencies between the different modules.

also... did you run the 'snddevices' script when you ran through the alsa
install?

- Jason




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

From: Derek <[EMAIL PROTECTED]>
Subject: Re: squid proxy server
Date: Thu, 21 Dec 2000 02:32:59 GMT

Well that didn't work...
is it possible for my other linux machine to acces the proxy server that
has an address of 24.183.219.xxx from the its own IP address of
192.168.0.1?
Or is there something else in the squid conf file?
thanks 
Derek







Michael Heiming wrote:
 
 Hello,
 
 no problem, just setup your squid.conf the right way and restart squid
via
 it's init script
 (SuSE) /sbin/init.d/squid...
 
 You should have some lines in squid.conf like:
 
 acl localhost src 127.0.0.1/255.255.255.255
 acl MyEthernet src 192.168.0.99-192.168.0.100/255.255.255.0
 http_access allow MyEthernet
 http_access deny all !localhost !MyEthernet
 icp_access allow MyEthernet
 icp_access deny all !localhost !MyEthernet
> 
> For easy setup look out for webmin or use swat, but configure it propably,
> to only allow access to it from one box.
> 
> Better, read the docs that come with squid...:-)
> 
> Good luck
> 
> Michael Heiming
> Sysadmin
> 
> Derek wrote:
> 
> > I am using a proxy server on a linux box and have a connection through a
> > cable internet provider with a static IP. Now I am wondering if you can
> > setup Squid proxy server to let in my computers on the home network with
> > a different  set of ip addresses....
> > (e.g. cable IP = 24.183.219.xxx and home IP = 192.168.0.xxx) without the
> > use of another network card on server or router?
> > thanks for any help.
> > Derek

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

From: Radix <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,nf.comp.linux
Subject: Linux on a 720K LD disk....
Date: Wed, 20 Dec 2000 23:00:05 -0330

Hi guys:

I have recently come across two old 386 laptops with low density disk
drives.  I have used some of the small linux distros but they all come
on one high density disk.   Is there anyway to make one of these small
distros fit and boot off a 720K low density disk?   Or better yet,  is
it possible to do up a small kernel with basic linux utilities to fit in
720K or less...

If this is possible, how would some of you do it.  For instance, I can
put a kernel on a disk, but what utilities should I include with it??? 
Thanks...

Sincerely,
-- 
-Trevor
======================
"That's all right, I still got my guitar"... 
-James Marshall Hendrix (11/27/1942-09/18/1970)

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

From: "Dan" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,alt.os.linux
Subject: Re: 2.2->2.4 pppd error: Couldn't set tty to PPP discipline: Invalid argument
Date: Thu, 21 Dec 2000 13:49:36 +1100

I've copied this from the Changes files in /usr/src/linux/Documentation.
I know you said you checked it, but I'm still suspicious...

mknod /dev/ppp c 108 0

To make the device (which you said you did)

/etc/modules.conf:

alias char-major-108    ppp_generic
alias /dev/ppp          ppp_generic
alias tty-ldisc-3       ppp_async
alias tty-ldisc-14      ppp_synctty
alias ppp-compress-21   bsd_comp
alias ppp-compress-24   ppp_deflate
alias ppp-compress-26   ppp_deflate

root@enteleki:/lib/modules/2.4.0-test11/kernel/drivers/net# ls -l
total 128
-rw-r--r--   1 root     root        31532 Nov 24 10:50 3c59x.o
-rw-r--r--   1 root     root         6212 Nov 24 10:50 bsd_comp.o
-rw-r--r--   1 root     root         2748 Nov 24 10:50 dummy.o
-rw-r--r--   1 root     root        10488 Nov 24 10:50 ppp_async.o
-rw-r--r--   1 root     root        39888 Nov 24 10:50 ppp_deflate.o
-rw-r--r--   1 root     root        21916 Nov 24 10:50 ppp_generic.o
-rw-r--r--   1 root     root         7340 Nov 24 10:50 slhc.o
root@enteleki:/lib/modules/2.4.0-test11/kernel/drivers/net#

Also check you have all the above (apart from 3c59x.o - my network card and
maybe dummy.o).

Apart from that, I can't help you.
Good luck.

Dan

"newuser" <[EMAIL PROTECTED]> wrote in message
news:9Xc06.878$[EMAIL PROTECTED]...
> In article <sD906.83$[EMAIL PROTECTED]>, "Dan"
> <[EMAIL PROTECTED]> wrote:
>
> > Check the Changes file in the /usr/src/linux/Documentation directory.
>
> I'm getting the same error after, I checked the versions of all the
> packages in Changes. I already had the modules.conf ppp references, I
> re-made the mknod ppp /dev/ppp device...same problem
>
> it dials, its sends my password/usrname... but pppd isnt starting. I even
> manually started pppd via minicom..no prevail.
>
> I use a chat script to connect:
>
> /usr/sbin/pppd connect '/usr/sbin/chat -f /etc/ppp/net.chat' /dev/modem
> 115200 0.0.0.0: asyncmap 0 crtscts persist maxfail 0 holdoff 3
defaultroute &
>
> net.chat:
> "" ATZ
> OK
> ATm0l0
> OK
> ATDT18001234546
> ogin: username
> assword: Password
>
> this script works fine with linux 2.2.18 with ppp-2.4.0, but under
> 2.4.0testXX it doesnt work. everything is fine, I have the nameservers
> right..everything should connect but it doesnt.
>
> I decided to try out wvdial but it disconnected while trying to dial,
> still trying to work out why it does that :) but since it would still use
> ppp, I'd prolly have the same problem there..
>
>
> Dec 21 12:44:16 localhost kernel: PPP generic driver version 2.4.1
> Dec 21 12:44:16 localhost pppd[464]: pppd 2.4.0 started by root, uid 0
> Dec 21 12:44:37 localhost pppd[464]: Serial connection established.
> Dec 21 12:44:38 localhost pppd[464]: Exit.
>
> > Dan
> >
> > "newuser" <[EMAIL PROTECTED]> wrote in message
> > news:Ov206.738$[EMAIL PROTECTED]...
> >> # Linux 2.4.0testxx
> >>
> >> Dec 21 01:33:48 localhost pppd[539]: pppd 2.4.0 started by root, uid 0
> >> Dec 21 01:34:29 localhost pppd[539]: Serial connection established. Dec
> >> 21 01:34:29 localhost modprobe: modprobe: Can't locate module
> > tty-ldisc-3
> >> Dec 21 01:34:29 localhost pppd[539]: Couldn't set tty to PPP
> >> discipline:
> > Invalid
> >>  argument
> >> Dec 21 01:34:30 localhost pppd[539]: Exit.
> >>
> >> # Linux 2.2.x (same script, but pppd works)
> >>
> >> Dec 21 01:49:09 localhost pppd[556]: pppd 2.4.0 started by root, uid 0
> >> Dec 21 01:49:45 localhost pppd[556]: Serial connection established. Dec
> >> 21 01:49:45 localhost pppd[556]: Using interface ppp0 Dec 21 01:49:45
> >> localhost pppd[556]: Connect: ppp0 <--> /dev/modem Dec 21 01:49:46
> >> localhost pppd[556]: local  IP address 203.96.104.51 Dec 21 01:49:46
> >> localhost pppd[556]: remote IP address 202.27.176.164 Dec 21 01:49:47
> >> localhost modprobe: modprobe: Can't locate module net-pf-10
> >>
> >> ppp-2.4.0 installed and ppp compiled in (or a module) same error
> >> occurs, how do i fix it? on debian woody here.
> >
> >



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

From: [EMAIL PROTECTED] (Dustin Puryear)
Subject: Re: ODBC & MySql
Reply-To: [EMAIL PROTECTED]
Date: Thu, 21 Dec 2000 02:55:21 GMT

On Tue, 19 Dec 2000 13:50:32 +0400, Dennis <[EMAIL PROTECTED]> wrote:
>I am wondering if its possible to host a SQL database with Ms Visual Basic
>as front-end on a Linux box with an ODBC driver and MySQL or something else.

If you want to run MS VB on Linux you are out of luck AFAIK. However, you
can host your data on MySQL and access it from Windows using MyODBC. I assume
this was your real question.

A link to MyODBC is available at http://www.mysql.com.

Regards, Dustin

-- 
Dustin Puryear <$email = "dpuryear"."@usa.net";>
Integrate Linux Solutions into Your Windows Network
- http://www.prima-tech.com/integrate-linux


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

From: "Norman Dresner" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.embedded,comp.os.linux.development.apps,comp.os.linux
Subject: Re: Question About Timing Functions Under Linux
Date: Thu, 21 Dec 2000 02:56:28 GMT

Andi Kleen <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> "Norman Dresner" <[EMAIL PROTECTED]> writes:
>
> > It depends on your architecture.  Linux's clock in Alpha CPU's is 1 KHz;
in
> > x86, 100 Hz. That's the limit of the time resolution for most common
> > functions as a user.  You might want to check out Real-Time Linux as an
> > alternative.
>
> You can also just recompile a i386 linux kernel with a higher HZ constant
to get
> a faster ticking clock.
>
>
> -Andi

Yes, but AFAIK some standard programs will "break" at the new speed unless
they're recompiled too.

    Norm




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

From: Philo <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,nf.comp.linux
Subject: Re: Linux on a 720K LD disk....
Date: Thu, 21 Dec 2000 03:25:33 GMT

I did see a one disk distro...I believe it was called Tom's Linux ???
but it would format a 1.44 floppy at 1.70, so that one won't help you...
but i think all you'd have to do is take a distro such as pygmy linux
and copy it over ussing a file splitter utility...
i think it could be done on about a dozen disks or so...

or the other possiblity would just to do a cable transfer using
interlnk and inserver


Philo


Sent via Deja.com
http://www.deja.com/

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

From: frankc <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.embedded,comp.os.linux.development.apps,comp.os.linux
Subject: Re: Question About Timing Functions Under Linux
Date: Wed, 20 Dec 2000 20:43:01 -0700

If you are going to run this a long time and you are using a standard
distribution turn off as many processes as possible.  In particular turn
off crond.  It seemed to want to do some sort of scan at midnight on my
machine, and there was little else you could when it was running.  It
really sucks when you are trying to log in under a console and it reads in
text like molasses.




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

From: WORLOK <[EMAIL PROTECTED]>
Subject: Linux 2 Solaris translation question?
Date: Thu, 21 Dec 2000 03:41:39 GMT

Hi,

Does anyone know the Linux equivalent to finding the Superblock numbers
that this Solaris command outputs?

newfs -N /dev/dsk/c0t3d0s0

If there is any.....

Thanks,

Tom

--
================================
Viva Linux!! Viva La Revolutión!
================================


Sent via Deja.com
http://www.deja.com/

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

From: "John E. Garrott, Sr" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Linux on a 720K LD disk....
Date: Wed, 20 Dec 2000 04:27:15 -0800

Radix wrote:
> 
> Hi guys:
> 
> I have recently come across two old 386 laptops with low density disk
> drives.  I have used some of the small linux distros but they all come
> on one high density disk.   Is there anyway to make one of these small
> distros fit and boot off a 720K low density disk?   Or better yet,  is
> it possible to do up a small kernel with basic linux utilities to fit in
> 720K or less...
> 
> If this is possible, how would some of you do it.  For instance, I can
> put a kernel on a disk, but what utilities should I include with it???
> Thanks...
> 
> Sincerely,
> --
> -Trevor
> ----------------------
> "That's all right, I still got my guitar"...
> -James Marshall Hendrix (11/27/1942-09/18/1970)

Not sure, but I remember seeing something that said
Linux won't boot off of a 720k disk.  Try searching
on dejanews.com.

Good luck, and I hope I'm wrong,

John

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

From: Bob Bawcutt <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake,comp.protocols.time.ntp
Subject: Re: Setting my hardware clock to atomic clock?
Date: Thu, 21 Dec 2000 05:10:31 GMT

Bill Unruh wrote:

> In <91ljq8$k33$[EMAIL PROTECTED]> "Dan Jacobson" <[EMAIL PROTECTED]> 
>writes:
>
> >"Garry Knight" <[EMAIL PROTECTED]>
> >news:910okt$apr$[EMAIL PROTECTED]...
> >> In article <DvMY5.22123$[EMAIL PROTECTED]> "Paul"
> >> <[EMAIL PROTECTED]> wrote:
> >>
> >> > lcooke wrote:
> >> >
> >> >> I want to use cron to run a util to check the time via the net and
> >> >> set my clock when/if there's a difference in the hardware clock.
>
> >>   ntpdate ntp0.freeserve.net && hwclock --systohc
>
> A better option is to use chrony. It can both keep track of your
> hardware clock so that it can set the system clock accurately on bootup
> even if your hardware clock drifts, and go onto the net to use atomic
> clocks to keep your system withing afew milliseconds of accurate time.
>
> You set it up so that it goes on net only when you are connected using
> the ip-up and ip-down script.
>
> /etc/chrony.conf
> server   x.x.x.x offline
> driftfile /etc/chrony.drift
> logdir /var/log/chrony
> log tracking
> keyfile /etc/chrony.keys
> commandkey 25
> maxupdateskew 100.0
> dumponexit
> dumpdir /var/log/chrony
> rtcfile /etc/chrony.rtc
> initstepslew 30 x.x.x.x
>
> where x.x.x.x is the ip of an ntp server.
>
> /etc/chrony.keys
> 25 yyyyyyyy
>
> (this is your password to be able to carry out commands with chronyc)
>
> /etc/ip-up.local
> chronyc<<EOF
> password yyyyyyyy
> online
> EOF
>
> /etc/ppp/ip-down
> chronyc<<EOF
> password yyyyyyyy
> offline
> EOF
>
> And in /etc/rc.d/rc.local put
>
> chrony  -r -s
>
> instead of the clock intialisation routines there (hwclock)

Hi,
I'm also trying to have my hardware clock use the net for updates but I'm a new bee and
therefore limited - for now.
I tried the two command mentioned in this thread (rdate & ntpdate) from a Konsole but 
neither
command was found. I'm running 7.1 so maybe that  makes a difference.
Any suggests? I'd like to just get it to run from a command line first then move up to 
a cron
job later. Oh ya,  I'm on cable so I don't run PPP.
Thanks in advance the help

    Regards,
        Bob


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

Crossposted-To: alt.os.linux.mandrake,comp.protocols.time.ntp
Subject: Re: Setting my hardware clock to atomic clock?
From: [EMAIL PROTECTED] (Prasanth A. Kumar)
Date: Thu, 21 Dec 2000 05:23:12 GMT

Bob Bawcutt <[EMAIL PROTECTED]> writes:
<snip>
> Hi, I'm also trying to have my hardware clock use the net for updates
> but I'm a new bee and therefore limited - for now.  I tried the two
> command mentioned in this thread (rdate & ntpdate) from a Konsole but
> neither command was found. I'm running 7.1 so maybe that makes a
> difference.  Any suggests? I'd like to just get it to run from a
> command line first then move up to a cron job later. Oh ya, I'm on
> cable so I don't run PPP.  Thanks in advance the help
> 
>     Regards,
>         Bob

I use xntp3 on my system (and I use cable modem like you) and it is
much more automated and easy to setup. Anyway, install the appropriate
package for this program (eg. xntp3 RPM under Red Hat) and edit the
configuration file /etc/ntp.conf with something like this:

driftfile /etc/drift
server <time server 1 ip>
server <time server 2 ip>
server <time server 3 ip>
authenticate no

No start up the time server using whatever is in your bootup script
(eg. in Red Hat you do /etc/rc.d/init.d/xntpd restart) and wait a few
minutes till it synchronized and then type 'ntptrace' and it will
estimate how close it is tracking to the other clock. If you run this
before it synchronizes, it will give some kind of error. This program
is quite sophisticated in that it will allow backup time servers and
will even store drift values in a file so if you lose the connection
to the net, it will keep on correcting based on this old drift values!
So that means after you get it all working, leave the computer on for
a couple hours so it get a good estimate of the drift value for future
use.

-- 
Prasanth Kumar
[EMAIL PROTECTED]

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

From: Chan Chung Hang Christopher <[EMAIL PROTECTED]>
Crossposted-To: 
alt.comp.linux,alt.comp.periphs.videocards.nvidia,alt.comp.periphs.videocards.nvidia.programming,comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.questions,comp.os.linux.setup,comp.os.linux.x,linux.redhat,linux.redhat.i
Subject: Re: GeForce2 MX (Creative) Linux Problem
Date: Thu, 21 Dec 2000 13:38:25 +0800

go get the new version (4.0.2)

That's the only one that supports the Geforce 2 series.

Maverick wrote:

> I'm having problems installing my Creative GeForce2 MX under RedHat Linux 7,
> the drivers that came with linux don't recognize my GeForce2 MX, then i
> installed the NVIDIA 0.9-5 drivers, and when i installed them it gave a
> problem with agpgart module, it wont install that module because it couldn't
> find a supportable VIA chipset, then i tried the agp_try_unsupported=1 and
> it installed the agpgart module, and then i was able to install the nvidia
> drivers, but when i start X-WINDOWS it crahes the computer.
>
> My configuration: Intel Pentium III (EB) 667 Mhz, ASUS CUV4X Motherboard
> (VIA chipset), 128 MB RAM (133 Mhz), RedHat Linux 7.0, XFree86 4.0.1.


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

From: [EMAIL PROTECTED] (Thaddeus L Olczyk)
Subject: How to see all the cron jobs.
Date: Thu, 21 Dec 2000 06:04:37 GMT
Reply-To: [EMAIL PROTECTED]

Title says it all. As root I want to see all the cronjobs scheduled.
Right now I only see root's jobs ( of which there are none ).
Can anyone help?

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


** 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 by posting to comp.os.linux.misc.

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