Re: Simple ping between windows98 and Linux(Slackware) using crossover cat5
Robert Rankin <tuppe666@hotmail.com> wrote in message news:<pan.2003.12.29.03.16.48.243221@hotmail.com>. ..
> Networking has baffled me for some time, I have read a slew of how-to's
> but none really fit what I want.
>
> I eventually want some mechanism for mounting a windows share on my linux
> box, because I am now comfortable in leaving my files on linux, and
> eventually.
Hi,
I'm relatively new too to Linux too, but finally get it to work in
following configurations: Linux->Win98->Internet,
Linux->Linux->internet, XP->Linux->Internet. There was a lot of
reading, reading and reading. Took at last one month. The good thing
on Linux is that there is something to read if things does not work.
The best is, that if you do something once, it works forever, so I
could forgot how to do it :P
* Sharing files with Windows.*
You need to install Samba. It was in my distribution. You need to make
sure to run smb and nmdb daemons. Configure them, as specification
says. I recommend using Web interface to do it.
The Samba itselfs is a "core" sharing engine. To actually use shared
files you will need some GUI to mount them without a lot of thinking.
Try Komba2, it was in my distribution.
Anyway, for me sharing Linux<->Windows or Linux<->Linux works much
smoother than Windows<->Windows. In 1xXP+1xW98+1xLinux confing only
Linux sees both machines without problems. The Win98+Win98 needs 30
minutes to see each other. And there is nothing to read how to fix the
problem...
* Sharing internet connection. Internet connected to linux. *
In my case, the most flexible way was to:
On machine equiped with internet run dhclient to get internet
configuration, and dhcpd (DHCP server daemon) to provide local
machines with this configuration. I could not manage how to pass
information from dhclient to dhcpd automatically so I retyped it by
hand.
Then, to make yours two machine cluster to look as a single machine
for external network (its necessary), you need to run thing called
masquareade (sorry for typing mistakes, it is difficoult word for me).
Regardless of how horrible it may look, it is a single line of
iptables command.
Necessary step to protect your network is to configure built-in
firewall. I used the Guarddog UI to do it. This is wise to not allow
NetBIOS or SAMBA to get outside.
The last step is easiest - on your windows machine choose in network
configuration to recon everything automatically. It will then ask DHCP
server on your linux machine to provide data and start working. The
only problem appears, if Linux box is turned on after windows box
started.
* Sharing internet connection. Internet connected to windows (98). *
In this case you need to at first get your network to work manually.
On windows machine, give your local network adapter ip by hand (make
it to be in range of 192.168.0.?? or 192.168.1.??. Don't use ip range,
your ISP uses. On linux side do it too. You must be able to excute:
ping WINDOWS_MACHINE_IP
on Linux with succes and
ping LINUX_MACHINE_IP
on Windows DOS-BOX with succes.
This step is important - if I did not configured network manually at
first, sharing internet from windows did not worked.
Then, on windows install Internet Connection Sharing. Ignore if it
asks to create configuration floppy. The ICS is a DHCP server +
masquareade. So, on Linux box you need to run dhclient and that's all.
The necassary step is to find, install and configure firewall on your
windows machine. Without it it will stop working after about a month
(viruses, "friendly" neighbours, spy-ware and etc). I used
TinyFirewall (version 2.xxx), but it is not what I like. Good firewall
should be able to use network zones and block passing protocols
between them.
I will post you more details (step by step what I did if I gain my
memory back :), once I'm back home. Let me know if you are still
interrested.
regards,
Tomasz Sztejka.
>
> I want to be able to surf the Internet in windows as my usb speetouch
> modem is always attached to my linux box at the moment.
>
> I then maybe want to do more than this, my main problem is when I had too
> windows machines, using a crossover worked really well freindly graphical
> interfaces, quick guides everywhere. But nothing for my
> Windows98se-->Linux-->Internet connection.But nothing lots of help with
> hubs, and connecting to lans etc etc but nothing on this, and most help
> posts seem to be advanced of my cuddent state. so for now all I want is to
> ping between the two machines, see whether my cards are set up correctly
> and working.
>
> Any help would be grateful received.
|