* [Bluez-devel] Questions about Role Changing during PAN setup
@ 2004-07-08 4:57 h0016530
2004-07-08 5:13 ` James Cameron
2004-07-08 5:27 ` James Cameron
0 siblings, 2 replies; 5+ messages in thread
From: h0016530 @ 2004-07-08 4:57 UTC (permalink / raw)
To: bluez-devel
I'm using PAN daemon version 1.1rc2. The role of server is always "PANU" after I
ahve tried to declare and change it to NAP by "pand --listen --role NAP
--service --sdp --master" and "pand --listen --role NAP". This is what I got:
# pand --show
bnep0 00:02:C7:18:25:A0 PANU
Secondly, I failed to use ftp even after the server(PC) and client(iPAQ)
cnonects to each other at the IP layer. Here is what I recieved from the
server:
#sftp 10.0.0.2
Connecting to 10.0.0.2...
root@10.0.0.2's password:
Request for subsystem 'sftp' failed on channel 0
Connection closed
Can anyone gives me some advice?
Thank you very much!
--
Katie
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-devel] Questions about Role Changing during PAN setup
2004-07-08 4:57 [Bluez-devel] Questions about Role Changing during PAN setup h0016530
@ 2004-07-08 5:13 ` James Cameron
2004-07-08 5:27 ` James Cameron
1 sibling, 0 replies; 5+ messages in thread
From: James Cameron @ 2004-07-08 5:13 UTC (permalink / raw)
To: h0016530; +Cc: bluez-devel
On Thu, Jul 08, 2004 at 12:57:00PM +0800, h0016530@hkusua.hku.hk wrote:
> #sftp 10.0.0.2
> Connecting to 10.0.0.2...
> root@10.0.0.2's password:
> Request for subsystem 'sftp' failed on channel 0
> Connection closed
This is what happens if the connection is closed due to tcpd filtering.
Check /etc/hosts.allow has an entry for the IP address of the client.
For example, mine has "ALL: 10.0.0.0/255.255.255.0"
--
James Cameron
Software Security Response Team
HP Services, Asia Pacific
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-devel] Questions about Role Changing during PAN setup
2004-07-08 4:57 [Bluez-devel] Questions about Role Changing during PAN setup h0016530
2004-07-08 5:13 ` James Cameron
@ 2004-07-08 5:27 ` James Cameron
2004-07-08 5:41 ` h0016530
1 sibling, 1 reply; 5+ messages in thread
From: James Cameron @ 2004-07-08 5:27 UTC (permalink / raw)
To: h0016530; +Cc: bluez-devel
On Thu, Jul 08, 2004 at 12:57:00PM +0800, h0016530@hkusua.hku.hk wrote:
> I'm using PAN daemon version 1.1rc2.
I'm using version 2.7.
> The role of server is always "PANU" after I have tried to declare and
> change it to NAP by "pand --listen --role NAP --service --sdp
> --master" and "pand --listen --role NAP". This is what I got:
> # pand --show
> bnep0 00:02:C7:18:25:A0 PANU
When I use "pand --listen --role NAP", and then establish a connection,
I get;
# pand --show
bnep0 00:02:72:01:E5:F5 NAP
--
James Cameron
Software Security Response Team
HP Services, Asia Pacific
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-devel] Questions about Role Changing during PAN setup
2004-07-08 5:27 ` James Cameron
@ 2004-07-08 5:41 ` h0016530
2004-07-08 5:54 ` James Cameron
0 siblings, 1 reply; 5+ messages in thread
From: h0016530 @ 2004-07-08 5:41 UTC (permalink / raw)
To: James Cameron; +Cc: bluez-devel
I did like this:
server(PC):
#modprobe l2cap
#modprobe bnep
#sdpd
#hcid
#hciconfig hci0 up
#pand --listen --role NAP --service --sdp --master
#pand --connect 00:02:C7:18:25:A0
#ifconfig bnep0 10.0.0.1
client(iPAQ, familiar linux):
#pand --listen --role PANU
#ifconfig bnep0 10.0.0.2
How about you? Thank you very much.
Katie
Quoting James Cameron <james.cameron@hp.com>:
> On Thu, Jul 08, 2004 at 12:57:00PM +0800, h0016530@hkusua.hku.hk wrote:
> > I'm using PAN daemon version 1.1rc2.
>
> I'm using version 2.7.
>
> > The role of server is always "PANU" after I have tried to declare and
> > change it to NAP by "pand --listen --role NAP --service --sdp
> > --master" and "pand --listen --role NAP". This is what I got:
> > # pand --show
> > bnep0 00:02:C7:18:25:A0 PANU
>
> When I use "pand --listen --role NAP", and then establish a connection,
> I get;
>
> # pand --show
> bnep0 00:02:72:01:E5:F5 NAP
>
> --
> James Cameron
> Software Security Response Team
> HP Services, Asia Pacific
>
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-devel] Questions about Role Changing during PAN setup
2004-07-08 5:41 ` h0016530
@ 2004-07-08 5:54 ` James Cameron
0 siblings, 0 replies; 5+ messages in thread
From: James Cameron @ 2004-07-08 5:54 UTC (permalink / raw)
To: h0016530; +Cc: James Cameron, bluez-devel
On Thu, Jul 08, 2004 at 01:41:19PM +0800, h0016530@hkusua.hku.hk wrote:
> server(PC):
> #modprobe l2cap
> #modprobe bnep
> #sdpd
> #hcid
> #hciconfig hci0 up
> #pand --listen --role NAP --service --sdp --master
> #pand --connect 00:02:C7:18:25:A0
> #ifconfig bnep0 10.0.0.1
>
> client(iPAQ, familiar linux):
> #pand --listen --role PANU
> #ifconfig bnep0 10.0.0.2
Slightly different. On my server (PC) I run:
# pand --listen --role NAP
And on client (laptop) I run:
# pand --nodetach --role PANU --search
ifconfig is handled automatically by hotplug on both systems, but
essentially it happens shortly after connection is made.
Since you are making PANU connection from server to iPAQ, it is not
wrong for "pand --show" to show PANU connection.
--
James Cameron
Software Security Response Team
HP Services, Asia Pacific
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-07-08 5:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-08 4:57 [Bluez-devel] Questions about Role Changing during PAN setup h0016530
2004-07-08 5:13 ` James Cameron
2004-07-08 5:27 ` James Cameron
2004-07-08 5:41 ` h0016530
2004-07-08 5:54 ` James Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox