Author Topic: Socket CF Bluetooth Rev 2.5G  (Read 24115 times)

piggity

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
Socket CF Bluetooth Rev 2.5G
« Reply #75 on: April 17, 2004, 11:42:07 am »
Ok.  Now I am having a problem creating a PAN to share my broadband connection and would really appreciate all of your input.  I am using the instructions on www.jens-koenen.de/index.html.  I can successfully connect to the bluetooth card on my PC, but can\'t ever get the shared Internet access to work.  Here is what I have done.  

1.  Activate LAN access profile on my PC. Added attachment.
2.  Changed IP address to 192.168.129.1 for bluetooth network.  Added attachment.

At this point I can successfully ping my PC at 192.168.129.1.  But since I don\'t have Internet sharing setup I can\'t access the Internet.

3.  So now I attempt to sharing my Internet connection with my bluetooth card.  So I go to network devices, right click on my Wifi card, go to properties, click on advanced, and check Allow of users to connect through this computers network connect, and then click ok.  Once I do this it pops up a message say When Internet Connection sharing is enable, your LAN adapter will be set to use IP 192.168.0.1.  If I click ok it changes the IP I setup earler for the bluetooth card and I can no longer ping the PC or get on the Internet.  Added attachment for this too.  

Any ideas of what I am doing wrongs.  Also I am using the startpan.sh and killpan.sh for the website with only the MAC changed to mine.  startpan.sh works find until step 3 and then I can ping anything.  

Thanks

piggity

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
Socket CF Bluetooth Rev 2.5G
« Reply #76 on: April 18, 2004, 01:40:41 pm »
anyone?

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Socket CF Bluetooth Rev 2.5G
« Reply #77 on: April 19, 2004, 01:39:29 am »
When you set up internel connection sharing in WinXP, your bluetooth adapter will have IP address 192.168.0.1. So you need to set IP addres for your Zaurus bluetooth interface to be in the same range, ex. 192.168.0.100. After you connect, you should be able to access your network and internet via the shared connection.

BalroG

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Socket CF Bluetooth Rev 2.5G
« Reply #78 on: April 19, 2004, 09:54:42 am »
Hi!

Can this card now be used relatively \"hassle-free\" under 1.21? I really like the fact that it sits flush in the CF slot, but I also don\'t want to rip out my hair in frustration getting it to work. Maybe a Blue Monkey card is still the easiest to get up and running?

Thanks!
C860 on Default Sharp ROM(to change soon!)

piggity

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
Socket CF Bluetooth Rev 2.5G
« Reply #79 on: April 19, 2004, 06:51:19 pm »
Well its not hassle-free, but easier than before.  The setup is the same as it is with the other cards.  But each time you turn it on (or come back from resume) you have to pull the card out, push it back in, open the network app, and then connect.  So its not hassel free, but it looks alot better not have a card sticking out

piggity

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
Socket CF Bluetooth Rev 2.5G
« Reply #80 on: April 19, 2004, 07:45:00 pm »
maslovsky, thanks.  I tried this and still no luck.  I can ping 192.168.0.1 sucessfully, but I can\'t get anything outside of this.  Do you have any idea of something else I can check?

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
Socket CF Bluetooth Rev 2.5G
« Reply #81 on: May 04, 2004, 10:20:19 pm »
Quote
I have to go to network, under setting and open it up.  Then the network icon at the bottom will appear.


I have this same problem--after a bit of hacking my /etc/apm.d/bluetooth file so that the card gets reset and bluetooth gets restarted at all.  The network icon doesn\'t appear after the reappearance of the CF icon, unless and until I open the Network Settings application.  I\'ve semi-solved this problem by even more adulteration of the /etc/apm.d/bluetooth file, so it starts and then kills a copy of /home/QtPalmtop/bin/netsetup after it starts bluetooth.  This seems like a very clumsy workaround, though, so I ask: is there any way to force the GUI to re-check the availability of networking (which it obviously does when netsetup launches)?
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

