On Thu, May 22, 2008 at 07:56:40AM -0500, Michael L. Stokes wrote:
> It's attached ( /etc/ppp/peers/blackberry ). I suspect the modem option
> is not needed.
Thanks very much for your attachments.
> So, the deal is how do you get the default gateway to take?
It works for me if I don't already have a default gateway set.
There are 3 pppd options that control this:
nodefaultroute Don't touch it
defaultroute Set it if it doesn't exist
replacedefaultroute Set even if one already exists
If you use the last one, I don't know if the old default route will be
reset when pppd exits.
> Also, I notice that
> when connected I get a message on the blackberry to the effect that it
> is being
> used as a modem. After I call poff <profile>, it still says it is being
> used as a modem.
> I can get rid of the message by disconnecting the usb cable, but I bet
> there is a more
> elegant way. Also, I'm not sure what happens if I try to immediately
> reconnect. I'll
> give that a try today sometimes. Thanks again Chris.
There are two modes that are available for modem support, and you are
likely using IpModem mode. You can tell which mode by the -v output of
pppob. It will say "Using IpModem mode" or "Using Serial mode"
depending what it detects.
IpModem mode just reads and writes to the USB endpoints that behave like
a modem, and there is no open or close logic for it. There might be
some close command that I'm missing.
If you want to try Serial mode, use the -s option on pppob. This mode
does have a close command, but it also ties up your device in Desktop mode.
It would be useful to know whether running "btool -t" right after
closing pppd affects the device.
Thanks again for your testing and sample files. I'll add them as
Verizon samples.
- Chris
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Barry-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/barry-devel