Re: Novatel Wireless U720 umsm connection only partially works.

2008-03-11 Thread Michael
Thanks for the responses. I tried lowering the MTU and disabling vjcomp. This 
did improve the situation but still has not completely fixed the problem. 
Websites and normal network content is now properly accessible but I noticed 
that it is consistently half the speed it is on windows. I tried the cnet 
bandwidth meter, when I get 300 kbps on windows, its about 150 on OpenBSD. When 
I get 600 on windows, about 300 on OpenBSD. I've tried changing around the MTU 
up and down and by trial and error found that I get the fastest speed at about 
1000. I have tried vjcomp on and off and it doesn't really seem to change 
anything. I have also tried changing the speed in ppp.conf but that doesn't 
seem to change anything either. Any ideas how to get this umsm device running 
up to full available speed?

Thanks so much


new /etc/ppp/ppp.conf

default:
   set device /dev/cuaU0
   disable vjcomp
   set speed 921600
   set mtu max 1000
   set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \\ AT OK-AT-OK ATE1Q0 OK
\\dATDT\\T TIMEOUT 40 CONNECT
   set phone #777
   set login
   set authname 3473724891vzw3g.com
   set authkey vzw
   set timeout 120
   set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
0.0.0.0
   add default HISADDR
   enable dns


   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.



Novatel Wireless U720 umsm connection only partially works.

2008-03-10 Thread Michael
I was really excited to learn that as of late OpenBSD has support for Sierra
Novatell Wireless cards. The lack of support held me back from using OpenBSD on
my laptop because I need the wireless access.

So I bought the Novatel Wireless U720 which is listed as Devices suspected of
being compatible in the umsm manial page. I followed the umsm and ppp man pages
and can establish a ppp connection doing the following (conf files and dmesg
outputs follow).

#ppp -ddial default

This establishes a tun0 interface and I am able to ping out and resolve dns.
Something like ping openbsd.org works ok, so does dig openbsd.org, and so does
ftp ftp://ftp.openbsd.org

But when I try to open http://openbsd.org in lynx, try to telnet openbsd.org 80
and GET /index.html HTTP/1.0, whois openbsd.org, or I try to pkg_add something,
it doesn't work. Nothing happens. The request is sent but no response is
displayed. So I really can't figure out what the issue is. I'm not running PF
and I have activated the card on Windows. I tried all this as root to be sure
it's not a permission issue. Please take a look at my configuration and log
files and let me know what I can do?


PS I'm really excited that all the ACPI stuff on my laptop now works with 4.3
Current like the brightness buttons and halt -p. If I can get this stuff
resolved with the wireless card, OpenBSD will be the OS of choice on not only my
desktop and servers, but laptop as well. Thanks OpenBSD!


/etc/ppp/ppp.conf:

default:
   set device /dev/cuaU0
   set speed 230400 
   set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \\ AT OK-AT-OK ATE1Q0 OK
\\dATDT\\T TIMEOUT 40 CONNECT
   set phone #777
   set login
   set authname [EMAIL PROTECTED]
   set authkey vzw
   set timeout 120
   set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
   add default HISADDR
   enable dns



iconfig:

lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33208
groups: lo
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
enc0: flags=0 mtu 1536
tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500
groups: tun egress
inet 75.192.185.229 -- 66.174.20.4 netmask 0xff00



/var/log/ppp.log

