OBJECTIVES: I. Assess the therapeutic activity of temozolomide (TMZ) in patients with non-small cell lung cancer (NSCLC) with or without brain metastases, untreated by chemotherapy for metastatic disease. II. Characterize the acute side effects of temozolomide in these patients. III. Assess the duration of response in responding patients.