All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] PAN connection: palmtop -> linux -> internet
@ 2004-12-16 19:09 Grzegorz
  2004-12-16 20:03 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Grzegorz @ 2004-12-16 19:09 UTC (permalink / raw)
  To: bluez-users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] PAN connection: palmtop -> linux -> internet
  2004-12-16 19:09 [Bluez-users] PAN connection: palmtop -> linux -> internet Grzegorz
@ 2004-12-16 20:03 ` Marcel Holtmann
  2004-12-16 22:24   ` [Bluez-users] " Grzegorz
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2004-12-16 20:03 UTC (permalink / raw)
  To: bluez-users

Hi Grzegorz,

> 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)

enable the rswitch and use accept,slave as link mode.

> 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.

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bluez-users] Re: PAN connection: palmtop -> linux -> internet
  2004-12-16 20:03 ` Marcel Holtmann
@ 2004-12-16 22:24   ` Grzegorz
  2004-12-17 14:30     ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Grzegorz @ 2004-12-16 22:24 UTC (permalink / raw)
  To: 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] Re: PAN connection: palmtop -> linux -> internet
  2004-12-16 22:24   ` [Bluez-users] " Grzegorz
@ 2004-12-17 14:30     ` Marcel Holtmann
  2004-12-18 16:51       ` Grzegorz
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2004-12-17 14:30 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Grzegorz,

> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bluez-users] Re: PAN connection: palmtop -> linux -> internet
  2004-12-17 14:30     ` Marcel Holtmann
@ 2004-12-18 16:51       ` Grzegorz
  0 siblings, 0 replies; 5+ messages in thread
From: Grzegorz @ 2004-12-18 16:51 UTC (permalink / raw)
  To: bluez-users

> 
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-12-18 16:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-16 19:09 [Bluez-users] PAN connection: palmtop -> linux -> internet Grzegorz
2004-12-16 20:03 ` Marcel Holtmann
2004-12-16 22:24   ` [Bluez-users] " Grzegorz
2004-12-17 14:30     ` Marcel Holtmann
2004-12-18 16:51       ` Grzegorz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.