gizard

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://
Socket CF Bluetooth Rev 2.5G
« Reply #82 on: May 14, 2004, 03:28:08 am »
Quote
Glad to hear it worked for you.  It\'s a little easier with the Cacko Qt 1.21 ROM, although I\'m getting a couple new problems that I\'m not sure is related or not to bluetooth.

Curt


Hello could you tell me if there is anything different in your instructions for the 1.2.0 ROM for the 1.2.1A ROM?

Could someone tell me what is included in the new ROM with regards to the Sockect Rev.  card?

Thanks in advance.

Guy
C860 - With OZ 3.5.4.1/Opie 1.2.1 - CF Socket Bluetooth Rev. G card - Slim Battery.

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Socket CF Bluetooth Rev 2.5G
« Reply #83 on: May 14, 2004, 04:10:52 am »
Quote
Quote
Glad to hear it worked for you.  It\'s a little easier with the Cacko Qt 1.21 ROM, although I\'m getting a couple new problems that I\'m not sure is related or not to bluetooth.

Curt


Hello could you tell me if there is anything different in your instructions for the 1.2.0 ROM for the 1.2.1A ROM?

Could someone tell me what is included in the new ROM with regards to the Sockect Rev.  card?

Thanks in advance.

Guy


Socket G card should work out of the box (though still not perfect) under 1.21 and later ROMs. I\'m getting such card soon and hopefully we\'ll get to improve support for it.

gizard

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://
Socket CF Bluetooth Rev 2.5G
« Reply #84 on: May 17, 2004, 05:12:39 am »
Quote
Socket G card should work out of the box (though still not perfect) under 1.21 and later ROMs. I\'m getting such card soon and hopefully we\'ll get to improve support for it.


Following above notes and the how to guide - I can\'t seem to find the bluetooth program in order to restart bluetooth etc on the rom - it\'s not on the same place - do I need to install any packages in order to get the card to work? - Sorry being stupid again!

Guy
C860 - With OZ 3.5.4.1/Opie 1.2.1 - CF Socket Bluetooth Rev. G card - Slim Battery.

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Socket CF Bluetooth Rev 2.5G
« Reply #85 on: May 17, 2004, 07:05:56 am »
Quote
Quote


Socket G card should work out of the box (though still not perfect) under 1.21 and later ROMs. I\'m getting such card soon and hopefully we\'ll get to improve support for it.


Following above notes and the how to guide - I can\'t seem to find the bluetooth program in order to restart bluetooth etc on the rom - it\'s not on the same place - do I need to install any packages in order to get the card to work? - Sorry being stupid again!

Guy


Go to Network Setting and create a new bluetooth connection.

gizard

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://
Socket CF Bluetooth Rev 2.5G
« Reply #86 on: May 17, 2004, 09:08:38 am »
Quote
Go to Network Setting and create a new bluetooth connection.


Excellant - it now works - I was rather easier than I expected!

-I had to pull and then re-insert the card
-Then I used VI to change the pin code in the pin file
-Executed paring from the phone and input the above new pin - paired fine (had to pull the card and re-insert it again for it to take on the pin change, how do I re-start the bluetooth from the command line as in the how to doc?)
-Did a search for the modem whilst setting up the new connection - selected the right ID for my phone
- Now it connects- cool.

Thanks very much for all your help.

Guy
C860 - With OZ 3.5.4.1/Opie 1.2.1 - CF Socket Bluetooth Rev. G card - Slim Battery.

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Socket CF Bluetooth Rev 2.5G
« Reply #87 on: May 24, 2004, 06:24:37 am »
I\'m glad it works now.

Quote
how do I re-start the bluetooth from the command line as in the how to doc?


IN Cacko ROMs bluetooth is restarted whenever you eject/insert the card

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Socket CF Bluetooth Rev 2.5G
« Reply #88 on: July 26, 2004, 07:44:12 pm »
Some good news about Socket G cards. Recently I finaly got my hand on one such card (many thanks to ccrandal) and decided to play with it and make it easier to use on Cacko ROM.

