OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

Profile
Personal Photo
Options
Options
Personal Statement
markb doesn't have a personal statement currently.
Personal Info
markb
Age Unknown
Gender Not Set
Birmingham, UK
Birthday Unknown
Interests
No Information
Statistics
Joined: 28-February 04
Profile Views: 180*
Last Seen: 1st January 2005 - 07:28 AM
Local Time: Dec 19 2014, 01:37 PM
54 posts (0 per day)
Contact Information
AIM No Information
Yahoo No Information
ICQ No Information
MSN No Information
Contact Private
* Profile views updated each hour

markb

Members


Topics
Posts
Comments
Friends
My Content
16 Apr 2004
I've finally got around to doing something with my website.
There's not much there yet, but I've had a stab at some instructions for setting up a Zaurus development environment.

http://www.brintsoft.com/zaurus/dev.html

There were some discussions recently where people had problems with setup scripts and configuration files.
So I thought I'd put all the information on one page.

I can only document what I've done personally on my RH8.0 setup, so I hope there aren't too many mistakes.

I've still got a bit left to do. But I'd appreciate it if anyone has any feedback.
Please point out anything that's wrong, misleading or badly explained.

I hope someone finds it useful. :-)

Thanks.

- Mark
26 Mar 2004
I've had a Bluemonkey Bluetooth card for over a week, but haven't had any luck getting on the net through my mobile, using GPRS.

I don't think it's a hardware or driver problem.
I'm pretty sure it's to do with my config files and/or dialup scripts.
I haven't played with ppp before, so I could be doing something obviously wrong, but don't realise it.

I'm using a Sony Ericsson P800 phone, on the UK Orange network.
C860 with standard Sharp ROM.

I can pair up the devices OK. My c860 shows up as "Zaurus" on my phone. The phone asks me for the PIN that I set up. After I enter it it says "Bonding complete". So I think that part is working OK.

I can run sdptool browse on my Z and it discovers my phone:
(Part of MAC address replaced by XX - just to be on the safe side)

CODE
# sdptool browse

Inquiring ...

Browsing 00:XX:XX:XX:9A:12 ...

Service Name: Voice gateway

Service Description: Voice gateway

Service Provider: Sony Ericsson

Service RecHandle: 0x10000

Service Class ID List:

 "Headset Audio Gateway" (0x1112)

 "Generic Audio" (0x1203)

Protocol Descriptor List:

 "L2CAP" (0x0100)

 "RFCOMM" (0x0003)

   Channel: 8

Language Base Attr List:

 code_ISO639: 0x656e

 encoding:    0x6a

 base_offset: 0x100

Profile Descriptor List:

 "Headset" (0x1108)

   Version: 0x0100



Service Name: Dial-up Networking

Service Description: Dial-up Networking

Service Provider: Sony Ericsson

Service RecHandle: 0x10008

Service Class ID List:

 "Dialup Networking" (0x1103)

Protocol Descriptor List:

 "L2CAP" (0x0100)

 "RFCOMM" (0x0003)

   Channel: 2

Language Base Attr List:

 code_ISO639: 0x656e

 encoding:    0x6a

 base_offset: 0x100

Profile Descriptor List:

 "Dialup Networking" (0x1103)

   Version: 0x0100



Service Name: OBEX Object Push

Service RecHandle: 0x10009

Service Class ID List:

 "OBEX Object Push" (0x1105)

Protocol Descriptor List:

 "L2CAP" (0x0100)

 "RFCOMM" (0x0003)

   Channel: 3

 "OBEX" (0x0008)

Profile Descriptor List:

 "OBEX Object Push" (0x1105)

   Version: 0x0100



Service Name: Bluetooth Serial Port

Service Description: Bluetooth Serial Port

Service Provider: Symbian Ltd.

Service RecHandle: 0x1000a

Service Class ID List:

 "Serial Port" (0x1101)

