List Info

Thread: Re: Dial-up Networking with Verizon and Treo




Re: Dial-up Networking with Verizon and Treo
country flaguser name
United States
2008-04-25 21:43:09
> 
> I have a Verizon Wireless Palm 755p with which I can
connect my laptop
> to the Internet under Windows. I would really like to
be able to do this
> under FreeBSD, but I have no idea of what the
appropriate USB driver
> would be or how PPP would be configured for it. The
Verizon software
> does not even have an account name or password for the
connection.
> 
> Has anyone managed to get this to work? I suspect any
Treo on Verizon
> would connect in much the same manner.
>
	I've tried a few times to get the Treos recognized in the
OS,
if your running a fairly new version it should be in there.
It'll
show up on ucom0 .

	When I ran USB, I put in /etc/ppp/pp.conf :

vzwenusb:
 set phone "#777"
 set dial "ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 
           "" AT OK-AT-OK ATZ OK AT$QCMDR=3 OK
AT$QCQNC=0  OK \dATDT\T TIM
EOUT 40 CONNECT"
 set authname 9175555505vzw3g.com
 set authkey vzw
 set device /dev/ucom0
 set speed 230400
 add default HISADDR


	Then invoke

/usr/sbin/ppp -ddial vzwenusb


	I've also done it with bluetooth. 

In /etc/rc.local :

/etc/rc.bluetooth start ubt0
/usr/sbin/sdpd
/usr/local/bin/sdptool add DUN
/usr/sbin/rfcomm_pppd -s -C 1  -l rfcomm-server
/sbin/sysctl net.inet.ip.forwarding=1
/sbin/ipnat -C
/sbin/ipnat -f /usr/local/etc/rfcomm_ppd.nat.conf

	(I think there was something special about the sdptool I
used, it was from sdp-1.5, maybe even with a modification
from
one of the list people...)

In /etc/ppp/ppp.conf :

rfcomm-server:
  set timeout 0
  set lqrperiod 60
  set ifaddr 10.0.0.1 10.0.0.2 255.255.255.0
  enable lqr
  accept lqr
  # Do not use PPP authentication. Assume that
  # Bluetooth connection was authenticated already
  disable pap
  deny pap
  disable chap
  deny chap
  # Added by Tuc
  enable dns


In /usr/local/etc/rfcomm_ppd.nat.conf:

 map wi0 10.0.0.2/32 -> 0/32 portmap tcp/udp auto
 map wi0 10.0.0.2/32 -> 0/32


	You'll need to change the interface as appropriate.

		Tuc
_______________________________________________
freebsd-mobilefreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile

To unsubscribe, send any mail to
"freebsd-mobile-unsubscribefreebsd.org"

Re: Dial-up Networking with Verizon and Treo
country flaguser name
United States
2008-04-26 22:35:29
> From: "Tuc at T-B-O-H.NET" <mlt-b-o-h.net>
> Date: Fri, 25 Apr 2008 22:43:09 -0400 (EDT)
> 
> > 
> > I have a Verizon Wireless Palm 755p with which I
can connect my laptop
> > to the Internet under Windows. I would really like
to be able to do this
> > under FreeBSD, but I have no idea of what the
appropriate USB driver
> > would be or how PPP would be configured for it.
The Verizon software
> > does not even have an account name or password for
the connection.
> > 
> > Has anyone managed to get this to work? I suspect
any Treo on Verizon
> > would connect in much the same manner.
> >
> 	I've tried a few times to get the Treos recognized in
the OS,
> if your running a fairly new version it should be in
there. It'll
> show up on ucom0 .
> 
> 	When I ran USB, I put in /etc/ppp/pp.conf :
> 
> vzwenusb:
>  set phone "#777"
>  set dial "ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5

>            "" AT OK-AT-OK ATZ OK
AT$QCMDR=3 OK AT$QCQNC=0  OK \dATDT\T TIM
> EOUT 40 CONNECT"
>  set authname 9175555505vzw3g.com
>  set authkey vzw
>  set device /dev/ucom0
>  set speed 230400
>  add default HISADDR
> 
> 
> 	Then invoke
> 
> /usr/sbin/ppp -ddial vzwenusb
> 
> 
> 	I've also done it with bluetooth. 
> 
> In /etc/rc.local :
> 
> /etc/rc.bluetooth start ubt0
> /usr/sbin/sdpd
> /usr/local/bin/sdptool add DUN
> /usr/sbin/rfcomm_pppd -s -C 1  -l rfcomm-server
> /sbin/sysctl net.inet.ip.forwarding=1
> /sbin/ipnat -C
> /sbin/ipnat -f /usr/local/etc/rfcomm_ppd.nat.conf
> 
> 	(I think there was something special about the sdptool
I
> used, it was from sdp-1.5, maybe even with a
modification from
> one of the list people...)
> 
> In /etc/ppp/ppp.conf :
> 
> rfcomm-server:
>   set timeout 0
>   set lqrperiod 60
>   set ifaddr 10.0.0.1 10.0.0.2 255.255.255.0
>   enable lqr
>   accept lqr
>   # Do not use PPP authentication. Assume that
>   # Bluetooth connection was authenticated already
>   disable pap
>   deny pap
>   disable chap
>   deny chap
>   # Added by Tuc
>   enable dns
> 
> 
> In /usr/local/etc/rfcomm_ppd.nat.conf:
> 
>  map wi0 10.0.0.2/32 -> 0/32 portmap tcp/udp auto
>  map wi0 10.0.0.2/32 -> 0/32
> 
> 
> 	You'll need to change the interface as appropriate.
> 
> 		Tuc

Thanks for the suggestions, but no joy.

I have not tried BT, but the USB idea is getting nowhere, so
far.

First, the Treo is detected just fine, but the devices
created are cuaU0
and ttyU0, not ucom0. I tried those, but had no success in
getting the
Treo to dial. I just get an error setting the speed to 0. I
tried
connecting to the port with kermit, but I could not get it
to respond at
all.

Any other ideas? Guess I'll try the BT next.

Thanks again for taking the time to help.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley
Lab)
E-mail: obermanes.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3
987B 3751
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )