Discussion:
Linux PC on windows network
(too old to reply)
PleegWat
2005-10-21 07:29:15 UTC
Permalink
My dad is trying to get his Linux (Suse 9.3 I think) PC linked to our
windows network (4 windows XP SP2 machines), but we're not managing to
get it to work. Does anyone here have a link to a document that explains
how it's done?

Thanks in advance
--
PleegWat
Remove caps to reply
Jeroen Wenting
2005-10-21 16:53:23 UTC
Permalink
You can get it connected easily for using things like internet connections.
Simply set your Windows box that has the connection to enable internet
connection sharing.
Then set the firewall to allow incoming connections from the ip address of
the Linux machine (or the entire ip range you're using for your LAN).
On the Linux machine set the Windows box as your gateway.

For example, i'm using the 10.1.0.x range at home.
I've my Windows machine set up as 10.1.0.1 on its LAN network card (and my
demon internet uip address on the DSL modem of course).
Internet connection sharing is enabled on the DSL modem.
The Linux box has 10.1.0.10 as its ip address (anything other than 10 would
have worked that's free on the LAN).
subnet mask on both LAN cards is 255.255.255.0
Default gateway for the Linux box is 10.1.0.1 (so the Windows machine's LAN
address, which is the one the Linux box sees).
broadcast address on the Linux box is 10.1.0.255
Browser's set for Direct connection on the Linux box.

I've set the DNS servers for Demon Internet on the Linux box manually, not
even sure if that's needed (but I think it is).
They're 194.159.73.135, 136, and 137 for Demon Internet Netherlands (not all
may be active, I seem to usually see only 2 of them at any time).

My Ubuntu machine sees my XP network as well, haven't tried diskshares back
and forth though (I've set up a small ftp server on the Linux box instead).

Jeroen Wenting
hornet.demon.nl.
Post by PleegWat
My dad is trying to get his Linux (Suse 9.3 I think) PC linked to our
windows network (4 windows XP SP2 machines), but we're not managing to get
it to work. Does anyone here have a link to a document that explains how
it's done?
Thanks in advance
--
PleegWat
Remove caps to reply
PleegWat
2005-10-21 16:59:44 UTC
Permalink
Post by Jeroen Wenting
Post by PleegWat
My dad is trying to get his Linux (Suse 9.3 I think) PC linked to our
windows network (4 windows XP SP2 machines), but we're not managing to get
it to work. Does anyone here have a link to a document that explains how
it's done?
Thanks in advance
--
PleegWat
Remove caps to reply
You can get it connected easily for using things like internet connections.
Simply set your Windows box that has the connection to enable internet
connection sharing.
Then set the firewall to allow incoming connections from the ip address of
the Linux machine (or the entire ip range you're using for your LAN).
On the Linux machine set the Windows box as your gateway.
For example, i'm using the 10.1.0.x range at home.
I've my Windows machine set up as 10.1.0.1 on its LAN network card (and my
demon internet uip address on the DSL modem of course).
Internet connection sharing is enabled on the DSL modem.
The Linux box has 10.1.0.10 as its ip address (anything other than 10 would
have worked that's free on the LAN).
subnet mask on both LAN cards is 255.255.255.0
Default gateway for the Linux box is 10.1.0.1 (so the Windows machine's LAN
address, which is the one the Linux box sees).
broadcast address on the Linux box is 10.1.0.255
Browser's set for Direct connection on the Linux box.
I've set the DNS servers for Demon Internet on the Linux box manually, not
even sure if that's needed (but I think it is).
They're 194.159.73.135, 136, and 137 for Demon Internet Netherlands (not all
may be active, I seem to usually see only 2 of them at any time).
My Ubuntu machine sees my XP network as well, haven't tried diskshares back
and forth though (I've set up a small ftp server on the Linux box instead).
Jeroen Wenting
hornet.demon.nl.
Internet connection isn't the problem, we've got a router. I won't
bother with the exact network topology, but it's all 192.168.1.* on DHCP
and internet works on all machines. However, windows file sharing is
also desired.
--
PleegWat
Remove caps to reply
Kegs
2005-10-21 19:13:59 UTC
Permalink
Post by PleegWat
Internet connection isn't the problem, we've got a router. I won't
bother with the exact network topology, but it's all 192.168.1.* on DHCP
and internet works on all machines. However, windows file sharing is
also desired.
Ah, so it is setting up samba and samba client that you are interested in?

For the samba setup there are numerous how-to's out there[1], just remember
to use smbpasswd to set up samba accounts on the linux box (required
to access shares on the linux box, though I think you can turn off
the password protection in the config file.)

Depending on the desktop, seeing the smb shares on the win boxes
should be pretty automatic. Well, it is in recent versions of Gnome,
and I would assume the KDE has similar capabilities.

It is also useful having a directory outside of user home dirs
that anyone can dump stuff in and anyone can access, at work
it is usually called scratch, and is actually kind of useful[2].

[1] Not really a cop out, I have only set it up once, and that was a while
ago, so I don't really remember.

[2] Whether it'd be useful at home would depend on you really
--
James jamesk[at]homeric[dot]co[dot]uk

It doesn't matter what temperature a room is, it's always room temperature.
(Steven Wright)
Jeroen Wenting
2005-10-23 05:34:19 UTC
Permalink
Internet connection isn't the problem, we've got a router. I won't bother
with the exact network topology, but it's all 192.168.1.* on DHCP and
internet works on all machines. However, windows file sharing is also
desired.
For that I think you need to set up an account on the Windows machine with
the same username and password as the account(s) on the Linux machine.
My Linux box can see my Windows machines just fine but accessing them is
refused because of account violations.

Loading...