Re: [newbie] Accessing (via ssh) PC Behind DHCP Server?

2002-07-02 Thread Kevin Old

Sevatio,

Yes, this is possible.  I use dyndns.org.  Basically what you do is
setup a subdomain at one of the domain names they let you choose from,
and then install a client on your server.  Whenever the DHCP connection
is refreshed, the new IP is sent to dyndns.org and the host record is
updated immediately, therefore you can always connect to your machine
via the subdomain.

Have a look at dyndns.org, and they'll explain it more.

HTH,
Kevin
On Mon, 2002-07-01 at 22:05, Sevatio wrote:
> How do you ssh into a machine that is behind a DHCP server?  For 
> example, linuxbox#1 has two NICs; eth0 is connected to the internet with 
> static IP, eth1 is serving DHCP & connected to linuxbox#2 (via crossover 
> cable).  Is it possible to ssh into linuxbox#2 from another computer on 
> the internet at a different location?
> 
> Thanks,
> Sevatio
> 
> 
> 
> 

> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Can't login to SunOS from Mandrake via telnet

2002-03-14 Thread Kevin Old

Thanks for your reply, but I am still not able to get this working.  Any
other suggestions?

Thanks,
Kevin
- Original Message -
From: "Gerald Waugh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 12, 2002 9:25 PM
Subject: Re: [newbie] Can't login to SunOS from Mandrake via telnet


> On Tuesday 12 March 2002 08:36 pm, you wrote:
> > Hello all,
> >
> > I have Mandrake 8.1 on my laptop and am trying to telnet to a SunOS box.
I
> > have tried all the terminals and am having the following problem:
> >
> > I type: telnet  and press Enter
> >
> > I get:
> >
> > SunOS 5.6
> >
> > login:
> >
> > After the login I type my username and press Enter, but the cursor just
> > moves to the "l" of login (on the same line) and does nothing.  I never
get
> > a prompt for a password and eventually the connection times out.
> >
> > I have been able to login just fine from Windows, but need access to
this
> > server from within Mandrake.  (it is a dual boot system)
> >
> > Any suggestions are appreciated,
> > Kevin
>
> Set your xterm Settings -< Keyboard to Linux Console
>
> HTH
>
> --
> Gerald Waugh
> Connecticut USA
>
>






> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
>




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Can't login to SunOS from Mandrake via telnet

2002-03-12 Thread Kevin Old

Hello all,

I have Mandrake 8.1 on my laptop and am trying to telnet to a SunOS box.  I
have tried all the terminals and am having the following problem:

I type: telnet  and press Enter

I get:

SunOS 5.6

login:

After the login I type my username and press Enter, but the cursor just
moves to the "l" of login (on the same line) and does nothing.  I never get
a prompt for a password and eventually the connection times out.

I have been able to login just fine from Windows, but need access to this
server from within Mandrake.  (it is a dual boot system)

Any suggestions are appreciated,
Kevin




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Network slow at times

2002-03-05 Thread Kevin Old

Hello all,

I have a network in my house (10 Base T) and a server which is connected to
and ADSL connection.  For some reason after about a week of use, with a
constant connection to the net, the internal network seems to slow down
dramatically.  It can take up to 30 seconds for me to be able to ssh to the
internal server from my laptop.  It seems that if I reboot the server
everything runs lighting fast.  Is there away to get this without restarting
the server?

Thanks,
Kevin





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] dos2unix....can't find the RPM on 8.1 distro?

2002-02-28 Thread Kevin Old

Hello all,

I need to convert a file from dos to unix and would like to use dos2unix,
but it isn't on the 8.1 CD.  Anyone else use something else?  Why isn't it
included with Mandrake 8.1?  Anyone use a RPM for another system?

Thanks,
------
Kevin Old




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Sending mail via Perl with Postfix

2002-02-20 Thread Kevin Old

Actually, I got it to work by just calling /usr/sbin/sendmail.  Evitentally
Postfix comes with a file called sendmail that redirects everything to
postfix.

Thanks for your help though,
Kevin
- Original Message -
From: "skinky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Kevin Old" <[EMAIL PROTECTED]>
Sent: Wednesday, February 20, 2002 5:08 PM
Subject: Re: [newbie] Sending mail via Perl with Postfix


