spacer
spacer search

PHARscape
Phar enough!

Search
spacer
header
Main Menu
Home
Linux and 3G
Linux and 3G Forum
Python Stuff
Pictures
Astronomy
Links
Contacting Me
Search
Mambo License
About
Syndicate
Lunarpages.com Web Hosting
 
Home arrow Linux and 3G Forum

PHARscape
3G Datacards and Linux
 
  FAQFAQ    SearchSearch  RegisterRegister 
   Log inLog in 

HSOconnect problem....

 
Post new topic   Reply to topic    PHARscape Forum Index -> HSOconnect
View previous topic :: View next topic  
Author Message
janmartin



Joined: 24 Oct 2008
Posts: 4

germany.gif
PostPosted: Fri Oct 24, 2008 11:21 am    Post subject: HSOconnect problem.... Reply with quote

Hi,

I followed this thread so far, and everything seems to work, except that there is no 3G internet connection.

I am using an Option icon 225 with German t-mobile dayflat (5 euro/day) on Ubuntu 8.04.1.

Please check the content of my debug window, there are 2 errors in the very end.

Code:

Init serPort /dev/ttyHS1Could not open port: [Errno 2] No such file or directory: '/dev/ttyHS1'

Init serPort /dev/ttyHS1Detected
Port open
'AT'
'OK
''AT+CFUN?'
'+CFUN: 1
'
'
'
'OK
''AT+CLCK="SC",2'
'+CLCK: 0
'
'
'
'OK
''AT+cpin?'
'+CPIN: READY
'
'
'
'OK
''AT_OBLS'
'_OBLS: 1,0,1
'
'
'
'OK
''AT_OWANCALL=1,0,0'
'OK
'(1, 'OK')'AT_OSQI=1'
'OK
'(1, 'OK')'AT_OCTI=1'
'OK
'(1, 'OK')'AT+CNMI=2,1,0,1,0'
'OK
'(1, 'OK')'AT+CREG=1'
'OK
'(1, 'OK')'AT+CGREG=1'
'OK
'(1, 'OK')'AT+COPS=3,0'
'OK
'(1, 'OK')'AT_OSSYS=1'
'OK
'(1, 'OK')'AT+CPMS="SM"'
'+CPMS: 0,20,0,20,0,20
'
'
'
'OK
'(1, '+CPMS: 0,20,0,20,0,20')'AT+CMGF=0'
'OK
'(1, 'OK')'AT+CPMS?'
'+CPMS: "SM",0,20,"SM",0,20,"SM",0,20
'
'
'
'OK
'(1, '+CPMS: "SM",0,20,"SM",0,20,"SM",0,20')'ATI'
'Manufacturer: Option N.V.
'
'Model: GlobeTrotter HSDPA Modem
'
'Revision: 2.4.6Hd (Date: Oct 04 2007, Time: 14:11:38)
''OK''AT+CGMI'
'Option N.V.
'
'
'
'OK
''AT+GMR'
'2.4.6Hd (Date: Oct 04 2007, Time: 14:11:38)
'
'
'
'OK
''AT+CGSN'
'359741014565960,DR2983J0V6
'
'
'
'OK
''AT_OPSYS=3,2'
'OK
'(1, 'OK')'AT+csq'
'+CSQ: 17,99
'
'
'
'OK
''AT+cgreg?'
'+CGREG: 1,1
'
'
'
'OK
''AT+COPS?'
'+COPS: 1,0,"T-Mobile D",2
'
'
'
'OK
'end of pre
'AT_OPSYS?'
'_OPSYS: 3,2
'
'
'
'OK
'Sending ->AT_OWCTI?
Sending ->AT+CSQ
Sending ->AT+CGREG?
Sending ->AT+cops?
Sending ->AT_OWCTI?

Clicked Connect'AT+CGDCONT=1,"IP", "internet.t-mobile"'
'OK
''AT$QCPDPP=1,1,"egal","egal"'
'OK
''AT_OWANCALL=1,1,1'
'OK
[b]''_OSIGQ: 17,0''AT_OWANDATA=1'
'ERROR
''AT_OWANDATA=1'
'ERROR
[/b]
''AT_OWANDATA=1'
'_OWANDATA: 1, 172.23.148.103, 0.0.0.0, 193.254.160.1, 193.254.160.130, 0.0.0.0, 0.0.0.0, 72000
'
'
'
'
'


