Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Marco Moreno on July 23, 2002, 11:01:34 AM
-
I need to prefix my ISP's phone number with "*70," (e.g. *70,234-5678), however the modem configuration menu doesn't allow a "*".
I hacked /etc/sysconfig/network-scripts/chat-ppp0 to insert the "*70," but I know that's not the proper way to do it.
Marco
-
Make the dir for the custom template.
# mkdir /etc/e-smith/templates-custom/etc/sysconfig/network-scripts/chat-ppp0
Copy the old fragment over.
# cp /etc/e-smith/templates/etc/sysconfig/network-scripts/chat-ppp0/30dialup /etc/e-smith/templates-custom/etc/sysconfig/network-scripts/chat-ppp0/30dialup
Edit the new fragment
# pico /etc/e-smith/templates-custom/etc/sysconfig/network-scripts/chat-ppp0/30dialup
Expand the template
# /sbin/e-smith/expand-template /etc/sysconfig/network-scripts/chat-ppp0
You probably have to restart something after that for it to work. I'm not sure what though...
-
Ok. I thought that maybe it would be supported directly, but now I'm looking forward to doing some hacking since I'm quite familiar with Perl.
Thanks for the walk-thru!
Marco