RE: ReturnCode Checking for FTP

2009-05-06 Thread Eddie Chen





Hi Gary and Lowell,

  I just download and complied the ncftp and  run some ftp,  it looks nice.
  Going to check it out more later on... I like the diagnostics exit return
value on the ncftpput/get.

  Anyway, I have aready modify the tnftp(lukemftp) and started testing some
of the batch jobs.

   Thanks




Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the 
reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the 
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Euronext, Inc.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: ReturnCode Checking for FTP

2009-05-06 Thread Eddie Chen




Gary,

Yes I am look a retrunCode from  "put/get/reanme".
 We run and transmit very large amount of data and jobs thru out the
evening. These jobs runs under Linux and AIX.

   -  This was not an issue on the mainframe, the mainframe ftp client
support return code.

 Currently, we have two solutions,  write  script(s)  to look for "226"
and "250" and/or PERL ftp that reads ftp command.
 Reading the  ftp commands seems to be better, because it will exit(rc)
if any of  "put" or "rename" failed.

Thanks.


   
"Gary Gatten"  
    To 
   "Eddie Chen" ,   
05/06/2009  
 11:08 AM   cc 
   
   Subject 
   RE: ReturnCode Checking for FTP 
   
   
   
   
   
   




Can I assume you want return codes to know if the file was transferred
correctly?  Several years ago I was involved in architecting a
middleware app for file/data exchange.  For ftp delivery (and others)
we'd check the file size locally, put the file, then check the file size
on the remote side.  Not fool-proof, such as CRC or Hash of somekind,
but pretty good.  Use bin mode for everything.  Also, maybe as part of
the file record itself you can embed a hash and have the client check
this when processing the file on their end.

Unfortunately when using ftp you never know what the ftp server
supports, so unless you can dictate "supported" ftp servers, you can't
get too fancy.

G


-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Eddie Chen
Sent: Wednesday, May 06, 2009 9:24 AM
To: freebsd-questions@freebsd.org
Subject: Re: ReturnCode Checking for FTP





Lowell,

 On my AIX and Linux system we don't have fetch installed. I
Googled  "fetch", can't found the download  URL for "fetch".
   It seems "fetch(1)" will get file(s)... We mostly push the file(s) to
the clients.  Thanks.






    Lowell Gilbert

freebsd-questions@freebsd.org


cc
05/05/2009 Eddie Chen 

 08:56 PM
Subject
   Re: ReturnCode Checking for FTP



 Please respond to

 freebsd-questions

   @freebsd.org









Eddie Chen  writes:

>I am looking for a FTP clients that exit with a return code.
>
>However, last week I download the tnftp and started implementing
it.
>It's actually trivial to implement this feature.
>
>If this works, do you think it should be part of the ftp client.

I've never used return codes with ftp(1),
but I have used them with fetch(1), which
is also part of the base system.

Have you tried fetch?  If it doesn't meet
your needs, can you explain why?

--
Lowell Gilbert, embedded/networking software engineer, Boston area
 http://be-well.ilk.org/~lowell/




Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the

reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Euronext, Inc.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscr...@freebsd.org"








"This email is intended to be reviewed by only the intended recipient
 and may contain information that

Re: ReturnCode Checking for FTP

2009-05-06 Thread Eddie Chen




Lowell,

 On my AIX and Linux system we don't have fetch installed. I
Googled  "fetch", can't found the download  URL for "fetch".
   It seems "fetch(1)" will get file(s)... We mostly push the file(s) to
the clients.  Thanks.




   
Lowell Gilbert 
freebsd-questions@freebsd.org   
cc 
05/05/2009 Eddie Chen   
 08:56 PM  Subject 
   Re: ReturnCode Checking for FTP 
   
 Please respond to 
 freebsd-questions 
   @freebsd.org
   
   




Eddie Chen  writes:

>I am looking for a FTP clients that exit with a return code.
>
>However, last week I download the tnftp and started implementing it.
>It's actually trivial to implement this feature.
>
>If this works, do you think it should be part of the ftp client.

I've never used return codes with ftp(1),
but I have used them with fetch(1), which
is also part of the base system.

Have you tried fetch?  If it doesn't meet
your needs, can you explain why?

--
Lowell Gilbert, embedded/networking software engineer, Boston area
 http://be-well.ilk.org/~lowell/




Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the 
reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the 
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Euronext, Inc.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ReturnCode Checking for FTP

2009-05-05 Thread Eddie Chen




Lowell,

   I am looking for a FTP clients that exit with a return code.

   However, last week I download the tnftp and started implementing it.
   It's actually trivial to implement this feature.

   If this works, do you think it should be part of the ftp client.

   Thanks.




   
