[SOLVED] zencafe - server to client pc, all working except client pc getting internt access
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
zencafe - server to client pc, all working except client pc getting internt access
Hope this might be of interest for anybody setting up a small internet cafe network.
My problem is a network one , concerning zencafe (slackware type distro) and getting internet connection for the client computer, eigthy percent of the system works its this last bit thats giving me jip.
My set up is two computers a “server” with two etthernet cards . Eth0 ( is part of mainboard) on the server pc has a static IP of 192.168.1.250 and connects to a router of IP address 192.168.1.1
This card has an Wicd icon on the kicker pannel , netmask is 255.255.255.255 and have set gateway to 192.168.1.1
This card connects to the internet fine
Then on the server pc I have eth1 card in a pci slot. I have set IP address to 192.168.2.1
I have also set gateway to 192.168.1.1
There is no icon on the panel for this card but got it working editing /etc/rc.d/rc.inet1.conf
This card is attached to a switch and through the switch connects to a client pc having a static Eth0 IP of 192.168.2.249
Now from the server pc I can see the private connection of server 192.168.2.1 via switch to client
of 192.168.2.249 works – I can see the client icon and host name on cafe con leche GUI on the server.
I can also control the client from the server pc using cafe con leche. I.e it does a basic up and switch off mode.
My only problem is the client pc can not connect to the internet. Have tried every permutation of gateway address for client pc.I just can not get it to connect to internet.
Can somebody have a look at my basic settings and just give me a simple pointer please
Last edited by captain_sensible; 06-06-2010 at 09:16 AM.
Reason: spelling corrections
Are you sure 192.168.2.1 is correct? 192.168.1.x and 192.168.2.x are usually considered a class C type of address with a subnet mask of 255.255.255.0 meaning that 192.168.2.1 and 192.168.1.1 are on different sub nets and is likely the reason they are not fully co-operating with each other... that style of networking can work but generally with special configurations. I would suggest trying a secondary IP on the server with an IP like 192.168.1.x and seeing if this work.
Alternatively (sorry my networking knowledge is not too great), you could try port forwarding to Eth0 for anything external as they are on the same box it should be able to forward but I am not certain on that one...
Last edited by r3sistance; 06-07-2010 at 02:41 AM.
Ok Thanks will try your suggestion about the network addresses. Basically my problem I guess is to get Eth1 stuff to route through Eth0.Didn't realise about the subnet , I choose a C network because I aim to have a set up of only around 5 computers.
Don't know details of port fordwarding but did read a bit about route tables & route command. Will try
your suggestion first.
thanks very much ; I was probably just making things too complicated for myself. My router private address is 192.168.1.1 such just made my "server" a static address of 192.168.1.2 and my "client" pc 192.168.1.3
I just connected the pc's straight to the router ethernet to ethernet. Then when into billing controls of both server and client. The client host name was on the server control GUI, and could put client onto standby from server. Put gateway address as router address and netmask 255.255.255.0
Everything is working as it should with client accessing internet fine.
What I was attempting at first was to have a "private" server - client network; with the clients getting access from the server.
However since the main focus was about having a control and timer faciltity, and there will not be anything stored on the server of any security risk, this set up will do fine!