Dimitris Mandalidis <(E-Mail Removed)_this_to_reply> wrote:
> Jul 18 03:28:45 lizard chat[1412]: timeout set to 60 seconds
> Jul 18 03:28:45 lizard chat[1412]: abort on (BUSY)
> Jul 18 03:28:45 lizard chat[1412]: abort on (NO CARRIER)
> Jul 18 03:28:45 lizard chat[1412]: abort on (NO DIALTONE)
> Jul 18 03:28:45 lizard chat[1412]: abort on (ERROR)
> Jul 18 03:28:45 lizard chat[1412]: send (ATZ^M)
> Jul 18 03:28:45 lizard chat[1412]: expect (OK)
> Jul 18 03:28:45 lizard chat[1412]: ATZ^M^M
> Jul 18 03:28:45 lizard chat[1412]: OK
> Jul 18 03:28:45 lizard chat[1412]: -- got it
> Jul 18 03:28:45 lizard chat[1412]: send (ATM2^M)
> Jul 18 03:28:45 lizard chat[1412]: expect (OK)
> Jul 18 03:28:45 lizard chat[1412]: ^M
> Then the script was waiting and I did as (root) # echo "OK" > /dev/modem
> (/dev/tts/0) and it worked just fine! It's easy to modify connect pppd
> command to add this, but I still don't know where's the problem and why it
> worked like this.
Okay. The reference to /dev/tts/0 triggered my memory but it was
still not easy to find kernel configuration change(s) that *might*
fix the problem. After the change(s), you should change the sym-link
/dev/modem to point to /dev/ttyS0 (or ttyS?), if it doesn't already -
I never used the devfs device filesystem.
Kernel 2.6.4
------------
make menuconfig
Linux Kernel Configuration
File systems --->
Pseudo filesystems --->[*] /proc file system support
[ ] /dev file system support (OBSOLETE)
.... more stuff not configured here ...
Note that the obsolete devfs is NOT configured. I *think* this
also causes UNIX98 (ttypX is replaced by pts/X) to be automatically
configured - anyway I couldn't find an explicit configuration option
for UNIX98. So you'll likely also need to add
none /dev/pts devpts gid=5,mode=0660 0 0
to /etc/fstab and mount it (or reboot), after adding the /dev/pts
directory:
drwxr-xr-x 2 root root 0 Jul 1 09:15 /dev/pts/
Check for UNIX98 PTY configuration with "less .config" in the top
source directory and search for UNIX98. You should see
#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_UNIX98_PTYS=y
You *might* also need sysctl (always configured here) support too:
Linux Kernel Configuration
General setup --->[*] Sysctl support
Now, something else in the kernel that you may need (since it hung when
attempting AT configuration of audio from the modem):
Linux Kernel Configuration
Device Drivers --->
Input device support --->[*] Misc
<*> PC Speaker support
Note that there are a lot of "might"s, "should"s, ect., above. YMMV with
the 2.6.7 kernel, or perhaps I'm just plain guessing wrong about what's
causing the problem(s).
--
Clifford Kite Email: "echo
xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads:
http://ckite.no-ip.net/
/* For every credibility gap, there is a gullibility fill.
-- R. Clopton */