Jump to content

Mandrake 10.1 to WIN98 network [solved]


Ironfighter
 Share

Recommended Posts

Can anyone tell me how I can share files between these 2 machines please. I have samba installed and a firewall enabled from MCC . I am sharing an internet connection using a 4 port router / modem.

 

here is some stuff which may be of help:

 

eth0 Link encap:Ethernet HWaddr 00:01:02:00:28:A9

inet addr:192.168.1.5 Bcast:255.255.255.255 Mask:255.255.255.0

inet6 addr: fe80::201:2ff:fe00:28a9/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:495 errors:0 dropped:0 overruns:0 frame:0

TX packets:513 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:170665 (166.6 Kb) TX bytes:69399 (67.7 Kb)

Interrupt:3 Base address:0xbc00

 

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:79 errors:0 dropped:0 overruns:0 frame:0

TX packets:79 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:5066 (4.9 Kb) TX bytes:5066 (4.9 Kb)

 

[root@localhost laurie]# hostname

localhost

[root@localhost laurie]# route

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

192.168.1.0 * 255.255.255.0 U 0 0 0 eth0

127.0.0.0 * 255.0.0.0 U 0 0 0 lo

default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

 

[root@localhost laurie]# ping 192.168.1.4

 

PING 192.168.1.4 (192.168.1.4) 56(84) bytes of data.

64 bytes from 192.168.1.4: icmp_seq=1 ttl=128 time=0.613 ms

64 bytes from 192.168.1.4: icmp_seq=2 ttl=128 time=0.431 ms

64 bytes from 192.168.1.4: icmp_seq=3 ttl=128 time=0.402 ms

64 bytes from 192.168.1.4: icmp_seq=4 ttl=128 time=0.404 ms

64 bytes from 192.168.1.4: icmp_seq=5 ttl=128 time=0.389 ms

64 bytes from 192.168.1.4: icmp_seq=6 ttl=128 time=0.391 ms

64 bytes from 192.168.1.4: icmp_seq=7 ttl=128 time=0.423 ms

64 bytes from 192.168.1.4: icmp_seq=8 ttl=128 time=0.412 ms

64 bytes from 192.168.1.4: icmp_seq=9 ttl=128 time=0.398 ms

64 bytes from 192.168.1.4: icmp_seq=10 ttl=128 time=0.399 ms

64 bytes from 192.168.1.4: icmp_seq=11 ttl=128 time=0.395 ms

64 bytes from 192.168.1.4: icmp_seq=12 ttl=128 time=0.400 ms

64 bytes from 192.168.1.4: icmp_seq=13 ttl=128 time=0.436 ms

64 bytes from 192.168.1.4: icmp_seq=14 ttl=128 time=0.392 ms

64 bytes from 192.168.1.4: icmp_seq=15 ttl=128 time=0.390 ms

64 bytes from 192.168.1.4: icmp_seq=16 ttl=128 time=0.387 ms

64 bytes from 192.168.1.4: icmp_seq=17 ttl=128 time=0.388 ms

64 bytes from 192.168.1.4: icmp_seq=18 ttl=128 time=0.393 ms

64 bytes from 192.168.1.4: icmp_seq=19 ttl=128 time=0.395 ms

64 bytes from 192.168.1.4: icmp_seq=20 ttl=128 time=0.399 ms

64 bytes from 192.168.1.4: icmp_seq=21 ttl=128 time=0.396 ms

64 bytes from 192.168.1.4: icmp_seq=22 ttl=128 time=0.400 ms

64 bytes from 192.168.1.4: icmp_seq=23 ttl=128 time=0.407 ms

64 bytes from 192.168.1.4: icmp_seq=24 ttl=128 time=0.403 ms

64 bytes from 192.168.1.4: icmp_seq=25 ttl=128 time=0.402 ms

 

--- 192.168.1.4 ping statistics ---

25 packets transmitted, 25 received, 0% packet loss, time 23996ms

rtt min/avg/max/mdev = 0.387/0.409/0.613/0.050 ms

[root@localhost laurie]#

 

One other thing when I run ipconfig in the win 98 box I get:

 

0 Ethernet adapter

 

IP address 0.0.0.0

subnet mask 0.0.0.0

Default Gateway (nothing)

 

1 Ethernet adapter

 

IP address 0.0.0.0

subnet mask 0.0.0.0

Default Gateway (nothing)

 

2 Ethernet adapter

 

IP address 192.168.1.4

subnet mask 255.255.255.0

Default Gateway 192.168.1.1

 

