Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Chaloner Hale 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
-
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
-
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
-
I get this as well though it doesnt seem to effect the dial in operation.
Regards Duncan
-
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
-
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?
-
whats the winprofiles rpm do i ran it and it doesn't seem to do any thing..
-
[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
-
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
-
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
-
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.
-
OK, can I get it up to 33k from 28k??? My modem is a Courier 56k V.Everything.
Thanks Dan,
Chaloner Hale
-
You could probably reach 33.6 disabling V.90 and X2.
But line quality should be very good.
-
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??
-
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
-
I have to be doing somthing wrong i just installed teh modules on another esith machine and the same from the dial in computer check server type settings i am using a standart ppp interent conection. I have tried it with just tcp ticked and with log on to network the computer dials picks up but during handshaking disconects and tells me to check server type settings what needs to be done i am getting desperate. Are there any other dial in modules for esith. the ring time is also long it takes about 8-9 rings to answer PLEASE HELP PLEASE
-
Jason,
Does anything show up in your /var/log/messages file about the dialin attempt?
Daniel van Raay
-
I have setup SME 5.1.2 with the dialin RPM's specified by Daniel van Raay. The server will accept a connection, but drops the call for some reason. When I check the log file this is what I find:
May 17 12:51:55 inbound mgetty[10601]: init chat failed, exiting...: Interrupted system call
May 17 12:51:55 inbound mgetty[10601]: failed in mg_init_data, dev=ttyS0, pid=10601
May 17 12:52:40 inbound mgetty[10602]: init chat failed, exiting...: Interrupted system call
May 17 12:52:40 inbound mgetty[10602]: failed in mg_init_data, dev=ttyS0, pid=10602
Any help would be appreciated.
Todd Stephens
-
I had similar problems. After installing per the HowTo I did the following:
I started with a fresh install of 5.1.2.
192.168.13.251 internal interface, 192.168.0.128 external interface
installed mgetty
installed dialin
enabled a user (via web panel)
turned on dialin (via web panel)
created a modem S0 192.168.1.11 (via web panel)
added mgetty entry for inittab:
/etc/e-smith/templates-custom/etc/inittab/59dialin
#dialin
S0:23457:respawn:/sbin/mgetty ttyS0 -D ttyS0
/sbin/e-smith/expand-template /etc/inittab
added options.ttyS0
/etc/e-smith/templates-custom/etc/ppp/options.ttyS0/10ip
192.168.13.220:192.168.1.11
reboot
dialed in, and it worked.
*Added 192.168.1 as a local network so I could access the server manager.
Hope this helps. Jim
-
oops! forgot something. You'll need to expand that ttyS0.options file:
/sbin/e-smith/expand-template /etc/ppp/options.ttyS0
before you reboot.
-
Actually, forget my previous posts. The firewall rules get screwed up. I'll start over and post if I figure anything out.
J