LAN access over bluetooth
MilE
webmaster at fcntl.net
Fri Mar 25 02:05:16 PST 2005
Disconnects as if LAN goes down... when i try to open a webpage... It`s strange because email works fine...
thats from logs
Mar 24 17:33:42 office hcsecd[9065]: Got Link_Key_Request event from 'ubt0hci', remote bdaddr 00:20:e0:27:8c:0c
Mar 24 17:33:42 office hcsecd[9065]: Found matching entry, remote bdaddr 00:20:e0:27:8c:0c, name 'URKO', link key exists
Mar 24 17:33:42 office hcsecd[9065]: Sending Link_Key_Reply to 'ubt0hci' for remote bdaddr 00:20:e0:27:8c:0c
Mar 24 17:33:43 office sdpd[8674]: Client on L2CAP socket has disconnected
Mar 24 17:33:43 office ppp[43883]: Phase: Using interface: tun1
Mar 24 17:33:43 office ppp[43883]: Phase: deflink: Created in closed state
Mar 24 17:33:43 office ppp[43883]: Phase: PPP Started (direct mode).
Mar 24 17:33:43 office ppp[43883]: Phase: bundle: Establish
Mar 24 17:33:43 office ppp[43883]: Phase: deflink: closed -> opening
Mar 24 17:33:43 office ppp[43883]: Phase: deflink: Connected!
Mar 24 17:33:43 office ppp[43883]: Phase: deflink: opening -> carrier
Mar 24 17:33:43 office ppp[43883]: Phase: deflink: carrier -> lcp
Mar 24 17:33:51 office ppp[43883]: Phase: deflink: lcp -> open
Mar 24 17:33:51 office ppp[43883]: Phase: bundle: Network
Mar 24 17:33:51 office ppp[43883]: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Mar 24 17:33:51 office ppp[43883]: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Mar 24 17:33:51 office ppp[43883]: Warning: ff02:7::/32: Change route failed: errno: Network is unreachable
Mar 24 17:33:54 office ppp[43883]: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Mar 24 17:34:03 office last message repeated 3 times
Mar 24 17:34:31 office kernel: ng_btsocket_rfcomm_session_send: Could not send data to L2CAP socket, error=40
Mar 24 17:34:31 office ppp[43883]: Phase: deflink: read (0): Connection reset by peer
Mar 24 17:34:31 office ppp[43883]: Phase: deflink: open -> lcp
Mar 24 17:34:31 office ppp[43883]: Warning: ff02:7::/32: Change route failed: errno: Network is unreachable
Mar 24 17:34:31 office ppp[43883]: Phase: bundle: Terminate
Mar 24 17:34:31 office ppp[43883]: Phase: deflink: Disconnected!
Mar 24 17:34:31 office ppp[43883]: Phase: deflink: Connect time: 48 secs: 6990 octets in, 3971 octets out
Mar 24 17:34:31 office ppp[43883]: Phase: deflink: 107 packets in, 67 packets out
Mar 24 17:34:31 office ppp[43883]: Phase: total 228 bytes/sec, peak 725 bytes/sec on Thu Mar 24 17:34:06 2005
Mar 24 17:34:31 office ppp[43883]: Phase: deflink: lcp -> closed
Mar 24 17:34:31 office ppp[43883]: Phase: bundle: Dead
Mar 24 17:34:31 office ppp[43883]: Phase: PPP Terminated (normal).
On Thu, 24 Mar 2005 14:08:44 -0800
Maksim Yevmenkin <maksim.yevmenkin at savvis.net> wrote:
> Hello,
>
> > I have a couple of bluetooth USB dongles and I would like to use these to connect my laptop to my home LAN.
> > I went through the basic setup steps described in handbook. I have configured hcsecd, sdpd and rfcomm_ppdd.
>
> ok
>
> > hcsecd.conf
> > device {
> > bdaddr 00:20:E0:27:8C:0C;
> > name "URKO";
> > key nokey;
> > pin "1234";
> > }
>
> that looks fine
>
> > ppp.conf
> > rfcomm-server:
> > set timeout 0
> > set lqrperiod 10
> > set ifaddr 192.168.1.10 192.168.1.11-192.168.1.20 255.255.255.0
> > accept dns
> > enable lqr
> > enable proxy
> > accept lqr
> > disable pap
> > deny pap
> > disable chap
> > deny chap
>
> that looks fine to.
>
> > Freebsd gateway has address 192.168.1.1.
> >
> > ipconfig on windows laptop
> > Connection-specific DNS Suffix . :
> > Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
> > Physical Address. . . . . . . . . : 00-53-45-00-00-00
> > DHCP Enabled. . . . . . . . . . . : No
> > IP Address. . . . . . . . . . . . : 192.168.1.12
> > Subnet Mask . . . . . . . . . . . : 255.255.255.255
> > Default Gateway . . . . . . . . . : 192.168.1.12
> > DNS Servers . . . . . . . . . . . : 193.2.1.66
> > 193.2.1.72
>
> ok
>
> > It connects fine... I can send mails and receive them...
> > But when i try to open a webpage it disconnects... and doesnt open a page...
> > Whats wrong?
>
> huh? what do you mean "disconnects"? is lan connection does down or you
> just cant open web pages? if you can send and receive emails then
> browser should work just fine. any errors on either side? anything the
> log (/var/log/ppp.log and /var/log/messages)?
>
> max
>
More information about the freebsd-bluetooth
mailing list