Lowell Gilbert 
    Eddie Chen   
cc 
05/05/2009 freebsd-questions@FreeBSD.org   
 02:23 PM  Subject 
   Re: ReturnCode Checking for FTP 
   
 Please respond to 
 freebsd-questions 
   @FreeBSD.org
   
   




Eddie Chen  writes:

> I am looking of implementing FTP return code checking after a command
> is issued
> If the FTP command return   "code"   not equal from return code to be
> check,  EXIT 255.
>
> Command:   "? nnn". Where "nnn" is the return code to be check.

I'm afraid that I don't understand your question.
Are you looking for an FTP client that will provide specific return
codes for specific errors?
Are you looking for the error codes for a specific FTP client?
Are you looking for help scripting your use of an FTP client?

--
Lowell Gilbert, embedded/networking software engineer, Boston area
 http://be-well.ilk.org/~lowell/




Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the 
reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the 
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Euronext, Inc.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


ReturnCode Checking for FTP

2009-05-04 Thread Eddie Chen




Dear Sir,

I am looking of implementing FTP return code checking after a command
is issued
If the FTP command return   "code"   not equal from return code to be
check,  EXIT 255.

Command:   "? nnn". Where "nnn" is the return code to be check.




Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the 
reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the 
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Euronext, Inc.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


free BSD An Approach for Using LDAP as a Network Information Service

2008-03-13 Thread Eddie C
http://www.faqs.org/rfcs/rfc2307.html

It seems to me that netgroups over LDAP is a powerful concept. From my
research into free BSD 6.2 and freeBSD 7.0 it seems that the
/etc/nsswitch.conf does not support the netgroups: database. Is there
any initiative to implement the functionality of the RFC? Is anyone
else using a similar login system?

The only way i see to accomplish anything similar is use the filter
options of nss_ldap and custom attributes to develop your own
workalike nss->ldap
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


NSCD cached Enterprise LDAP login

2008-03-04 Thread Eddie C
All,

My goal is to allow authentication SSH and sudo access though use of
an LDAP server. I have configured PAM to connect though to our LDAP
server and it is successful using LDAP as a user base. However, I can
only find scattered documentation on cached/nscd. Having the name
service catching is critical to our deployment because doing LDAP
lookups for information on file ownership such as 'stat' operations
would be impractical.

NSCD seems to be part of free BSD 7.0
http://www.freebsd.org/cgi/man.cgi?query=nscd&apropos=0&sektion=0&manpath=FreeBSD+7.0-stable&format=html.
I can find no reference to it in the 6.X line.

Will NSCD appear as port or package in free BSD 6.2 anytime soon? are
there any other working alternatives to NSCD for the 6.2?

Thank you,
Edward
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD pxe

2007-04-20 Thread Eddie Chen
I am in the process of setting up a FreeBSD pxe server using the the 
instructions from 
http://people.freebsd.org/~alfred/pxe/en_US.ISO8859-1/articles/pxe/article.html,
 and in step 3 (bootstrap setup), the links to kern.flp and mfsroot.flp floopy 
images are currently dead. Can you tell me where I can get a copy of those two 
files?  Thank You.
 
-- Eddie Xu Chen
UNIX Systems Administrator
Email: [EMAIL PROTECTED]
Phone: (919) 531-1993
Cell: (919) 601-0933
sas ... The Power to Know
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


new convert

2005-07-03 Thread Eddie Colon
Hello 

 I will be a new FreeBSD user as soon as I receive my DVD.  I am
a Linux user for a few yrs now.  I have a few concerns, I hope you
can answer me, I don't belong to any mailing lists.  I don't think
there are any user groups down here in Puerto Rico.

1-  Can you tell me if it has trouble detecting built-in
modems?  I have a notebook, an HP nx9020 and it's built-in modem uses
the conexant chipset,  My SuSE 9.3  had trouble with that until I got
a 3rd party driver from  www.linuxant.com. So, will run into the same
thing with freebsd?

2-  I have a HP scanjet 4600 scanner (usb)  that doesn't have a linux
driver... either from HP themselves or from the linux community.  I
can use it with my old windows desktop , but not with linux.  Can
you suggest any possible FreeBSD solution?

3-  Will FreeBSD  detect my Palm cradle (usb)?I use my PDA alot. 
I really like Jpilot as my pda  gui app.  Do you know of other Jpilot
users that use FreeBSD ?

I think I'm gonna stick with freebsd, so I will appreciate your
answers, or suggestions.






--
Eddie Colon
Bayamon, PR  00959

"The best things in life are not things"



 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Mac Address Spoofing(!)

2004-11-06 Thread eddie dandrades
Hello guys,

 I've set out to spoof my gateway's mac address so that I can get a
