Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Using a vodafone phone as a GPRS modem over bluetooth

  • 21-10-2007 7:43pm
    #1
    Registered Users, Registered Users 2 Posts: 1,865 ✭✭✭


    I have a Nokia 6630 with Vodafone prepay. Both it an my laptop (running Ubuntu Gutsy) have bluetooth. I want to use my phone as a bluetooth modem. The phone can do 3G, but I'd be happy with GPRS.

    I've connected the 2 using bluetooth and these settings:
    rfcomm0 {
        bind yes ;
        device 00:12:62:E9:8B:07;
        channel 1 ;
        comment "Dial-up Networking Service -- for PPP" ;
    }
    

    I'm just having trouble dialling. I'm using this wvdial script, it's mostly cobbled together from lots of googling:
    [Dialer Defaults]
    Modem = /dev/rfcomm0
    Phone = *99***1#
    Username = vodafone
    Password = vodafone
    Baud = 460800
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Init3 = AT+CSQ
    Init4 = AT+CGDCONT=1,"IP","live.vodafone.ie"
    ISDN = 0
    Modem Type = Analog Modem
    Stupid Mode = 1
    Dial Command = ATDT
    

    I've tried a couple of things, from changing 'live.vodafone.ie' to 'isp.vodafone.ie', and changing the number from *99***1# to *99# (again hints from some googling). When I try to connect I get the following errors:
    WvDial<*1>: WvDial: Internet dialer version 1.56
    WvModem<*1>: Cannot get information for serial port.
    WvDial<*1>: Initializing modem.
    WvDial<*1>: Sending: ATZ
    WvDial Modem<*1>: ATZ
    WvDial Modem<*1>: OK
    WvDial<*1>: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    WvDial Modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    WvDial Modem<*1>: OK
    WvDial<*1>: Sending: AT+CSQ
    WvDial Modem<*1>: AT+CSQ
    WvDial Modem<*1>: +CSQ: 9,99
    WvDial Modem<*1>: OK
    WvDial<*1>: Sending: AT+CGDCONT=1,"IP","live.vodafone.ie"
    WvDial Modem<*1>: AT+CGDCONT=1,"IP","live.vodafone.ie"
    WvDial Modem<*1>: OK
    WvDial<*1>: Modem initialized.
    WvDial<*1>: Sending: ATDT*99***1#
    WvDial<*1>: Waiting for carrier.
    WvDial Modem<*1>: ATDT*99***1#
    WvDial Modem<*1>: CONNECT
    WvDial Modem<*1>: ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
    WvDial<*1>: Carrier detected.  Starting PPP immediately.
    WvDial<Notice>: Starting pppd at Sun Oct 21 20:34:59 2007
    WvDial<Notice>: Pid of pppd: 7269
    WvDial<*1>: Using interface ppp0
    WvDial<*1>: pppd: [10][03][17]X[10][03] &#65533;[10][03][18][18][10][03][18]8[10][03][18]X[10][03][18]h
    WvDial<*1>: pppd: [10][03][17]X[10][03] &#65533;[10][03][18][18][10][03][18]8[10][03][18]X[10][03][18]h
    WvDial<*1>: pppd: [10][03][17]X[10][03] &#65533;[10][03][18][18][10][03][18]8[10][03][18]X[10][03][18]h
    WvDial<*1>: pppd: [10][03][17]X[10][03] &#65533;[10][03][18][18][10][03][18]8[10][03][18]X[10][03][18]h
    WvDial<*1>: pppd: [10][03][17]X[10][03] &#65533;[10][03][18][18][10][03][18]8[10][03][18]X[10][03][18]h
    WvDial<*1>: pppd: [10][03][17]X[10][03] &#65533;[10][03][18][18][10][03][18]8[10][03][18]X[10][03][18]h
    WvDial<*1>: Disconnecting at Sun Oct 21 20:35:08 2007
    WvDial<*1>: The PPP daemon has died: A modem hung up the phone (exit code = 16)
    WvDial<*1>: man pppd explains pppd error codes in more detail.
    WvDial<Notice>: Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
    WvDial<Notice>: Auto Reconnect will be attempted in 5 seconds
    

    I get the following in /var/log/messages:
    Oct 21 16:29:08 titanomachia pppd[28855]: pppd 2.4.4 started by root, uid 0
    Oct 21 16:29:08 titanomachia pppd[28855]: Using interface ppp0
    Oct 21 16:29:08 titanomachia pppd[28855]: Connect: ppp0 <--> /dev/rfcomm0
    Oct 21 16:29:11 titanomachia pppd[28855]: PAP authentication succeeded
    Oct 21 16:29:13 titanomachia pppd[28855]: LCP terminated by peer
    Oct 21 16:29:16 titanomachia pppd[28855]: Connection terminated.
    Oct 21 16:29:16 titanomachia pppd[28855]: Modem hangup
    Oct 21 16:29:16 titanomachia pppd[28855]: Exit.
    

    Any hints? Is the script/username/password/setting correct?

    I rang Vodafone and they said they've set up GPRS on my phone line. The person wasn't very technical, so I didn't press them on the linux settings for this...


Advertisement