Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 29th, 2003, 04:37 PM
netgn netgn is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 3 netgn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Internet Connection sharing

Hi people,

Situation:

I have a little LAN of 4 machines: 2 Win98 Client; 1 Wxp Pro client and a Suse Linux as server.

Suse running as: PDC, DHCP. WEBServer, DNS, FileServer (Samba).

PROBLEM:

I can install a Internet connection sharing on linux in order that the client can open and close-it ? (As ICS of Windows XP Pro....)

Thanks!

PS: Excuse-me my english

Reply With Quote
  #2  
Old March 29th, 2003, 06:31 PM
mttatkns mttatkns is offline
Got source?
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Mar 2003
Location: Laguna Niguel, California, USA
Posts: 2,332 mttatkns User rank is Private First Class (20 - 50 Reputation Level)mttatkns User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Why don't you just use a router?

Reply With Quote
  #3  
Old March 29th, 2003, 06:33 PM
dwise1_aol's Avatar
dwise1_aol dwise1_aol is online now
Contributing User
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jan 2003
Location: USA
Posts: 3,836 dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 6 h 59 m 13 sec
Reputation Power: 446
If I understand correctly, you are asking whether your Linux machine can be used as a router. The answer is, yes, it can.

I think you are looking for the routed daemon. You should be able to use Google to find a lot about using and configuring it.

I have not done anything with routed yet. My ISP is not friendly towards Linux nor routers (I live and work in both worlds, as apparently you do also). So the best I can offer is to point you in a direction to start, but I can't tell you what all you will find.


What I understand that you want to do:

Code:
 
                 {SuSE LAN IP}         {SuSE Internet IP}
   (LAN) +-------------------SuSE-------------Internet
            +--WinXPpro
            +--Win98-1
            +--Win98-2


Your SuSE machine has two network interface cards (NICs) in it, hence two IP addresses. You normally use your SuSE machine to connect to your ISP to get onto the Internet. You want to be able to connect to your ISP through any of the Windows machines, using the SuSE machine as your gateway router.

Assuming that you are using a private network address (i.e., as per RFC 1918; e.g., 192.168.0.0), then you would also want to search for information on setting up NAT (Network Address Translation).

If I misunderstood what you are wanting to do, please correct me.

Reply With Quote
  #4  
Old March 30th, 2003, 02:56 PM
netgn netgn is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 3 netgn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I can use a Router or a ISDN Card, i have both of them.

My problem is: Can a Client open and close manually the Internet connection on the Linux Server, by a script, or by another method?

I don't want that a mistaked typed URL automatically perform a internet connection on router or Linux ISDN-Card....

Reply With Quote
  #5  
Old March 30th, 2003, 03:29 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
You could use a script, preferably PERL or PHP, to trigger the dial-out from a www site / apache. IMHO this would be best in your case. A simple script, one HTML form that has two buttons "dial" and "hangup". And a PHP or PERL script that starts / kills the ppp daemon.
You would have to setup apache to run the program as root though, so take care that noone from "outside" can (mis-)use it
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #6  
Old March 31st, 2003, 03:40 PM
netgn netgn is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 3 netgn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks! A very good idea!

-Ennio Fantuzzi- (my real name)

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Internet Connection sharing


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway