Gentoo Archives: gentoo-user

From: Florian Philipp <lists@××××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Bluetooth-Hotspot
Date: Mon, 21 Apr 2008 09:54:47
Message-Id: 1208771678.8117.54.camel@NOTE_GENTOO64.PHHEIMNETZ
In Reply to: Re: [gentoo-user] Bluetooth-Hotspot by dexters84
1 On Tue, 2008-04-15 at 22:10 +0200, dexters84 wrote:
2
3 [correcting top-posting]
4 >
5 > Florian Philipp pisze:
6 > > Hi list!
7 > >
8 > > I could need some help.
9 > >
10 > > Long story (if you don't want to hear, scroll down):
11 > >
12 > > For six months a year I'm attending a university of cooperative
13 > > education and although I pay 1000€ a year for infrastructure and stuff
14 > > like that its services for students are a big joke. Especially its
15 > > WLAN-hotspot isn't nearly up to the job.
16 > >
17 > > Because I have an UMTS-card my idea was to set up a personal area
18 > > network (PAN) via bluetooth and act as a router to support my friends
19 > > during the WLAN-outages.
20 > >
21 > > Most of the job is already done but I have problems setting up a
22 > > DHCP-server and the network configuration. Because the virtual ethernet
23 > > interface only exists when a connection is established, dhcpd doesn't
24 > > start from the init-script and, although I haven't tried it yet, normal
25 > > network config shouldn't fare any better. When the last client
26 > > disconnects, all the configuration is gone and when someone reconnects,
27 > > I have to call "ifconfig bnep0 192.168.4.1" again.
28 > >
29 > > Short question:
30 > >
31 > > How do I automate the configuration of network interfaces and related
32 > > deamons when the whole interface keeps appearing and disappearing out of
33 > > the clear blue sky?
34 > >
35 > > I don't think ifplugd will be up to the job (haven't tried it though).
36 > >
37 > > Thanks in advance!
38 > >
39 > > Florian Philipp
40 > >
41 > I've did this thing a while ago. Bluetooth router is a cool thing,
42 > unfortunatelly only in theory.
43 > To solve Your problem, look in /etc/bluetooth directory and check the
44 > manual of bluez - there are a couple of pre-up and post-up scritps that
45 > solve the problem.
46 > I did manage to get bt router working but my usb dongle was cousing a
47 > lot of problems - long story short - one dongle was not sufficient for
48 > more than two simultanous connections.
49
50 Thanks, you pointed me in the right direction!
51
52 The solution is really unobvious but described here:
53 http://bluez.sourceforge.net/contrib/HOWTO-PAN

Attachments

File name MIME type
signature.asc application/pgp-signature