> On Thursday 21 February 2002 11:39, Kevin Old wrote:
> > Hello all,
> >
> > I have a Mandrake 8.1 box running Postfix.  I have a few CGI's that need
to
> > send email.  I have always used Sendmail and have been come stumped with
> > this line in my script after swtiching to postfix:
> >
> > # * NAME (AND LOCATION) OF THE SERVER MAIL PROGRAM *
> > # Enter the name of your server's mail program.  Most servers are
> > # configured with a program called 'sendmail'.  You may, depending on
the
> > # server settings, have to enter the complete path in addition to the
name.
> > $mailprog = '/usr/sbin/sendmail';
> >
> > What should I put here?
> >
> > All help is appreciated,
> > Kevin
>
> Not that I know much about postfix but...
>
> [skinky]skinky$ whereis postfix
> postfix: /usr/sbin/postfix /etc/postfix /usr/lib/postfix
> /usr/share/man/man1/postfix.1.bz2
>
> So I guess you should put '/usr/sbin/postfix'
>
> HTH
> skinky
> --
> oxymoron:  Microsoft Works




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Sending mail via Perl with Postfix

2002-02-20 Thread Kevin Old

Hello all,

I have a Mandrake 8.1 box running Postfix.  I have a few CGI's that need to
send email.  I have always used Sendmail and have been come stumped with
this line in my script after swtiching to postfix:

# * NAME (AND LOCATION) OF THE SERVER MAIL PROGRAM *
# Enter the name of your server's mail program.  Most servers are
# configured with a program called 'sendmail'.  You may, depending on the
# server settings, have to enter the complete path in addition to the name.
$mailprog = '/usr/sbin/sendmail';

What should I put here?

All help is appreciated,
Kevin




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Restarting dead processes

2002-02-17 Thread Kevin Old

Hello all,

I have a quick question about monitoring processes.  I have a process
(adsl-connect) which should be running if the connection is live.  Most of
the time the connection is dropped by my ISP after about a week of online
time.  I'd like to write a shell script that can check and see if this
process is running and if not, restart it.

Here's a shell script that I've come up with, but can't get it to work:

#!/bin/sh

foreach DAEMON ( adsl-connect )
ps -e | fgrep "$DAEMON:t" | cut -c1-8 > /dev/null
if($status > 0) then
echo "Restarting $daemon"
#code to restart daemon
endif
end

Thanks,
Kevin




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Postfix on Mandrake 8.1

2002-02-12 Thread Kevin Old

Hello all,

Quick question on using Postfix on Mandrake 8.1.  What I have is basically a
gateway for my intranet that all machines go through.  2 NICs on the machine
and a DSL connection.  NIC with IP 192.168.1.1 is eth1 and is the internal
IP.  NIC with 192.168.1.5 is the one that ppp0 is bound to.  I have a domain
at dyndns.org - oldcomm.dyndns.org and have the it updating the IP via one
of the clients so that I can get to my machine from oldcomm.homeip.net even
when I get a new IP.  Haven't set an MX record on dyndns.org
configurationthey said I could do it without that.

Now with all that said, I want to configure Postfix (or Sendmail) to simply
send and receive mail from my domain (oldcomm.homeip.net).  I've looked at
several tutorials and examples and can't figure out what I need to do.  I
can send config files if needed.

Thanks,
Kevin




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Permissions: Nobody in Apache + PHP

2002-02-09 Thread Kevin Old

Andre,

Yes, it has to be a permissions issue.  Here's one thing that has gotten me
in the past.  Make sure that the directory (and ones above it) for
grafitti.dat have the same permissions and are owned and grouped exactly as
grafitti.dat is.  Try that and let me know what happens.  Also, check your
Apache error_log for error messages and they might help you pinpoint the
problem.

As for your original question, nobody is just an ordinary user like any
other.  The only thing is that the nobody account is disabled so that
nobody can log in in the normal way.  The purpose of having such an
account is to limit the power of processes that run as this user and to
partition them off to some extent from other users although there seems
to be something of a trend nowadays to run various services as their own
separate users (eg, in Debian: www-data for Apache, proxy for squid, et
al.)

