Linux-Networking Digest #349, Volume #11 Mon, 31 May 99 14:13:36 EDT
Contents:
php3 (Haaino Beljaars)
Re: Telnet again ("Jan Johansson")
Re: two webserver at 1 IP (Paul Schultz)
backup to dat streamer with kdat (Torsten Mack)
Re: which one is the .profile for /root (Clarence Riddle)
Re: Solaris 7 as NFS Server for Linux (Peter Ogilvie)
Re: Repost: no help after 3 days: Windows NT to Linux over PPP and Samba ("Lee
Sharp")
Re: Help with Masquerading. (Luca - De Whiskey's - De Vitis)
exim mailer and auth requests, how to disable? (Tobias Galitzien)
Re: An attachment with sendmail... (Henrik Carlqvist)
Re: Repost: no help after 3 days: Windows NT to Linux over PPP and Samba (Karel
Geeraert)
Re: which one is the .profile for /root ("bubba")
----------------------------------------------------------------------------
From: Haaino Beljaars <[EMAIL PROTECTED]>
Subject: php3
Date: Mon, 31 May 1999 11:17:38 +0200
Hi,
I am searching for a search where I can learn to program in PHP(3). And I
looked at www.php3.net . Are there any suggestions?
Greetings from Haaino Beljaars
Home Page: HTTP://www.phys.uu.nl/~beljaars/
I am pro Open Source Software
EASY TO INSTALL = Difficult to install,
but instruction manual has pictures.
------------------------------
From: "Jan Johansson" <[EMAIL PROTECTED]>
Crossposted-To: force9.tech.linux
Subject: Re: Telnet again
Date: Mon, 31 May 1999 11:17:13 +0200
>What I don't understand is: although stopping people from logging in as
root
>is probably a security measure, why is it any more secure to let me log in
>as a user and su?
It isnt, thats why telnet should be closed altogether, use SSH + sudo
instead.
------------------------------
From: [EMAIL PROTECTED] (Paul Schultz)
Subject: Re: two webserver at 1 IP
Date: 31 May 1999 01:08:38 -0500
On Sun, 30 May 1999, Eugene Strulyov <[EMAIL PROTECTED]> wrote:
>I believe you need a real IP address to run a web server.
Not really, there's various utilities out there like ipautofw and slinux to
take the input of a specific tcp port on one machine and direct it to another.
with the slinux utils you would just do:
redir --lport 100 --caddr=10.0.0.2 --cport 80
that would take anything coming in on port 100 and throw it to the NT server's
port 80.. You ofcourse need good old IP Masquerading configured on the linux
machine so traffic coming from your inside web server can make it out.
Paul
>
>
>Han van Hulst wrote:
>>
>> Hi,
>>
>> Is it posible to have two webservice 1 on a NT machine and 1 on a Linux
>> machine?
>>
>> My gateway is a linux machine with 2 network card's
>> 62.108.18.137 netmask 255.255.254.0 (outside world)
>> 10.0.0.1 netmask 255.255.255.0 (inside world)
>>
>> Second webserver NT machine.
>> 10.0.0.2 netmask 255.255.255.0 (inside world)
>>
>> I am trying to get the linux machine on port 62.108.18.137:80 (default)
>> and the other on 62.108.18.137.100 (demo server)
>>
>> I have IPChains running under linux RedHad 5.2.
>>
>> Is it posible to chain 62.108.18.137:100 to 10.0.0.2:(100 or 80)
>>
>> greeting
>>
>> Han van Hulst
>> [EMAIL PROTECTED]
------------------------------
From: Torsten Mack <[EMAIL PROTECTED]>
Subject: backup to dat streamer with kdat
Date: Mon, 31 May 1999 18:03:27 +0200
==============C4EF7D7008DA73DE4B71E00E
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
hi,
I want to backup my hard drive to a dat tape streamer using kdat (kde).
I have SuSE 6.1 and kde 1.1 running. using kdat the backup always has to
be started manually.
my question: is there a possibility to add a line to /etc/crontab that
makes the backup start automatically. kdat is very handy to recover
files. it would be nice to automate the backup process by , if
neccessary, any other programm.
thanx
torsten
--
"Great spirits have always found violent opposition from mediocre
minds" (Albert Einstein)
=====================================================================
Torsten Mack, DaimlerChrysler AG, Research Center Ulm,
Phone: +49 731 505 2356, Fax: +49 731 505 4113
Mail: P.O. Box 23 60, 89013 Ulm, Germany
Visitors: Wilhelm-Runge-Str.11, 89081 Ulm, Germany
Email: [EMAIL PROTECTED]
=====================================================================
==============C4EF7D7008DA73DE4B71E00E
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
hi,
<br>I want to backup my hard drive to a dat tape streamer using kdat (kde).
<br>I have SuSE 6.1 and kde 1.1 running. using kdat the backup always has
to
<br>be started manually.
<br>my question: is there a possibility to add a line to /etc/crontab that
<br>makes the backup start automatically. kdat is very handy to recover
<br>files. it would be nice to automate the backup process by , if
<br>neccessary, any other programm.
<br>thanx
<br>torsten
<pre>--
"Great spirits have always found violent opposition from mediocre
minds"
(Albert Einstein)
=====================================================================
Torsten Mack, DaimlerChrysler AG, Research Center Ulm,
Phone: +49 731 505 2356, Fax: +49 731 505
4113
Mail: P.O. Box 23 60, 89013 Ulm, Germany
Visitors: Wilhelm-Runge-Str.11, 89081 Ulm, Germany
Email: [EMAIL PROTECTED]
=====================================================================</pre>
</html>
==============C4EF7D7008DA73DE4B71E00E==
------------------------------
From: Clarence Riddle <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,jaring.os.linux,comp.os.linux.setup
Subject: Re: which one is the .profile for /root
Date: Mon, 31 May 1999 11:12:53 -0500
Reply-To: [EMAIL PROTECTED]
The .profile is called ".bash_profile" and is in the login directory.
/root/.bash_profile
cgr
bubba wrote:
> Or you could make a referance to say $HOME/.profile in the /etc/profile
> file, with the x bit turned on on that file.
>
> Blake!
>
> Ian Tester <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > On Mon, 31 May 1999, Ujang Mohamad Zainudin wrote:
> >
> > > how do i change the profile for "root".
> > > i tried creating ".profile" in /root but it has no effect when i
> > > relogin.
> > > SO is it at /.profile or /etc/profile.
> >
> > /etc/profile is the system-wide profile which _everybody_ runs.
> >
> > try setting the executable (+x) permission for /root/.profile
> > (I'm not sure if this is needed, but it shouldn't hurt if it isn't)
> >
> > hope this helps,
> > bye
> >
> > --
> > 8<--------8<--------8<--------8<--------8<--------8<--------8<--------
> > Ian Tester *8)# \7\ LINUX: because geeks will find a way
> > [EMAIL PROTECTED] \7\ http://www.zipworld.com.au/~imroy
> >
> >
------------------------------
From: Peter Ogilvie <[EMAIL PROTECTED]>
Subject: Re: Solaris 7 as NFS Server for Linux
Date: Mon, 31 May 1999 09:59:44 -0700
Jim Roberts wrote:
> I use S7 her as an NFS server to both Linux and FreeBSD. The new kernel
> NFS on Linux screams.
>
I'm sure it does after you get it working. My NFS mounts to my server
just hang. I'm not seeing any error messages on either the server or
client side. The NFS HOWTO has not yet been updated for the 2.1
changes. Does anyone know of a place to find documentation on the new
implementation so I can turn on some tracing?
Thanks,
Peter
------------------------------
From: "Lee Sharp" <[EMAIL PROTECTED]>
Subject: Re: Repost: no help after 3 days: Windows NT to Linux over PPP and Samba
Crossposted-To: comp.protocols.ppp,comp.os.linux.setup
Date: Mon, 31 May 1999 16:56:48 GMT
Karel Geeraert <[EMAIL PROTECTED]> wrote in article
<[EMAIL PROTECTED]>...
> I'll try to be more clear.
And you did a good job. Thank you.
> I have a client that both can run Windows NT workstation and Linux, and I
> have one server that permanently runs Linux.
> I want to be able to dial-in from a remote location to the server from my
> client (portable) under Windows NT and access the Samba server file
shares.
> I can without any problem dial-in from my client if I run under Linux.
> I have two kinds of problems:
> 1) Both connecting from my desktop under Linux and under NT, I only get
> connected at a speed of 33600. Ideally I would like to be able to dial-in
> into the server and have the server to call me back and establish the
> connection.All of this I presume has nothing to do with PPP, since this
speed
> is already established before I get the login prompt. Consider this as a
> minor problem.
Unless you have a ISDN T/A on the server side that supports V.90, 33.6
is all you gonna get. The psudo-56k standard requires didgital at one end,
and a lot of other stuff as well.
> 2) If I dial-in from under NT with a dial-up. I get ppp established, but
that
> is all there is. I do not see any network traffic between the client and
the
> server. If I do a PING from the server at that moment to the client, I
get
> only CRC errors. If I try to telnet from the client to the server, I can
only
> get a connection during the first two seconds of the established PPP
> connection. Could it be some IP conflict? But which one?
A real connection? Odd. It shouldn't work at all.
> These networking settings do work if I connect through the ethernet
> interfaces. Do I need to have a different IP setting of the client for my
> dial-up connection and for my ethernet connection. I do not intend to use
> them simultaneously.
Yes. It should be set to be fed from the server. The server sees the
ether IP address as local to the ether subnet. You need different IP
addresses for every interface, reguardless of type.
> Could it have something to do with the message in /var/log/messages:
> 'modprobe: can't locate module net-pf-4'? But then again, why does it
work
> correctly with my client booted under Linux?
Do a ifconfig. I bet it changed the IP address of you PPP interface
durring logon. First, I would set the server to assign an IP address from
a pool of IP addresses unused on the local net. A local ARP table will
show them all attached to the servers NIC. Then I would set the clients to
use DHCP to get the PPP address, or statically set them to the one in the
pool. Give it a shot, and see what happens.
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] (Luca - De Whiskey's - De Vitis )
Crossposted-To:
alt.os.linux,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.misc,comp.os.linux.questions
Subject: Re: Help with Masquerading.
Date: 31 May 1999 08:54:04 GMT
Reply-To: [EMAIL PROTECTED]
In article <7ipade$k5e$[EMAIL PROTECTED]>, jimlynn wrote:
>Hi,
> I have a linux box setup to run IP Masquerading for my home network. I
>find that some applications no longer work with this in place. Does anyone
>know how to make certain applications like live updates for software (e.g.
>Norton's live-update feature) work correctly? Any help is greatly
>appreciated.
When i made my first experiments with IP Masquerading, i've noticed that some
network services as ftp didn't work properly with it. This appened bcause with
IP Masquerading it is necessary to load some appropriated kernel modules:
I was not successful to make them be loaded automatically (I needed to look
into the kernel to know why... but time isn't so mutch :), so i made a small
function in a bash script that load/unload them when i star up/shut down my
firewall; i hope it will be usefull.
modules ()
{
FLAGS=""
un=" "
if [ "$1" = "remove" ]
then
FLAGS="-r"
un="un"
fi
cd /lib/modules/`uname -r`/ipv4/
for mod in ip_masq_*
do
echo -ne "\t$un"
echo -ne "loading modules `echo $mod | sed 's/\.o//'`... "
if modprobe $FLAGS $mod
then echo -e "\tdone"
else echo -e "\tfailed"
fi
done
cd -
}
Luca De Vitis
------------------------------
From: Tobias Galitzien <[EMAIL PROTECTED]>
Subject: exim mailer and auth requests, how to disable?
Date: 31 May 1999 09:57:15 GMT
Hello!
How can I prevent exim from sending out an auth request (and waiting about
30 sec for the answer which will never come) when a client is attempting to
make an SMTP connection?
Alternatetively - can I decrease the timeout?
The client is Windows NT and I'd prefer not to install an identd server
there. The exim MTA is version 2.05 and runs on Debian 2.1, Kernel 2.0.36.
There is no firewall between them where I could redirect the auth request.
Thanks a lot for any help!
--
Tobias Galitzien mailto:[EMAIL PROTECTED]
Channel.One GmbH http://www.channel-one.de
------------------------------
From: Henrik Carlqvist <[EMAIL PROTECTED]>
Subject: Re: An attachment with sendmail...
Date: Sun, 30 May 1999 20:52:28 +0200
"Daniel G�linas" wrote:
> I use Linux and I want to know if it's possible to transmit
> a file (an attachment) in a binary format (for example, a "tif"
> file), with "sendmail".
Yes.
> I f yes, how?
uuencode example.tif - | mail [EMAIL PROTECTED] -s "The tif file"
> Also, I want to know what must I do to have a job ID number
> when I do a sendmail, to verify later the status of that
> transmission?
Check with mailq
regards Henrik
--
spammer strikeback:
root@localhost [EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
------------------------------
From: Karel Geeraert <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.ppp,comp.os.linux.setup
Subject: Re: Repost: no help after 3 days: Windows NT to Linux over PPP and Samba
Date: Mon, 31 May 1999 12:08:14 +0200
Allright,
I'll try to be more clear.
I have a client that both can run Windows NT workstation and Linux, and I
have one server that permanently runs Linux.
I want to be able to dial-in from a remote location to the server from my
client (portable) under Windows NT and access the Samba server file shares.
I can without any problem dial-in from my client if I run under Linux.
I have two kinds of problems:
1) Both connecting from my desktop under Linux and under NT, I only get
connected at a speed of 33600. Ideally I would like to be able to dial-in
into the server and have the server to call me back and establish the
connection.All of this I presume has nothing to do with PPP, since this speed
is already established before I get the login prompt. Consider this as a
minor problem.
2) If I dial-in from under NT with a dial-up. I get ppp established, but that
is all there is. I do not see any network traffic between the client and the
server. If I do a PING from the server at that moment to the client, I get
only CRC errors. If I try to telnet from the client to the server, I can only
get a connection during the first two seconds of the established PPP
connection. Could it be some IP conflict? But which one?
These networking settings do work if I connect through the ethernet
interfaces. Do I need to have a different IP setting of the client for my
dial-up connection and for my ethernet connection. I do not intend to use
them simultaneously.
Could it have something to do with the message in /var/log/messages:
'modprobe: can't locate module net-pf-4'? But then again, why does it work
correctly with my client booted under Linux?
Below is a small part of my /var/log/messages file:
May 31 10:21:57 coge-pc_server FaxGetty[365]: MODEM /
May 31 10:23:31 coge-pc_server FaxGetty[365]: ANSWER: DATA CONNECTION
May 31 10:23:31 coge-pc_server FaxGetty[365]: GETTY: START "/sbin/getty -h
cua0 115200", pid 1517
May 31 10:23:37 coge-pc_server PAM_pwdb[1517]: (login) session opened for
user ppp by (uid=0)
May 31 10:23:37 coge-pc_server login[1517]: LOGIN ON cua0 BY ppp
May 31 10:23:37 coge-pc_server pppd[1518]: pppd 2.3.3 started by ppp, uid 500
May 31 10:23:37 coge-pc_server pppd[1518]: Using interface ppp0
May 31 10:23:37 coge-pc_server pppd[1518]: Connect: ppp0 <--> /dev/cua0
May 31 10:23:43 coge-pc_server pppd[1518]: found interface eth0 for proxy arp
May 31 10:23:43 coge-pc_server pppd[1518]: local IP address 100.1.1.3
May 31 10:23:43 coge-pc_server pppd[1518]: remote IP address 100.1.1.4
May 31 10:25:06 coge-pc_server modprobe: can't locate module net-pf-4
May 31 10:26:48 coge-pc_server FaxGetty[365]: GETTY: exit status 01
May 31 10:26:48 coge-pc_server pppd[1518]: Hangup (SIGHUP)
May 31 10:26:48 coge-pc_server pppd[1518]: Modem hangup
May 31 10:26:48 coge-pc_server pppd[1518]: Connection terminated.
May 31 10:26:49 coge-pc_server pppd[1518]: Exit.
Hope this is more clear and someone can help me out.
Karel
Gilford Wimbley wrote:
On Sun, 30 May 1999 11:40:34 +0200, Karel Geeraert
<[EMAIL PROTECTED]> wrote:
>Can somebody please have a look at this ?
>
>Karel Geeraert wrote:
>
>>
>> I already figured out, that when the IP address for my ppp-client is
>> different from the IP address that I normally use for the ethernet
>> connection, I sometimes get a telnet connection, but not reliably.
>>
>> Moreover, in any case, if I PING from the server to the ppp-client
>> IP-address, I get 100% packets lost and on the ppp-client, I get
>> plenty of
>> CRC errors. So they seem to see each other, but refuse to communicate.
>>
>> I hope this helps better to solve my problem
>>
>>
>> Does anybody have a clue why I don't get any network traffic (e.g.
>> when
>> using telnet, network neighborhood, hylafax client, ...) over ppp
>> when I
>> connect from my NT to a Linux server installed with samba, ...
>>
>> If I connect from Linux to the Linux server, I am able to
>> communicate.
>>
>> I am desperate. I presume it has something to do with my NT settings.
>
> Some further info:
>
> The connect speed under 3 below is only 33600 and I don't see any
>activity
> in the Dial-up Networking Monitor.
>
>By the way, does anybody know how to set the modem/server to callback
>with
>ppp?
>
>Two questions after having setup samba and ppp dial-in.
>
> 1) When establishing an IP connection from my NT to Linux through PPP,
>I
> seem not to have any IP service (such as Hylafax) available. It does
> work if I establish a PPP connection from another Linux machine.
>
> 2) Will the samba services be available over PPP. As I understood,
>samba
> is an IP service. Probably the answer to question 1 will answer this
> question.
>
> 3) When I connect to the server, I only get connected at 38400 instead
> of the expected 57600, although I adaoted for this speed in the
> config.cua0 and setup.modem files by giving a maximum of 115200.
>
> Can anybody give an appropriate explanation ?
>
>
>
The reason you are not getting help is that it is very difficult to
understand what you are asking by reading your post. You are going to
have to provide a lot more information in a much more organized
fashion.
What kind of machines (what OS) are involved in this problem? How are
they connected to each other and to the internet. What are you trying
to do with the machines? What do you know works, and what do you
think doesn't work, and why? Try to put yourself in the place of
someone reading your post. Would you be able to figure out what it is
all about? (right now the answer is no.)
This is not a flame. Please take it as constructive criticism.
;-)
regards,
GW
------------------------------
From: "bubba" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,jaring.os.linux,comp.os.linux.setup
Subject: Re: which one is the .profile for /root
Date: Mon, 31 May 1999 02:58:43 -0700
Or you could make a referance to say $HOME/.profile in the /etc/profile
file, with the x bit turned on on that file.
Blake!
Ian Tester <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Mon, 31 May 1999, Ujang Mohamad Zainudin wrote:
>
> > how do i change the profile for "root".
> > i tried creating ".profile" in /root but it has no effect when i
> > relogin.
> > SO is it at /.profile or /etc/profile.
>
> /etc/profile is the system-wide profile which _everybody_ runs.
>
> try setting the executable (+x) permission for /root/.profile
> (I'm not sure if this is needed, but it shouldn't hurt if it isn't)
>
> hope this helps,
> bye
>
> --
> 8<--------8<--------8<--------8<--------8<--------8<--------8<--------
> Ian Tester *8)# \7\ LINUX: because geeks will find a way
> [EMAIL PROTECTED] \7\ http://www.zipworld.com.au/~imroy
>
>
------------------------------
** 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
******************************