LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Linux/Windows networking (https://www.linuxquestions.org/questions/linux-networking-3/linux-windows-networking-172511/)

glenbenton 04-20-2004 10:50 AM

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

ToeShot 04-20-2004 12:10 PM

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


All times are GMT -5. The time now is 04:57 PM.