If you want to know why 'nobody' is not singled out as a specially
restricted user then I can only give you my explanation and I don't know
how authoritative that is.  Firstly the Unix model says there are two
types of users: superusers (uid=0) and ordinary users (uid!=0).  Many
would argue that this approach is the reason Unix security is such a
problem so the question of whether introducing a new users with varying
privileges would actually help or not would need to be considered
carefully.  Perhaps the main reason why it hasn't been done so far is
that there is little need.  If you and I both have an account on the
system, can I delete your files?  Hopefully not -- unless you have
specifically given a group I am in this privilege (or, heaven forbid,
the dreaded 'other').  If you have private files then hopefully you have
set the permissions/umask appropriately hence I can't read these
either.  Consequently, we are both unprivileged users and only ourselves
(or, more correctly, processes with our uid) can do any damage to our
files (unless permission is granted otherwise).  Hence use of the nobody
limits the damage that can be done to 'nobody': a user who owns
virtually nothing and can only access (read/write) files to which r/w
permission has been granted to "other" -- how more unprivileged could
this be?  (Perhaps rlimits could be permanently enforced but in some
ways perhaps this is the responsiblity of the application process, not
the user id it runs as.)  As I said, this is just my opinion and someone
else can probably provide a better answer. :)


Hope this helps,
Kevin
- Original Message -
From: "Andre Dubuc" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 09, 2002 2:14 PM
Subject: [newbie] Permissions: Nobody in Apache + PHP


> Finally, I have working copies of Apache 1.3.22 and PHP 4.1.1 on my LM8.0
> box. Apache has been set up with "nobody' permissions, and I write test
> scripts as root and place them in /home/web/apache/htdocs.
>
> I can read scripts from this directory, but I've tried to use:
> . . . excerpt . . .
>
>  $filename = "/tmp/graffiti.dat";
>  $handle = fopen ($filename, "a+");
>  fputs ($handle, $graffiti); [I've also tried fwrite]
>  fclose($handle);
>
> . . .  followed by a form that takes $graffiti as input . . . and then a
php
> script that displays the contents of the appended $filename . . .
>
> And no matter what I try, nothing is written to "graffiti.dat" -- I've
> checked that it is writeable. Somehow, I think it's related to permissions
> and the group "nobody". I've written the script as root, and another as
user.
> Neither works. Apache (temporarily) is run at root -- I'm just learning
> Apache and PHP -- this is a developmental setup, not connected to the
outside.
>
> If there are any gurus that can help me, I'd appreciate it. Permissions
are
> set otherwise to 755.
>
> I'm obviously not clear on the concept of "nobody" and how it affects
running
> of scripts. Who cn arun these, if it's set to "nobody"?
>
> Tia,
> Andre
>
>
>
>
> --
> Please pray the Holy Rosary to end the holocaust of abortion.
> Remember in your prayers the suffering souls in Purgatory.
>
> May God bless you abundantly in His love!
>
> For a free Cenacle Scriptural Rosary Booklet --
http://www.webhart.net/csrb/
>
>
>






> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
>




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Licensing, Windows and Mandrake

2002-02-06 Thread Kevin Old

I don't know if it can be moved to Linux entirely.  It's software called ACS
(http://www.acshome.com/) and is church management (server/client) software.
I'm trying to setup Samba on the Linux server and install ACS onto that
drive and see if things will run.

One big problem is that if we let them know that we're using it all on a
Linux server, then they'll freak and won't give us tech support on the
client machines or for the software in general.  Also, updates they send out
could be an issue.

Anyone else have a Windows product (client/server) that they have been
successful in getting to work in Linux?

Thanks,
Kevin
- Original Message -
From: "shane" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 06, 2002 3:34 PM
Subject: Re: [newbie] Licensing, Windows and Mandrake


> MS, licensing, get around.
>
> that you can phrase it like that _screams_ law suit.  MS we are talking
> here.
>
> what are they accessing and could it be moved to a linux box entirely?
>
> On Wednesday 06 February 2002 11:29, you spoke unto me thusly:
>
> > Can
> > I get around licensing stuff like this...or am I asking for a law suit?
>
> i swear to you this sig was randomly choosen by my sig file.. really.
>
> --
> Microsoft, Windows, Windows 98, Bugs, Lacking Features, IRQ Conflicts,
> System Crashes, Non-Functional Multitasking, The Y2K Problem and The Blue
> Screen of Death ("BSOD") are registered trademarks of Microsoft Corp.,
> Redmond, Washington, USA.
>
> shane
> registered linux user @ http://counter.li.org/
> http://shentzu.home.mindspring.com/
> Proud to be a DMOZ editor since 10-98
> http://dmoz.org cause humans do it better!
> Link different.
> Profile at: http://dmoz.org/profiles/shen.html
>
>
>
>






> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
>




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Re: Licensing, Windows and Mandrake

2002-02-06 Thread Kevin Old

Jeff,

Thanks for your reply.  I'm not worried about Linux.  I'm a linux nut and
have been working with it for years.  I'm worried about Windows.

For instance, a client machine requests something from the Win2k box.
The request is received at the Linux box.
The Linux box passes and receives the request to the Win2k box.
The Linux box returns the data to the client machine.

Given this senario, do I need client licenses for the Win2k Server if they
are not going to be directly connecting to the Win2k box.

Thanks,
Kevin
- Original Message -
From: "jeff" <[EMAIL PROTECTED]>
To: "Kevin Old" <[EMAIL PROTECTED]>
Sent: Wednesday, February 06, 2002 3:23 PM
Subject: hey kev


> you probably already saw my post...hopefully...
>
> but...feel good my man...it's LINUX.
>
> it's free. what do you mean by lawsuits? you mean because
> you're integratiing linux into your pro-windows network?
>
> i am a little confused by your post. however, i wanted to
> email you and suggest that you go 100% linux network.
>
> :)
>
> think i'm nuts?
>
> well...how about this...at home, 100% linux...that's 2
> workstations and one software router/web
> server/email/random experiments.
>
> the web company i parted with recently...web servers...all
> linux...my workstations...all linux...
>
> there was no need for these silly licenses and other
> useless pieces of paper. save a tree.
>
> :)
>
> 2 years ago, i knew NOTHING about linux...and now it's all
> i use.  :)
>
> good luck my man...and if you have questions, post more on
> the list, and don't forget that the O'Reilly series books
> are REALLY great if you want to learn the stuff.
>
> -jeff
>




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Problems with LM 8.1

