LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-20-2004, 10:50 AM   #1
glenbenton
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
Unhappy Linux/Windows networking


I'm still trying to connect a Windows machine to a Linux machine on a network.
Ok, I'm still trying to set up the connection via this route. (1)Ifconfig -a, to relate the hardware address to the network address, brings back command not found. (2) Netstat -rn to locate the devices position within the network, gives me destination 10.1.1.0, 169.254.0.0 and 127.0.0.0. None of these addresses I recognise and there are no entries for my Windows box:10.1.1.20 or my Linux box:10.1.1.10. Also traceroute(3) brings back command not found? When I ping 10.1.1.0 and 127.0.0.0 it returns with destination invalid. Can someone tell me why this is and where are the entries for my two machines
 
Old 04-20-2004, 12:10 PM   #2
ToeShot
Member
 
Registered: Nov 2001
Location: Near Chicago
Distribution: FC5, Solaris 10, WinXP
Posts: 152

Rep: Reputation: 30
ok lets start when you run netstat -m it brings back 10.1.1.0 which is the network linux will look for your default route (your linux box) so that is ok. The 169.254.0.0 is the is the AFIA address for windows so that is ok.

This sounds like a home network, I would change to a private IP class like 192.168.x.x For example

Linux Box 192.168.1.1 netmask 255.255.255.0
Win Box 192.168.1.2 netmask 255.255.255.0

Your machines need to be on the same network or they won't see each other

You need to have smb and nmb running also if you plan on sharing files between machines. I downloading samba 3.0.X and then setting up swat. to set up swat edit your /etc/xinetd.conf here is an example

xinetd.conf
#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}

includedir /etc/xinetd.d

service swat
{
port = 901
socket_type = stream
wait = no
only_from = localhost
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
}

Also make sure you have servcies running
shell prompt>$ chkconfig --levels 35 services on

I am not sure which version of windows you are running but if your running NT, 2K, or XP with NTFS you will need to have NTFS compiled into your kernel

If you need more help after this let me know. Toeshot@Hotmail.com
 
  


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
Linux/Windows networking thomasfingram Linux - Networking 4 07-01-2005 12:23 AM
Networking Between Linux and Windows Virum Linux - Networking 1 07-30-2004 08:31 AM
Networking Linux and Windows munky_hwm Linux - Software 3 04-22-2003 04:28 PM
networking windows and linux soko Linux - Newbie 1 06-14-2002 05:22 PM
windows and linux networking. IsawaSteve Linux - Networking 3 04-08-2002 06:04 PM

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

All times are GMT -5. The time now is 03:46 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