[SATLUG] Backtrack, Kppp and PCMCIA modem

John Pappas j at jvpappas.net
Thu Mar 27 15:39:54 CDT 2008


I got modem set up (that is to say plugged it in).  Here are my outputs/etc:

# `tail /var/log/messages`
Mar 27 15:23:13 spook kernel: cs: pcmcia_socket0: unable to apply power.
Mar 27 15:23:14 spook kernel: pccard: PCMCIA card inserted into slot 0
Mar 27 15:23:14 spook kernel: cs: memory probe 0xd0000000-0xd7ffffff:
excluding 0xd0000000-0xd7ffffff
Mar 27 15:23:14 spook kernel: cs: memory probe 0xb4000000-0xbfffffff:
excluding 0xb4000000-0xb47fffff 0xb8000000-0xbbffffff
Mar 27 15:23:14 spook kernel: pcmcia: registering new device pcmcia0.0
Mar 27 15:23:14 spook kernel: 0.0: ttyS2 at I/O 0x3e8 (irq = 3) is a 16550A

# `lsmod |grep -i pcmc`
pcmcia                 41076  1 serial_cs
firmware_class         13568  2 microcode,pcmcia
pcmcia_core            40852  4 serial_cs,pcmcia,yenta_socket,rsrc_nonstatic
serial_cs                 25220  1

# `lspcmcia -v`
Socket 0 Bridge:        [yenta_cardbus]         (bus ID: 0000:0b:00.0)
        Configuration:  state: on       ready: yes
                        Voltage: 5.0V Vcc: 5.0V Vpp: 0.0V
Socket 0 Device 0:      [serial_cs]             (bus ID: 0.0)
        Configuration:  state: on
        Product Name:   Toshiba America 3CXM056-BNW 3COM/NoteWorthy 56K
Modem
        Identification: manf_id: 0x0101 card_id: 0x002f
                        function: 2 (serial)
                        prod_id(1): "Toshiba America" (0x4eb85015)
                        prod_id(2): "3CXM056-BNW" (0xd7115317)
                        prod_id(3): "3COM/NoteWorthy 56K Modem" (0x05feca3b)
                        prod_id(4): --- (---)

# `wvdialconf`
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
ttyS2<*1>: ATQ0 V1 E1 -- OK
ttyS2<*1>: ATQ0 V1 E1 Z -- OK
ttyS2<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyS2<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyS2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyS2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyS2<*1>: Modem Identifier: ATI -- 5601
ttyS2<*1>: Speed 4800: AT -- OK
ttyS2<*1>: Speed 9600: AT -- OK
ttyS2<*1>: Speed 19200: AT -- OK
ttyS2<*1>: Speed 38400: AT -- OK
ttyS2<*1>: Speed 57600: AT -- OK
ttyS2<*1>: Speed 115200: AT -- OK
ttyS2<*1>: Max speed is 115200; that should be safe.
ttyS2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyS4<Info>: No such device or address
Modem Port Scan<*1>: S4
ttyS5<Info>: No such device or address
Modem Port Scan<*1>: S5
ttyS6<Info>: No such device or address
Modem Port Scan<*1>: S6
ttyS7<Info>: No such device or address
Modem Port Scan<*1>: S7

Found a modem on /dev/ttyS2.
Modem configuration written to /etc/wvdial.conf.
ttyS2<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

HTH,
jp

On Thu, Mar 27, 2008 at 2:05 PM, John Pappas <j at jvpappas.net> wrote:

> Sorry, fell behind on my posts.  I did not see what others have mentioned,
> but if it is a PCMCIA modem, you will need the pcmcia-cs and associated
> drivers loaded.  It has been a while since I have messed with a dialup modem
> (Moreless PCMCIA modem, as I don't even have a hardline), but I will fire up
> my old/trusty Noteworthy/3Com 56K modem card with XJack connector and see
> what it does on my IBM T43p running OpenSuse 10.3.
>
> jp
> On Wed, Mar 26, 2008 at 12:49 PM, Christopher.L.Lovejoy <
> christopher.l.lovejoy at gmail.com> wrote:
>
> > First, I want to thank everyone for the help in finding direction on
> > dialing
> > out.  I found out that Backtrack has Kppp inside of it.  The problem I
> > now
> > face is finding out how to get it to find my PCMCIA modem.  I keep
> > getting
> > told to use tty01 for com1 and stuff like that, but I'm confused if I
> > can
> > even get PCMCIA cards to be seen by Linux in general, much less by
> > Backtrack/Kppp.
> >
> >
> >
> > Any ideas, I'd appreciate it.
> >
> >
> >
> > SPC. Christopher L Lovejoy
> >
> > SouthWest Information Operation Center
> >
> > Cyber Knights!
> >
> > United States Army Reserves
> >
> >
> >
> > --
> > _______________________________________________
> > SATLUG mailing list
> > SATLUG at satlug.org
> > http://alamo.satlug.org/mailman/listinfo/satlug to unsubscribe
> > Powered by Rackspace (www.rackspace.com)
> >
>
>


More information about the SATLUG mailing list