Koozali.org: home of the SME Server

Dutch "Casema" serial cable modem

Aow

Dutch "Casema" serial cable modem
« on: July 17, 2001, 11:53:24 PM »
I've installed E-Smith and try to connect to the internet with my serial cable modem.....don't works. With minicom and some AT commands the modem goes crazy and don't work. I've worked with Freesco and that program have an automatic modem detection and that works great.......not in e-smith.

Who have an idea???

Gerard

Re: Dutch "Casema" serial cable modem
« Reply #1 on: July 18, 2001, 07:28:08 AM »
If freesco works, why don't you look at the scripts freesco use for init modem and dail in? Then look at the scripts e-smith is using; there must be some difference.

Aow

Re: Dutch "Casema" serial cable modem
« Reply #2 on: July 18, 2001, 09:50:16 PM »
Maybe stupid question: What scripts and where can i find them???

Gerard

Re: Dutch "Casema" serial cable modem
« Reply #3 on: July 19, 2001, 04:44:45 AM »
read this:

                             http://nl.linux.org/doc/HOWTO/Casema-kabelmodem-HOWTO-NL.html

robert

Re: Dutch "Casema" serial cable modem
« Reply #4 on: July 20, 2001, 01:37:00 AM »
I have the same modem, so this is guaranteed to work. If not, contact me through e-mail. There's only one line in the chat-script that needs to be changed. The chat-script is in /etc/sysconfig/network-scripts/chat-ppp0. Look for the line that reads 'ABORT' 'NO CARRIER'. This line must be commented out. In e-smith you don't edit configuration files directly though; you edit templates, or rather create custom templates, which in turn will update your configuration files. There's some instructive documentation on templates somewhere on the website. Here's what you need to do:

---create the appropriate directory for your custom template---
mkdir -p /etc/e-smith/templates-custom/etc/sysconfig/network-scripts/chat-ppp0

---copy the template you want to edit to the custom template directory you just created---
cp /etc/e-smith/templates/etc/sysconfig/network-scripts/chat-ppp0/10aborts /etc/e-smith/templates-custom/etc/sysconfig/network-scripts/chat-ppp0/

---edit the template in the templates-custom directory (using vi, for instance)---
vi /etc/e-smith/templates-custom/etc/sysconfig/network-scripts/chat-ppp0/10aborts

---comment out the conflicting line 'ABORT' 'NO CARRIER'. (I don't know if you're a Linux newbie, but if you are, commenting out a line means putting a # in front of it. Programs treat such lines as comments, not instructions. It's better than deleting lines, because the file is still intact, and it's easy to 'uncomment' any lines you commented out by accident. Also, if you're new to vi, you must type i to go into INSERT mode before you can type in the #. When you're done, save and quit with :wq!)---

---now you need to 'expand the template', so that it will update the configuration file, and maybe restart diald (the modem dialer program). There's probably a cleaner method for doing this, but one (catch-all) command you can use is:---
/sbin/e-smith/signal-event console-save

---hope this helps,
Robert---