By the way, somehow this forum software doesn't like the out put of the debug window.
First there were nearly no linebreaks, then the following lines did not display until i added lots of spaces:
======connected======

Sending ->AT_OHCIP






Any idea what went wrong with my icon 225?

Thanks,
Jan


Last edited by janmartin on Fri Oct 24, 2008 2:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
janmartin



Joined: 24 Oct 2008
Posts: 4

germany.gif
PostPosted: Fri Oct 24, 2008 11:29 am    Post subject: Reply with quote

Ok, the code is messed up again by forum software,
please find it as an attachment.

Jan



Debug_Window.txt
 Description:
HSOconnect Version 1.1.82 2008-05-23
Debug Window

Download
 Filename:  Debug_Window.txt
 Filesize:  1.98 KB
 Downloaded:  13 Time(s)

Back to top
View user's profile Send private message
Paul
Site Admin


Joined: 08 Oct 2004
Posts: 510
Location: UK and Belgium

uk.gif
PostPosted: Fri Oct 24, 2008 1:40 pm    Post subject: Reply with quote

janmartin wrote:
Ok, the code is messed up again by forum software,
please find it as an attachment.

Jan


The ERROR report is normal - the link is just not ready until the third attempt - then you get the correct data.

So everything is working - you have a dataconnection except no data flows. Do you have hsolinkcontrol installed? This package is required...

If hsolinkcontrol is installed what is the output from the following command
ls -al `which hsolinkcontrol`


You can also run HSOconnect from the command line:

python -m hsoc

This will show more debug info on the command line.

Cheers,
Paul
Back to top
View user's profile Send private message Visit poster's website
janmartin



Joined: 24 Oct 2008
Posts: 4

germany.gif
PostPosted: Fri Oct 24, 2008 2:56 pm    Post subject: Reply with quote

Thanks Paul,

that did it.

However now my Acer Aspire 5633 WLMi Notebook freezes form time to time. Needs restart.
Way to often to surf this way.

Any idea?
are there updated versions available?

I am running these at the moment:
hsoconnect-py2.5_1.1.83_all.deb
hsolink_1.0.46-1_i386.deb
ozerocdoff as provided by you. (Recompiled)

Thanks,
Jan

Update
Updated from 1.2 to 1.6:
hso-1.6.tar.gz (Recompiled)
Testing new version right now.

Any test to do, any logs to post?
Back to top
View user's profile Send private message
janmartin



Joined: 24 Oct 2008
Posts: 4

germany.gif
PostPosted: Fri Oct 24, 2008 4:46 pm    Post subject: HSO on Asus Eee PC 901 running Ubuntu-eee 8.04.1 Reply with quote

OK,

so I became a bit adventurous and copied the attached files over to my Asus Eee PC 901 running Ubuntu-eee 8.04.1.

Recompiled the two .tar.gz ones (As root: make && make install) and installed the other two by double clicking.

Rebooted.
Started HSOconnect using sudo python -m hsoc
In Preferences set APN to internet.t-mobile
Entered anything as Username and Password.

And it worked!
However its buggy.
Any way to make the connection without actually using HSOconnect, which seems to use a lot of resources on this tiny netbook?

E.g. connect.sh up from other (non-working) solutions?

Thanks,
Jan



4-files_for_HSO.tar.gz
 Description:
hso-1.6.tar.gz
udev.tar.gz
hsoconnect-py2.5_1.1.83_all.deb
hsolink_1.0.46-1_i386.deb

Download
 Filename:  4-files_for_HSO.tar.gz
 Filesize:  139.12 KB
 Downloaded:  19 Time(s)

Back to top
View user's profile Send private message
Paul
Site Admin


Joined: 08 Oct 2004
Posts: 510
Location: UK and Belgium

uk.gif
PostPosted: Sat Oct 25, 2008 5:09 pm    Post subject: Reply with quote

It is good to hear of your success Smile
I am sure connect.sh will work if you configure it correctly.

What is the specification of you eeePC? Is HSOconnect actually causing a problem with resources - is affecting perfomance? You can always configure the UI not use graphics or more optimized images. Look in the profile configurations for more info. This will reduce the memory allocated but I am not sure by how much.

Cheers,
Paul
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    PHARscape Forum Index -> HSOconnect All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


phpBB component by Adam van Dongen. Based on phpBB © 2001, 2002 phpBB Group
spacer

 
Copyright 2000 - 2005 Miro International Pty Ltd. All rights reserved.
Mambo is Free Software released under the GNU/GPL License.
spacer