Re: [Barry-devel] Problem using tethered modem
Chris, Looks like your suggestion worked as below. Thanks for the tip. I think this is new behavior for pppd. I had another problem you might have seen. This weekend, I traveled to a region (north Mississippi) that did not have Verizon EVD0 service although 1xRTT was available. pppd connected, got IPs, but could not pass traffic. THis time I used host known_site as a test resulting in no name servers found. ping to known sites that echo ICMP also did not respond. Default route looked OK. At first I thought it might be something missing from the init string, but then I tried XmBlackBerry and it worked fine using the same chat script (though it was slow. Analogue is painful isn't it). Any ideas? Anything I missed? Thanks Mike Chris Frey wrote: On Thu, May 22, 2008 at 05:18:33PM -0500, Michael L. Stokes wrote: Chris, I used the replacedefaultroute pppd option, and it still isn't setting the default route. ANy ideas? Looks like you need both: defaultroute replacedefaultroute On my system (Debian stable) this replaces the default gw and sets it back when pppd exits. I did a bit of reading on this, and found the following URLs that might be of interest to the sercurity concious. http://fixunix.com/ppp/62469-dial-up-route-problem-2.html http://groups.google.com/group/comp.os.linux.misc/browse_thread/thread/11fb49a3c035573/7d7e19b2e4820b0c http://linuxgazette.net/issue77/lechnyr.html I was unable to connect to my machine from outside on port 80, so presumably, at least with Rogers, there's probably some kind of firewall protecting users. Which is a good thing if people are connecting to the internet with Windows machines. :-) It might be a good idea to try a portscan from outside to see what's visible. - Chris - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel
Re: [Barry-devel] Problem using tethered modem
On Thu, May 22, 2008 at 05:18:33PM -0500, Michael L. Stokes wrote: Chris, I used the replacedefaultroute pppd option, and it still isn't setting the default route. ANy ideas? Looks like you need both: defaultroute replacedefaultroute On my system (Debian stable) this replaces the default gw and sets it back when pppd exits. I did a bit of reading on this, and found the following URLs that might be of interest to the sercurity concious. http://fixunix.com/ppp/62469-dial-up-route-problem-2.html http://groups.google.com/group/comp.os.linux.misc/browse_thread/thread/11fb49a3c035573/7d7e19b2e4820b0c http://linuxgazette.net/issue77/lechnyr.html I was unable to connect to my machine from outside on port 80, so presumably, at least with Rogers, there's probably some kind of firewall protecting users. Which is a good thing if people are connecting to the internet with Windows machines. :-) It might be a good idea to try a portscan from outside to see what's visible. - Chris - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel
Re: [Barry-devel] Problem using tethered modem
A slightly off topic question to this but does anyone know how a cell provider knows you are tethering ? J -- http://www.shampoo.ca -Original Message- From: Chris Frey [EMAIL PROTECTED] Date: Fri, 23 May 2008 17:11:36 To:Barry project development discussion barry-devel@lists.sourceforge.net Subject: Re: [Barry-devel] Problem using tethered modem On Thu, May 22, 2008 at 05:18:33PM -0500, Michael L. Stokes wrote: Chris, I used the replacedefaultroute pppd option, and it still isn't setting the default route. ANy ideas? Looks like you need both: defaultroute replacedefaultroute On my system (Debian stable) this replaces the default gw and sets it back when pppd exits. I did a bit of reading on this, and found the following URLs that might be of interest to the sercurity concious. http://fixunix.com/ppp/62469-dial-up-route-problem-2.html http://groups.google.com/group/comp.os.linux.misc/browse_thread/thread/11fb49a3c035573/7d7e19b2e4820b0c http://linuxgazette.net/issue77/lechnyr.html I was unable to connect to my machine from outside on port 80, so presumably, at least with Rogers, there's probably some kind of firewall protecting users. Which is a good thing if people are connecting to the internet with Windows machines. :-) It might be a good idea to try a portscan from outside to see what's visible. - Chris - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel
Re: [Barry-devel] Problem using tethered modem
Chris, I used the replacedefaultroute pppd option, and it still isn't setting the default route. ANy ideas? Thanks Mike Chris Frey wrote: 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 defaultrouteSet 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/vse012070mrt/direct/01/ ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel