Search PinStack.com: Advanced Search | Search Tags


Linux Professionals Special forum for the Blackberry w/ Linux professionals

Reply
 
LinkBack (1) Thread Tools
  #1  
Old 08-09-2007 -
rfettig rfettig no está en línea
Stack level 1
Join Date: Oct 2006
 
Device: 8100
PIN: 23DE5473
Posts: 5
Trust Level: rfettig Average
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.
Reply With Quote
  #2  
Old 08-11-2007 -
melissaox melissaox no está en línea
Stack Moderator
Join Date: Jan 2006
 
Device: 8320
PIN: 242097C8
Posts: 5,660
Blog Entries: 49
Trust Level: melissaox - PinStack Moderation Team
Re: Tethered Modem Support in Linux

Not me.
Reply With Quote
  #3  
Old 10-14-2007 -
woodi68 woodi68 no está en línea
Stack level 4
Join Date: Aug 2006
 
Device: 9530
PIN: 3049E01C
Posts: 689
Blog Entries: 6
Trust Level: woodi68 Above Averagewoodi68 Above Average
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 12:41 PM. Reason: Edit out reference to BB forums. It's old, no PM sent.
Reply With Quote
  #4  
Old 10-15-2007 -
docholliday docholliday no está en línea
Stack level 3
Join Date: Oct 2006
 
Device: 8130
PIN: 317AFEB6
Posts: 245
Trust Level: docholliday Average
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).
Reply With Quote
  #5  
Old 04-20-2008 -
wastedfluid wastedfluid no está en línea
Stack level 1
Join Date: Dec 2007
 
Device: 8320
PIN: Ask me.
Posts: 7
Trust Level: wastedfluid Average
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.
Reply With Quote
  #6  
Old 04-20-2008 -
wastedfluid wastedfluid no está en línea
Stack level 1
Join Date: Dec 2007
 
Device: 8320
PIN: Ask me.
Posts: 7
Trust Level: wastedfluid Average
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.
Reply With Quote
  #7  
Old 05-05-2008 -
tavella81 tavella81 no está en línea
Stack level 3
Join Date: Sep 2007
 
Device: 8330
Posts: 308
Trust Level: tavella81 Average
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?
Reply With Quote
  #8  
Old 05-05-2008 -
tavella81 tavella81 no está en línea
Stack level 3
Join Date: Sep 2007
 
Device: 8330
Posts: 308
Trust Level: tavella81 Average
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.
Reply With Quote
  #9  
Old 05-05-2008 -
tavella81 tavella81 no está en línea
Stack level 3
Join Date: Sep 2007
 
Device: 8330
Posts: 308
Trust Level: tavella81 Average
#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
Reply With Quote
Reply

Bookmarks

Tags
linux, modem, support, tethered


Thread Tools


LinkBacks (?)
LinkBack to this Thread: http://forums.pinstack.com/f158/tethered_modem_support_in_linux-40533/
Posted By For Type Date
it’s me… henry » blackberry This thread Refback 3 Weeks Ago 12:01 AM