Protocol Descriptor List:

 "L2CAP" (0x0100)

 "RFCOMM" (0x0003)

   Channel: 1

Language Base Attr List:

 code_ISO639: 0x656e

 encoding:    0x6a

 base_offset: 0x100


My /etc/bluetooth/rfcomm.conf file looks like this:

CODE
rfcomm0 {

       # Automatically bind the device at startup

       bind yes;



       # Bluetooth address of the device

       device 00:XX:XX:XX:9A:12;



       # RFCOMM channel for the connection

       channel 1;



       # Description of the connection

       comment "P800 DUN";

}


In /etc/ppp/peers I have a file called IRDA1079225237
(The file was originally named & created by the Network app on the Z, but I've edited the contents.)
CODE
# cat IRDA1079225237

debug debug debug

/dev/rfcomm0

noipdefault

115200

connect '/usr/sbin/chat -s -v -t 60 ABORT "NO CARRIER" ABORT "NO DIALTONE" ABORT "BUSY" "" "AT+CGDCONT=1,"IP","orangeinternet"" OK "ATDT*99#" CONNECT "dd"'

crtscts

lock

modem

usepeerdns

defaultroute

mtu 576

mru 576

connect-delay 1000

remotename IRDA1079225237


I then try to connect using
pppd call IRDA1079225237

My phone then asks me if I want to accept or reject the connection. I accept! :-)

But I don't seem to have a network connection on my Z. :-(
If I look at my /var/log/messages file I get this:
CODE
Mar 21 23:46:37 localhost irattach: +

Mar 21 23:46:37 localhost irattach: executing: 'echo #[device name] keyword=value,keyword=value,... > /proc/sys/net/irda/specific_dev'

Mar 21 23:46:37 localhost irattach: +

Mar 21 23:46:37 localhost irattach: executing: 'echo # > /proc/sys/net/irda/specific_dev'

Mar 21 23:46:37 localhost irattach: +

Mar 21 23:46:37 localhost irattach: executing: 'echo #Keywords > /proc/sys/net/irda/specific_dev'

Mar 21 23:46:37 localhost irattach: +

Mar 21 23:46:37 localhost irattach: executing: 'echo #BaudRate^I:max baud rate(- 115200bps) > /proc/sys/net/irda/specific_dev'

Mar 21 23:46:37 localhost irattach: +

Mar 21 23:46:37 localhost irattach: executing: 'echo #MaxTurn^I:max turn time(- 500ms) > /proc/sys/net/irda/specific_dev'

Mar 21 23:46:37 localhost irattach: +

Mar 21 23:46:37 localhost irattach: executing: 'echo #MinTurn^I:min turn time(- 10000us) > /proc/sys/net/irda/specific_dev'

Mar 21 23:46:37 localhost irattach: +

Mar 21 23:46:37 localhost irattach: executing: 'echo #DataSize^I:max data size(- 2048bytes) > /proc/sys/net/irda/specific_dev'

Mar 21 23:46:37 localhost pppd[3158]: pppd 2.4.0 started by root, uid 0

Mar 21 23:46:37 localhost irattach: +

Mar 21 23:46:37 localhost irattach: executing: 'echo #WindowSize^I:max window size(- 7) > /proc/sys/net/irda/specific_dev'

Mar 21 23:46:37 localhost irattach: +

Mar 21 23:46:37 localhost irattach: executing: 'echo #BOFS^I^I:additional bofs(- 48bytes) > /proc/sys/net/irda/specific_dev'

Mar 21 23:46:37 localhost irattach: +

Mar 21 23:46:37 localhost irattach: executing: 'echo #DiscTime^I:disconnect time(- 40secs) > /proc/sys/net/irda/specific_dev'

Mar 21 23:46:37 localhost irattach: +

Mar 21 23:46:37 localhost irattach: executing: 'echo   > /proc/sys/net/irda/specific_dev'

Mar 21 23:46:37 localhost irattach: +

