Koozali.org: home of the SME Server

Dialing just #0

baixamar

Dialing just #0
« on: May 08, 2001, 07:58:34 PM »
Now I am trying to be more specific. Can you please help me?


I am connected to a ISP through a special data line (normal telephone
line just for data).
Access is made with a normal dialup modem, dialing just "#0" (a # a and
0, just it).

I am trying to configure the e-smith 4.1.2 to dial the #0, but until
now i did not get it.

Dialing to a normal telephone number is ok.

With hyperterminal in windows 95, the string
ATDT#0
works very well


To configure e-smith 4.1.2 I have made the following steps:

1. I have created a directory called
   /etc/e-smith/templates-custom/etc

2. I have copied the entire directory
/etc/e-smith/templates/etc/sysconfig/network-scripts/chat-ppp0/
(that I believe is the directory that have the files I should change)

3. Now I have a directory
/etc/e-smith/templates-custom/etc/chat-ppp0/

4. I have edited file 30dialup as follows
'OK' 'ATDT#0'
replacing the 'OK' 'ATDT { $DialupPhoneNumber }'

5. Then I have made the command (to expand the templates, I believe):
/sbin/e-smith/expand-template /etc/chat-ppp0


It did not work

What am I doing wrong?

What shoul I do after the "expand template"? Reboot?



Tanks in advance
baixamar

Jody McRae

Re: Dialing just #0
« Reply #1 on: May 11, 2001, 06:53:35 AM »
Biaxamar

Remember the chat-ppp0 directory is under /etc/e-smith/templates/etc/sysconfig/network-scripts

So you should mkdir -p /etc/e-smith/templates-custom/etc/sysconfig/network-scripts/chat-ppp0
then cp -rp /etc/e-smith/templates/etc/sysconfig/network-scripts/chat-ppp0 /etc/e-smith/templates-custom/etc/sysconfig/network-scripts/

then /sbin/e-smith/expand-template /etc/sysconfig/network-scripts/chat-ppp0

Shouldn't need to reboot.

Jody