Three Ethernet Adapter - This is weird is it not? :D (I have had a number of failed attempts to get this far including a change of ethernet card on the windows box - the first was dodgy)

 

My windows firewall has ¨Home¨ 192.168.1.0/255.255.255.0 in the ¨Trusted Zone¨

Link to comment
Share on other sites

Just wanted to say that networking with Windows98 is fully related to the position of the moon, nasdaq index and spirits. Even with win98 <--> win98/2k/XP. I don't mean that Linux is the only choice, as I'm writing this one on my XP desktop. If you just had any chance to change that 98 to 2k or XP, it would be a lot easier.

 

If you're using KDE, you can configure it in your KDE Control Center. It's easy to configure Samba shares that way. It should be under Networking --> Browse Local Network (translations from finnish, so they might not be the same in your system). I think that you have to install some package before you can do that (I were thinking that it could be ksambaplugin, but didn't find it from urpmi). Someone else could help you with that.

 

In Gnome:

 

# urpmi gnosamba

 

Never tried this one, but you could install drakwizard and then configure Samba from MCC.

 

# urpmi drakwizard

 

Many ways to do this (including the CLI, but IMHO it's easier to do with a GUI). :)

 

Good luck though. :thumbs:

Link to comment
Share on other sites

Why, What is the difference between it and xp or 2k?

Aslong as the 2 pc's are in the same lan zone and can ping eachother should not the 2 of them be able to communicate hardware wise? Even if they are in 2 seperate wkgrp's?

 

Can Laurie be pinged from the 98?

 

For the samba I found that the best way to test it and get it up and running was to just modify the smbconf near the end to what I wanted to share.

 

Course the creating of users and passwd's.

 

when it was up webmin has done all the configs for me without even going gui...

Now I'm just working on mounting of my winshares and then I'm good to go.

 

Btw what is the MCC? lol

And how many nic's do you have in the 98 box?

Edited by gem-in-eyez
Link to comment
Share on other sites

ok, the easiest way to do is to access the windows 98 shared folder from linux, you dont need samba server to be installed, since by default, kernel has a built in support on smbfs, considering that you have configured windows 98 file sharing ( of course we dont need to tackle it here how to do it) then you just have to open the konqueror and in the location bar, you can type

smb://192.168.1.4

according to your post, that is the win98 ip address... after doing that, press enter, and it should show you shared folders from your windows 98, unlike on 2k and XP, it will promt you for a username and password to access any shared folders.

.

on the linux side, of course to enable smb sharing, you should install samba-server, then configure the /etc/samba/smb.conf file... so its up to you how you would configure samba, options are, edit that file manually ( lots of example at samba.org) or use swat or webmin or MCC ( mandriva control center) then make sure that you firewall allowed access to ports 445,137,138,139 or consider that ip as trusted so firewall will allow it fully, or just for testing, disable firewall.

.

Link to comment
Share on other sites

Gem-in-eyez, thank you for your reply.

laurie (and laurie@localhost) or 192.168.1.5 (my linux box) cannot be pinged from 192.168.1.4(win 98 box).

MCC is Mandrake Control Centre (a GUI tool I have found of great help in setting up my linux box)

I have 1 NIC on my win 98 box and 1 NIC on my linux box (thats why I thought the output showing 3 ethernet adapters on my win 98 box was weird) :lol2:

Link to comment
Share on other sites

Thank you for your reply aioshin. I tried the Konqueror route and got the following error message:

¨Error while connecting to server responsible for smb://192.168.1.4/¨

I am beginning to think this is a firewall thing. With firewall off I can ping each way.

By the way the IP address in my win 98 firewall is 192.168.1.0. My router is 198.168.1.1.

I am completely new to networking but this doesn´t look right to me.

I think I have to take this one step at a time - perhaps I should concentrate at seeing the win 98 box from the linux box as the first step.

Edited by Ironfighter
Link to comment
Share on other sites

Gem-in-eyez, thank you for your reply.

laurie (and laurie@localhost) or 192.168.1.5 (my linux box) cannot be pinged from 192.168.1.4(win 98 box).

MCC is Mandrake Control Centre (a GUI tool I have found of great help in setting up my linux box)

I have 1 NIC on my win 98 box and 1 NIC on my linux box (thats why I thought the output showing 3 ethernet adapters on my win 98 box was weird) :lol2:

 

Gem-in-eyez, sorry for being so hasty in my reply - as you can see below in my post to Aoishin with the Mandrake firewall off, I can indeed ping both ways.

Link to comment
Share on other sites

No prob,

As I do agree I think it is easier to network an XP with linux than 98 only because I can do it all in 1 shot on XP , that is assign IP, domain, or wrkgrp name & then reboot.

 

Obviously your first prob is that nic issue. Being that it is 98 I would just uninstall the card altogether and leave it out of the box. Reboot and see what the system sees with ipconfig and double check with the device manager. Obviously if there is still references to nic cards in device mgr, try doing an unistall from there although I think the real option is remove... After a reboot, I would just re-insert my nic card and redo the install (that is if the eth 0 & 1 are gone).

 

With XP this might have not happened, not sure if in all my yrs of tinkering with networks (windows), this sort of glitch has ever occurred, that I would see a physical references to additional nics as you have.

 

For the MCC, thnx for the heads up... since I have been installing and tinkering in my Drake box i have not yet gone to the gui. Most of my configs at the start were done with putty accessing the linuxconf, userconf, netconf, etc when I'm on my laptop remotely. When I was first introduced to the whole Linux environment there was a gui, but was advised not to use it that the best way to learn would be with the shells. Now yrs later when my interest in linux has resurfaced I guess some ol lessons have stayed. Also while at work we deal with HP/UX systems so there is no gui other than a menu that is manually created for us to use as we go about our job.

 

with the webmin, I just saw a post somewhere in here and went to the website and saw that it allowed me to access any system (win or Lin) and administer it. When you get your systems going I would recommend getting it. The Features this browser based app has is so time saving. It allows me to use my laptop to interact with my network and saves me the trouble of having to sit physically in front of my boxes. although I will have to check this MCC out and see if there are features it has that webmin does not provide. B)

But yeah, I too think that your issue is the firewall. Is this an app or rules built in your router?

Edited by gem-in-eyez
Link to comment
Share on other sites

Gem-in-eyez, thank you once again for your reply. I am reluctant to remove that NIC from the Win98 box - if you knew what I went through to get it installed and working (I can browse the net) and also see the bird´s nest behind my two computers - you would understand :P . It was not by chance that I named myself Ironfighter. The firewall was EZ firewall and AV. I uninstalled it. My understanding is that the router I have has its own firewall - so I shoulldn´t need one? :huh: I think this may take some time - but I will persist. ;) and post my progress.

