Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am setting up a dialup networking over a bluetooth link between a Motorola V600 cell phone and Debian Sarge (kernel 2.6.8-2-386). I have done this before with Mandriva 2006LE, but I can't get it working on Debian.
I believe the bluez bluetooth stack is compiled into this kernel. Other necessary daemons (l2cap and usbcore) are loaded as modules and are shown with lsmod.
I have it ALMOST working. I can detect the phone by running "hcitool inq" on the command line. I can get the list of dialup networking services provided by the phone with "sdptool search DUN".
However, when I try to connect to the Internet using pppd (as root) and my chat script (the same one I use successfully in Mandriva), "pairing" between the phone and the computer fails.
On the telephone, I get the request to connect and am asked to enter the PIN. After I enter the PIN, the /usr/bin/bluepin "pin helper" program is supposed to put up a dialog box to ask me for the pairing PIN. It does not appear, so I cannot "pair" with the telephone.
I opened /etc/bluetooth/hcid.conf and specified /usr/bin/bluez-pin as the "PIN helper", with no results.
/usr/bin/bluepin is a python script. I can run it directly from the command line (as root). bluez-pin will also run from the command line either as root or regular user. At any rate, I run pppd for this connection as root.
# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security user;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
# PIN helper
pin_helper /usr/bin/bluepin;
# D-Bus PIN helper
dbus_pin_helper;
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "%h-%d";
# Local device class
class 0x3e0100;
# class 0x100000;
# Default packet type
#pkt_type DH1,DM1,HV1;
# Inquiry and Page scan
iscan enable; pscan enable;
# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
lm accept;
# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
lp rswitch,hold,sniff,park;
I'm running Kubuntu (based on Debian) and that config works for me so I don't know why it's not working for you.
Have you tryed coppying the config from Mandriva? (You probably have)
You could try seeing if there are any packages that you need to install "apt-cache search bluetooth"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.