I found this link quite useful.
Thursday, 6 June 2013
Friday, 29 March 2013
Huawei E3131 Modem on Ubuntu 10.04
Hello, am using an E3131 Huawei usb modem. I installed the mod-switch as advised. I ran
$ lsusb | grep 12d1
I get the output below
Bus 002 Device 005: ID 12d1:14fe Huawei Technologies Co., Ltd.
$ lsusb | grep 12d1
I get the output below
Bus 002 Device 005: ID 12d1:14fe Huawei Technologies Co., Ltd.
here is the list files in
$ ls /etc/udev/rules.d/
15-huawei-155x.rules
31-huawei-e3131.rules
$ ls /etc/udev/rules.d/
15-huawei-155x.rules
31-huawei-e3131.rules
Content of 15-huawei-155x.rules
———————————————————————————————————-
SUBSYSTEM==”usb”,
ATTRS{idProduct}==”14fe”,
ATTRS{idVendor}==”12d1″,
RUN+=”/lib/udev/modem-modeswitch –vendor 0x$attr{idVendor} –product 0x$attr{idProduct} –type option-zerocd”
———————————————————————————————————
———————————————————————————————————-
SUBSYSTEM==”usb”,
ATTRS{idProduct}==”14fe”,
ATTRS{idVendor}==”12d1″,
RUN+=”/lib/udev/modem-modeswitch –vendor 0x$attr{idVendor} –product 0x$attr{idProduct} –type option-zerocd”
———————————————————————————————————
Content of 31-huawei-e3131.rules
—————————————————————————
ACTION!=”add”, GOTO=”huawei_zerocd_end”
—————————————————————————
ACTION!=”add”, GOTO=”huawei_zerocd_end”
SUBSYSTEM==”usb”, ATTR{bDeviceClass}!=”ff” ,ENV{DEVTYPE}==”usb_device”, GOTO=”huawei_zerocd_disable”
SUBSYSTEM==”scsi”, ENV{DEVTYPE}==”scsi_device”, GOTO=”huawei_zerocd_disable”
GOTO=”huawei_zerocd_end”
SUBSYSTEM==”scsi”, ENV{DEVTYPE}==”scsi_device”, GOTO=”huawei_zerocd_disable”
GOTO=”huawei_zerocd_end”
LABEL=”huawei_zerocd_disable”
ATTRS{idVendor}==”12d1″, ATTRS{idProduct}==”14fe″, RUN+=”modem-modeswitch -v 0x%s{idVendor} -p 0x%s{idProduct} -t option-zerocd”
ATTRS{idVendor}==”12d1″, ATTRS{idProduct}==”14fe″, RUN+=”modem-modeswitch -v 0x%s{idVendor} -p 0x%s{idProduct} -t option-zerocd”
LABEL=”huawei_zerocd_end”
—————————————————————————————————
—————————————————————————————————
I started the udev service.
Unfortunately, the e3131 modem does not perform. I made configurations for the APN, but no change whatsoever.
Unfortunately, the e3131 modem does not perform. I made configurations for the APN, but no change whatsoever.
Would you possibly correct me?
Thanking you, Simon.
Thanking you, Simon.
Sunday, 20 January 2013
Running a midlet on command line interface
Thought of testing a mobile J2me app on your device before deployment? It can be done on your machine.
Make sure the wireless tool kit is installed.
Navigate to the bin directory via command line.
$ runmidlet your_midlet_name.jad
For references,
Visit http://www.electricmonk.nl/log/2008/02/14/run-mobile-midlets-on-your-pc/
Make sure the wireless tool kit is installed.
Navigate to the bin directory via command line.
$ runmidlet your_midlet_name.jad
For references,
Visit http://www.electricmonk.nl/log/2008/02/14/run-mobile-midlets-on-your-pc/
Tuesday, 13 September 2011
How to set up openxdata mobile client emulator to work with the Server-side development environment
Hi , this was inspired by the thread at openxdata developer discussion group.
I got through some steps to get the mobile client's code of the
emulator work with a server-side code in development mode.
Here are the chronicles.
1. Set up the mobile code(used 1.2.2 from the branch) as indicated on
the link https://trac.openxdata.org/wiki/MobileSetup
2. define download and upload urls as http://localhost:8888/mpsubmit
3. If using server-side code v1.2, you will want to throw the protocal
jars into the admin project . Put those jars into the folder admin/war/
protocal-jars
4. Run your mobile code through ant's tasks as outlined in the link in
step #1.
5. Run the server-side with mvn gwt:run, ofcourse from the admin
project on commandline.
Given the above steps, I pulled a list of studies on the emulator.
Don't hesitate to get back incase of any problems.
Cheers,
Simon.
I got through some steps to get the mobile client's code of the
emulator work with a server-side code in development mode.
Here are the chronicles.
1. Set up the mobile code(used 1.2.2 from the branch) as indicated on
the link https://trac.openxdata.org/wiki/MobileSetup
2. define download and upload urls as http://localhost:8888/mpsubmit
3. If using server-side code v1.2, you will want to throw the protocal
jars into the admin project . Put those jars into the folder admin/war/
protocal-jars
4. Run your mobile code through ant's tasks as outlined in the link in
step #1.
5. Run the server-side with mvn gwt:run, ofcourse from the admin
project on commandline.
Given the above steps, I pulled a list of studies on the emulator.
Don't hesitate to get back incase of any problems.
Cheers,
Simon.
Saturday, 10 September 2011
A feel of GXT
http://www.extjs.com/examples/explorer.html#overview
The link above gave me a practical exposure to the rich features of GXT. I have used them to develop an internet application.
It has beautiful code snippets.
:)
Simon.
The link above gave me a practical exposure to the rich features of GXT. I have used them to develop an internet application.
It has beautiful code snippets.
:)
Simon.
Wednesday, 31 August 2011
How can I serve ruby and php on same apache machine?
Hi, I was caught up in between issues of deploying a ruby app behind an apache server, while allowing others like PHP to continue running normally. Here is the set of steps that worked for me.
$ sudo passenger-install-apache2-module
-make a directory /var/www/mywebsites/
-throw the ruby app into /var/www/mywebsites/
eg scp -r cce /var/www/mywebsites/
-create a symbolic link to /var/www/mywebsites/cce/public
e.g ln -s /var/www/mywebsites/cce/public /var/www/cce
-Configure vHosts as follows
<VirtualHost *:80>
# Normal virtual host info
ServerName localhost
#ServerAlias *.seanbehan.com
DocumentRoot /var/www/
<Directory /var/www>
Options FollowSymLinks
AllowOverride None
Order deny,allow
allow from all
Satisfy all
</Directory>
RailsBaseURI /cce
<Directory /var/www/cce>
Options Indexes Multiviews FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
</VirtualHost>
-------------------------------
We are done. Run http://localhost/cce and the app loads seamlessly.
Have fun!
Simon.
-Ensure Phusion Passenger is installed and configured in apache.If you don't have them, run these two commands to install passenger and configure it automatically$ sudo gem install passenger
$ sudo passenger-install-apache2-module
-make a directory /var/www/mywebsites/
-throw the ruby app into /var/www/mywebsites/
eg scp -r cce /var/www/mywebsites/
-create a symbolic link to /var/www/mywebsites/cce/public
e.g ln -s /var/www/mywebsites/cce/public /var/www/cce
-Configure vHosts as follows
<VirtualHost *:80>
# Normal virtual host info
ServerName localhost
#ServerAlias *.seanbehan.com
DocumentRoot /var/www/
<Directory /var/www>
Options FollowSymLinks
AllowOverride None
Order deny,allow
allow from all
Satisfy all
</Directory>
RailsBaseURI /cce
<Directory /var/www/cce>
Options Indexes Multiviews FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
</VirtualHost>
-------------------------------
We are done. Run http://localhost/cce and the app loads seamlessly.
Have fun!
Simon.
Friday, 1 July 2011
Useful Links
http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse
Job asked me to help myself with the above link in order to get a "job" done.
Thanks,
Simon.
Job asked me to help myself with the above link in order to get a "job" done.
Thanks,
Simon.
Subscribe to:
Comments (Atom)