Page 1 of 3 123 LastLast
Results 1 to 15 of 44

Thread: Bluetooth on the WL500g? Yes!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2003
    Location
    Helmond, The Netherlands
    Posts
    89

    Bluetooth on the WL500g? Yes!

    We (Philips Semiconductors) are using the WL500g as test vehicle for our MIPS systems to verify code. During these exercises we ported the Affix Bluetooth stack to the WL500g. The actual code is too big to fit in the current firmware (above 4MB), so you need an external flash disk. Since also a USB Bluetooth dongle is needed, you need a compatible USB hub.

    For more information go to:
    Affix on WL500g

    Please read the limitations:
    • Binaries are statically compiled, so larger than actually needed.
    • A specific libc.so.6 file is needed simply because the WL500g version is too limited
    • PAN interface seems not to be routed through the WL500g. As a BT PAN client it is possible to access the internal webpage of the WL500g. When a tcpdump is made the box claims that “source route failed”. I have no clue yet what is causing this problem.

    The last problem is causing me headaches. I haven't found a solution yet.

    Last remark, the code is based on affix version 2.1.2 .
    Last edited by bramfm; 29-03-2004 at 09:20.

  2. #2
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Good work. Just checked this. The code could be easily be stripped to 2.5MB by removing debug info and development libraries/headers. Also, try replacing glibc with uclibc.

  3. #3

    Problem : missing /lib/ld.so.1

    The bt toolsuite seems to be using the /lib/ld.so.1 which is not present in the firmware from wl500g.dyndns.org. How did you do to use the affix binary stack with it ?
    By the way, the usb flash drive mounts under /tmp/harddisk and not /mnt/usbfs on my wl500g.

    Quote Originally Posted by Oleg
    Good work. Just checked this. The code could be easily be stripped to 2.5MB by removing debug info and development libraries/headers. Also, try replacing glibc with uclibc.

  4. #4
    Hi Folks,

    I'm trying to get bluetooth to work for several days.
    I have the precompiled affix stack and don't get futher.
    Can somebody post a link to a precompiled bluez-Stack.
    (Or share his expericence in compiling affix/Bluez and get it to work)

    Thanx in advance.

    FastClick

  5. #5
    Join Date
    Feb 2005
    Location
    Cologne, Germany
    Posts
    24

    Question What is the current status?

    Hi everyone!

    Would be interesting to know is there any progress about using BT on WL500g? The most interesting thing would be to make BT devices be able to access WAN. I have USB BT dongle, USB-flash, USB hub, WL500g and PDA – all required hardware and would like to access WAN from my PDA. Maybe I could be useful for doing some tests as well? ;-) I think to have BT support on router would be really great thing, please, everyone, don’t stop working on this case! ;-)

    Greetings,
    Cunami

  6. #6
    hi guys...
    i am new on this forum and i have a wl-500g router... i never modified his firmware other than the official... now what i want to know is if is possible to plug a bluetooth dongle in the wl-500g usb port... and if i really need a usb hub and a flash drive. and if its possible i would like to use gnubox with it.. this program can make me use the pc internet connection on my nokia 6630 via bluetooth.. i will post more information later but here is the link to the tutorial and the forum of gnubox.
    Tutorial (windows) - http://web.singnet.com.sg/~kinston/B...20Internet.htm
    Tutorial (linux) - http://arnold.homelinux.com/tiki-rea...p?articleId=40
    Forum - http://www.symbianos.org/yabbse/index.php?board=2
    byee!
    srry for my bad english

  7. #7
    Join Date
    Dec 2003
    Location
    Helmond, The Netherlands
    Posts
    89
    Good tips,

    I will compile a new version with --nodebug enabled.

  8. #8
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    You should also use
    strip --strip-unneeded for kernel modules &
    strip --remove-section=.note --remove-section=.comment for libraries/apps

  9. #9
    Join Date
    Dec 2003
    Location
    Helmond, The Netherlands
    Posts
    89
    Originally posted by Oleg
    You should also use
    strip --strip-unneeded for kernel modules &
    strip --remove-section=.note --remove-section=.comment for libraries/apps
    Gee, I didn't know this would save so much space. Thanks Oleg!

  10. #10
    Join Date
    Dec 2003
    Location
    Helmond, The Netherlands
    Posts
    89
    Originally posted by Oleg
    You should also use
    strip --strip-unneeded for kernel modules &
    strip --remove-section=.note --remove-section=.comment for libraries/apps
    I am sorry Oleg, but stripping the kernel modules results in many "unresolved symbols"

    Stripping the libs + apps is OK!
    Last edited by bramfm; 29-03-2004 at 17:07.

  11. #11
    Wow, soon the wl500g is going to be so nice.
    wlan, router, bluetooth, packet shaping

    Hope you guys solve the PAN-issue.

  12. #12
    AVM (Berlin) has managed to include a mrouter software in its bluefritz dsl bluetooth accesspoint so you can use standard symbian phones like nokia 3650 or Sony Ericsson P900 for browsing the web without using gprs or using a pc as a software router. this would be great to do with the wl-500g as well! mrouter is the software that makes a ppp/ tcp/ip connection with a pc or mac when syncing contacts etc. and can also be used to access internet for browsers and email etc.

  13. #13
    Join Date
    Apr 2004
    Location
    frankfurt
    Posts
    84

    Status of bluetooth and QoS || New (possible) Idea?!

    hi guys,

    what is the status of this projects (http://wl500g.info/showthread.php?s=&threadid=212 and http://wl500g.info/showthread.php?s=&threadid=262)? it would be very nice if 500g start Gatekeeper (http://opengatekeeper.sourceforge.net/) from a usb-stick(or usb-hdd), and start a conection to your bluetooth phone(e.g.s60 phones) over the "audio gateway" profile.

    the result is a mobile ip phone.

    does everbody think that this is possible(for cpu of 500g and the other hardware)?


    @oleg

    thx a lot for all your hard work!did you already tought about donations?
    Last edited by xlephant; 23-04-2004 at 18:50.

  14. #14
    Join Date
    Apr 2004
    Location
    frankfurt
    Posts
    84

  15. #15
    Join Date
    Dec 2003
    Location
    Helmond, The Netherlands
    Posts
    89

    Bluetooth for the WL500g Update

    I noticed that the file you can download from my site causes "segmentation errors" with the latest version of Oleg's firmware. Therefore an update can be found on the page. Also, a very pleasant side-effect, libc has been replaced by ulibc in the package making it much smaller (still the wl500g build-in libc is not compatible with affix). In fact the /affix-release/lib directory only has to contain libc.so.6 since the binaries are compiled statically.

    Attached you can find the new version.

    PS can someone copy this to the wiki pages, I do not understand it how to use it, I am just a simple "ing" .

    Code:
    It is possible to run Bluetooth on the WL500g! This can be done via 
    the USB interface in combination with a USB dongle running the Affix stack.
    The following dongles have been tested:
    
        * MSI
        * 3COM
        * TDK
    
    For enabling Bluetooth on the WL500g the following is needed:
    
        * a WL500g ;-)
        * Precompiled binary, see attachement
        * A USB flash disk
        * A USB BT dongle
        * A USB Hub (to be able to connect the USB BT & flashdisk simultaneously
           to the WL500g)
    
    Extract the affix-release.zip file and be sure to preserve the paths, it will 
    look as follows:
    	
    	
    
    /affix-release
    ├───bin
    │   └───kernel
    │       ├───drivers
    │       │   └───affix
    │       └───net
    │           └───affix
    ├───etc
    │   ├───affix
    │   ├───devfs
    │   │   └───conf.d
    │   ├───modutils
    │   └───pcmcia
    ├───include
    │   └───openobex
    ├───lib
    ├───share
    │   └───aclocal
    └───usr
        └───include
            └───affix
    
    	
    On the USB disk make a directory for incoming and outgoing Obex file transfer
    files:
    
    mkdir /incoming
    
    Be shure to insert a USB BT dongle in the box and start bluetooth services via
    telnet (see chupa forum how to enable telnet), by issuing the following 
    command:
    
    /mnt/usbfs/affix-release/bin/start_bt
    
    Everything should start up now. Test the affix stack by entering the following
    command in a Telnet session:
    
    btctl discovery
    
    Known limitations:
    
        * Binaries are statically compiled, so larger than actually needed.
        * A specific libc.so.6 file is needed simply because the WL500g version is 
           too limited
        * PAN interface seems not to be routed through the WL500g. As a BT PAN 
           client it is possible to access the internal webpage of the WL500g. When
           a tcpdump is made the box claimes that “source route failed”. I have no
           clue yet what is causing this problem
    Attached Files Attached Files

Page 1 of 3 123 LastLast

Similar Threads

  1. Questions about BlueTooth and Samba
    By molski in forum WL-500g/WL-500gx Tutorials
    Replies: 13
    Last Post: 10-10-2004, 01:29

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •