Chơi CD nhạc với xmms
* Tạo (điều chỉnh) một mục trong fstab cho tương tự /dev/cdrom /media/cdrom auto unhide,ro,noauto,user,exec 0 0
* Đặt đĩa CD vào ổ đĩa
* Nhấp chuột phải trên xmms, chọn Play Directory
* Chọn /media/cdrom (trong trường hợp này)
* Nếu
$ls /media/cdrom -al
lrwxrwxrwx 1 root root 13 2004-11-17 13:35 /media/cdrom -> /media/cdrom0
có thể cần tạo thư mục /media/cdrom0 nếu chưa có.
Friday, December 14, 2007
Monday, July 02, 2007
Installing usb wireless card on Debian Lenny
1/ CNet CWD-854 Dongle, P/N: 18-1HGWD85CH.
- Install the packages kernel-headers, wireless-tools.
- Go to
- May need to blacklist the RT73 driver available to the distro (?):
- Extract
- Run
-
-
- run
- create a script called wlanz, for example:
chmod +x; then run it.
See
The above settings can be put in
To list available networks:
2/ Linksys WUSB54G:
- similar to the above
- using rt2570 chipset
- the interface named rausb0
Note: D-Link DWL-G122: rev B - chipset rt2570; rev C - chipset rt73.
Ref:
- http://ralink.rapla.net/ Ralink chipsets based wireless devices
- http://rt2x00.serialmonkey.com/wiki/index.php/Hardware
- http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,list_c-f/
- Install the packages kernel-headers, wireless-tools.
- Go to
http://rt2x00.serialmonkey.com/wiki/index.php/Downloads
and download the file rt73-cvs-daily.tar.gz
.- May need to blacklist the RT73 driver available to the distro (?):
echo "blacklist rt73usb" >> /etc/modprobe.d/blacklist
- Extract
rt73-cvs-daily.tar.gz
, go to its Module/
directory, run make
and make install
.- Run
vi /etc/modules
and at the end of the file, add rt73
in a new line.-
ls /etc/modprobe.d/ | grep rt73
to check if rt73
file exists, if not, touch rt73
and echo "alias rausb0 rt73" >> /etc/modprobe.d/rt73
-
rm /etc/modprobe.conf
as it is not necessary.- run
iwconfig
to check the recognized name of the device.- create a script called wlanz, for example:
#!/bin/sh
ifconfig wlan0 down
ifconfig wlan0 up
iwconfig wlan0 mode Managed
iwconfig wlan0 key XXXX-XXXX-XX
iwconfig wlan0 essid "My ESSID"
dhclient wlan0
chmod +x; then run it.
See
Module/iwpriv_usage.txt
in the driver package for information on other types of encryption and settings.The above settings can be put in
/etc/network/interfaces
(restart the interfaces: /etc/init.d/networking restart
):
auto wlan0
iface wlan0 inet dhcp
ifconfig wlan0 down
ifconfig wlan0 up
iwconfig wlan0 mode Managed
iwconfig wlan0 key XXXX-XXXX-XX
iwconfig wlan0 essid "My ESSID"
To list available networks:
iwlist wlan0 scanning
.2/ Linksys WUSB54G:
- similar to the above
- using rt2570 chipset
- the interface named rausb0
Note: D-Link DWL-G122: rev B - chipset rt2570; rev C - chipset rt73.
Ref:
- http://ralink.rapla.net/ Ralink chipsets based wireless devices
- http://rt2x00.serialmonkey.com/wiki/index.php/Hardware
- http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,list_c-f/
Subscribe to:
Posts (Atom)