RE: configure modem to start at boot

From: Antonio Olivares (olivares14031_at_yahoo.com)
Date: 12/23/04

  • Next message: Matthew Miller: "Re: Latest PHP update for FC2 breaks pcntl support"
    Date: Thu, 23 Dec 2004 08:26:39 -0800 (PST)
    To: marvstod@rcn.com
    
    

    Marv,

       I tried to implement what you told me but still
    /dev/ttySL0 is not loaded at boot. wvdial gives the
    following

    [root@localhost ~]# wvdial
    --> WvDial: Internet dialer version 1.54.0
    --> Warning: section [Dialer Defaults] does not exist
    in wvdial.conf.
    --> Cannot open /dev/modem: No such file or directory
    --> Cannot open /dev/modem: No such file or directory
    --> Cannot open /dev/modem: No such file or directory

    The modem connects after

    root@localhost ~]# slmodemd &
    [1] 3715
    [root@localhost ~]# SmartLink Soft Modem: version
    2.9.10 Dec 18 2004 08:01:11
    symbolic link `/dev/ttySL0' -> `/dev/pts/3' created.
    modem `slamr0' created. TTY is `/dev/pts/3'
    Use `/dev/ttySL0' as modem device, Ctrl+C for
    termination.

    I have to do this every time. I also tried to make it
    work using system tools -> internet connection wizard
    _> Modem and put all information in there.
    It has the following elements in there.

     Profile Status Device Nickname Type
    check inactive modem0 ppp0 Modem
    check inactive eth0 eth0 Ehternet
    check inactive modem0 ppp1 Modem

    I checked the system logs, and the following is
    displayed upon boot

    Dec 20 16:42:36 localhost slmodemd: Loading SmartLink
    Modem driver into kernel ...
    Dec 20 16:42:36 localhost slmodemd: done.
    Dec 20 16:42:36 localhost rc: Starting slmodemd:
    succeeded

    something happens that I got
    Dec 22 21:58:04 localhost slmodemd: Loading SmartLink
    Modem driver into kernel ...
    Dec 22 21:58:04 localhost slmodemd: done.
    Dec 22 21:58:04 localhost rc: Starting slmodemd:
    succeeded
    Dec 22 22:01:52 localhost slmodemd: slmodemd shutdown
    failed

    When starting up, it comes back with error 1. I will
    shutdown again and send this back to the list.

    Thanks for helping,

    Antonio

    --- "marvstod@rcn.com" <marvstod@rcn.com> wrote:

    > Antonio,
    >
    > slmodemd creates a /dev/pts/N which is the true
    > modem port,
    > with N a number, and a symbolic link to it
    > /dev/ttySL0
    >
    > Don't bother with KPPP.
    > FC3 has its own Internet Wizard which uses wvdial as
    > the underlying engine.
    > You will find among the popup menus.
    > Specify /dev/ttySL0 as the port.
    > Afterward edit /etc/wvdial.conf to format like:
    >
    > [Modem0]
    > Modem = /dev/ttySL0
    > Area Code = 301
    > Username = marvstod
    > Password = MyPassword
    > Phone = 9178111
    > Baud = 115200
    > SetVolume = 1
    > Dial Command = ATDT
    > Init1 = ATZ
    > Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    > # Init2 = AT+GCI=<hexadecimal country code>
    > FlowControl = CRTSCTS
    > Init3 = ATM1L1
    >
    > [Dialer usb]
    > # Stupid Mode = 1
    > Inherits = Modem0
    > Carrier Check = no
    > # needed for wvdial with slamr or slusb drivers
    >
    > I have multiple modems, so I specify my SmartLink
    > USB modem as [Dialer usb]
    >
    > You can place an Icon for the dialer on the Gnome
    > base panel, so that one
    > click will bring it up.
    >
    > MarvS
    >
    >
    >
    > Original Message:
    > -----------------
    > From: Antonio Olivares olivares14031@yahoo.com
    > Date: Wed, 22 Dec 2004 19:11:20 -0800 (PST)
    > To: fedora-list@redhat.com, discuss@linmodems.org
    > Subject: configure modem to start at boot
    >
    >
    > Dear users of Fedora Core 3 and
    > discuss@linmodems.org,
    > I still have not figured out how to make Fedora
    > load drives upon boot time with udev and other hacks
    > attempted. In the /etc/init.d/ folder slmodemd is
    > in
    > there and all appropriate links are made. slamr is
    > running in the background, yet when I start kppp
    > modem
    > is not recognized.
    >
    > [olivares@localhost ~]$ su - root
    > Password:
    > [root@localhost ~]# lsmod
    > Module Size Used by
    > radeon 120516 2
    > slamr 409032 0
    > parport_pc 24705 1
    > lp 11565 0
    > parport 41737 2 parport_pc,lp
    > autofs4 24005 0
    > i2c_dev 10433 0
    > i2c_core 22081 1 i2c_dev
    > sunrpc 160421 1
    > ipt_REJECT 6465 1
    > ipt_state 1857 1
    > ip_conntrack 40693 1 ipt_state
    > iptable_filter 2753 1
    > ip_tables 16193 3
    > ipt_REJECT,ipt_state,iptable_filter
    > md5 4033 1
    > ipv6 232577 8
    > ohci1394 35033 0
    > ieee1394 302869 1 ohci1394
    > uhci_hcd 31449 0
    > ehci_hcd 31557 0
    > snd_via82xx 27237 2
    > snd_ac97_codec 64401 1 snd_via82xx
    > snd_pcm_oss 47609 0
    > snd_mixer_oss 17217 1 snd_pcm_oss
    > snd_pcm 97993 3
    > snd_via82xx,snd_pcm_oss
    > snd_timer 29765 1 snd_pcm
    > snd_page_alloc 9673 2 snd_via82xx,snd_pcm
    > gameport 4801 1 snd_via82xx
    > snd_mpu401_uart 8769 1 snd_via82xx
    > snd_rawmidi 26725 1 snd_mpu401_uart
    > snd_seq_device 8137 1 snd_rawmidi
    > snd 54053 12
    >
    snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_m
    > pu401_uart,snd_rawmidi,snd_seq_device
    > soundcore 9889 1 snd
    > via_rhine 23497 0
    > mii 4673 1 via_rhine
    > floppy 58609 0
    > dm_snapshot 17029 0
    > dm_zero 2369 0
    > dm_mirror 23341 2
    > ext3 116809 2
    > jbd 74969 1 ext3
    > dm_mod 54741 6
    > dm_snapshot,dm_zero,dm_mirror
    > sata_via 7109 0
    > libata 40005 1 sata_via
    > sd_mod 16961 0
    > scsi_mod 118417 2 libata,sd_mod
    > [root@localhost ~]# slmodemd &
    > [1] 3868
    > [root@localhost ~]# SmartLink Soft Modem: version
    > 2.9.10 Dec 18 2004 08:01:11
    > symbolic link `/dev/ttySL0' -> `/dev/pts/3' created.
    > modem `slamr0' created. TTY is `/dev/pts/3'
    > Use `/dev/ttySL0' as modem device, Ctrl+C for
    > termination.
    >
    >
    > Upon every boot, I have to retype slmodemd at the
    > console so that I can connect to the net.
    >
    > I tried also copying a suggestion from another mail
    > after I loaded slmodemd.
    > [root@localhost ~]# cp -a /dev/ttySL0
    > /etc/udev/devices
    > [root@localhost ~]# chown root.root
    > /etc/udev/devices/ttySL0
    >
    > This did not work. I probably need to create a
    > definition for udev. But how do I do it? I have
    > read
    > some of the documentation of udev. But I am afraid
    > of
    > messing up the system.
    >
    > Before udev when devfs was in place, had no problems
    > with loading slamr upon boot. Any suggestions
    > and/or
    > advice will be greatly appreciated. Merry Christmas
    > to all and a Happy New Year.
    >
    > Thanks in advance,
    >
    > Antonio
    >
    > __________________________________________________
    > Do You Yahoo!?
    > Tired of spam? Yahoo! Mail has the best spam
    > protection around
    > http://mail.yahoo.com
    >
    >
    --------------------------------------------------------------------
    > mail2web - Check your email from the web at
    > http://mail2web.com/ .
    >
    >
    >

                    
    __________________________________
    Do you Yahoo!?
    Yahoo! Mail - Helps protect you from nasty viruses.
    http://promotions.yahoo.com/new_mail

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Matthew Miller: "Re: Latest PHP update for FC2 breaks pcntl support"

    Relevant Pages

    • configure modem to start at boot
      ... In the /etc/init.d/ folder slmodemd is in ... yet when I start kppp modem ... Upon every boot, I have to retype slmodemd at the ... definition for udev. ...
      (Fedora)
    • configure modem to start at boot
      ... In the /etc/init.d/ folder slmodemd is in ... yet when I start kppp modem ... Upon every boot, I have to retype slmodemd at the ... definition for udev. ...
      (Fedora)
    • PPP MTU please help very urgent
      ... RH 9 dual boot problem ... Re: package installation issue. ... After reinstalling Windows, one just needs to run fdisk and set /boot ... I recently purchased the above external modem as my internal modem was ...
      (RedHat)
    • Re: One problem, One question
      ... check is the System Event Log. ... It keeps your base OS fully functional and doesn't require boot ... > Over the last week or so, though, to use the modem I have to boot up, ... > Partition Magic 7 so can create partitions. ...
      (microsoft.public.windowsxp.general)
    • Re: cable modem reset
      ... > If i can catch it early enough in the boot process i can usually pull ... > beginning to wonder if that's particularly healthy for the modem... ... usually does it differently from Linux. ... there is some item that is different in the XP request ...
      (alt.os.linux)