this is my first post - hopefully placed in the correct category
I'm trying to build a dial-in server using the modem in my nokia 3109c. The phone is connected using bluetooth and has a german sim-card inserted. In the logs it's shown that an incoming call is arrived and mgetty has sent an "ATA" to pick up the line. Well that does actually work, but it's the mobile phone who picks up the call and not the pc. I can hear the other (remote) modem through the phone's speaker.
My guess is that i'm missing some fancy init-chatscript to tell the phone "act as modem" or something equal.
Another problem i'm dealing with is that if i start mgetty from the inittab (using startup) it continiously trys to reach /dev/comm0 - which does not exist while the phone is not connected via bluetooth. Is there a way to manually start mgetty and prevent the "cannot set controlling tty (ioctl): Operation not permitted" message?
Hope you can give me some hints..
02/16 12:02:50 mm0 check for lockfiles
02/16 12:02:50 mm0 checklock: stat failed, no file
02/16 12:02:50 mm0 locking the line
02/16 12:02:50 mm0 makelock(rfcomm0) called
02/16 12:02:50 mm0 do_makelock: lock='/var/lock/LCK..rfcomm0'
02/16 12:02:50 mm0 lock made
02/16 12:02:50 mm0 tio_get_rs232_lines: status: RTS CTS DSR DTR
02/16 12:02:50 mm0 tss: set speed to 57600 (10001)
02/16 12:02:50 mm0 tio_set_flow_control( HARD )
02/16 12:02:50 mm0 waiting for line to clear (VTIME=1), read:
02/16 12:02:51 mm0 send: AT&F&C1&D2[0d]
02/16 12:02:51 mm0 waiting for ``OK''
02/16 12:02:51 mm0 got: AT&F&C1&D2[0d]
02/16 12:02:51 mm0 CND: AT&F&C1&D2[0d][0a]OK ** found **
02/16 12:02:51 mm0 send: at+cbst=12,0,1;+chsn=1,1,0,4[0d]
02/16 12:02:51 mm0 waiting for line to clear (VTIME=3), read: [0d][0a]at+cbst=12,0,1;+chsn=1,1,0,4[0d][0d][0a]OK[0d][0a]
02/16 12:02:51 mm0 removing lock file
02/16 12:02:51 mm0 waiting...
02/16 12:03:34 mm0 select returned 1
02/16 12:03:34 mm0 checking lockfiles, locking the line
02/16 12:03:34 mm0 makelock(rfcomm0) called
02/16 12:03:34 mm0 do_makelock: lock='/var/lock/LCK..rfcomm0'
02/16 12:03:34 mm0 lock made
02/16 12:03:34 mm0 wfr: waiting for ``RING''
02/16 12:03:34 mm0 got: [0d][0a]RING[0d]
02/16 12:03:34 mm0 CND: RING
02/16 12:03:34 mm0 wfr: rc=0, drn=0
02/16 12:03:34 mm0 CND: check no: 'none'
02/16 12:03:34 mm0 cannot set controlling tty (ioctl): Operation not permitted
02/16 12:03:34 mm0 >>> this might be caused because you have run mgetty/vgetty
02/16 12:03:34 mm0 >>> from the command line. Don't do that, use /etc/inittab!
02/16 12:03:34 mm0 send: ATA[0d]
02/16 12:03:34 mm0 waiting for ``CONNECT''
02/16 12:03:34 mm0 got: ATA[0d]
02/16 12:03:34 mm0 CND: OKATA[0d][0a]OK[0d]
02/16 12:03:34 mm0 CND: OK[0a][0d][0a]NO CARRIER ((( <<<= Manual hangup
02/16 12:03:39 mm0 found action string: ``NO CARRIER''
02/16 12:03:39 ##### failed A_FAIL dev=rfcomm0, pid=2861, caller='none', conn='', name=''