13 Apr
Here’s the setup: you have a computer which has a SD port (small memory cards, mostly used in cameras, phones, etc.). You want to get all of your photos from that card automatically as soon as you insert your card (may be a USB key as well), that is, run a script which will search for all of your photos, and copy them to a local directory.
Continue reading “How to automatically run a script after inserting a USB device on Ubuntu?” »
18 Jun
OK, we now have to configure the network. The goal is to be able to connect to our access point, where we’ll get information to connect to our “sound server” (I call it like that because I’ve still not decided between using mpd+mpc+samba or some more direct access like the use of esd).
We’ll set the wifi interface as a client for a remote access point. We’ll keep the WAN interface with a static ip (here, 192.168.1.1)
Please note, that changing the configuration will make the remote network access as previously used unusable. The only secure access is still through the serial console.
First, edit the file /etc/config/network:
And then the file /etc/config/wireless:
If your access point has some encryption, like WEP, do this instead of the wifi-iface block:
You can take a look at the different available options on this documentation. If all is well, you should have an ip address on your br-lan interface (your WHGT634U hub port is bridged with the wifi interface).
Next part will be the most interesting :-) I think I’ll try all the different methods to implement an automatic player daemon. Direct methods, and indirect methods, using a share fielsystem like CIFS.
Jkx@Home’s article explaining another use of WGT634U
10 Jun
Before the 7.06 stable version of OpenWRT there were many problems for making USB audio working on this exceptional router (the only one I know with a USB port). Problems with kernel version 2.4/2.6, problems with alsa, problems with USB not working (usb2), etc. Take a look at the forums, and see all horrible, painful modifications/patches you needed to apply to make it working.
I have to say that the OpenWRT developers/contributors (and the forum members) did a wonderful job and corrected every known problems. So with this version, the installation is really straightforward!
Please read the following to get all the details.
Continue reading “HOWTO Installation of OpenWRT on a WGT634U usb router” »
Search engine optimization by SEO Design Solutions
Recent Comments