I am a Slackware beginner of three weeks with no prior experience in UNIX.
I have done the following by reading Linux pages off the net and man pages
off the CD installer but, otherwise, with no human contact:
1. installed Slackware and some packages including Samba into a thrown-away
but revived 486DX2-66, 8MB RAM, 200 MB HDD (to be upgraded when the
"experiment" is successful)
2. got the Linux box to detect the NIC card
3. got Linux box -- designated server -- to ping three Windows 95 clients,
and vice versa. The three Windoze machines were originally peer-to-peer
networked through a hub and UTP. The Linux box was the fourth addition. I
could even telnet the Linux box from any of the 3 win95 machines and input
Linux commands from the telnet window.
What would be the next step to get this client-server network functional?
Please don't tell me to RTFM. I have and I am. I really hope to save some
time and frustration. The reading material I have (printed off the net)
sometimes skip important -- which seem unimportant -- parts or are specific
to another distribution.
Here are some configuration excerpts:
/etc/hosts
127.0.0.1 localhost
192.168.1.2 server.domain.name server
192.168.1.3 user1.domain.name user1
192.168.1.4 user2.domain.name user2
192.168.1.5 user3.domain.name user3
/etc/host.conf
order hosts, bind
/etc/resolv.conf
domain domain.name
search domain.name
/etc/rc.d/rc.inet1
IPADDR 192.168.1.2
NETMASK 255.255.255.0
NETWORK 192.168.1.0
BROADCAST 192.168.1.255
GATEWAY 192.168.1.1
/etc/rc.d/rc.modules
/sbin/modprobe ne io=0x320 #NE2000 at 0x320
/etc/smb.conf
workgroup = domain.name
I do have smbd and nmbd running in the background.
On the first win95 machine, I have the following
Control Panel -> Network -> Identification
computer name = user1 workgroup = domain
Control Panel -> Network -> Configuration -> TCP/IP
IP Address = 192.168.1.3 Subnet mask = 255.255.255.0
WINS configuration Enable WINS, Primary WINS Server = 192.168.1.2
Gateway = 192.168.1.1
Bindings - client for MS networks, file and print sharing for MS networks
DNS configuration - enable DNS, server = server, domain name= domain.name
I have some clues but don't understand them as follows:
1. "add the following lines to /etc/rc.d/rc.sysinit"
/sbin/ifconfig eth0 192.168.1.2 netmask 255.255.255.0
/sbin/route add -net 192.168.1.0 eth0
I don't have a rc.sysinit file, not with the installation. Should I build
one with the above two lines?
2. "restart Samba by using there two commands"
/etc/init.d/smb stop
/etc/init.d/smb start
I don't have neither the init.d sub-directory nor the smb file, not from
the installation. It could mkdir init.d but what about the smb file?
Another question is, once a Linux box is server, could it still perform as
a workstation? That is, be able to print and play sounds by itself. I am
aware that it could be print server, fax server and Internet server (latter
by IP Masquerading) for its clients.
Could anybody help, please.
Shaggy