Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Peter Side on September 19, 2003, 10:45:48 PM

Title: sudo-isp
Post by: Peter Side on September 19, 2003, 10:45:48 PM
Hi,

Does anyone know how to create a sudo-isp environment that will enable sharing
a high-speed bandwidth by dial-up to a SME server.

I would like to share my DSL connection with my friends. I set up a
server/gateway SME and a server only SME behind the server/gateway. The
server only is getting Internet from the gw. The gw is connected to a adsl high speed Internet.

Would like to provide Internet browsing service to friends dialin my server.

Thank
Peter Side
Title: Re: sudo-isp
Post by: Chaloner Hale on September 20, 2003, 06:56:52 AM
There is or was a contribution for this that worked well. I still use it from time to time.
Title: Re: sudo-isp
Post by: Graeme Fleming on September 20, 2003, 07:24:55 PM
.. and its name and location is ... :-)
Title: Re: sudo-isp
Post by: Chaloner Hale on September 20, 2003, 07:33:44 PM
I gave enough clues that should have led the reader to the HOWTO pages. There, after a very brief perusal one would find the following link;

http://www.dungog.net/sme/howto/dialinserver.php

Chaloner Hale
Title: Re: sudo-isp
Post by: Peter Side on September 20, 2003, 07:44:44 PM
I already tried this one.  It does not give you access to Internet browsing.  Only access to a shell...

Peter Side
Title: Re: sudo-isp
Post by: Duncan on September 20, 2003, 09:43:43 PM
Have another go - it will do exactly what you need.

If I remember rightly - the server only machine doesnt enable routing by default. You will need to switch it on.

echo 1 > /proc/sys/net/ipv4/ip_forward

Duncan
Title: Re: sudo-isp
Post by: Peter Side on September 21, 2003, 07:35:17 PM
Hi Duncan,

I did it and when I tried to connect I get the message error 619 port specified not open and it hangs up.

Heres what I did

1.   Put this line pppd /dev/ttyS0 115700 crtscts  in /etc/rc.d/rc.local

2.   I create a user in /etc/passwd the line looks like this one
peter:x:  504:503 Peter Side: /tmp: /etc/ppp/ppplogin
This adds the user and give a temporary file to operate from /tmp

3.  Write a file called ppplogin in /etc/ppp/ppplogin

#!bin/sh
mesg -n
stty -echo
exec /sbin/pppd crtscts modem passive auth

I did create a user with chap security and still cant connect.

The client is win 2000

/etc/ppp/chap-secrets

# client   server   secret   IP adresse

  peter   main   xxxxx    195.168.1.70

Somethings wrong somewhere...

Peter Side
Title: Re: sudo-isp
Post by: Mark Whittle on September 23, 2003, 06:26:40 PM
had to do this a while ago used e-smith-dialin found at
http://www.e-smith.org/contrib/rpm-index/RPM_by_rpm_group-Networking.html
added a username and password for our friend, he used  normal dialup in windows 98, connected and was able to share internet access fine on SME 5.5
good luck
Title: Re: sudo-isp
Post by: Peter Side on September 24, 2003, 01:50:18 AM
Thank you Mark,

I'm using SME 5.6 wich dialin have you used in the past.  Is it suitable for 5.6 ?

Peter Side
Title: Re: sudo-isp
Post by: Ralph on September 24, 2003, 06:20:57 PM
Just letting you know by doing so, that you are becoming legally liable for any matters that happen across your network.
Title: Re: sudo-isp
Post by: Peter Side on September 24, 2003, 07:04:43 PM
????????
Title: Re: sudo-isp
Post by: Stephen on October 26, 2003, 05:17:49 AM
Hi,
Peter, did you ever get this working with 5.6?
I have tried several times and have never even managed to get the modem to pick up!
I see that you have done a number of things that are not mentioned in the howto, why and did it make any difference.
I have found I can interegate my modem (an external type) using miniterm with no problems and can dial out manually. If I send the AT command to set the modem to auto answer then it picks up but then nothing.
Any advice on this is much appreciated.
Steve