Author Topic: Openbsd4.1 And Nokia Usb Cable  (Read 9468 times)

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Openbsd4.1 And Nokia Usb Cable
« on: May 04, 2007, 03:23:05 pm »
hi

as no bluetooth dialup can be established with the present Zaurus OpenBSD 4.1, i'm planning to try a ppp dialup via my nokia dku usb cable ...
has someone any experience about it?
« Last Edit: May 04, 2007, 05:31:59 pm by jpmatrix »
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Openbsd4.1 And Nokia Usb Cable
« Reply #1 on: May 04, 2007, 04:31:52 pm »
you know what ???  IT WORKS!!!!!!!!

if someone is interested i can put a little howto

right now : install firefox2 and enjoy!
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Openbsd4.1 And Nokia Usb Cable
« Reply #2 on: May 04, 2007, 05:09:23 pm »
Quote
you know what ???  IT WORKS!!!!!!!!

if someone is interested i can put a little howto

right now : install firefox2 and enjoy!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160481\"][{POST_SNAPBACK}][/a][/div]

Post the howto. I'm sure someone would like to have it.

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Openbsd4.1 And Nokia Usb Cable
« Reply #3 on: May 04, 2007, 05:28:26 pm »
QUICK HOWTO:

Hardware:

Nokia 6630
Nokia DKU-2 USB cable

1- plug the usb host adapter to the zaurus
(i got an error message about port 2 but it seems to work out of the box)

2- plug the Nokia DKU-2 cable

3- plug the Nokia to the DKU2 cable
you'll have some messages about umodem0 and ucom0 at umodem0, meaning the nokia modem is detected (out of the box!)

4- have your favourite /etc/peers/provider created
on mine, i had to comment "usepeerdns" and some other options not recognized by openbsd pppd...
anyway first line should be /dev/ttyU0
in my case, i had to manually enter my provider 's dns address in /etc/resolv.conf

5- create the ppp0 device with :  ifconfig ppp0 create
it seems i have to do that on every reboot

6- then pppd call provider will launch the connection!

and tail /var/log/messages to see when your IP address is successfully set!



---
useful page which greatly helped me:
http://tamentis.com/doc/orangeppp/
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Openbsd4.1 And Nokia Usb Cable
« Reply #4 on: August 16, 2007, 07:38:11 pm »
Thanks for the handy tips.
I see that DKU-2 is for most existing Nokia models. So does this method also apply to the newer phones as well?  
There is another cable DKE-2. Will that also work the same way?

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Openbsd4.1 And Nokia Usb Cable
« Reply #5 on: August 21, 2007, 10:09:40 am »
Quote
I see that DKU-2 is for most existing Nokia models. So does this method also apply to the newer phones as well? 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=166334\"][{POST_SNAPBACK}][/a][/div]

i think yes

Quote
There is another cable DKE-2. Will that also work the same way?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=166334\"][{POST_SNAPBACK}][/a][/div]

it should if the current openbsd drivers can manage them...
you have to try
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Openbsd4.1 And Nokia Usb Cable
« Reply #6 on: August 26, 2007, 10:13:58 am »
Today I tested usb connection with my Sony Ericsson W800i using its original USB data cable. dmesg recognized it both as a modem and a mass storage device, so i guess the phone can function as a modem right away, although I don't subscribe to data service for now.

If the USB OTG on Z does run at full speed (12Mbps, not low speed 1.1Mbps) then it shouldn't affect data transmission rate in 3G network, which is less than that.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]