Mar 21 23:46:37 localhost irattach: executing: 'echo [NM207] BaudRate=57600 > /proc/sys/net/irda/specific_dev'

Mar 21 23:46:37 localhost irattach: executing: 'echo [sharp pdaMI-500] BaudRate=57600 > /proc/sys/net/irda/specific_dev'

Mar 21 23:46:37 localhost irattach: executing: 'echo [sharp pdaMI-100] BaudRate=57600 > /proc/sys/net/irda/specific_dev'

Mar 21 23:46:45 localhost chat[3169]: abort on (NO CARRIER)

Mar 21 23:46:45 localhost chat[3169]: abort on (NO DIALTONE)

Mar 21 23:46:45 localhost chat[3169]: abort on (BUSY)

Mar 21 23:46:45 localhost chat[3169]: send (AT+CGDCONT=1,IP,orangeinternet^M)

Mar 21 23:46:45 localhost pppd[3158]: Hangup (SIGHUP)

Mar 21 23:46:45 localhost pppd[3158]: Connect script failed

Mar 21 23:46:45 localhost chat[3169]: SIGHUP

Mar 21 23:46:45 localhost chat[3169]: Can't restore terminal parameters: Input/output error

Mar 21 23:46:46 localhost pppd[3158]: Exit.

Mar 21 23:46:47 localhost exiting on signal 15


I feel that I'm close to getting it working, and it might just need a bit of tweaking.
I'm hoping someone here can tell me what I'm doing wrong.

Thanks in advance for any help.
Sorry for the long post, but I wanted to provide as much info as possible.

- Mark
15 Mar 2004
I have a problem ftp-ing into my c860 from my PC.
I've edited /etc/inetd.conf and uncommented the lines for telnet and ftp. (And did "killall -HUP inetd")
I can now telnet into my c860 over a usb connection, but I can't get ftp to work.

CODE
# These are standard services.

#

### With tcpd (TCP Wrapper) ###

ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  in.ftpd -l -a

telnet  stream  tcp     nowait  root    /usr/sbin/tcpd  in.telnetd

### Without tcpd (TCP Wrapper) ###

#ftp    stream  tcp     nowait  root    /usr/sbin/in.ftpd -l -a

#telnet stream  tcp     nowait  root    /usr/sbin/in.telnetd

If I do "netstat -a" on my Z I can see that it's listening on the ftp port.


CODE
$ netstat -a | more

Active Internet connections (servers and established)

Proto Recv-Q Send-Q Local Address           Foreign Address         State

tcp        0      0 *:4992                  *:*                     LISTEN

tcp        0      0 *:netbios-ssn           *:*                     LISTEN

tcp        0      0 *:sunrpc                *:*                     LISTEN

tcp        0      0 *:4244                  *:*                     LISTEN

tcp        0      0 *:ftp                   *:*                     LISTEN

tcp        0      0 *:telnet                *:*                     LISTEN


Even if I try it locally it still won't work.
In the console on the Z, I tried "ftp localhost". It then says

QUOTE
Connected to localhost.localdomain
421 service not available, remote server has closed connection

I've tried it logged in as "root" as well as "zaurus", just in case it makes a difference.

I've spent the last hour or so looking through the forum and using google, but I haven't had any luck.

I don't know how relevant this is but I noticed that in /usr/sbin on the Z I have a in.telnetd file, but don't have a in.ftpd file anywhere.

Any help would be greatly appreciated!

I'd like to be able to diagnose the fault myself by looking through the logs. But I don't get any.

Does anyone know how I can turn on logging so I get /var/log/messages?

I know this has been mentioned in the forum already. Sorry for asking again, but I couldn't find the post where it was mentioned.

Thanks in advance.

- Mark
Last Visitors
markb has no visitors to display.

Comments
Other users have left no comments for markb.

Friends
There are no friends to display.
RSS Lo-Fi Version Time is now: 19th December 2014 - 01:37 PM