Don't know if this will help but...
I have a 2 box network, Wheezy and Win2K, cable connected and able to
access directories on the Win2K box from Debian.
Never needed to go the other way.
The Linux box is named playground, the Win2K box South40.
There is a router between them but it's not necessary (belt&suspenders).

On the Linux side:
    These packages installed:
        cifs-utils
        libfilesys-smbclient-perl
        libsmbclient
        samba-common
        samba-common-bin
        smbclient

/etc/hosts has these entries.
192.168.1.1     router
192.168.1.2     playground      play
192.168.1.3     south40         s40

/etc/hostname contains:
playground

/etc/network/interfaces has these lines:
# The primary network interface
allow-hotplug eth1
iface eth1 inet static
        address 192.168.1.2
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255

/etc/fstab has these entries:
//south40/H$/docs /south40/docs     cifs 
noauto,rw,user,credentials=/home/mike/smb.psswd,uid=1000,file_mode=0755,dir_mode=0755,nounix,noserverino
       0 0
//south40/I$/MP3s /south40/MP3s     cifs 
noauto,rw,user,credentials=/home/mike/smb.psswd,uid=1000,file_mode=0755,dir_mode=0755,nounix,noserverino
       0 0
#   docs & MP3s on different partitions

/home/mike/smb.psswd has 600 permissions and contains:
username=Win2K_user
password=Win2K_password

I have a small iptables firewall that must allow traffic to/from Win2K.

To access the Win2K files:
root@/deb73:/> mount /south40/docs

On the Win2K side:
StartMenu/ControlPanel/System/NetworkID/Properties:
    Computer Name = south40
    Member of workgroup = WORKGROUP
StartMenu/ControlPanel/System/NetworkID/NetworkID:  launches wizard
    Home use, Users must enter user name and password
StartMenu/Control Panel/Internet Options/Internet Properties/Security/Local 
Intranet/Sites/Advanced/:
    192.168.1.1
    192.168.1.2
StartMenu/Settings/Network and Dial-up Connections/Local Area Connection      
right click
    Properties check:
        Client for Microsoft Networks
        File and Printer sharing
        Internet Protocol(TCP/IP)
    select Internet Protocol(TCP/IP)/Properties:
        Use the following IP address:
            IP Addr:            192.168.1.3
            Subnet mask:        255.255.255.0
            Default Gateway:    192.168.1.2
        Use the following DNS server addresses:
            Prefered DSN:       208.67.222.222
            Alternate:          208.67.220.220
    select Advanced/WINS/Enable NETBIOS over TCP/IP

create C:\shared & shared it (only used with smbclient to pass files back & 
forth).

C:\WINNT\system32\drivers\etc\hosts:     192.168.1.2    playground


HTH,
Mike
--
Seven deadly sins:
    Anger, gluttony, envy, sloth, avarice, lust and pride.
I practice most of these so guess I'll die one day.

Reply via email to