LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-05-2003, 12:16 PM   #1
nereus2
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 8.0
Posts: 6

Rep: Reputation: 0
Question Win2k and RH8 crosslink connection


Hi!

I ma a new linux user, and I am still using my win2k pro (not server). i would like to share files with my RedHat8 linux machine via cross link cable.
I have installed 2 netcards into win machine and 1 into linux as well.
How can I make my linux to cooperate with win?

Thanks for your help!
 
Old 10-05-2003, 12:25 PM   #2
Vraxx
LQ Newbie
 
Registered: Oct 2003
Location: Hawaii
Distribution: Debian, Mandrake, Redhat/Fedora
Posts: 13

Rep: Reputation: 0
If you're looking at sharing files across the two you will want to read up on the Samba package. It provides connectivity for SMB/CIFS shared resources over NetBIOS.

Nautilus should allow you to browse the network neighborhood as you do on your Windows machine. I can't recall if RH8 has the same "Network Servers" menu item but that is basically a link that runs Nautilus with with the correct smb:/// address.

If you're running the 2nd NIC because you have a broadband connection make sure you set the cross-over connected network cards to the correct IP Address values.

Hope that helps a little.
 
Old 10-05-2003, 12:46 PM   #3
nereus2
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 8.0
Posts: 6

Original Poster
Rep: Reputation: 0
Hello!

I think first I need to set correctly the configurations.
I can ping the linux machine from win but can not do th same in the opposite way.

I have heard that I should set for win machine (2nd netcard) the IP 192.168.0.1 and subnet 255.255.0.0
for the linux machine 192.168.0.2 and 255.255.0.0

but then waht shoul I do? It is not working

Thank you in advance for you help!
 
Old 10-05-2003, 01:05 PM   #4
Vraxx
LQ Newbie
 
Registered: Oct 2003
Location: Hawaii
Distribution: Debian, Mandrake, Redhat/Fedora
Posts: 13

Rep: Reputation: 0
The IP address ranges should be within the same subnet so the suggestion for 192.168.0.1 and .2 with 255.255.0.0 as the subnet mask is valid. Let's see are you running any sort of Firewall software on the Win2k machine? Norton Personal Firewall, ZoneAlarm that kinda thing?

A cut and paste of the output from ifconfig would also be useful in this instance.
 
Old 10-05-2003, 01:12 PM   #5
nereus2
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 8.0
Posts: 6

Original Poster
Rep: Reputation: 0
Thank You!! ))

Firewall...of course I forget it totally..
The ping is working in both direction..I will try to reach the shared folders..

Thanks for your help!!
 
Old 10-05-2003, 01:35 PM   #6
nereus2
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 8.0
Posts: 6

Original Poster
Rep: Reputation: 0
I have only one problem. I have installed the Samba package, but I can not reach my win machine.

In Nautilus I typed in for location smb:///192.168.0.1
or I have tried with the shared folder's name at the end but doesn't work.

Should I set still something?
 
Old 10-05-2003, 06:48 PM   #7
Vraxx
LQ Newbie
 
Registered: Oct 2003
Location: Hawaii
Distribution: Debian, Mandrake, Redhat/Fedora
Posts: 13

Rep: Reputation: 0
i would first try using the nmblookup command to make sure it's able to resolve the NetBIOS information

nmblookup -a <ip of host>

That should do the same type of thing as the windows ntbstat command

Try running nautilus with just smb:/// to allow it to browse the network
 
Old 10-06-2003, 09:10 AM   #8
nereus2
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 8.0
Posts: 6

Original Poster
Rep: Reputation: 0
I tried with Nautilus smb:/// but can not browse.

for trying nmblookup -A 192.168.0.1
i have received the followings: (I think this is good

nmblookup A 192.168.0.1
Looking up status of 192.168.0.1

CREEP <00> - B <ACTIVE>
ZWACK <00> - <GROUP> B <ACTIVE>
CREEP <20> - B <ACTIVE>
ZWACK <1e> - <GROUP> B <ACTIVE>
ZWACK <1d> - B <ACTIVE>
..__MSBROWSE__. <01> - <GROUP> B <ACTIVE>


..so that's all.
ZWACK is my workgroup on win LAN, and CREEP is my win machine name.
 
Old 10-06-2003, 11:51 AM   #9
nereus2
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 8.0
Posts: 6

Original Poster
Rep: Reputation: 0
Something correction.

I have tried in Nautilus with smb://192.168.0.1
and I can see the icon for my windows machine, but I can't see the shared folders.

Next step? Has Anybody advice or suggestion?
 
Old 10-06-2003, 07:35 PM   #10
td_miles
Member
 
Registered: Sep 2003
Location: Australia
Distribution: RedHat
Posts: 51

Rep: Reputation: 15
try (from a linux shell window):

smbmount //windows_machine/share /mnt/mountpoint -o 'username=windows_user,password=windows_passwd'

obviously you will need to replace the bits with your relevant details. You will also need to create the location "/mnt/mountpoint" using the command "mkdir /mnt/mountpoint" prior to attempting the smbmount command.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Win2k RH8/9 Dual Boot book Linux - Newbie 12 05-08-2003 04:49 PM
RH8 & Win2k AD [D] Linux - Networking 3 03-31-2003 10:05 AM
simplest file sharing between Win2k Pro and RH8... kublador Linux - Networking 3 03-22-2003 08:44 PM
Linux RH8 -->Samba---->Win2K ? Micro Linux - Networking 7 11-07-2002 10:17 PM
Cannot print to Win2K shared printer from RH8 mjamil Linux - Networking 0 11-05-2002 08:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration