LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 06-06-2010, 09:13 AM   #1
Registered: Apr 2010
Posts: 72

Rep: Reputation: 0
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 and connects to a router of IP address
This card has an Wicd icon on the kicker pannel , netmask is and have set gateway to
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
I have also set gateway to
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

Now from the server pc I can see the private connection of server via switch to client
of 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
Old 06-07-2010, 02:37 AM   #2
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
Are you sure 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 meaning that and 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.
1 members found this post helpful.
Old 06-07-2010, 10:03 AM   #3
Registered: Apr 2010
Posts: 72

Original Poster
Rep: Reputation: 0

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.

Old 06-08-2010, 10:37 AM   #4
Registered: Apr 2010
Posts: 72

Original Poster
Rep: Reputation: 0
Thumbs up zencafe cafe con leche solved


thanks very much ; I was probably just making things too complicated for myself. My router private address is such just made my "server" a static address of and my "client" pc

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

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!


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
Nis Client On Centos not working with Suse Server . But works with Suse Nis Client jibinforu Linux - Server 2 07-23-2009 08:44 PM
Nis Client On Centos not working with Suse Server . But works with Suse Nis Client jibinforu Linux - Networking 1 07-13-2009 05:51 AM
Server and Client process using Openssl: Error: no client certificate available lokesh_c2004 Linux - Security 2 11-10-2008 08:30 AM
can not connect to my pureftp server from Linux client, but i can from windows client bonito SUSE / openSUSE 5 03-16-2005 09:45 PM
Refresh client user list at autentication client/server network. robertoneto123 Linux - Networking 0 11-11-2003 10:38 AM

All times are GMT -5. The time now is 12:02 PM.

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