2002-02-05 Thread Kevin Old

Hakan,

First of all, I'd go back and reinstall your Mandrak installation and this
time use Expert Mode.  I think that should fix most, if not all of your
problems.  Then, come back and let us know your questions.

> 4) There is a network at my workplace, which uses Novell netware.  I have
a
> novell client at my computer, by which I can connect the network from
> Windows 95.  Is there any chance for me to connect to the same network
from
> Linux, either with or without a Novell client?

Linux Journal has an article about this.
http://www.linuxjournal.com/article.php?sid=1354

Hope this helps,
Kevin




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] new installation questions

2002-02-05 Thread Kevin Old



Ravi,
 
Have a look hereit's your best 
bet..http://www.linux-on-laptops.com/micron.html
 
Kevin

  - Original Message - 
  From: 
  Ravi Malghan 
  
  To: [EMAIL PROTECTED] 
  Sent: Tuesday, February 05, 2002 4:37 
  PM
  Subject: [newbie] new installation 
  questions
  
  I did a fresh installtion of 8.1 on a Mircon 
  laptop. I have the following queston/problems
  1. The installation does not seem to recognizing 
  the mouse correctly. It always shows 
  up as big white square instead of a pointer. 
  
  2. It default logs in in as a user userx. How can 
  I change this to ask for a login and 
  password.
  3. Whenever I login, I see 4 nautilius processes 
  running each taking about 7M of 
  memory. Do I need this nautilus? How do I disable 
  it. I have been a RedHat user for
  a while. Never seen this.
   
  Any help appreciated.
  TIA
  Ravi


[newbie] Knowing partition and mounting NTFS

2002-02-05 Thread Kevin Old

Hello all,

I am wondering if someone can tell me how to know what partition certain
operating systems are on?  For instance.I want to mount a NTFS from
within linux (I know how to do that for vfat so I assume I do the same
except the file system type is ntfs instead of vfat)

Someone said this line would work

'mount -t ntfs /dev/hda2/ /mnt/ntfs'

Or I could adapt that line into the fstab file.

Anyway, my question is, how did they know that the the ntfs system is on
/dev/hda2?

Is there a utility that can tell me this info?

Thanks,
Kevin




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com