Re: Mobile broadband and carriers
- From: Dan Williams <dcbw redhat com>
- To: Janne Boman <janne matolaatikko net>
- Cc: networkmanager-list gnome org
- Subject: Re: Mobile broadband and carriers
- Date: Mon, 19 Jan 2009 11:28:05 -0500
On Sun, 2009-01-18 at 17:01 +0200, Janne Boman wrote:
> I noticed that Ubuntu 8.10 with NetworkManager Applet 0.7.0 correctly
> suggests the "mobile broadband" option when I plug in my gprs phone.
> However, the connection fails. I can use my phone's gprs connection with
> ppp and scripts from http://wiki.ubuntu-fi.org/Matkapuhelin_modeemina
> (Finnish Ubuntu documentation). The page is in Finnish, but the relevant
> part is that those scrips work. The attachment "elisa" is from
> /etc/ppp/peers/ and the connect/disconnect scripts are from /etc/ppp/.
> Can these be incorporated in network manager? I'm willing to do some
> testing (not an expert, though...).
Can you grab some logs from /var/log/daemon.log and report what they
say? Depends on where the connection is actually failing. Then we can
try to run NM manually with some serial debugging information and see
what specific bits the phone doesn't like.
> Best Regards, Janne
> plain text document attachment (elisa)
> # Most GPRS phones don't reply to LCP echo's
> lcp-echo-failure 0
> lcp-echo-interval 0
> # Keep pppd attached to the terminal:
> # Comment this to get daemon mode pppd
> # Debug info from pppd:
> # Comment this off, if you don't need more info
> # Show password in debug messages
> # Connect script:
> # scripts to initialize the GPRS modem and start the connection,
> connect /etc/ppp/elisa-connect-chat
> # Disconnect script:
> # AT commands used to 'hangup' the GPRS connection.
> disconnect /etc/ppp/elisa-disconnect-chat
> # Serial device to which the GPRS phone is connected:
> #/dev/ttyUSB0 # USB
> /dev/ttyACM0 # Data cable device file
> #/dev/rfcomm0 # Bluetooth device file
> # Serial port line speed
> 115200 # fast enough
> # Hardware flow control:
> # Use hardware flow control with cable, Bluetooth and USB but not with IrDA.
> crtscts # serial cable, Bluetooth and USB, on some occations with IrDA too
> #nocrtscts # IrDA
> # Ignore carrier detect signal from the modem:
> # IP addresses:
> # - accept peers idea of our local address and set address peer as 10.0.0.1
> # (any address would do, since IPCP gives 0.0.0.0 to it)
> # - if you use the 10. network at home or something and pppd rejects it,
> # change the address to something else
> # pppd must not propose any IP address to the peer!
> # Accept peers idea of our local address
> # Add the ppp interface as default route to the IP routing table
> # DNS servers from the phone:
> # some phones support this, some don't.
> # ppp compression:
> # ppp compression may be used between the phone and the pppd, but the
> # serial connection is usually not the bottleneck in GPRS, so the
> # compression is useless (and with some phones need to disabled before
> # the LCP negotiations succeed).
> # The phone is not required to authenticate:
> # Username and password:
> # If username and password are required by the APN, put here the username
> # and put the username-password combination to the secrets file:
> # /etc/ppp/pap-secrets for PAP and /etc/ppp/chap-secrets for CHAP
> # authentication. See pppd man pages for details.
> user "rlnet"
> password "internet"
> mtu 1500
> mru 1500
> asyncmap 0xa0000
> plain text document attachment (elisa-connect-chat)
> exec chat \
> TIMEOUT 5 \
> ECHO ON \
> ABORT '\nBUSY\r' \
> ABORT '\nERROR\r' \
> ABORT '\nNO ANSWER\r' \
> ABORT '\nNO CARRIER\r' \
> ABORT '\nNO DIALTONE\r' \
> ABORT '\nRINGING\r\n\r\nRINGING\r' \
> '' AT \
> OK ATH \
> OK ATE1 \
> OK 'AT+CGDCONT=1,"IP","internet","0.0.0.0",0,0' \
> OK ATD*99# \
> TIMEOUT 22 \
> CONNECT ""
> plain text document attachment (elisa-disconnect-chat)
> exec /usr/sbin/chat -V -s -S \
> ABORT "BUSY" \
> ABORT "ERROR" \
> ABORT "NO DIALTONE" \
> SAY "\nSending break to the modem\n" \
> "" "K" "" "K" "" "K" "" \
> "+++ATH" "" "+++ATH" "" "+++ATH"
> NetworkManager-list mailing list
> NetworkManager-list gnome org
] [Thread Prev