LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-31-2004, 06:26 AM   #1
Agent M
LQ Newbie
 
Registered: Dec 2003
Distribution: Mandrake 9.2
Posts: 9

Rep: Reputation: 0
Question Problems getting Remote Desktop working at the same time as internet Sharing


Disclaimer:

Ok, I think this is probably the right forum for me problem.

First of all the configs :

Linux box:

Intel Celeron 333Mhz
160MB RAM
Mandrake 9.2
Kernel 2.4.22-10

Windows box:

Intel P4 2.8Ghz Prescott
512MB RAM
Windows XP


There are also other computers on the network, but they are not important for now.

I use the linux box to connect to the internet ( with an internal modem ) and it shares that internet connection with the other computers on the lan. It is also set up as the DHCP server. Security setting is standard.

I also want to be able to share files both ways between linux and windows, as well as use desktop sharing, I have downloaded VNC client for windows. I have used SWAT to carry out file sharing settings btw.

Now the internet connection sharing works fine, and I can even get the file and desktop sharing working, BUT not at the same time as internet sharing....it seems like I have a choice of either internet sharing OR file and desktop sharing.

To get file and desktop sharing working I simply go to mandrake control center and tick the box that says allow "everything ( no firewall )" , and I am then able to use desktop sharing...and I think file sharing as well. but the internet sharing stops working. To get that going again I have to go through the Internet connection sharing wizard again ( possibly the wizard for setting up the network as well...its been a while since I have actually done this....my memory is fading ), this then gets the internet sharing working again, BUT the desktop and file sharing stops again.

I want any computer on the lan to be able to access the linux box through desktop sharing so they can connect it to the internet when needed, and use the linux box to share that connection as well as sharing files on the lan, and i would like to do this without having a monitor, keyboard and mouse plugged in to the linux box.

I think thats all????
Did I miss anything? questions? answers?


Thanks

M
 
Old 05-31-2004, 09:18 PM   #2
feend
Member
 
Registered: Nov 2003
Location: williamsburgland
Distribution: Slackware
Posts: 61

Rep: Reputation: 16
Well for the Linux box to use ICS on windows, you'll need to tell the linux box the Gateway, DNS, and such I normally use static IP. Look at /etc/hosts


# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server. Just add the names, addresses
# and any aliases to this file...
#
# By the way, Arnt Gulbrandsen <agulbra@nvg.unit.no> says that 127.0.0.1
# should NEVER be named with the name of the machine. It causes problems
# for some (stupid) programs, irc and reputedly talk. :^)
#
(Taken from my /etc/hosts file.)


Remember to open the right ports for SMB. I know your using "no Firewall" bad deal. Only open the ports you need on the internal net work or Intranet, and lock down your ICS computer w/ a Firewall or just use the built in one If your using XP or 2000. Rings of security are much stronger than one big ring...

So....
Start w/ a Class C network
your ICS box will have an IP of 192.168.0.1 It is the gateway.
your Linux box can have an IP of 192.168.0.2, netmask 255.255.255.0
your ISP will give you a list of DNS or Domain Name Servers. Drop those into your Linux Box. Make sure it works. Next SMB
You have used swat so i will not go into it. If all else fails you can give your Linux box a second IP. You can then use that IP for you SMB configuration.
try:
man ifconfig
L8tr,
Feend
 
Old 06-01-2004, 05:24 AM   #3
Agent M
LQ Newbie
 
Registered: Dec 2003
Distribution: Mandrake 9.2
Posts: 9

Original Poster
Rep: Reputation: 0
My Linux box is my ICS box, I do use a firewall on the linux box, otherwise I can't seem to use ICS anyway, I am on my XP machine connected to the internet through the linux/ICS box.
ICS works fine, until I want to try and get "desktop sharing" or "file sharing" working, the only way I can seem to do this is by disabling the firewall.....but then the ICS stops working, so to get the ICS working again, I go through the ICS wizard, and then its fine, BUT then the "desktop sharing" and "file sharing" stop working


M
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote Connection/Desktop Sharing mykrob Linux - Networking 6 07-16-2004 07:54 AM
Remote Desktop Sharing? tricky_linux Linux - Software 1 02-29-2004 10:02 PM
Redhat 9 Remote Desktop Sharing at Login nick81 Linux - Software 2 02-23-2004 11:21 PM
RH9 & XP Remote Desktop Sharing Problem please help. Paul Parr Linux - Networking 5 05-03-2003 06:15 AM
Remote Internet Connection Sharing burgessb Linux - Networking 1 03-26-2002 09:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration