Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam
jak udostepnic polaczenie ppp0 na hci0 aby miec net po bluetooth w telefonie.
znalazlem taki opis:
http://www.stolk.org/debian/bluetooth.html
tylko tam jest opisane jak to zrobic dla eth0 a nie wiem jak go zmodyfikowac na ppp0 :(
i jeszcze kolejnym problemem jest to ze nie mam jaja 2.6 tylko 2.4 i nie wiem czy to ruszy na moim jajku orientuje sie ktos?
po dodaniu tego:
auto br0 iface br0 inet manual up echo "Adding ethernet bridge between LAN and PAN" up ifconfig eth0 0.0.0.0 up brctl addbr br0 up brctl setfd br0 0 up brctl stp br0 off up brctl addif br0 eth0 up ifconfig br0 192.168.192.1 netmask 255.255.255.0 up down echo "Removing ethernet bridge between LAN and PAN" down ifconfig br0 down down brctl delif br0 eth0 down brctl delbr br0
i wykonaniu polecenia ifup br0 pada siec ktora jest na eth0
hciconfig -a zwraca:
hci0: Type: USB BD Address: 11:11:11:11:11:11 ACL MTU: 678:8 SCO MTU: 48:10 UP RUNNING PSCAN ISCAN RX bytes:965 acl:20 sco:0 events:80 errors:0 TX bytes:1067 acl:20 sco:0 commands:40 errors:0 Features: 0xbf 0xfe 0x8d 0x78 0x08 0x18 0x00 0x00 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK Link mode: SLAVE ACCEPT Name: 'debian-0' Class: 0x3e0100 Service Classes: Networking, Rendering, Capturing Device Class: Computer, Uncategorized HCI Ver: 1.2 (0x2) HCI Rev: 0x1fe LMP Ver: 1.2 (0x2) LMP Subver: 0x1fe Manufacturer: Integrated System Solution Corp. (57)
w pliku /etc/bluetooth/rfcomm.conf mam wpis:
rfcomm0 {
device 00:0E:6D:6A:19:A2;
chanel 10;
}
i bluetooth dziala ok bo
debian:/home/dar3k# hcitool scan Scanning ... 00:0E:6D:6A:19:A2 dar3k
co mam zle lub co ew. zmienic aby wszystko dzialalo?
Offline
Time (s) | Query |
---|---|
0.00009 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00135 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.22.248.81' WHERE u.id=1 |
0.00063 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.22.248.81', 1738479775) |
0.00062 | SELECT * FROM punbb_online WHERE logged<1738479475 |
0.00045 | SELECT topic_id FROM punbb_posts WHERE id=52113 |
0.00093 | SELECT id FROM punbb_posts WHERE topic_id=6769 ORDER BY posted |
0.00076 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=6769 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00080 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=6769 ORDER BY p.id LIMIT 0,25 |
0.00103 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=6769 |
Total query time: 0.00675 s |