Koozali.org: home of the SME Server

REMOTE ACCESS DIALIN SERVER

Chaloner Hale

REMOTE ACCESS DIALIN SERVER
« on: April 11, 2002, 06:33:21 AM »
I have SME V5.1.2 connected to cable. I would like to add a USR Courier V.Everything modem and be able to dial in remotely with my laptop and have internet access.

Could one of you experts out there let me know if this is possible and how I could do it please?

Thanks,

Chaloner Hale

Daniel van Raay

Re: REMOTE ACCESS DIALIN SERVER
« Reply #1 on: April 11, 2002, 07:28:43 AM »
Try my (based on work by Charlie Brady and Steven Noble) e-smith-dialin contrib RPM from:
  ftp://ftp.e-smith.org/pub/e-smith/contrib/DanielvanRaay/RPMS/noarch/

You'll first need to install mgetty:
  ftp://ftp.rpmfind.net/linux/redhat/updates/7.1/en/os/i386/mgetty-1.1.25-5.i386.rpm

Once they are both installed, you'll have two new options under the server-manager.  One 'Dial=In' under configuration lets you tell the server which serial port the modem is on and what IP address to assign to it.  The other 'User dialin access' under security allows you to enable PPP dialin access for individual user accounts.

Daniel van Raay

Chaloner Hale

Re: REMOTE ACCESS DIALIN SERVER
« Reply #2 on: April 11, 2002, 08:41:24 AM »
Thanks Daniel.

I installed the two rpm's. I enabled them in the server-manager. When I checked the console, there was a funny message on the console;

INIT /etc/inittab[62] missing action statement

So, I have a few points that need to be addressed;

1) What did I do wrong, or what am I missing?
2) Is there something I need to do to enable the modem, or to install the modem under Linux?
3) What new processes would I see running if I issue ps -ax?
4) Do I need to configure mgetty myself? Or make it go myself?
5) Do I need to do something to make the AA (auto-answer) light come on on the modem?

????

Thanks,

Chaloner Hale

Duncan

Re: REMOTE ACCESS DIALIN SERVER
« Reply #3 on: April 11, 2002, 01:17:25 PM »
I get this as well though it doesnt seem to effect the dial in operation.

Regards Duncan

Daniel van Raay

Re: REMOTE ACCESS DIALIN SERVER
« Reply #4 on: April 11, 2002, 02:18:48 PM »
Chaloner Hale wrote:
>
> Thanks Daniel.
>
> I installed the two rpm's. I enabled them in the
> server-manager. When I checked the console, there was a funny
> message on the console;
>
> INIT /etc/inittab[62] missing action statement

It's safe to ignore this.  There is a ^M in the /etc/inittab file because one of the template fragments is in DOS text instead of Unix text.  The 0.4-3 version of e-smith-dialin fixes this but it's not on ftp.e-smith.org yet.

> So, I have a few points that need to be addressed;
>
> 1) What did I do wrong, or what am I missing?

Nothing, sounds like you're on track.

> 2) Is there something I need to do to enable the modem, or to
> install the modem under Linux?

No, as long as it's a standard serial modem (ie not a 'WinModem') there should be no additional software/drivers needed.

> 3) What new processes would I see running if I issue ps -ax?

There should be one extra process, something like:
   /sbin/mgetty ttyS0 -D ttyS0

> 4) Do I need to configure mgetty myself? Or make it go myself?

No, e-smith-dialin and the web-panels under the server-manager do this for you.  You just need to add a modem, enable it and then enable dialin access for one or more user accounts.

> 5) Do I need to do something to make the AA (auto-answer)
> light come on on the modem?

No.  mgetty is responsible for answering the modem.  The AA light should NOT come on as mgetty looks for incoming RING's instead of letting the modem answer the call itself.

What happens if you call the modem using a simple terminal proggie?  You should get a login prompt.

Daniel van Raay

Chaloner Hale

Re: REMOTE ACCESS DIALIN SERVER
« Reply #5 on: April 11, 2002, 05:45:03 PM »
OK, I'm getting the idea. However I do not see mgetty in a running process. Will I be able to "browse the internet" or only access a "login prompt" for shell access?

Thanks guys....


Chaloner Hale

p.s. Can I get your newer rpm please?

Tom Veitch

Re: REMOTE ACCESS DIALIN SERVER
« Reply #6 on: April 11, 2002, 10:45:27 PM »
whats the winprofiles rpm do i ran it and it doesn't seem to do any thing..

