Click to See Complete Forum and Search --> : Problem setting up a win/Linux LAN
smugdou
11-21-2002, 05:29 PM
Been trying to setup a LAN between two boxes: one Windoze98 and one Linux.
I have set the Win box to 192.168.0.2 with mask 255.255.255.0
I am setting up the Linux connection with
ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up
I have double checked my cables but still cant ping the other machine. Can anyone suggest something I have missed? I dont think there's anything wrong with the hardware installation.
Thnx
froggy3132000
11-21-2002, 06:28 PM
What kind of configuration do you have?(router,hub, etc..)
mpooley
11-21-2002, 06:36 PM
have you got SAMBA running?
smugdou
11-22-2002, 09:26 AM
I'm using a hub with two straight through cables to connect the two boxes.
The Linux box has Mandrake 8.1 installed with Network client & server, configuration, Firewall & routing software packages installed from the startup disks. Unfortunately I'm unsure exactly which apps are installed. I have not attempted any routing yet, I just tried to set static IP addresses, set the connection UP and tried to ping the other computer.
I followed the instructions in the
Setup Of A Linux / Windows9x Micro-LAN How-To
which seemed to be short and easy to understand - am I missing something? Is it worth reinstalling the Linux box with KDE?
Tuxic
11-22-2002, 06:20 PM
Originally posted by mpooley
have you got SAMBA running?
You don't need samba to ping between the 2 boxes.
Have you tried it with another cable?
snowdog
11-22-2002, 08:03 PM
Is the Firewall (Shorewall I'm assuming) interferring? I have Mandrake 9.0 running as a Samba server and I tried Shorewall. It wouldn't allow any connection at all. I had to disable it just to ping the Windows machines. Hope this helps.
smugdou
11-23-2002, 05:48 PM
Found the problem -
for some unknown reason my Win98 box has two entries of every network device (modem and NIC). One set of TCP/IP ethernet properties was correctly set up, but the other wasn't.
Its working a treat now, if anyone might know why I have two occurrences of everything I'd love to know but seeing as everything's working now I'm not about to start fiddling with it anymore case I brake it
Cheers folks
Paleo Pete
11-24-2002, 08:40 PM
Snowdog: I'm running Mandrake 8.1 also, went through my settings last night and it appears to be running Tiny Firewall, I can't find anything related to Shrewall anywhere so far. (Someone trying to assist in my thread thought I might be running Shorewall too, I didn't know at that time.)
Tuxic is correct, as far as I can tell Samba does not have to be running to get ping replies.
smugdou: I'm lots more familiar with Windows machines than Linux, and drivers showing up two or more times is fairly common. I;m not sure why though. One of mine would find try to install something every time I rebooted no matter what I did. Never did figure it out...
My best guess is the registry or an ini file gets damaged and Windows reinstalls hardware or protocols it already has. The best way to clean it up is to reboot into Safe Mode and remove anything listed twice in Device Manager (remove ALL instances), reboot again and let Windows find it once. When two show up, Windows doesn't know which one to use so usually it won't use either.
Yeah, I know this is not a Windows forum, but he asked, so I answered... :P