LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-29-2002, 06:11 AM   #1
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
configure lucent win modem at command line


i am trying to install lucent win modem from the command line in redhat 7.3. after installing the modem, kudzu recognized it and asked to configure it (which I did).

1. check to make sure modules hav loaded


[root@work root]# lsmod
Module Size Used by Not tainted
sd_mod 12864 0 (autoclean)
nls_iso8859-1 3488 1 (autoclean)
nls_cp437 5120 1 (autoclean)
vfat 11804 1 (autoclean)
fat 36152 0 (autoclean) [vfat]
ppp_generic 23660 1 (autoclean)
slhc 6220 0 (autoclean) [ppp_generic]
sr_mod 16056 0 (autoclean)
i810_audio 23136 0 (autoclean)
ac97_codec 12224 0 (autoclean) [i810_audio]
soundcore 6212 2 (autoclean) [i810_audio]
i810 73464 1
agpgart 40256 7 (autoclean)
parport_pc 17476 1 (autoclean)
lp 8576 0 (autoclean)
parport 33536 1 (autoclean) [parport_pc lp]
natsemi 17480 1
ide-scsi 9376 0
ide-cd 30144 0
cdrom 31936 0 [sr_mod ide-cd]
usb-storage 54956 0
scsi_mod 104848 4 [sd_mod sr_mod ide-scsi usb-storage]
usb-uhci 24324 0 (unused)
usbcore 71072 1 [usb-storage usb-uhci]
ext3 64800 2
jbd 47892 2 [ext3]



2. copy scripts from the /usr/share/doc/ppp-2.04/scripts/ppp-o* /etc/ppp

3. edit the ppp-on script with
*************************************************
#!/bin/sh
#
# Script to initiate a ppp connection. This is the first part of the
# pair of scripts. This is not a secure pair of scripts as the codes
# are visible with the 'ps' command. However, it is simple.
#
# These are the parameters. Change as needed.
TELEPHONE=703-994-4005 # The telephone number for the connection
ACCOUNT=myname@speakeasy.net # The account name for logon
PASSWORD=mypassword # The password for this account (and 'Gracie Allen')
LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0
REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0
NETMASK=255.255.255.0 # The proper netmask if needed
#
# Export them so that they will be available at 'ppp-on-dialer' time.
export TELEPHONE ACCOUNT PASSWORD
#
# This is the location of the script which dials the phone and logs
# in. Please use the absolute file name as the $PATH variable is not
# used on the connect option. (To do so on a 'root' account would be
# a security hole so don't ask.)
#
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
#
# Initiate the connection
#
# I put most of the common options on this command. Please, don't
# forget the 'lock' option or some programs such as mgetty will not
# work. The asyncmap and escape will permit the PPP link to work with
# a telnet or rlogin connection. You are welcome to make any changes
# as desired. Don't use the 'defaultroute' option if you currently
# have a default route to an ethernet gateway.
#
exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS0 57600 \

**************************************************

4. make the scripts executable
chmod +x /etc/ppp/ppp-o*