new ip address from my cable ISP without having to unplug my modem for
24 hours as they suggested (and is understandable, thats how long
their DHCP lease last). I've tried several things, one of which is
following the instructions here
http://ezine.daemonnews.org/200406/netgraph.html - I also tried doing:
ifconfig xl0 hw ether 00:00:00:00:00 to no avail.

I'm just wondering if anyone on this list knows of a way to do it
successfully or can provide me with a link to some useful
documentation.


Thanks guys!


gabriel
Member of:
FreeBSD-Announce
FreeBSD-Hardware
FreeBSD-Multimedia
FreeBSD-questions
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Unable to SSH tunnel

2004-07-12 Thread Eddie
I have webmin installed on a brand new installation of FreeBSD 5.2.1. I 
tunnel port 1 to my localhost and connect to wemin like this:

http://127.0.0.1:1
I always connect to webmin this way, with all *nix machines I admin. 
This does not seem to work with FreeBSD 5.2.1. It does work out of the 
box for other versions (4.7 and 4.8 at least) of FreeBSD though. Is 
there some rule somewhere preventing port forwarding in 5.2? Here's my 
netstat output:

bsd3c# netstat -nat
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
tcp4   0  0  192.168.1.19.22   69.91.145.220.46031
ESTABLISHED
tcp4   0  0  127.0.0.1.25   *.*LISTEN
tcp4   0  0  *.22   *.*LISTEN
tcp6   0  0  *.22   *.*LISTEN
tcp4   0  0  *.1*.*LISTEN
udp4   0  0  *.1*.*   
udp4   0  0  *.514  *.*   
udp6   0  0  *.514  *.* 

ipfw output:
ipfw: getsockopt(IP_FW_GET): Protocol not available
webmin is running and listening on port 1 as it's supposed to, and I 
can connect to webmin on the localhost with links. The sshd config file 
gives no indication that tunneling is disabled, and it has not been 
modified in any way. According to the OpenSSH documentation, 
"AllowTcpForwarding " is turned on by default. There is no reference to 
this in the sshd config file, however. I have included the sshd_config 
file for your review:

Port 22
#Protocol 2,1
#ListenAddress 0.0.0.0
#ListenAddress ::
# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_dsa_key
# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 3600
#ServerKeyBits 768
# Logging
#obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO
# Authentication:
#LoginGraceTime 120
#PermitRootLogin no
#StrictModes yes
#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys
# rhosts authentication should not be used
#RhostsAuthentication no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no
# Change to no to disable PAM authentication
#ChallengeResponseAuthentication yes
# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#AFSTokenPassing no
# Kerberos TGT Passing only works with the AFS kaserver
#KerberosTgtPassing no
#X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#KeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression yes
#MaxStartups 10
# no default banner path
#Banner /some/path
#VerifyReverseMapping no
# override default of no subsystems
Subsystem   sftp/usr/libexec/sftp-server
I would be glad to hear what anyone's thoughts are on this.
Eddie
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Page format problem

2004-01-08 Thread eddie

Whilst reading through site I came across a format problem with this
page.
 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.
html

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.552 / Virus Database: 344 - Release Date: 15/12/2003
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Page format problem

2004-01-08 Thread eddie

Whilst reading through site I came across a format problem with this
page.
 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.
html

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.552 / Virus Database: 344 - Release Date: 15/12/2003
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Internet Connection Problem

2003-07-06 Thread Eddie Tremblay
I just finished install Unix FreeBSD 4.8-RELEASE.  I am new to unix and i am 
having trouble setting it up on the internet.

I live in Ontario , Canada and i am using Bell Sympatico, DSL.

It is a broadband connection.   Can you please email me back telling me 
which file(s) i have to edit , and if possible , how to edit them?

Thank you

Ed Tremblay

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Laptops w/ FreeBSD pre-loaded (somewhat OT)

2002-12-30 Thread Eddie Winkler
On Monday 30 December 2002 03:28, John Bleichert wrote:
> Last year (when I wasn't in the market for a laptop) I found a
> site/manufacturer which sold Athlon- and Pentium-based laptops with
> Free/OpenBSD and/or Linux pre-installed. Now that I'm in the market
> I can't find the site to save my life. Has anybody seen such a site
> anywhere? I thought I found the site linked from freebsd.org but no
> luck.
>
> Thanks - JB
>
>
> #  John Bleichert
> #  http://vonbek.dhs.org/latest.jpg
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
A few months ago I came across one site on ebay.

They sell desknote computers (=laptop w/o batteries)
with a version of Linux installed. I think it's called 'ThizLinux'.
It may be worth checking out.

All the Best

Eddie Winkler

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message