Networking Forums

Networking Forums > Computer Networking > Linux Networking > tunnel device

Reply
Thread Tools Display Modes

tunnel device

 
 
Benjamin Menküc
Guest
Posts: n/a

 
      12-29-2004, 04:17 PM
Hi,

I am developping a routing protocol for bluetooth. I want to add a network
device interface to my bluetooth software, so that ie ssh can talk over
bluetooth to other computers.

Does anybody know where to find information about tunnel devices or how to
create a network interface?

An application that does what I am searching for would be a great help too
because I could copy sourcecode.

regards,
Benjamin


 
Reply With Quote
 
 
 
 
Benjamin Menküc
Guest
Posts: n/a

 
      12-29-2004, 04:20 PM
PS: I want to receive plain ip-packages in my routing-application from the
tunnel device.

regards,
Benjamin


 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      12-29-2004, 07:30 PM
Benjamin Menküc wrote:
> Hi,
>
> I am developping a routing protocol for bluetooth. I want to add a network
> device interface to my bluetooth software, so that ie ssh can talk over
> bluetooth to other computers.
>
> Does anybody know where to find information about tunnel devices or how to
> create a network interface?
>
> An application that does what I am searching for would be a great help too
> because I could copy sourcecode.
>


Have a look at the tun/tap device driver.

The tun driver creates a character device and a network
device for IP frames and connects the devices together.
The IP packets coming into the network end can be read
out of the character device and vice versa.

The tap driver handles Ethernet frames in the same way.

HTH

--

Tauno Voipio
tauno voipio (at) iki fi


 
Reply With Quote
 
prg
Guest
Posts: n/a

 
      12-29-2004, 07:44 PM

Benjamin Menküc wrote:
> Hi,
>
> I am developping a routing protocol for bluetooth. I want to add a

network
> device interface to my bluetooth software, so that ie ssh can talk

over
> bluetooth to other computers.
>
> Does anybody know where to find information about tunnel devices or

how to
> create a network interface?
>
> An application that does what I am searching for would be a great

help too
> because I could copy sourcecode.
>
> regards,
> Benjamin


It is not clear to me just what you have in mind, but...

Might this help?

BlueZ -- Official Linux Bluetooth protocol stack
http://www.bluez.org/
http://www.bluez.org/documentation.html
http://www.bluez.org/protocols.html
http://www.bluez.org/links.html
http://www.holtmann.org/linux/bluetooth/ << many links
http://fedoranews.org/contributors/m...ail/bluetooth/
(NAT network over bluetooth)
http://www.geocities.com/dariapra/en...bluetooth.html << some links

Affix -- Bluetooth Protocol Stack for Linux (by Nokia Research Center)
http://affix.sourceforge.net/overview.shtml

Google is your friend ;-)
http://www.google.com/search?q=linux...UTF-8&oe=UTF-8
about 47,100 English pages for linux Bluetooth protocol stack

Linux device drivers:
http://www.xml.com/ldd/chapter/book/index.html
http://www.xml.com/ldd/chapter/book/ch14.html << Network Drivers
hth,
prg
email above disabled

 
Reply With Quote
 
Benjamin Menküc
Guest
Posts: n/a

 
      12-29-2004, 08:04 PM
Hi Tauno,

thanks, thats what I am looking for.

regards,
Benjamin


 
Reply With Quote
 
Benjamin Menküc
Guest
Posts: n/a

 
      12-29-2004, 11:58 PM
Hi,

I am using the kernel supported tun function now. But when I call
fd=tun_open(char *dev) I dont get a valid fd handle back. I think the
problem is dev, I dont know how I have to set it. I tried to set it to
"tun0" but it didnt work.

regards,
Ben


 
Reply With Quote
 
Benjamin Menküc
Guest
Posts: n/a

 
      12-30-2004, 01:13 AM
Hi,

I found my problem, I used the old tun_open function.

regards,
Benjamin


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
802.11 Broadcom device missing from device manager tinanewtonart Broadband Hardware 1 03-12-2009 08:18 AM
Device Available to connect Wired router from Wireless Device? Bakshi Network Routers 2 03-22-2008 01:55 PM
Unable to remove hidden device in device manager mario Wireless Networks 9 05-10-2007 05:25 PM
802.11g router / 1 x 802.11b device / 1 x 802.11g device Oli Wireless Networks 3 09-27-2004 11:56 PM
HELP! There's an Unidentified Device on my Device Manager! > > > Alan Windows Networking 2 05-02-2004 04:24 AM



1 2 3 4 5 6 7 8 9 10 11