Re: [newbie] modem sharing vs ICS
On Fri, 18 Jul 2003 13:51, L.V.Gandhi wrote: snip What I want is when pc1 is not connected to internet, pc2 should be able to dial modem connected to ttsy0 of pc1 and connect to internet. Is it possible? if so how. There's linecontrol which runs linesrv on the server (ie. pc1) and klcc on the client (ie. pc2). klcc is the KDE client software or there's wlc for windoze. Works well, but I don't know how to turn off the volume on the modem so I have to listen to the dialing/connecting noises and then it hums rather loudly whilst connected (external modem). http://linecontrol.sourceforge.net/ Sharrea -- Help Microsoft stamp out piracy - give Linux to a friend today Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] modem sharing vs ICS
On Thursday 17 Jul 2003 7:00 am, Stephen Kuhn wrote: On Thu, 2003-07-17 at 00:29, L.V.Gandhi wrote: I have seen articles and how to for internet connection sharing. Any pointers for modem of one machine being shared by other linux m/cs in a network. If you already have the two machines networked together, all you have to do is to implement a script using IPTABLES - it's really easy - you DON'T have to have two NIC's or anything stupendous like that - and the following is a script that I currently use for doing my sharing: I think your script is for ICS. Let me explain myself more clearly. I have two pcs pc1 and pc2. pc1 is having modem connected to its serial port ttsy0. I think your script is to connect pc2 to internet if pc1 is already conected to internet by dialing its modem. What I want is when pc1 is not connected to internet, pc2 should be able to dial modem connected to ttsy0 of pc1 and connect to internet. Is it possible? if so how. -- L.V.Gandhi 203, Soundaryalahari Apartments, Lawsons Bay colony, Visakhapatnam, 530017 MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] modem sharing vs ICS
On Fri, 2003-07-18 at 11:51, L.V.Gandhi wrote: On Thursday 17 Jul 2003 7:00 am, Stephen Kuhn wrote: On Thu, 2003-07-17 at 00:29, L.V.Gandhi wrote: I have seen articles and how to for internet connection sharing. Any pointers for modem of one machine being shared by other linux m/cs in a network. If you already have the two machines networked together, all you have to do is to implement a script using IPTABLES - it's really easy - you DON'T have to have two NIC's or anything stupendous like that - and the following is a script that I currently use for doing my sharing: I think your script is for ICS. Let me explain myself more clearly. I have two pcs pc1 and pc2. pc1 is having modem connected to its serial port ttsy0. I think your script is to connect pc2 to internet if pc1 is already conected to internet by dialing its modem. What I want is when pc1 is not connected to internet, pc2 should be able to dial modem connected to ttsy0 of pc1 and connect to internet. Is it possible? if so how. That would be delving deeper into having the PPP link come back up if it goes down. -- Sat Jul 19 15:04:59 EST 2003 15:04:59 up 5 days, 7:08, 2 users, load average: 0.57, 0.37, 0.24 - |____ |kuhn media australia| | /-oo /| |'-. |http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' |stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1+ RH 9 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * BOFH excuse #362: Plasma conduit breach Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] modem sharing vs ICS
Investigate IPCop as a standalone. - It will load fine on an old 486. - It does dial on demand - the manual can be downloaded as a pdf and is pretty comprehensive. http://www.ipcop.org/cgi-bin/twiki/view/IPCop/WebHome manual http://www.ipcop.org/cgi-bin/twiki/view/IPCop/IPCopDocumentationv01 On Wed, 16 Jul 2003 19:59:34 +0530 L.V.Gandhi [EMAIL PROTECTED] wrote: I have seen articles and how to for internet connection sharing. Any pointers for modem of one machine being shared by other linux m/cs in a network. -- L.V.Gandhi 203, Soundaryalahari Apartments, Lawsons Bay colony, Visakhapatnam, 530017 MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA -- Michael Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] modem sharing vs ICS
I have seen articles and how to for internet connection sharing. Any pointers for modem of one machine being shared by other linux m/cs in a network. -- L.V.Gandhi 203, Soundaryalahari Apartments, Lawsons Bay colony, Visakhapatnam, 530017 MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] modem sharing vs ICS
On Thu, 2003-07-17 at 00:29, L.V.Gandhi wrote: I have seen articles and how to for internet connection sharing. Any pointers for modem of one machine being shared by other linux m/cs in a network. If you already have the two machines networked together, all you have to do is to implement a script using IPTABLES - it's really easy - you DON'T have to have two NIC's or anything stupendous like that - and the following is a script that I currently use for doing my sharing: -- #!/bin/sh # Begin of /usr/bin/start_ics source /etc/init.d/functions case $1 in start) echo Enabling masquerading... echo 1 /proc/sys/net/ipv4/ip_forward #evaluate_retval echo -n Bringing up iptables... iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE ;; stop) echo -n Disabling masquerading... echo 0 /proc/sys/net/ipv4/ip_forward evaluate_retval echo -n stopping iptables ... iptables -t nat -F evaluate_retval ;; restart) $0 stop /usr/bin/sleep 1 $0 start ;; *) echo Usage: $0 {start|stop|restart} exit 1 ;; esac # End of /usr/bin/start_ics -- ...so you can use it like start_ics start - works like a charm mate. -- Thu Jul 17 11:25:01 EST 2003 11:25:01 up 3 days, 3:28, 3 users, load average: 0.45, 0.27, 0.24 - |____ |kuhn media australia| | /-oo /| |'-. |http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' |stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1+ RH 9 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * The Golden Rule of Arts and Sciences: He who has the gold makes the rules. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com