× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: How can I see the AS/400 from my Linux box?
  • From: Andre Müller <andre.mueller@xxxxxxxxxxxxx>
  • Date: Fri, 8 Dec 2000 10:48:58 +0100
  • Importance: Normal

Hi Booth,

You wanted to know how to to find out, in which way the filesystems on that
box are shared.
They must be shared via SMB, because Windows can?t access NFS-Volumes
without any additional software.

What Linux-Distribution does he use ? Red Hat ? SuSE ? Corel Linux for
example provides a filemanager like the Win-Explorer and something like the
"Network neighbourhood", where you can do exactly the same to map that drive
as if youīre running Windows.  If you donīt like Corel, you can check out
the K-Desktop Enviroment (KDE) 2.0.This is a GUI for linux.  It provides a
filemanager/ webbrowser named "Konqueror" and does the same thing, and itīs
available for Red Hat, Suse, Debian etc.

If  the linux box has no GUI, you have the following options:

The simplest thing you  can do is install smbclient (part of the
samba-suite) on that linux box and do a

" smbclient \\Server(or IP-adress)\Service"

for example :

smbclient \\AS400\tmp

on the CLI.

This works quiet fine, and you donīt have to configure or use the
SAMBA-Server.smbclient is ready to work without any configuration!!! See the
manualpage for further options.

If you donīt want to use SMB or install smbclient you can use NFS. Linux
supports that native without any additional software. In that case, you only
have to edit  the file /etc/exports (fill in the filesystem you want to
share) on the 400 and start the NFS-Server.

Be sure, that the RPC-Portmapper on the linux box is running and do a:

mount -t (type of the filesystem, like msdos, vfat etc.) nfs //Server:/share
/mountpoint ( The specified directory must exist on the linux box !!!!! You
have to create an empty directory befor you can do this with "mkdir
/directoryname")

for example:

mount - t nfs  AS400:/tmp     /as400share

Thatīs all !!!!

If you want to mount the AS400 NFS-shares permanent, you have to edit the
file /etc/fstab on the linux box. (You have to be root to do this !!!)

It looks like:

LABEL=/           /                               ext2
exec,dev,suid,rw,usrquota,grpquota 1 1
/dev/cdrom            /mnt/cdrom                iso9660     noauto,owner,ro
0 0
/dev/fd0               /mnt/floppy                 auto
owner,noexec,dev,nosuid,rw,noauto 0 0
/dev/hda2          swap                          swap        defaults
0 0
AS400:/tmp           /as400share                nfs
exec,dev,nosuid,rw 1 1

If you donīt want that the share is mounted by the system at boot time,
choose "noauto" , if you choose this option you have to mount it by hand
with " mount /as400share".

Hope that helps........

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.