PAN connection: palmtop -> linux -> internet
Hello!
I have searched may post but I couldnt why my connection is not working. I had tryed many configurations like on this sites:
http://bluez.sourceforge.net/contrib/HOWTO-PAN
http://fedoranews.org/contributors/muhammad_al_ismail/bluetooth/
My hardware:
Linux kernel 2.4.27
Bluetooth dongle D-Link DBT-120
Palmtop Siemens LOOX 600 with Windows Mobile 20003
hciconfig -a gives this:
hci0:
Type: USB
BD Address: 00:0D:88:AC:CB:6A ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN
RX bytes:99 acl:0 sco:0 events:13 errors:0
TX bytes:296 acl:0 sco:0 commands:12 errors:0
Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DH1 HV1
Link policy: HOLD SNIFF PARK
Link mode: MASTER
Name: 'Linux'
Class: 0x000100
Service Classes: Unspecified
Device Class: Computer, Uncategorized
HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver: 0x20d
Manufacturer: Cambridge Silicon Radio (10)
hcitool scan easy finds my palmtop Siemens LOOX 600:
Scanning ...
00:E0:00:C8:1C:65 LOOX
... and now I want to have internet access on my palmtop. I can connect to Linux using palmtop.
When I reboot Linux I'm writing this to make BT connection and services working:
modprobe hci_usb
hciconfig hci0 up
hcid
sdpd
pand -s -M --role=NAP
I configured everything on palmtop and when I try to connect to Linux using PAN in /var/messages is showing:
Dec 16 20:59:12 router_nnd hcid[11147]:
link_key_request (sba=00:0D:88:AC:CB:6A,dba=00:E0:00:C8:1C:65)
Dec 16 20:59:12 router_nnd pand[6330]:
New connection from 00:E0:00:C8:1C:65 bnep0
.. and now is the problem. After few seconds after connection a window on palmtop is showing with this message:
Unable to obtain a server assigned IP adress. Try again later or enter an IP address in Network settings.
So .. I tryed some configurations in dhcp but they didnt worked. Can someone help me? I think that I'm near of making it working but I tryed almost every possibility I know.
Regards and thank You for Your help
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Grzegorz,
Quoted 15 lines
I have searched may post but I couldnt why my connection is not working. I had tryed many configurations like on this sites:
http://bluez.sourceforge.net/contrib/HOWTO-PAN
http://fedoranews.org/contributors/muhammad_al_ismail/bluetooth/My hardware:
Linux kernel 2.4.27
Bluetooth dongle D-Link DBT-120
Palmtop Siemens LOOX 600 with Windows Mobile 20003hciconfig -a gives this:
hci0:
Quoted 15 lines
Type: USB
BD Address: 00:0D:88:AC:CB:6A ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN
RX bytes:99 acl:0 sco:0 events:13 errors:0
TX bytes:296 acl:0 sco:0 commands:12 errors:0
Features:0xff0xff0x0f0x000x000x000x000x00
Packet type: DM1 DH1 HV1
Link policy: HOLD SNIFF PARK
Link mode: MASTER
Name: 'Linux'
Class:0x000100
Service Classes: Unspecified
Device Class: Computer, Uncategorized
HCI Ver: 1.1 (0x1) HCI Rev:0x20dLMP Ver: 1.1 (0x1) LMP Subver:0x20d
Manufacturer: Cambridge Silicon Radio (10)
enable the rswitch and use accept,slave as link mode.
Quoted 28 lines
hcitool scan easy finds my palmtop Siemens LOOX 600:
Scanning ...00:E0:00:C8:1C:65 LOOX... and now I want to have internet access on my palmtop. I can connect to Linux using palmtop.
When I reboot Linux I'm writing this to make BT connection and services working:
modprobe
hci_usb
hciconfig hci0 up
hcid
sdpd
pand -s -M --role=NAPI configured everything on palmtop and when I try to connect to Linux using PAN in
/var/messagesis showing:Dec 16 20:59:12 router_nnd hcid[11147]:
link_key_request(sba=00:0D:88:AC:CB:6A,dba=00:E0:00:C8:1C:65)Dec 16 20:59:12 router_nnd pand[6330]:New connection from 00:E0:00:C8:1C:65 bnep0
.. and now is the problem. After few seconds after connection a window on palmtop is showing with this message:
Quoted 6 lines
Unable to obtain a server assigned IP adress. Try again later or enter an IP address in Network settings.
So .. I tryed some configurations in dhcp but they didnt worked. Can someone help me? I think that I'm near of making it working but I tryed almost every possibility I know.
It seems that you need to run a DHCP server and maybe you need to create a bridge for all incoming PAN connections.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Thank You for Your answer .. but my problem is how to create this bridge .. I tryed many variations of brctl command and other stuff but it not worked .. and i really dont know how to do it ..
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Grzegorz,
Quoted 3 lines
Thank You for Your answer .. but my problem is how to create this bridge .. I tryed many variations of brctl command and other stuff but it not worked .. and i really dont know how to do it ..
read our PAN howto or look at the bridge howto.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 5 lines
Hi Grzegorz,
read our PAN howto or look at the bridge howto.
Thank You .. I dont know why I had not looked into those howtos .. but now I have another problem .. when my palmtop connects to Linux after a while I'm disconnected from internet on my palmtop and on my desktop computer .. when I try to ping my Linux server I have timeouts and only hard reset helps me. I looked in /var/log/messages .. errors and kernel and I couldnt find anything related to this problem .. this could be a problem with a iptables? My LAN network is 192.168.0.0 and network for palmtop is 192.168.1.0.
Thank You for Your time
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users