Mobile blogging without going mobile

About the House with my phone passing time.

Tired of wasting time

, , ,

Having a good windows background and DOS commands i knew LINUX had an equivilent (batch).bat file.
Straight to IRC to find out what to look for and how to start.
After many a different version.
And a little help from my friend. -->nicomen
Came up with a 'script' to stop wasting time.

/////

sudo sdptool add --channel=0 SP
sudo dund -n --listen --channel 0 --msdun noauth 192.168.0.2:192.168.0.88 crtscts 115200 ms-dns 192.168.0.1 lock &
sudo rfcomm bind 0 00:00:00:00:00:00 2
sudo echo x > /dev/rfcomm0
sudo iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j MASQUERADE
echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward

/////

testphoto albums

Comments

Unregistered user Thursday, July 2, 2009 3:05:49 AM

Karel writes: Hi Adam, Thanks for this script. I think I am almost "there" but still missing something as I am getting an error I can't solve. Would you be able to help? Thanks a lot Karel ------ Nokia N70 with gnubox properly configured, I believe. I can see and browse files on my phone through bluetooth, syncronize via multisync, etc. --------------- xxx@xxx:~/Desktop$ sudo telefon.sh pand[5239]: Bluetooth PAN daemon version 4.42 pand[5239]: Connecting to XX:XX:XX:XX:XX:XX pand[5239]: Connect to XX:XX:XX:XX:XX:XX failed. Connection refused(111) bnep0: error fetching interface information: Device not found Internet Systems Consortium DHCP Client V3.1.1 Copyright 2004-2008 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ wmaster0: unknown hardware address type 801 SIOCSIFADDR: No such device bnep0: ERROR while getting interface flags: No such device bnep0: ERROR while getting interface flags: No such device wmaster0: unknown hardware address type 801 Bind socket to interface: No such device Failed to bring up bnep0.

Adam TrippTripppy Sunday, December 27, 2009 9:12:06 AM

mm, sorry, that looks all a little foreign to me.
i had done this a very long time ago. haven't had todo it since.

Benny Bottemawormfist Monday, August 9, 2010 8:08:51 AM

A couple of years ago it happened, Linux land was getting a Bluetooth upgrade. However, everything was not well afterwards. CLI Bluetooth suicide by bluez: Bluetooth is dead! Long live Bluetooth! [..]

http://blog.projectnibble.org/2010/08/08/how-ubuntus-broken-bluetooth-support-came-to-be/

Write a comment

New comments have been disabled for this post.

June 2012
S M T W T F S
May 2012July 2012
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30