OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Security and Networking => Topic started by: OttoAcuna on February 27, 2005, 02:05:27 am

Title: Network/bluetooth Connectivity Pass Thru To Pc
Post by: OttoAcuna on February 27, 2005, 02:05:27 am
I was wondering if there is a way or a program to use the connectivity the zaurus has (eg. SL-5500) and "emulate" a network connection to the PC. What I mean is: Lets suppose I already have either Network or BT connection working on Zaurus, but do not have same connectivity on w2k machine. Is there a way to "convert" the zaurus into a connectivity device that relays back and forth it's connectivity to the PC? For the PC, this would be a standard lan connection that somehow connects to the rest of the world.

What do you all think?


Regards from the Tropics

Otto Acuña
Servinfor Data Recovery Services
www.recuperacion.net
San Jose, Costa Rica
Central America
Title: Network/bluetooth Connectivity Pass Thru To Pc
Post by: tumnus on February 27, 2005, 06:50:05 pm
Sorry, but I'm not sure what exactly you want.

Do you want to simply establish a network connection between your PC and Zaurus? Instructions for that can be found here: https://www.oesf.org/index.php?title=Bluetooth (https://www.oesf.org/index.php?title=Bluetooth) . Both the DUN/PPP connection and PAN connection will give you a standard TCP/IP network connection.

Or do you want to share your PC's internet connection to your Zaurus? In Windows, you can turn on internet connection sharing (plenty of help for this in Windows Help or on the web), which will share the specified internet connection with any other LAN connection. This means you would have to setup a PAN Bluetooth connection between your Zaurus and PC. If you want to use a PPP/DUN Bluetooth connection then you would have to install a 3rd party application on your PC that can share PPP connections with other network connections.
Title: Network/bluetooth Connectivity Pass Thru To Pc
Post by: soundwave106 on February 27, 2005, 08:44:05 pm
I don't know if doing the reverse in the Zaurus Unix environment is possible (sharing a Z Internet connection to the PC), but I found an article (http://aplawrence.com/Blog2005/amarjyoti1.html) about Internet sharing in Unix that may be helpful, if that is your goal. Maybe that will help.
Title: Network/bluetooth Connectivity Pass Thru To Pc
Post by: lardman on February 28, 2005, 04:30:18 am
The question is whether a single BT card can be connected to two machines at the same time. This would allow the Z to act as a bridge between two PCs only one of which has a network connection.

If the plan is actually to connect to the networked PC using usb, then bridge to the non-connected PC using BT this would also work.

Either way (assuming the first one even works) you'll have to mess about with routing.


Si
Title: Network/bluetooth Connectivity Pass Thru To Pc
Post by: OttoAcuna on March 07, 2005, 11:35:42 pm
No, what I am saying is that, for example, I have a wireless connection on the z. So the Z can access internet and I wish to plug it with a cable to my PC. What I was wondering is if the PC would see tha zaurus as one big wifi internet connection that allows the PC to connect to the network thru the Z.

Maybe it is too cumbersome what I am proposing, it was just a curiosity question, as it is simpler just to get an USB adaptor for the PC.
Title: Network/bluetooth Connectivity Pass Thru To Pc
Post by: marshmn on March 08, 2005, 05:36:18 am
I don't see any reason why this wouldn't work...

Set the default gateway on the PC to be the Zaurus.
Configure the Zaurus to do IP forwarding.

Just have to get all the routing right, but I'm sure it could be done...

But yes, getting a USB adaptor for the PC would seem simpler

Matt
Title: Network/bluetooth Connectivity Pass Thru To Pc
Post by: eng10166 on April 06, 2005, 11:27:17 am
Dear All

I managed to get Bluetake BT100S Plus bluetooth cf card working on the sharp zaurus with the bluez package created by tumnus. Thanks for the effort, tumnus.

Following are my hardware and softwares

Sharp Zaurus SL5600
Sharp rom 1.32
bluez package created by tunmus

I took the following steps

0. install the package
1. Insert the bluetake card into the zaurus, the led should be blinking
2. open a console and issue hciattach /dev/ttyS3 bcsp
3. run hciconfig and info about the card will be displayed

eng10166
Title: Network/bluetooth Connectivity Pass Thru To Pc
Post by: tovarish on April 06, 2005, 10:10:27 pm
Quote
No, what I am saying is that, for example, I have a wireless connection on the z. So the Z can access internet and I wish to plug it with a cable to my PC. What I was wondering is if the PC would see tha zaurus as one big wifi internet connection that allows the PC to connect to the network thru the Z.

Maybe it is too cumbersome what I am proposing, it was just a curiosity question, as it is simpler just to get an USB adaptor for the PC.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=69720\"][{POST_SNAPBACK}][/a][/div]

it is indeed possible. you need to have iptables and/or ipchains installed in your zaurus. these can make your zaurus behave as a router. read up some text on ipchains, masquerading and linux routing. once your zaurus is ready as a router all you need to do in your pc is add the zaurus's usb ip address as the default gateway and enter a dns server or two(same ones in your /etc/resolv.conf of the zaurus)

you are set to go then. I am not sure tho that the zaurus was made to be a router  

tovarish
Title: Network/bluetooth Connectivity Pass Thru To Pc
Post by: Meanie on April 07, 2005, 03:46:30 am
I would think it is a waste of a Zaurus to use it as a mere router, but it is possible. I converted one of my old librettos to be a linux router so a Zaurus should be able to do the same job, but might I suggest you get two different NICs for it (better for security and performance to have two separate network cards than doing a virtual interface on the same card)