Daniel van Raay

e-smith-winprofile RPM (was: Re: REMOTE ACCESS DIALIN SERVER
« Reply #7 on: April 12, 2002, 07:59:03 AM »
[danielvr@thebeast:home]$ rpm -qpi e-smith-winprofiles-0.1-2.noarch.rpm
Name        : e-smith-winprofiles          Relocations: (not relocateable)
Version     : 0.1                               Vendor: (none)
Release     : 2                             Build Date: Sat 22 Sep 2001 12:54:49 PM EST
Install date: (not installed)               Build Host: gnomantis.e-smith.gnomantis.caa.org.au
Group       : Networking/Daemons            Source RPM: e-smith-winprofiles-0.1-2.src.rpm
Size        : 83691                            License: Freely distributable
Packager    : Daniel van Raay
Summary     : e-smith module to provide Windows roaming profile support
Description :
e-smith server enhancement to provide support for Windows roaming profiles.

I wrote this ages ago to provide windows NT roaming profile support for e-smith.  It was written for e-smith 4.0.1 and I haven't tested it on anything later.  SME 5.1.2 has it's own windows profile support which is better than what that RPM provides.

If you've installed it on a later than 4.0.1 server, I recommend removing it because I'm not sure if it conflicts with anything from the later versions.

To remove:
[danielvr@thebeast:home]$ rpm -e e-smith-winprofiles

You might get an error saying that it can't remove the /home/e-smith/files/winprofiles folder.  It is safe to 'rm -r' that folder after you've removed the RPM.

Daniel van Raay

Chaloner Hale

Re: e-smith-winprofile RPM (was: Re: REMOTE ACCESS DIALIN SE
« Reply #8 on: April 13, 2002, 06:44:35 PM »
I have looked at your dialin rpm which is not working on my SME V51.2. There is no entry in /etc/inittab for mgetty.

Tracing this backwards, it appears /etc/e-smith/templates/etc/inittab/60multidialin is the culprit.  $OUT .= "$port:23457:respawn:/sbin/mgetty tty$port -D tty$port\n"; does not appear to execute. It also leaves on error message on the console each time it boots.

If I added a custom template for mgetty do you think this would help?

Do you happen to have the newer release of this rpm available?

Can you tell me if this is for remote console access or if I would have browser access to the internet?

Thanks,

Chaloner Hale

Chaloner Hale

Re: REMOTE ACCESS DIALIN SERVER
« Reply #9 on: April 19, 2002, 01:10:37 AM »
OK, it works. I set up a private network dialup connection on my Windows2000 laptop and I get in. Internet Explorer conects and allows me internet access.

The only question is: How can I get a connect speed better than 28k? I am using a USR 56k V.Everything external modem.

Is there something I can add or change that would improve this?

Thanks everyone...

Chaloner Hale

Dan Brown

Re: REMOTE ACCESS DIALIN SERVER
« Reply #10 on: April 19, 2002, 01:21:23 AM »
Well, you're never going to see faster than 33.6k anyway, due to the way the 56k protocols work--one end needs to be on a direct digital connection.  A Courier I-modem on ISDN is supposed to be able to do this.

Chaloner Hale

Re: REMOTE ACCESS DIALIN SERVER
« Reply #11 on: April 19, 2002, 01:56:22 AM »
OK, can I get it up to 33k from 28k??? My modem is a Courier 56k V.Everything.

Thanks Dan,

Chaloner Hale

Filippo Carletti

Re: REMOTE ACCESS DIALIN SERVER
« Reply #12 on: April 19, 2002, 02:21:50 AM »
You could probably reach 33.6 disabling V.90 and X2.
But line quality should be very good.

Jason Ephraims

Re: REMOTE ACCESS DIALIN SERVER
« Reply #13 on: April 29, 2002, 05:13:57 AM »
I have installed the dial in server and mgetty. when i try to dial up from the win98 laptop it says check protocols and try again it also takes a long time to answer. i have also tried from another desktop machine and same it says check protocols for the dial up connection but they are standard settings any ideas??

Jason Ephraims

Re: REMOTE ACCESS DIALIN SERVER
« Reply #14 on: April 29, 2002, 02:15:24 PM »
I just did a test from a win2000 machine and the same the esmith answers and handshakes but no no connection what needs to be done to the esmith are there any other options that need to be activated