5. monitor modem for error messages:
*************************************************
tail -f /var/log/messages
Oct 28 23:27:16 localhost kernel: i810_audio: AC'97 codec 0 supports AMAP, total channels = 2
Oct 28 23:27:16 localhost modprobe: modprobe: Can't locate module sound-service-0-0
Oct 28 23:27:20 localhost gnome-name-server[978]: starting
Oct 28 23:27:20 localhost gnome-name-server[978]: name server starting
Oct 28 23:27:20 localhost gnome-name-server[979]: starting
Oct 28 23:27:20 localhost gnome-name-server[979]: name server was running on display, exiting
Oct 28 23:27:20 localhost kernel: Attached scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0
Oct 28 23:27:20 localhost kernel: sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Oct 28 23:27:25 localhost gconfd (root-995): starting (version 1.0.9), pid 995 user 'root'
Oct 28 23:27:31 localhost kernel: cdrom: This disc doesn't have any tracks I recognize!
Oct 28 23:29:55 localhost kernel: CSLIP: code copyright 1989 Regents of the University of California
Oct 28 23:29:55 localhost kernel: PPP generic driver version 2.4.2
Oct 28 23:29:55 localhost pppd[1089]: pppd 2.4.1 started by root, uid 0
Oct 28 23:29:56 localhost chat[1090]: timeout set to 3 seconds
Oct 28 23:29:56 localhost chat[1090]: abort on (\nBUSY\r)
Oct 28 23:29:56 localhost chat[1090]: abort on (\nNO ANSWER\r)
Oct 28 23:29:56 localhost chat[1090]: abort on (\nRINGING\r\n\r\nRINGING\r)
Oct 28 23:29:56 localhost chat[1090]: send (rAT^M)
Oct 28 23:29:56 localhost chat[1090]: expect (OK)
Oct 28 23:29:59 localhost chat[1090]: alarm
Oct 28 23:29:59 localhost chat[1090]: send (+++)
Oct 28 23:29:59 localhost chat[1090]: expect (OK)
Oct 28 23:30:02 localhost chat[1090]: alarm
Oct 28 23:30:02 localhost chat[1090]: Failed
Oct 28 23:30:02 localhost pppd[1089]: Connect script failed
Oct 28 23:31:49 localhost kernel: floppy0: data CRC error: track 2, head 0, sector 7, size 2
Oct 28 23:31:50 localhost kernel: floppy0: data CRC error: track 2, head 0, sector 7, size 2
Oct 28 23:31:50 localhost kernel: end_request: I/O error, dev 02:00 (floppy), sector 78
Oct 28 23:31:51 localhost kernel: floppy0: data CRC error: track 3, head 0, sector 16, size 2
Oct 28 23:31:51 localhost kernel: floppy0: data CRC error: track 3, head 0, sector 16, size 2
Oct 28 23:31:51 localhost kernel: end_request: I/O error, dev 02:00 (floppy), sector 123
Oct 28 23:31:52 localhost kernel: floppy0: data CRC error: track 4, head 0, sector 7, size 2
Oct 28 23:31:52 localhost kernel: floppy0: data CRC error: track 4, head 0, sector 7, size 2
Oct 28 23:31:52 localhost kernel: end_request: I/O error, dev 02:00 (floppy), sector 150
Oct 28 23:31:55 localhost kernel: floppy0: data CRC error: track 2, head 0, sector 7, size 2
Oct 28 23:31:55 localhost kernel: floppy0: data CRC error: track 2, head 0, sector 7, size 2
Oct 28 23:31:55 localhost kernel: end_request: I/O error, dev 02:00 (floppy), sector 78
**************************************************

6. initiate the dialup script

/etc/ppp/ppp-on

(see the above tail error messages. please note that i initially followed the script's suggestion to rename /dev/ttyS0 as dev/modem if kudzu recognized the modem and got an error message that /dev/modem "was not found." Therefore, I switched it back to ttySo. Now I get the error message:
ttyS0 is locked by pid 1053."
 
Old 01-26-2003, 07:39 AM   #2
sidboyce
Member
 
Registered: Jan 2003
Location: Halesowen, West Midlands, UK
Distribution: SuSE 10.0/Mandriva 2006/gentoo
Posts: 89

Rep: Reputation: 15
Check http://www.linmodems.org, if you have a Lucent AMR modem though, you are out of luck. There is support for Apollo and MARS chipsets only.
Regards
Sid.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lucent Win Modem/Geforce 4 (More for Kubuntu) Linoman Ubuntu 0 11-06-2005 04:53 AM
Lucent Win Modem and Live CD mailelam Linux - Distributions 0 09-27-2005 09:48 AM
Lucent V.90 56K PCI WIN Modem Syringe Red Hat 1 08-16-2004 08:04 AM
Lucent win modem lloyd owen Linux - Hardware 2 11-12-2003 10:20 AM
Lucent Win Modem in Slack8.1 josh-67 Slackware 2 03-12-2003 04:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration