View source for User:Mantis

From Openmoko

Jump to: navigation, search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Administrators.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page:

Return to User:Mantis.

Personal tools

Mantis: Neo Freerunner owner

--Mantis 22:59, 15 October 2008 (UTC) SIM:

UK O2 Pay-As-You-Go SIM did not work, replaced with Orange PAYG SIM which works fine.

Using FDOM distibution based on Om2008.9

Bluetooth networking: using USB dongle on OpenSuse 11.0 server 'foosrv'

On foosrv:

edit /etc/bluetooth/hicd.conf change pscan disable to pscan enable

edit /etc/sysconfig/bluetooth add PAND_START="yes" at the to of the PAND section

foosrv:~ # /etc/init.d/bluetooth restart
foosrv:~ # ps -ef | grep pand
  root      2210     1  0 00:33 ?        00:00:00 /usr/bin/pand --listen --role NAP
foosrv:~ # tail -f /var/log/messages

- should see hcid messages (eg foosrv hcid[2190]: Default passkey agent (:1.27, /org/kde/kbluetooth_1234) registered)

On neo:

Start bluetooth via Configuration menu

root@om-gta02:~# hcitool scan
Scanning ...
	00:1B:59:01:02:03	Blue-foosrv(0)
root@om-gta02:~# pand --connect 00:1B:59:01:02:03 --role PANU
#see /var/log/messages - see line like
  pand[1650]: Connecting to 00:1B:59:01:02:03 
  pand[1650]: bnep0 connected
#Configure IP of neo's bluetooth network interface (bnep0) as
root@om-gta02:~# ip a add dev bnep0

On foosrv:

If connection successful you should see line in /var/log/messages like pand[17965]: New connection from 00:01:02:03:04:05 at bnep0

#  list connections to pand daemon:
foosrv:~ # pand --list
  bnep0 00:06:6E:00:99:00 NAP       # shows neo's bd_address
#  set up iptables for forwarding as instructions for USB networking  ie
root@foosrv:~# iptables -A POSTROUTING -t nat -j MASQUERADE -s
root@foosrv:~# sysctl -w net.ipv4.ip_forward=1
#  Configure IP of foosrv's bluetooth network interface (bnep0) as
root@foosrv:~# ip addr add dev bnep0
#  Network ssh connection:
root@foosrv:~# ssh root@
root@foosrv:~# scp root@ ~/xx     #   transfer files etc