Jump to content

Samba connect to Win98 machine


nrossi
 Share

Recommended Posts

Very newbie here so sorry if this question has an answer that is obvious to the whole world but me.

 

I have MD9.1 loaded as a dual boot on a Win2K machine. I have a LAN connection to a Win98 PC. The MD install recognized the Win98 box (called "neil") and I can do a manual mount of each of its shared drives/directories and see their contents. I would have thought that those settings would be saved so that when I reboot the connection would be restored.

 

What I am seeing instead is the following. The time between when the text "Bringing up interface eth0" appears on the screen and "succeeded" can be 60-70 seconds. What I am inferring from the logs is that somehow the automatic connection is not taking place -- maybe it's a password or case-sensitivity issue, but where do I look to find out what's being passed to machine "neil" during the boot sequence? Also, should I be concerned about the ifplugd timeout?

Feb 29 22:27:15 localhost alsa:  succeeded
Feb 29 22:27:13 localhost ifplugd: Timeout reached, killing background process. 
Feb 29 22:27:13 localhost network: Bringing up interface eth0:  succeeded 
.
.
Feb 29 22:27:18 localhost xfs: xfs startup succeeded
Feb 29 22:27:20 localhost mount: SMB connection failed
Feb 29 22:27:20 localhost mount: 1405: Connection to neil failed
Feb 29 22:27:20 localhost mount: 1407: Connection to neil failed
Feb 29 22:27:20 localhost mount: SMB connection failed
Feb 29 22:27:20 localhost mount: 1408: Connection to neil failed
Feb 29 22:27:20 localhost mount: SMB connection failed
Feb 29 22:27:20 localhost mount: 1409: Connection to neil failed
Feb 29 22:27:20 localhost mount: 1410: Connection to neil failed
Feb 29 22:27:20 localhost mount: SMB connection failed
Feb 29 22:27:20 localhost mount: SMB connection failed
Feb 29 22:27:20 localhost mount: 1411: Connection to neil failed
Feb 29 22:27:20 localhost mount: SMB connection failed
Feb 29 22:27:20 localhost mount: 1412: Connection to neil failed
Feb 29 22:27:20 localhost mount: SMB connection failed
Feb 29 22:27:20 localhost netfs: Mounting SMB filesystems:  failed
Feb 29 22:27:20 localhost netfs: Mounting other filesystems:  succeeded
.
.
.

 

Moved to networking by Ixthusdan

Link to comment
Share on other sites

1- what's the name of the Linux box ?

on 9.1 if I remember well you can't change it with MCC (Mandrake Control Center)

So set it in file:/etc/sysconfig/network, the value HOSTNAME=

Edit the file as root.

Give a name like anyname.local.network

 

2- if the M$ Win nic has a dynamic ip address, your Linux box must be configured as a DHCP server (provide IP address)

Anyway as Win 98 can't be a DHCP server, your Linux box must have a fixed ip address.

Fom ML9.2 and translating:

MCC->Network and Internet->DrakConnect: Network and Internet connection config->Configure local network

protocol->static

Adresse IP: 192.168.1.1 for example, it must be something like 192.168.x.x for a little network (class C)

Mask 255.255.255.0

Launch at boot

leave the rest empty, ok, ok

 

Now the M$ Win98 box (from memory and translating).

It's simpler to set it with a static IP address too if you have only 2 box connected

Control Panel->Network

remove all NETBEUI or IPX/SPX stuff

TCP/IP->property->IP address. give a number like 192.168.1.2, Mask: 255.255.255.0

of course you have to reboot, even sometime find the M$ Win install disk :twisted:

 

Now test:

On the Linux box, from a console as root (Ctrl-Alt F1 and log as root), type "ping 192.168.1.2" without the quotes and see the result,

from the M$ Win box, lauch a DOS windows and type "ping 192.168.1.1" without the quotes and see the result.

 

If it works on each direction it must boot faster and you can configure file sharing.

 

see also:

on a Win DOS box: Winipcfg

on Linux: ifconfig -a

 

hope this help

 

roland

Link to comment
Share on other sites

Roland, thanks, that did the trick (though it took a couple of reboots on both machines for it to finally stick!). All shared network drives are now connected automatically at boot time.

 

I never would have figured that out on my own. :thumbs:

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...