Linux-Networking Digest #509, Volume #11 Sat, 12 Jun 99 11:13:33 EDT
Contents:
Re: Linux can't be a big role...???!!!
Re: ISO VT320 emulator with key-bindings for Oracle Forms (Frank da Cruz)
Ping remains silent!
Re: Linux can't be a big role...???!!!
Re: NIS ("P�r")
Re: Samba+Printer+Windows (Leo Stein)
Re: Linux can't be a big role...???!!!
NIS ([EMAIL PROTECTED])
Collisions on NFS with 2.2 kernel (Derek Glidden)
WU-FTPD questions for Linux... ("Steven J. Hill")
Re: Linux & Cybercafe (Gary Lawrence Murphy)
Re: SAMBA HELP!! (Monte Phillips)
Re: Create shares on linux for windows clients ("Lee Sharp")
Re: Step by Step Samba incl Winx (Monte Phillips)
ppp....file ("Nevyn")
----------------------------------------------------------------------------
From: <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Linux can't be a big role...???!!!
Date: Fri, 11 Jun 1999 10:20:45 -0400
On Thu, 10 Jun 1999, Yuki Taga wrote:
> With all due respect to your mother . . . she knows not what she pines for.
> <g> If she thinks Windows is confusing, she's going to be **lost** in Linux.
> *This* is the best one I've heard in a while. (I'm sure your mother is a very
> nice and very intelligent person, BTW.)
She thinks Windows is confusing because she doesn't handle icons and
graphics well. The majority of her computing life has been spent on
Trash-80's, Apple ][ series computers, UNIX (non-administratively), etc.
She's very set in her ways, and very used to command-line life. She loves
the SCO server at the office because the command line is straightforward.
She was sad to see DOS go.
Now, if there's one thing I've learned from Linux, it's this. It's a good
toaster. Once you can plug it in and learn to set it so it won't burn the
bread, you can pretty much press the button and get quality toast for
life. Linux is NOT tricky to use.
It IS, however, tricky to administrate for a while. Once you set it up
correctly, though, it really does take care of itself. Linux doesn't give
you the solution (Win98 tries to...it doesn't solve much, but...). It
gives you the tools to come up with whatever solution you think is
necessary. For my family's business, this is really really simple:
1) Set up Linux- configure system for dialup networking and SLIP
networking
2) Set up script to get the keybindings for the custom terminal emu.
correct.
3) Alias a suite of personal commands that my mother likes.
Lock and load- we're done. Maybe I customize them a little WindowMaker
root menu or something...leave a dockapp laying around so they can easily
restart the dialup.
Their other choice is a $300 program from their office solution supplier
that's nothing more than a program to run telnet over a SLIP LAN with some
special keybindings. And my mom is still trapped in a look-and-feel she
hates.
This isn't too out-there, either. I've seen a lot of tech column articles
about people setting up Linux boxes for their relatives/friends/etc who
are computer idiots but love Linux because "it's so simple." A properly
configured Linux box is VERY easy to use.
Cuplan.
------------------------------
From: [EMAIL PROTECTED] (Frank da Cruz)
Crossposted-To: comp.databases.oracle.misc,comp.sys.dec,comp.protocols.kermit.misc
Subject: Re: ISO VT320 emulator with key-bindings for Oracle Forms
Date: 11 Jun 1999 14:32:27 GMT
In article <7jr2s5$[EMAIL PROTECTED]>,
Peter da Silva <[EMAIL PROTECTED]> wrote:
: In article <7johsh$egs$[EMAIL PROTECTED]>,
: Frank da Cruz <[EMAIL PROTECTED]> wrote:
: >: >And that in any case, this does not solve the original problem:
: >: >
: >: > How do I map Shift-Alt-F7 to such-and-such a function?
: >: >
: >: >The answer will still be: "you can't, because the software has no way of
: >: >knowing that you pressed Shift-Alt-F7".
: >: >
: >: With a keyboard mapping file that maps escape sequences to symbols that
: >: the user's interested in.
:
: >If xmodmap recognizes your keyboard and can see Shift-Alt-F7 as distinct
: >from other key combinations, then yes, but only for xterm. A separate
: >solution is required for the console. Remote (non-X) sessions haven't a
: >prayer.
:
: Where did I say anything about xmodmap? I'm simply saying that a properly
: written terminal emulator can run on UNIX and provide the functionality
: required. That there isn't one that you know of is because there isn't a
: great need for one, not that one's hard to write.
:
Sorry, didn't mean to infer statements you didn't make -- after all,
we "da"'s have to stick together :-)
But again: in general, there is no API in UNIX to get the keycode of a
keyboard event.
PC operating systems like DOS and Windows let you do this at various
levels: per-key up/down events ("make/break codes") at the lowest level,
keycodes representing a composite event (such as "Shift-Alt-F7 was pressed")
at the next level, and ASCII characters at the top level. In general, UNIX
only gives you the top level.
If you have an X application, you can get keycodes. If your non-X application
is running in an X window, then it will get a stream of ASCII which results
from the X keymap. A stream of ASCII characters is inherently ambiguous. If
you get <ESC>OD, is it because the user pressed the Left Arrow key, or because
s/he pressed the Esc key, then the O key, then the D key?
If your application is running on the raw console, it *could* get keycodes or
raw key events but there is, in general, no API for this. Specific UNIX
varieties and versions *might* have such an API, but it will not be portable,
and it can't be used when the application is coming in a serial port, or on
a Telnet or Rlogin connection, or for that matter, in X.
Case in point -- Linux has obscure ways to put the console keyboard into
"raw" or "half-cooked" mode, but these are rarely used -- not only because
they are obscure, but because if your application messes up (e.g. crashes)
without putting the keyboard back the way it found it upon exit, you'll need
to pull the plug on your PC before you can use it again.
- Frank
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Ping remains silent!
Date: 11 Jun 1999 14:31:22 GMT
Dear Madam/Sir,
Well, just another mail from a newbie, struggling with basic network access
problems. Currently I'm trying to gain access to our local network from my
Linux PC using ethernet(3Com Etherlink III, 3C5098 TPC!).
I'm using the well-known ping command to check connections to other hosts
on this network. Ping works fine when 'pinging' to the localhost. It also
works fine when I use the ping command in combination with the IP address
for my PC.
But when I want to ping another host on the net I only get
PING <IP-address> (IP-address): 56 data bytes
and that's it! The ping doesn't come to an end.
I suspect something is wrong with the routing, or with the network card
itself, but don't know how to figure things out! Anybody out there who can
assist in solving this problem? Thanks in advance!
Greetings,
Gerard
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
From: <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Linux can't be a big role...???!!!
Date: Fri, 11 Jun 1999 10:25:38 -0400
On Fri, 11 Jun 1999, Ian wrote:
> Ask 10 people at random on the street and I doubt you would get more than
> one that thinks the is anything else that can run on a PC and chances are
> that one person will say there is only SCO.
For amusement, I tried this. I went into a busy section of Gainesville
and asked 10 people.
Only 2 of them only knew of Win9x
Most of them also knew of DOS
A startling plurality of them went "Windows...oh, and isn't there a Linux
thing, too? I read about it the other day."
None of them knew of SCO.
So much for that.
Cuplan.
------------------------------
From: "P�r" <[EMAIL PROTECTED]>
Subject: Re: NIS
Date: Sat, 12 Jun 1999 13:17:23 GMT
<[EMAIL PROTECTED]> wrote in message news:7jrud9$qav$[EMAIL PROTECTED]...
> I am trying to get NIS running on Red Hat 5.2. I set the domainname
> for the master and I have ypserv running on it:
>
> # /etc/rc.d/init.d/ypserv start
> # ps aux | grep ypserv
> root 1852 0.0 0.4 904 512 p6 S 14:50 0:00 ypserv
>
> I added this line to /var/yp/securenets:
> host 127.0.0.1
>
> Now, when I try:
> # rpcinfo -u localhost ypserv
>
> I get:
> rpcinfo: RPC: Timed out
> program 100004 version 1 is not available
> rpcinfo: RPC: Timed out
> program 100004 version 2 is not available
>
> Now, as fas as I can tell, portmap *IS* running. If I do:
>
> # ps aux | grep portmap:
>
> I get in return:
> bin 208 0.0 0.3 764 384 ? S 19:15 0:00 portmap
>
> So, naturally, when I try this next command on the master
> # /usr/lib/yp/ypinit -m
>
> I get all the usual messages:
>
> Updating passwd.byname...
> failed to send 'clear' to local ypserv: RPC: Timed outUpdating
> failed to send 'clear' to local ypserv: RPC: ...
> failed to send 'clear' to local ypserv: RPC: ...
> ... and so on.
>
> Can anyone please give me a hint as to what might be the problem?
> Samples of /var/yp/securenets and /etc/ypserv.conf files might
> narrow down the problem.
>
> Thanks in advance for any help...
>
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
Have you created the maps yet?
If not :
cd /var/yp
make
also check 'rpcinfo -p' and you should see that ypserv is registered with
portmap.
/P�r
------------------------------
From: Leo Stein <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.setup
Subject: Re: Samba+Printer+Windows
Date: Fri, 11 Jun 1999 13:52:23 GMT
In article <[EMAIL PROTECTED]>,
"Juan Ignacio P�rez Sacrist�n" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a linux box with samba and I would like to share a printer.
> Printerks works ok under Linux. But when trying to print from Windows,
it
> send the information to the linux box, and doesn't print anything,
without
> complainig in Windows.
>
> The /var/log/messages shows something like that:
> "authentication error".
>
> Samba printer configuration is:
>
> [printers]
> comment = All Printers
> ; path = /var/spool/samba
> path = /dev/lp1
> ; printer = laserjet
> ; path = /var/spool/printer
> ; browseable = yes
> # Set public = yes to allow user 'guest account' to print
> ; public = yes
> guest ok = no
> writable = no
> printable = yes
> ; valid users = pcguest
>
> Linux box is a RedHat5.2
>
> �Anybody can give me a key?
>
> Thanks a lot
>
> --
> Juan Ignacio P�rez Sacrist�n
> Dpto. Comunicaciones - MasterD
> [EMAIL PROTECTED]
>
>
if you want to print from any computer w/o a password, then uncomment
public = yes
however, if you want to authenticate, then you must set up smb.passwd
and set the path to that in the [general] section
Hope that helps.
--
-Leo the LionMan
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Linux can't be a big role...???!!!
Date: Fri, 11 Jun 1999 10:38:06 -0400
On Fri, 11 Jun 1999, Yuki Taga wrote:
> I have no argument with this. I like command lines. I simply maintain that
> anyone who thinks Windows is confusing (the mother in this case) is not even
> close to being ready for linux. Someone really new to computers is likely to
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is the crux of your faulty assumption. My mother isn't really new to
computers. There has been a computer in our house and/or in her place of
work since 1981. When my mother bought me my first computer in 1983 (I
was 3 at the time, BTW, and the computer was a TRS-80-CoCo-2 with cassette
tape for a storage device), she was the one who taught me BASIC
programming. She's very comfortable and familiar with things like old,
embedded OSes, AppleDOS, ProDOS, MS-DOS, UNIX, etc. These are the OSes
she became computer literate under. Windows has represented maybe 3 years
in her 18 year "computer lifetime." She, like many people, gets set in
her ways. *shrug*
> accidentally stumbling across "Find" on the Windows Start menu. That same
> person is highly unlikely to know the proper syntax for the 'find' command in
> Linux, nor are they likely to be able to make much sense out of the man page,
Unless someone like myself scripted a command for her. I know how to make
Linux friendly in a lot of environments. Maybe that's why I'm on the SEUL
team.
Cuplan.
------------------------------
From: [EMAIL PROTECTED]
Subject: NIS
Date: Fri, 11 Jun 1999 21:17:39 GMT
I am trying to get NIS running on Red Hat 5.2. I set the domainname
for the master and I have ypserv running on it:
# /etc/rc.d/init.d/ypserv start
# ps aux | grep ypserv
root 1852 0.0 0.4 904 512 p6 S 14:50 0:00 ypserv
I added this line to /var/yp/securenets:
host 127.0.0.1
Now, when I try:
# rpcinfo -u localhost ypserv
I get:
rpcinfo: RPC: Timed out
program 100004 version 1 is not available
rpcinfo: RPC: Timed out
program 100004 version 2 is not available
Now, as fas as I can tell, portmap *IS* running. If I do:
# ps aux | grep portmap:
I get in return:
bin 208 0.0 0.3 764 384 ? S 19:15 0:00 portmap
So, naturally, when I try this next command on the master
# /usr/lib/yp/ypinit -m
I get all the usual messages:
Updating passwd.byname...
failed to send 'clear' to local ypserv: RPC: Timed outUpdating
failed to send 'clear' to local ypserv: RPC: ...
failed to send 'clear' to local ypserv: RPC: ...
... and so on.
Can anyone please give me a hint as to what might be the problem?
Samples of /var/yp/securenets and /etc/ypserv.conf files might
narrow down the problem.
Thanks in advance for any help...
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Derek Glidden <[EMAIL PROTECTED]>
Subject: Collisions on NFS with 2.2 kernel
Date: Fri, 11 Jun 1999 14:55:49 GMT
I'm having a problem where my 2.2 kernel Linux clients are experiencing
30+% collision rates reading/writing to/from my Linux NFS server.
I have four client machines on 10Mbps switch with the server on 100Mbps
port on the switch. Of the client machines, three are currently running
the 2.2 kernel (2.2.9 on two of them being highly customized RedHat 5.2
installs, 2.2.5 on the third being a freshly installed RedHat 6.0) and
one is still running 2.0.36. The NFS server is a RedHat 6.0 box with a
custom-configured/compiled 2.2.9 kernel. The server is using a 10/100
Intel EtherExpress Pro100 running at 100Mbps, the 2.2 clients have
variously 3x900, 3c509, and 3c589 PCMCIA, and the 2.0.36 box is an
NE2000 clone.
The 2.0.36 box doesn't have any problems whatsoever with collisions - a
couple thousand noted out of some tens of millions of packets
xmit/recv'd. The 2.2 kernel boxes, however, are regularly experiencing
30% collision rates when they try to read/write any substantial quantity
of data from the NFS shares. The NFS server is reporting no collisions
on its interface. Any traffic other than NFS causes no increase in the
rate of collisions.
All the machines are running the same applications doing the same sorts
of reads/writes against the server, so I would expect them all to show
the same behaviour, rather than the strange lack of problems the 2.0.36
machine is showing.
It's gotten to the point where it's difficult to do any serious work
over the network since response time from the NFS mounts has degraded to
a point that it's nearly unusable, and several client applications on
the 2.2 boxes are experiencing errors reading/writing to/from files
because of the NFS problems. What's worse is that this is by no means a
high-I/O app - I can easily send 10x the data across the network with
FTP and experience no collisions whatsoever.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
With Microsoft products, failure is not Derek Glidden
an option - it's a standard component. http://3dlinux.org/
Choose your life. Choose your http://www.tbcpc.org/
future. Choose Linux. http://www.illusionary.com/
------------------------------
From: "Steven J. Hill" <[EMAIL PROTECTED]>
Subject: WU-FTPD questions for Linux...
Date: Sat, 12 Jun 1999 09:03:57 -0500
Greetings. I am running version 2.4.2-BETA-18 of wu-ftpd and I am trying
to figure out if I can use symbolic links for the 'pub' directory. I
want to make 'pub' actually point to another directory which is mounted
on a another partition and therefore obviously not physically located in
in the '/home/ftp' directory hierarchy. I did the following command:
ln -s /data/webdocs/downloads pub
from the '/home/ftp' directory. When I log in anonymously and try to
'cd pub' it gives the error message '550 pub: No such file or directory.'.
Is there a way to make wu-ftpd follow symlinks? Thanks in advance.
-Steve
------------------------------
From: Gary Lawrence Murphy <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system
Subject: Re: Linux & Cybercafe
Date: 11 Jun 1999 11:15:50 -0400
Reply-To: [EMAIL PROTECTED]
>>>>> "A" == Alan Curry <[EMAIL PROTECTED]> writes:
>> ?? Maybe this seems to obvious, but couldn't one just take away
>> the user's write permissions on any files they can't change,
>> and viola! safety? The same could be done with execute
>> permissions as well....
A> Who will volunteer to audit the entire netscrape source tree to
A> verify that there is no way to get it to download a file, chmod
A> it to 755, and run it?
A> Maybe you are, maybe you aren't, but with the netscrape
A> executable being 13 megs I bet there's a hell of a lot we're
A> both missing and that's why I wouldn't count on it to provide
A> any kind of restricted access to a guest account.
Just for the record, I did a Linux CyberCafe in an exhibit for the
Ontario Science Center (in 1995) where we had about 1000 visitors per
day in to use these machines completely unsupervised. Anyone who
works in a museum knows the general public is the most hostile
environment in the known universe.
Also, for the record, the Gene Wilburn (Royal Ontario Museum) and I
have embarked (only just barely) on an project to create an opensource
distribution of Linux called the Linux Kiosk --- it's only a little
more than a gleam in our eyes, but we invite anyone interested to join
the mailing list at http://www.egroups.com/group/linux-kiosk
Ok --- here's what I did, and it worked very well:
1) Have a backup tape of the installation and have it automatically
refresh the entire hard disk daily before you open the gates.
2) Netscape is run from inittab so it is the only app that will run;
for fun, I mapped all the text consoles to lynx.
3) This may have changed, but in 1994's netscape, you could adjust the
X-Resources to remove the quit buttons
4) All config files in the guest homedir are owned by root and read
only. It's been a long time, but I think I tried making their
homedir read-only but had to settle for allowing them some ability
to save things and rely on the overnight disk-contents reset
5) I used a stripped down fvwm, disabled the Ctrl-Alt-Del and Bksp &c
The platform was the all-in-one model of Compaq (Presario?) and the real
bonus of these machines was that I could monitor the machines using
standard unix tools and could telnet in during the day to fix them when
things went strange.
Now, the public did find ways to break these machines. Eventually we
put back the reboot keys so the floor staff (who knew squat about
computer in 1995) could restart a stuck machine. We also used a proxy
server so we would have a log of activity: I didn't censor anyone, but
if someone went to 'questionable' places, I'd get an alert and we would
have a record. The alert let me one day shut down some kids who were
going for the playboy site (boy, were they surprised when the machine
rebooted just as the image got to the bippy) and making the log public
stopped the staff after-hours search for hard-core ;)
--
Gary Lawrence Murphy <[EMAIL PROTECTED]> TeleDynamics Communications Inc
Business Telecom Services : Internet Consulting : http://www.teledyn.com
Linux/GNU Education Group: http://www.egroups.com/group/linux-education/
"You don't play what you know; you play what you hear." -- (Miles Davis)
------------------------------
From: [EMAIL PROTECTED] (Monte Phillips)
Subject: Re: SAMBA HELP!!
Date: Fri, 11 Jun 1999 14:52:07 GMT
Good god folks,
its a simple text file simply retype the damn thing, cut and paste one
of the zillion examples in the docs.
sheesh reinstall and corrupted indeed!
>Your file is corrupt? How about uninstalling and reinstalling SAMBA. That
>should give you a clean copy of smb.conf
>Just a stupid thought.
>
>
>Admin wrote:
>
>> Hi All,
>>
>> My smb.conf file is corrupted can anyone email the default(or edited)
>> smb.conf for RH6.0. This is located in /etc. Thanks,
>>
>> PS. Email it directly to [EMAIL PROTECTED]
>>
>> Thanks again.
------------------------------
From: "Lee Sharp" <[EMAIL PROTECTED]>
Subject: Re: Create shares on linux for windows clients
Date: Fri, 11 Jun 1999 15:43:40 GMT
Peter King <[EMAIL PROTECTED]> wrote in article
<[EMAIL PROTECTED]>...
> Is ther a nice GUI interface for creating shares on a linux box for
windows
> clients to access. I have most of the latest distributions of linux
> installed on various boxs on our network.
The program is Samba. It comes with most distributions and the later
versions have a HTML front end. It can also do WINS, and PDC functions.
> I am looking to replace NT servers for our customers with Linux boxes.
> Anyone know of a good book covering this type of transition. Most
customers
> just want small file print sharing networks of upto 10 users. Internet
and
> email sharing would be nice for them.
Paul G Sery's book, Linux Networking Toolkit. It is a bit out of date
<RH 5.1> but still quite good, and easy to read.
Lee
--
SCSI is *NOT* magic. There are *fundamental technical reasons* why it is
necessary to sacrifice a young goat to your SCSI chain now and then. *
Black holes are where God divided by zero. - I am speaking as an
individual, not as a representative of any company, organization or other
entity. I am solely responsible for my words.
------------------------------
From: [EMAIL PROTECTED] (Monte Phillips)
Subject: Re: Step by Step Samba incl Winx
Date: Fri, 11 Jun 1999 14:55:42 GMT
This site has a step by step howto for complete setup of samba. steps
for both linux and the win machine. (and they really work <G>)
http://www.sfu.ca/~yzhang/linux/samba/index.html
g'Luk
On Tue, 08 Jun 1999 13:56:12 GMT, [EMAIL PROTECTED] (Monte Phillips)
wrote:
>This site has a step by step howto for complete setup of samba. steps
>for both linux and the win machine. (and they really work <G>)
>http://www.sfu.ca/~yzhang/linux/samba/index.html
>
>g'Luk
------------------------------
From: "Nevyn" <[EMAIL PROTECTED]>
Subject: ppp....file
Date: Sat, 12 Jun 1999 15:40:23 +0100
someone told me about a file to help get ppp workin called
"pppsetup-2.15.tar.gz" said it was in the sunsight
archive...somewhere....can anyone tell me where because i cant find it...at
all...i must have searched through half the site.....
------------------------------
** 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.networking) 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-Networking Digest
******************************