-
Net via Bluetooth
Hi. I am new to Knoppix. I have a laptop with a crashed IDE hard drive. I am thinking of using Knoppix on a flash drive to run it.
When I had windows on it I used a pair of bluetooth dongles to pair the laptop with my PC and shared the PC's internet (wired) connection. and used the PC's internet connection to go on the net with the laptop. I don't have a wireless router. And the laptop did not come with Bluetooth.
Can this be done with Knoppix. Could knopppix use bluetooth to access a windows PC's internet connection.
Thank you.
-
Senior Member
registered user
@ Capt_T
Welcome to the forum.
You can access the internet either by ethernet or wifi wireless
independent of a Windows setup with either Knoppix LiveUSB or LiveCD.
Using Bluetooth to tap into a Windows setup is unnecessary.
I usually make a LiveCD and from that a LiveUSB. Look for Knoppix 6.7.1;
but, be aware that the ADRIANE versions are for 'vision-challenged' users.
Also, I think it may be possible to make a Knoppix LiveUSB in Windows using a
Pendrive program without first making a LiveCD.
Keep us informed of your progress.
-
Senior Member
registered user
@ Capt_T
Knoppix can be used to create a PAN using bluetooth adapters. I succeeded in connecting a Knoppix V6.7.1 notebook to a Windows 7 Pro system. I used Knoppix 6.7.1 CD and had to add a package bluez-compat containing the program pand. I had to create a configuration file /etc/dbus-1/system.d/bluetooth.conf that is missing in Knoppix V6.7.1 because the bluetooth was not allowed to connect to the D-Bus. I copied the configuration file from Knoppix 6.4.4 and added one line. The current file has the following content
Code:
<!-- This configuration file specifies the required security policies
for Bluetooth core daemon to work. -->
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- ../system.conf have denied everything, so we just punch some holes -->
<policy user="root">
<allow own="org.bluez"/>
<allow send_destination="org.bluez"/>
<!-- allow root to send to agents -->
<allow send_interface="org.bluez.Agent"/>
<allow send_interface="org.bluez.Proximity"/>
</policy>
<!-- allow users at the console, see consolekit or libpam-foreground -->
<policy at_console="true">
<allow send_destination="org.bluez"/>
</policy>
<!-- allow users of bluetooth group to communicate with hcid -->
<policy group="bluetooth">
<allow send_destination="org.bluez"/>
</policy>
<policy context="default">
<deny send_destination="org.bluez"/>
</policy>
</busconfig>
I downloaded and installed the package bluez-compat and created the the configuration file. Then I configured my Windows 7 Pro system so that it accepted bluetooth connections and served as DHCP server. Afterwards I plugged in my second USB bluetooth adapter at my Knoppix system. Afer having waited a few seconds I issued
Code:
hciconfig
lsmod |grep bnep
hcitool scan
The first command told that the bluetooth was up and running. The second one said that the kernel module bnep was installed. The last command showed bluetooth systems waiting for connections. I issued and was able to connect to the bluetooth adapter of my Windows 7 system. From the hcitool command I knew the MAC address of the Windows 7 system (00:1F:23:34:45:67). I issued
Code:
sudo pand --role PANU --service GN --nodetach -c 00:1F:23:34:45:67
and created a PAN. The last step was to fetch the network configuration from the DHCP server. Therefore I issued
Code:
sudo dhclient bnep0
ifconfig bnep0
and saw that the new network adapter was properly configured. I also learned the IP address of my Knoppix system.
On the Knoppix system I started the ssh server and connected to it from the Windows 7 system using the program WinSCP with the IP address I learned before. I did not experienced any problems in doing so.
The Windows 7 system is connected to the WLAN. I was not able to establish a connection between the PAN and the WLAN. Thus I cannot reach the Internet from my notebook via bluetooth although I entered the nameserver of the WLAN in the file /etc/resolv.conf.
Does anybody know how to connect the two networks on the Windows 7 Pro system?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![Samsung - S Pen Creator Edition - White picture](/store/img/g/nicAAOSwg8Nl-6GK/s-l225/Samsung-S-Pen-Creator-Edition-White.jpg)
Samsung - S Pen Creator Edition - White
$38.00
![Samsung Galaxy Tab A 8](/store/img/g/AvcAAOSwBwZlcywM/s-l225/Samsung-Galaxy-Tab-A-8-SM-T387V-32GB-Verizon-Table.jpg)
Samsung Galaxy Tab A 8" SM-T387V 32GB Verizon Tablet (No SIM Tray) Grade B
$31.99
![Samsung Galaxy Tab A9+ 11.0](/store/img/g/qbUAAOSw1o1l1Rtt/s-l225/Samsung-Galaxy-Tab-A9-11-0-64GB-Gray-Wi-Fi-Tablet-.jpg)
Samsung Galaxy Tab A9+ 11.0" 64GB Gray Wi-Fi Tablet Bundle SM-X210NZAYXAR 2023
$149.99
![Samsung 860 EVO 2TB 2.5](/store/img/g/yv0AAOSwR1xmfkzw/s-l225/Samsung-860-EVO-2TB-2-5-SATA-III-3D-NAND-SSD-MZ-76.jpg)
Samsung 860 EVO 2TB 2.5" SATA III 3D NAND SSD MZ-76E2T0 *** Grade B
$75.00
![Samsung Galaxy Tab3 10.1](/store/img/g/ZxQAAOSwIPBmeWRQ/s-l225/Samsung-Galaxy-Tab3-10-1-LCD-16GB-Wi-Fi-White.jpg)
Samsung Galaxy Tab3 10.1" - LCD 16GB, Wi-Fi - White
$39.99
![Samsung Chromebook XE350XBA-K05US 15.6](/store/img/g/GBsAAOSwAXVmaIaV/s-l225/Samsung-Chromebook-XE350XBA-K05US-15-6-1080p-FHD-L.jpg)
Samsung Chromebook XE350XBA-K05US 15.6" 1080p FHD Laptop Intel 4GB RAM 128GB SSD
$89.00
![Samsung Chromebook 3 4GB 16GB SSD 11.6-Inch Laptop XE500C13-K02US HDMI WIFI picture](/store/img/g/ubUAAOSwBINleyTe/s-l225/Samsung-Chromebook-3-4GB-16GB-SSD-11-6-Inch-Laptop.jpg)
Samsung Chromebook 3 4GB 16GB SSD 11.6-Inch Laptop XE500C13-K02US HDMI WIFI
$39.59
![SAMSUNG GALAXY TAB A 32GB Verizon SM-T387VZKAVZW Black Tablet / A-Stock Used picture](/store/img/g/MwMAAOSwf1lkd61a/s-l225/SAMSUNG-GALAXY-TAB-A-32GB-Verizon-SM-T387VZKAVZW-B.jpg)
SAMSUNG GALAXY TAB A 32GB Verizon SM-T387VZKAVZW Black Tablet / A-Stock Used
$29.99
![Sams 990 PRO (2tb) Internal SSD PCle Gen 4x4 NVME - picture](/store/img/g/yhIAAOSwfQNmfjqo/s-l225/Sams-990-PRO-2tb-Internal-SSD-PCle-Gen-4x4-NVME-FR.jpg)
Sams 990 PRO (2tb) Internal SSD PCle Gen 4x4 NVME -
$135.00
![Samsung Book Cover Keyboard For Galaxy Tab S9+ S9 FE+ EFDX815UBEGUJ NICE USED picture](/store/img/g/Od4AAOSw2bdmDZDy/s-l225/Samsung-Book-Cover-Keyboard-For-Galaxy-Tab-S9-S9-F.jpg)
Samsung Book Cover Keyboard For Galaxy Tab S9+ S9 FE+ EFDX815UBEGUJ NICE USED
$129.99