| Linux Professionals Special forum for the Blackberry w/ Linux professionals |
 |
08-09-2007 -
|
Stack level 1 
Join Date: Oct 2006
|
|
Device: 8100
PIN: 23DE5473
Posts: 5
Trust Level: 
|
|
Tethered Modem Support in Linux
I was wondering if anybody has any experience using their BB as a tethered modem in a Linux environment. I run Ubuntu on my desktop and I love it so much I want to install it on my laptop too. The tethered modem issue is the one and only thing stopping me.
|
08-10-2007 -
|
Device Pro 
Join Date: Jan 2006
|
|
Device: 8900
Posts: 5,773
|
|
Re: Tethered Modem Support in Linux
Not me.
|
10-14-2007 -
|
Stack level 4 
Join Date: Aug 2006
|
|
Device: 9530
PIN: 3049E01C
Posts: 706
Trust Level:  
|
|
Re: Tethered Modem Support in Linux
I've been struggling with this for months. I found one post on ****************.com that claims they can do it with their 8100, but i can't get it to work on my 8830. different networks perhaps make the difference? Not sure.
here's one of the sets of instructions:
http://wiki.colar.net/tethering_with...pearl_on_linux
Last edited by jblackfish; 04-20-2008 at 11:41 AM.
Reason: Edit out reference to BB forums. It's old, no PM sent.
|
10-15-2007 -
|
Stack level 3 
Join Date: Oct 2006
|
|
Device: 8130
PIN: 317AFEB6
Posts: 245
Trust Level: 
|
|
Re: Tethered Modem Support in Linux
I believe some people have had good results with XmBlackBerry, although I haven't been able to get that to work (I can't seem to get one of the dependencies peoperly installed).
|
04-20-2008 -
|
Stack level 1 
Join Date: Dec 2007
|
|
Device: 8320
PIN: Ask me.
Posts: 7
Trust Level: 
|
|
|
This can be done. I've read about it multiple times, I'm just too lazy. I'll research it myself, I'll favorite this thread - and get back to you. I'll try it out with my laptop today.
|
04-20-2008 -
|
Stack level 1 
Join Date: Dec 2007
|
|
Device: 8320
PIN: Ask me.
Posts: 7
Trust Level: 
|
|
|
Ugh. This is not going to be easy. Lots of compile errors in XLT, and a few other programs these guides refer to..
Looks like I'll be doing this solo. Might take awhile.
|
05-05-2008 -
|
Stack level 3 
Join Date: Sep 2007
|
|
Device: 8330
Posts: 321
Trust Level: 
|
|
|
I've been able to compile everything except the opensync plugin directory. Here is the error I'm receiving:
root@m1210:/root/XmBlackBerry/opensync# make
make all-recursive
make[1]: Entering directory `/root/XmBlackBerry/opensync'
Making all in src
make[2]: Entering directory `/root/XmBlackBerry/opensync/src'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/opensync-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -g -O2 -MT rim_record.lo -MD -MP -MF .deps/rim_record.Tpo -c -o rim_record.lo rim_record.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/opensync-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -g -O2 -MT rim_record.lo -MD -MP -MF .deps/rim_record.Tpo -c rim_record.c -fPIC -DPIC -o .libs/rim_record.o
In file included from rim_record.c:29:
/usr/include/opensync-1.0/opensync/opensync-xml.h:31: error: expected declaration specifiers or ‘...’ before ‘OSyncError’
/usr/include/opensync-1.0/opensync/opensync-xml.h:36: error: expected declaration specifiers or ‘...’ before ‘OSyncError’
/usr/include/opensync-1.0/opensync/opensync-xml.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘osxml_has_property’
/usr/include/opensync-1.0/opensync/opensync-xml.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘osxml_has_property_full’
/usr/include/opensync-1.0/opensync/opensync-xml.h:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘osxml_copy’
/usr/include/opensync-1.0/opensync/opensync-xml.h:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘osxml_marshall’
/usr/include/opensync-1.0/opensync/opensync-xml.h:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘osxml_demarshall’
rim_record.c: In function ‘dump_hex’:
rim_record.c:201: warning: field width should have type ‘int’, but argument 3 has type ‘size_t’
make[2]: *** [rim_record.lo] Error 1
make[2]: Leaving directory `/root/XmBlackBerry/opensync/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/XmBlackBerry/opensync'
make: *** [all] Error 2
root@m1210:/root/XmBlackBerry/opensync#
Any ideas? I was receiving an error before with opensync-xml.h missing so I installed the compiled the opensync package from CVS. I also tried to use the opensync-3.0.0.tar.gz as well. Any have a work around?
|
05-05-2008 -
|
Stack level 3 
Join Date: Sep 2007
|
|
Device: 8330
Posts: 321
Trust Level: 
|
|
|
Nevermind. did some more research and found a copy of the file on the opensync website. Had to copy and paste it in to a text document. I've attached the opensync-xml.h that allowed me to compile the opensync folder in the XmBlackBerry folder. Place the file in /usr/include/opensync-1.0/opensync.
|
05-05-2008 -
|
Stack level 3 
Join Date: Sep 2007
|
|
Device: 8330
Posts: 321
Trust Level: 
|
|
|
#ifndef HAVE_OPENSYNC_XML_H
#define HAVE_OPENSYNC_XML_H
#include <libxml/xmlmemory.h>
#include <libxml/parser.h>
#include <libxml/xpath.h>
#include <opensync/opensync.h>
#include <string.h>
#include <stdio.h>
#ifdef __cplusplus
extern "C"
{
#endif
typedef enum osxmlEncoding {
OSXML_8BIT = 0,
OSXML_QUOTED_PRINTABLE = 1,
OSXML_BASE64 = 2
} osxmlEncoding;
typedef enum osxmlCharset {
OSXML_ASCII = 0,
OSXML_UTF8 = 1
} osxmlCharset;
typedef struct OSyncXMLEncoding OSyncXMLEncoding;
struct OSyncXMLEncoding {
osxmlEncoding encoding;
osxmlCharset charset;
};
typedef struct OSyncXMLScore {
int value;
const char *path;
} OSyncXMLScore;
xmlNode *osxml_node_add_root(xmlDoc *doc, const char *name);
xmlNode *osxml_node_get_root(xmlDoc *doc, const char *name, OSyncError **error);
xmlNode *osxml_get_node(xmlNode *parent, const char *name);
xmlNode *osxml_node_add(xmlNode *parent, const char *name, const char *data);
//void osxml_format_dump(OSyncXML *xml, char **data, int *size);
xmlNode *osxml_format_parse(const char *input, int size, const char *rootname, OSyncError **error);
char *osxml_find_node(xmlNode *parent, const char *name);
void osxml_node_add_property(xmlNode *parent, const char *name, const char *data);
char *osxml_find_property(xmlNode *parent, const char *name);
osync_bool osxml_has_property(xmlNode *parent, const char *name);
osync_bool osxml_has_property_full(xmlNode *parent, const char *name, const char *data);
void osxml_node_mark_unknown(xmlNode *parent);
void osxml_node_remove_unknown_mark(xmlNode *node);
void osxml_map_unknown_param(xmlNode *node, const char *paramname, const char *newname);
void osxml_node_set(xmlNode *node, const char *name, const char *data, OSyncXMLEncoding encoding);
xmlXPathObject *osxml_get_nodeset(xmlDoc *doc, const char *expression);
xmlXPathObject *osxml_get_unknown_nodes(xmlDoc *doc);
OSyncConvCmpResult osxml_compare(xmlDoc *leftinpdoc, xmlDoc *rightinpdoc, OSyncXMLScore *scores, int default_score, int treshold);
xmlChar *osxml_write_to_string(xmlDoc *doc);
osync_bool osxml_copy(const char *input, int inpsize, char **output, int *outpsize);
osync_bool osxml_marshall(const char *input, int inpsize, char **output, int *outpsize, OSyncError **error);
osync_bool osxml_demarshall(const char *input, int inpsize, char **output, int *outpsize, OSyncError **error);
#ifdef __cplusplus
}
#endif
#endif
|
|
PinStack addict? Enter your email...
|