Tag Archives: usb

Enable USB ports For VirtualBox

For Mandriva 2009.1 – 2010.0 :

# adduser vboxusers foo
# cat /etc/group | grep vboxusers
# mkdir /vbusbf

add to /etc/fstab

none /vbusbf usbfs rw,devgid=501,devmode=664 0 0 #devgid is the output id number for vboxusers
# mount -a

For mandriva 2009.0 :

edit /etc/rc.sysinit

if [ ! -d /proc/bus/usb ]; then
 modprobe usbcore >/dev/null 2>&1 && mount -n -t usbfs /proc/bus/usb /proc/bus/usb -o devgid=501,devmode=664
else
 mount -n -t usbfs /proc/bus/usb /proc/bus/usb -o devgid=501,devmode=664
fi

note: devgid is the output id number for vboxusers.

Restart

Advertisements

Huawei USB Modem e220 on linux

To use this modem on linux (it has no support under linux :s) you should install this:  (I have tested this on mandriva 2009.0)

# urpmi wvdial

then connect the usb modem and

# wvdialconf

next, go to /etc/wvdial.conf and put this: (for movistar colombia)

[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 9600
Modem Type = USB Modem
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 S10=45 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","internet.movistar.com.co"
Stupid Mode = 1
Dial Command = ATDT
Phone = *99***1#
Username = movistar
Password = movistar
Ask Password = 0
ISDN = 0

Then,

# wvdial &

done!