Edited by Ironfighter
Link to comment
Share on other sites

Just a hint: Jetico personal firewall is currently just about the best personal firewall for windows, and it's still free of charge. It's also supposed to work under DOS... errr, sorry, I meant Windows98.

Never tried it under W98, but you might give it a go, and see how it works.

Link to comment
Share on other sites

I am reluctant to remove that NIC from the Win98 box - if you knew what I went through to get it installed and working (I can browse the net) and also see the bird´s nest behind my two computers - you would understand :P .

 

 

:D LOL, yeah I know what you mean... I found that if you got a nic card for win98 you better have access to the drivers o install it and if not you better have an ibm, 3com or dlink card that can be detected else you be spending a nice day searching. what kind of nic is it btw? but yeah definately let me know how it turns out. never know if I may come across that issue in the future!

Link to comment
Share on other sites

Just a hint: Jetico personal firewall is currently just about the best personal firewall for windows, and it's still free of charge. It's also supposed to work under DOS... errr, sorry, I meant Windows98.

Never tried it under W98, but you might give it a go, and see how it works.

 

Thanks I´ll give it a try (after I get this network up ;) )

 

 

 

 

I am reluctant to remove that NIC from the Win98 box - if you knew what I went through to get it installed and working (I can browse the net) and also see the bird´s nest behind my two computers - you would understand :P .

 

 

:D LOL, yeah I know what you mean... I found that if you got a nic card for win98 you better have access to the drivers o install it and if not you better have an ibm, 3com or dlink card that can be detected else you be spending a nice day searching. what kind of nic is it btw? but yeah definately let me know how it turns out. never know if I may come across that issue in the future!

 

It is a D-Link DFE-528TX. I got rid of the previous one because I just couldn´t install the drivers for it (numerous attempts). I suspect that is why my win 98 box still thinks it has 3 ethernet adapters. :D . I am going to give it a bash shortly. I am re installing the AV software in the windows box.

Edited by Ironfighter
Link to comment
Share on other sites

I think I´ve done it - see attached screenshots. :D

I am not quite sure how but this is what I did:

Installed Client for Microsoft Works¨ on the win 98 machine and allowed file and printer sharing.

Turned the firewall off in Mandrake Control Centre.

Changed the Samba configuration settingd from ¨nmblookup¨ to ¨smblookup¨ (because my network neighbourhood is configured uncommonly :lol2: )

Thanks everyone for your support.

:drum:Windows_Network.doc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...