Mar 10 10:11:26 laptop ppp[17724]: Phase: Using interface: tun0 
Mar 10 10:11:26 laptop ppp[17724]: Phase: deflink: Created in closed state 
Mar 10 10:11:26 laptop ppp[5169]: Phase: PPP Started (ddial mode). 
Mar 10 10:11:26 laptop ppp[5169]: Phase: bundle: Establish 
Mar 10 10:11:26 laptop ppp[5169]: Phase: deflink: closed - opening 
Mar 10 10:11:27 laptop ppp[5169]: Phase: deflink: Connected! 
Mar 10 10:11:27 laptop ppp[5169]: Phase: deflink: opening - dial 
Mar 10 10:11:29 laptop ppp[5169]: Phase: deflink: dial - carrier 
Mar 10 10:11:30 laptop ppp[5169]: Phase: deflink: /dev/cuaU0 doesn't support CD 
Mar 10 10:11:30 laptop ppp[5169]: Phase: deflink: carrier - login 
Mar 10 10:11:30 laptop ppp[5169]: Phase: deflink: login - lcp 
Mar 10 10:11:31 laptop ppp[5169]: Phase: deflink: lcp - open 
Mar 10 10:11:31 laptop ppp[5169]: Phase: bundle: Network 
Mar 10 10:11:31 laptop ppp[5169]: Phase: deflink: IPV6CP protocol reject closes
IPV6CP ! 
Mar 10 10:11:31 laptop ppp[5169]: Phase: deflink: IPV6CP protocol reject closes
IPV6CP ! 
Mar 10 10:11:31 laptop ppp[5169]: Warning: 0.0.0.0/0: Change route failed:
errno: No such process 
Mar 10 10:11:31 laptop ppp[5169]: Warning: ff01:5::/32: Change route failed:
errno: Network is unreachable 
Mar 10 10:11:31 laptop ppp[5169]: Warning: ff02:5::/32: Change route failed:
errno: Network is unreachable 
Mar 10 10:11:34 laptop ppp[5169]: Phase: deflink: IPV6CP protocol reject closes
IPV6CP ! 
Mar 10 10:11:43 laptop last message repeated 3 times
Mar 10 10:12:31 laptop ppp[5169]: Phase: deflink: HDLC errors - FCS: 5, ADDR:
0, COMD: 0, PROTO: 0 
Mar 10 10:13:32 laptop ppp[5169]: Phase: deflink: HDLC errors - FCS: 3, ADDR:
0, COMD: 0, PROTO: 0 



dmesg:

OpenBSD 4.3 (GENERIC) #695: Tue Mar  4 14:28:56 MST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.60GHz (GenuineIntel 686-class) 1.60
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX
,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
real mem  = 501706752 (478MB)
avail mem = 477003776 (454MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/08/04, BIOS32 rev. 0 @ 0xfd6d0, SMBIOS
rev. 2.31 @ 0xdf010 (39 entries)
bios0: vendor Phoenix version W320.F05 date 10/08/2004
bios0: Gateway 3522GZ
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP BOOT APIC SSDT SSDT
acpi0: wakeup devices LID0(S3) SLPB(S3) PWRB(S4) LANC(S4) MODM(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGPB)
acpiprt2 at acpi0: bus 2 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, FVS, 1600, 600 MHz
acpitz0 at acpi0: critical temperature 100 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 serial  W32044Ltype Li oem  

Novatel Wireless U720 umsm connection only partially works.

2008-03-10 Thread Alexey Suslikov
Michael [EMAIL PROTECTED] wrote:

 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500
groups: tun egress
inet 75.192.185.229 -- 66.174.20.4 netmask 0xff0


How about adjusting mtu on tun to take ppp encapsulation overhead
in account?

- Alexey.



Re: Novatel Wireless U720 umsm connection only partially works.

2008-03-10 Thread Stuart Henderson
On 2008-03-10, Michael [EMAIL PROTECTED] wrote:
 This establishes a tun0 interface and I am able to ping out and resolve dns.
 Something like ping openbsd.org works ok, so does dig openbsd.org, and so does
 ftp ftp://ftp.openbsd.org

 But when I try to open http://openbsd.org in lynx, try to telnet openbsd.org 
 80
 and GET /index.html HTTP/1.0, whois openbsd.org, or I try to pkg_add 
 something,
 it doesn't work. Nothing happens. 

this is a classic symptom of broken Van-Jacobson header compression.
try disable vjcomp.

On 2008-03-10, Alexey Suslikov [EMAIL PROTECTED] wrote:
 Michael [EMAIL PROTECTED] wrote:

 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500
groups: tun egress
inet 75.192.185.229 -- 66.174.20.4 netmask 0xff0


 How about adjusting mtu on tun to take ppp encapsulation overhead
 in account?

that's not it, 1500 MTU is fine over a serial connection. it's only
a problem when encapsulated in a fixed-size media (like Ethernet).

some people might reduce it so there's less delay to send interactive
traffic during a bulk transfer but millions of people who never even
heard of MTU have used 1500 MTU over PPP.