I have usb modem and want to play with it’s AT Command. In Ubuntu 10.04 I could access the modem easily without problem as regular user. I choose to install Centos 6 to test my modem. Centos 6 has no problem recognizing my usb modem which has PL2303 controller.
I try to use Kannel 1.4.3 which I get it from EPEL repository and successfully installed, when I try to fire up bearer box I got this
DEBUG: AT2[modem1]: detecting modem type
INFO: AT2[modem1]: opening device
ERROR: AT2[modem1]: open failed! ERRNO=13
ERROR: System error 13: Permission denied
INFO: AT2[modem1]: Closing device
As usual, googling the solution and most of resource I found was getting hardcore modification and adding user to a group. Specifically, adding regular user in uucp groups, still it doesn’t work.
I remember when I was tried to connect to the network on Debian i got same problem and the solution is
usermod -a -G dialout nurasto
Now, my regular user can use usb modem as sms gateway without problem. 😀
My PC installed with Microsoft Windows 7 and Ubuntu 10.04 and recent days I work with both platform to create some web application. I am using SVN to centralize and easier versioning. My SVN server located on one of my VM which is running on Debian Server.
The situation is I want that virtual machine are available on both OS. I was looking everywhere from google for the solution and found a solution but I don’t want to reattach VDI file on new virtual machine because UUID will regenerate and also MAC Address.
The solution is really simple and I don’t even notice that virtual box GUI already has Add features. Luckily, VirtualBox 4.1.6 already integrate virtual harddisk (VDI) and it’s machine configuration (VBOX) under same directory.
Just make sure that your virtual machine under NTFS because Ubuntu will read it easily, most Linux based OS already have the function either.
I was doing these steps to accomplish my mission:
- Mount NTFS partition where the virtual machine located
- On VirtualBox choose this menu Machine -> Add, or simply press CTRL + A
- You may meet this error Configuration error: Failed to get the “Trunk” value
- Just reattach the VDI and it will run.
That’s it. Now, I can use the machine for SVN either in Windows and Ubuntu 10.04.
update: You need to enter settings windows and press OK every time moving to each operating system in order to makes configuration adjusted.