So far I was able to make this card be properly initialized upon insertion and even being recognized and displayed by the cardmon applet as a bluetooth card, not just serial one. Also, the bluetooth stack starts and stops properly and cleanly.

There are a couple of small issues (mostly innoyences) remain, and I don't know if I'll get to fix them:

 - the globe icon does not appear immidiately when card is inserted, you have to start Network Setting application for it to appear;

 - the speed is limited to 230400, which is twice less than Ambicom/Pretec cards can do;

If I don;t find any other issues while testing, I'll inslude this into the next ROM update (or hotfix)

obscurite

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Socket CF Bluetooth Rev 2.5G
« Reply #89 on: November 06, 2004, 11:48:27 pm »
I got my rev g card working, and wrote up a little howto. Apologies for mistakes/omissions. No guarantees made, your house and car will explode if you follow these instructions, etc. etc.

Cacko 1.21b + Socket Rev G + Sony Ericsson T610 + T-mobile HOWTO (obscurite nov 04)

1. Pair phone with zaurus
a. On phone, connectivity -> bluetooth -> my devices -> new device. This will search for and find the zaurus.

2. Create CID/APN on phone
a. On phone, connectivity -> data comm -> data accounts -> new account -> gprs
b. Enter a single digit as a number (I used 2). This will be referred to as the CID.
c. For the APN, if you have T-mobile unlimited internet use internet2.voicestream.com. I've heard that internet3.voicestream.com is for "VPN" from other posts.

3. Create bluetooth dialup
a. On zaurus, open network app
b. Select "Dial-up (Bluetooth)" from dropdown menu, click "Add"
d. In the account tab, for the "phone" field, use *9***2#. 2 is my CID, but if you selected a different one in step 2, use that instead of 2.
e. In the modem tab, click the search button. Make sure your phone is in visible mode, and it should pick up the DUN for your phone. It will look like 00:0E:D3:83:F1:EE, 1 (I made that up but yours should look similar).

4. Make sure you can connect. Open a console and try pinging google.com or something. Once you do that, make your phone invisible again. You will be able to receive calls while connected, but your connection will essentially freeze while you are on the phone. You will also be able to receive calls (but again, data is frozen automatically, it seems).

5. When you suspend (power off) your zaurus, and resume, your card will not be ready to reconnect. You'll have to either eject/insert your card physically or run /etc/pcmcia/bluetooth restart as root (or with sudo). Also, if you had the network app open, you may need to close it and re-open it. The globe network icon on the bottom will not re-appear until you restart the network app.

6. If you prefer to dial from the command line use "pppd call BLUETOOTH" where BLUETOOTH is the name of the peers file in /etc/ppp/peers/ that has been created for your dial up connection. Mine was BLUETOOTH1098189070. You could set up a start stop script really easily... on my todo list

Issues + Comments
------------
* The dialup network app always goes back to 115200 but in actuality the /etc/ppp/peers/BLUETOOTHwhatever script has 230400... a little confusing
* Of course, we need to automate the running of /etc/pcmcia/bluetooth restart upon trying to dial...
* My best GPRS speeds are around 40kbps or better which seems on par with what I've read from others... about 1000ms latency, which isn't great but hey, better than CDPD like the old days

UPDATE:

I have automated the connection/disconnection in such a way that I no longer need to:
* re-insert the card when I resume from suspend
* open the network app

I personally use the console most of the time, rather than the gui, so this is great for me. I just log in and type "bton" or btoff" and my bluetooth is connected or disconnected.

1. Add "%users localhost=/etc/pcmcia/bluetooth" to /etc/sudoers (you'll need to su to root first)
2. Edit /home/zaurus/.profile and add the following two lines
alias bton="sudo /etc/pcmcia/bluetooth/restart && sudo pppd call BLUETOOTH"
alias btoff="sudo /etc/pcmcia/bluetooth/stop"

In step 2, replace BLUETOOTH with the name of your bluetooth peer file in /etc/ppp/peers/. Mine was BLUETOOTH with some numbers after it and no extension.
« Last Edit: November 07, 2004, 12:34:06 am by obscurite »
C3100, 5500, former C860 owner