Posts tagged with: working

[SOLVED] Huawei Mobile Broadband E1550 not working/switching to modem mode on Ubuntu 16.04

I have a 3G dongle, Huawei E1550. But I cannot change the mode from DISK to Modem mode. I just searched through the internet and with multiple places and help I found a way to switch mode and device is working perfectly. I create a new Mobile Broadband connection from the network connection and filled up the details of my mobile broadband provider.

After that I inserted the USB Modem and checked with the lsusb in the terminal. And one of the response was following:

Note the bold figures above. 12d1 and 1446 is what we need to make the modem switch perfectly. But first we need to install the modeswitch by following command[May be installed on other OS with similar command]:

After the installation, you need to run to switch the dongle to modem mode by following command. *NOTE* Do not forget to change the number 12d1 and 1446 to your number from the lsusb

Wait for few seconds and try lsusb in the terminal.  And you will find the device disappeared and wait for some more time. If it didn’t disappear, you may need to try one more try. Personally doing that 2 times worked for me. And the terminal output became:

Note: this may work for any other USB dongle that is not switching from one mode to another



[SOLVED][HOWTO][DOWNLOAD] Perfectly working copy of phpwebsocket

Hi,

phpwebsocket(websocket.class.php) is a HTML5 WebSocket server that enables user to directly connect to the socket from the browser. It is specially designed for the PHP server as the script is a PHP script and client can be any website with a browser. I was just having some research on it and got loads of error. Different errors I got are:

1) First I got the error as the client(My browser) could not connect to the server because of handshaking thing. And I sorted the reason that the newer version of Browser have only one Secret key sent to the server so, I removed two keys and only implemented 1 key. Then I got the key to $key. As from the wiki, the returning secret “Sec-WebSocket-Accept” was the sha1($key.”258EAFA5-E914-47DA-95CA-C5AB0DC85B11″) and base64 encode of it. Its a “.(dot)” not the “,(comma)”. And returned by writing to the socket as socket_write.

2) Next my brain couldn’t worked when the message received was just unwanted. And I searched all along and was messed up with some framing thing. I was lazy finding that. So, I just copied from some source for some kind of decryption thing.

3) Similarly, I did something for sending the message by the encryption thing. And I finally made the class work.

I will be happy to share my part of work and hope it will work on your system. You can copy and do anything with the code. You can research on each function changes that I have done.

Download the code from here


[SOLVED] Mouse pad not working in Ubuntu on power plugged in

Well, my brother had a laptop of HP(forgot the model). He had Ubuntu 11.04 Natty Narwhal and Windows 7 installed. When ever he used to plug in his power cable, the mouse pad on his laptop stopped working. After the power cable is pulled off, there was no problem regarding such disability. We tested the command:

dmesg

And saw the device record, but nothing seems that Ubuntu got the problem. But in windows, we got no problem. Then we tested the power supply on the charger and found that the Ubuntu need sufficient amount of power that couldn’t be provided by the charger.

Also, we tested the PC with my HP charger, and found that it was working fine. So, you may say what’s the point that it was solved. But I am waring you about the change time of your charger. Or just use the windows and be a dumb.