- Active Projects
Enable SNMP from the ESXi shell. It just needs a bit of editing and services restart:
# vi /etc/vmware/snmp.xml <config><snmpSettings><enable>true</enable><communities>public</communities><targets></targets></snmpSettings></config> # # chkconfig snmpd on # chkconfig --list snmpd snmpd on # /etc/init.d/snmpd restart
Add a device using the udc/net template to get you started
This error message from Oracle SQL Developer was bugging the crap out of me
DECLARE * ERROR at line 1: ORA-13717: Tuning Package License is needed for using this feature. ORA-06512: at "SYS.PRVT_SMGUTIL", line 52 ORA-06512: at "SYS.PRVT_SMGUTIL", line 37 ORA-06512: at "SYS.DBMS_MANAGEMENT_PACKS", line 26 ORA-06512: at "SYS.DBMS_SQLTUNE", line 651 ORA-06512: at line 4
Turns out the solution is simple
SQL> ALTER system SET CONTROL_MANAGEMENT_PACK_ACCESS='DIAGNOSTIC+TUNING';
Don't forget the grant to your user
SQL> GRANT advisor, administer SQL tuning SET,SELECT any dictionary TO &USER;
The Joggler makes an excellent UI for the HomeAutomationHub. However the xapFlash application isn't the only worthwhile Joggler app.
I'd been meaning to sort out my digital music collection for a while and recently purchased an HP Microserver to host all the files. Having pulled these into one place, the next thing to think about was howto play the music. A while back, I looked at the Logitech SqueezeServer - a software indexer and media content server. This is freely available (Logitech no longer manufacture 'player' devices) and seems to have a decent range of third-party players.
In particular, there is a port of the Logitech SqueezePlay available for the Joggler. SqueezePlay is designed to work with a SqueezeServer. The folks at BirdsLikeWires have done a lot of work on this Player port.
The install is straightforward - good instructions on this at the above link. Once installed, you have a new icon on the Joggler desktop.
Next thing to do is to create yourself an account at mysqueezebox.com - this allows online management of all of your players.
Then, on the Joggler, fire up SqueezePlay & enter the details of your new account via the Settings/Registration and Settings/mysqueezebox page. Now the fun starts …
You can access your music library in a variety of ways. I was especially keen to be able to use my android phone as a 'remote control'. The 'Logitech SqueezeBox Controller' app is freely available from the Google Play store. It works really well.
Next, I wanted to have a 'Player' on my Android phone (so I could wear a headset and wander around). There is a 'paid for' app that does the job well - it goes by the name of SqueezePlayer. This installed and worked seamlessly. With a bit of dyndns type work, I could access my media library via 3G as well as WiFi.
A really neat feature is the ability to 'synchronise' a number of players. The synchronise facility isn't available on all Players (as it needs specific capabilities on the target platform) but it IS implemented on the Joggler. From the 'settings' menu, select 'sync' to see a list of other players. Select the players that you want to sync with. It works surprisingly well … no sign of any delay between the players (even the slightest delay can be most annoying). Any player (or controller) can control all 'synced' players - plenty of possibility for whole house audio here.
You need a video cable for this as it requires a bios tweak
A couple of things I had to do. Disable Network Manager (NM) controlling the interface.
UUID="b65270ab-2b79-473d-8dce-942908383ff2" NM_CONTROLLED="no" BOOTPROTO="static" DEVICE="eth0" ONBOOT="yes" IPADDR=192.168.1.20 GATEWAY=192.168.1.1 NETMASK=255.255.255.0
To resolve the slow disk startup issue required tweaking a BIOS setting. You'll need video cable http://www.mediasmartserver.net/forums/viewtopic.php?f=6&t=8066 just the bare minimum VGA only will do as keyboard/mouse on USB are fine.
The video switches to a small font I prefer to see the BIOS font and all the startup messages - /etc/sysconfig/grub
GRUB_CMDLINE_LINUX="rd.md=0 rd.dm=0 KEYTABLE=us SYSFONT=True rd.lvm.lv=vg/lv_root rd.luks=0 rd.lvm.lv=vg/lv_swap LANG=en_US.UTF-8" GRUB_TERMINAL="console"
4x 1Tb drives online.
[root@cheese sysconfig]# df -h Filesystem Size Used Avail Use% Mounted on rootfs 50G 1.7G 46G 4% / devtmpfs 930M 0 930M 0% /dev tmpfs 939M 0 939M 0% /dev/shm tmpfs 939M 1.1M 938M 1% /run /dev/mapper/vg-lv_root 50G 1.7G 46G 4% / tmpfs 939M 0 939M 0% /sys/fs/cgroup tmpfs 939M 0 939M 0% /media /dev/sda1 485M 66M 394M 15% /boot /dev/mapper/vg-lv_home 864G 762G 94G 90% /u01 /dev/sdb1 917G 200M 908G 1% /u02 /dev/sdc1 917G 200M 908G 1% /u03 /dev/sdd1 917G 105G 803G 12% /u04
Same old boring processor. I never bothered upgrading this.
[root@cheese ~]# cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 79 model name : AMD Sempron(tm) Processor 3400+ stepping : 2 microcode : 0x62 cpu MHz : 1000.000 cache size : 256 KB fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow up rep_good nopl extd_apicid pni cx16 lahf_lm extapic cr8_legacy bogomips : 1999.88 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp tm stc
The ethernet NIC is working just fine at 1000Mbps
[ 7.024358] sis190: sis190 Gigabit Ethernet driver 1.4 loaded [ 7.024551] sis190 0000:00:04.0: setting latency timer to 64 [ 7.024576] sis190: 0000:00:04.0: Read MAC address from EEPROM [ 7.042027] sis190: 0000:00:04.0: Atheros PHY transceiver at address 0 [ 7.178369] sis190 0000:00:04.0: eth0: 0000:00:04.0: SiS 191 PCI Gigabit Ethernet adapter at ffffc9000035c000 (IRQ : 19), 00:0a:e4:86:6b:83 [ 7.178554] sis190 0000:00:04.0: eth0: RGMII mode. [ 7.178660] sis190 0000:00:04.0: eth0: Enabling Auto-negotiation [ 18.728031] sis190 0000:00:04.0: eth0: mii ext = 0000 [ 18.734019] sis190 0000:00:04.0: eth0: mii lpa=c1e1 adv=01e1 exp=000f [ 18.738022] sis190 0000:00:04.0: eth0: link on 1000 Mbps Full Duplex mode
File transfers are significantly faster than when it was running Windows - I can sustain ~83 MB/s on a 40Gb file.
This details our work with the Sweex LB000021 router. Hardware mods to allow an external USB pen to be fitted and the firmware to allow Linux to boot from this.
The unit has 2Mb of Flash ROM, a whopping 16Mb of RAM and 5 RJ45 ports. There is a (TTL level, with no external connector) serial port and a bootstrap loader that allows images to be loaded to the flash ROM via the XModem protocol.
Adding the USB port is a tricky job. The PCB on the router uses surface mount parts, and soldering to the empty pads is not easy. A good tip is to use a fibreglass pen to clean each pad before attempting to solder. A desoldering station can be used to clear out the PTHs for the Xtal, Caps and IDC8 connector.
Rewiring details and pics can be seen here.
Here is a suggested order of wiring.
Working from the edge of the board in, the USB cable colours are red,white,green,black. Fit the 22R resistors in series with the USB data lines inside the USB hub.
ADM5120 routers has a serial/console port. On the PCB of the router there is a 8 pin connector called jp2. Here are the pins located for a serial console port (115 kBaud, 8 databits, no parity, 1 stopbit)
jp2 2-o o o o-8 1-o o o o-7 1 - Rx 2 - +3.3V 3 - nc 4 - nc (hardware hack: connect to pin #130 ADM5120 - Rx second UART) 5 - nc (hardware hack: connect to pin #131 ADM5120 - Tx second UART) 6 - nc 7 - Tx 8 - Gnd
http://www.linux-mips.org/wiki/Adm5120 - ADM5120 Chip info
http://sprite.student.utwente.nl/~jeroen/projects/lb000021/usb_tutorial/ - Adding the USB parts tutorial
http://vlad.org.ua/adm5120/ - Russian site with lots of info
http://www.norocketscience.com/router/upgrade.htm - Details of the firmware headers etc.
Copied from Google cache of a blog … kernel hack for bridge operation sweex_bridge.rtf
Since the hacked Sweex exposes an RS232 port, it seemed logical to add some I/O expansion capability. A little AVR microcontroller board, with a simple command interpreter can do the job. Since the hacked router uses a Max232, we need another Max232 to bring the levels back down to TTL again. So, the expansion board will have an AVR 2313, a Max232 connectors for I/O pins and RS232. Power can be leeched from the 7805 on the hacked Sweex.
A few lines of Bascom will implement the command interpreter.
Dioioioio - set port directions (i)nput or (o)utput
R - read port bits returning 01010101
W01010101 - write port bits
Using Greg Smiths TCPKIT port the PC based portion of this project the TCPGATE software to the sweex box this would recreate the functionality that the CyWig was suppose to perform.
A cybiko permenently wired to the Sweex RS232 port would act as an IP gateway so that any cybiko in range could access the internet or anything IP based.
Boot sequence from Sweex box
ADM5120 Boot: Linux Loader Menu ==================== (a) Download vmlinuz to flash ... (b) Download vmlinuz to sdram (for debug) ... (c) Exit Please enter your key :
Pressing the space bar three times will jump to the linux loader menu and not automatically boot the device.
Upgrade of the flash using option **a*
Linux Loader Menu ==================== (a) Download vmlinuz to flash ... (b) Download vmlinuz to sdram (for debug) ... (c) Exit Please enter your key : a Downloading.........PASS Eraseing nor flash.......PASS Programming nor flash...PASS
If you compile the kernel with the -mip3 flag on gcc the kernel will fail to boot.
linux-lanner/arch/mips/Makefile: ifdef CONFIG_CPU_MIPS32 # BME #GCCFLAGS += -march=r4600 -mips3 -Wa,--trap GCCFLAGS += -march=r4600 -mips2 -Wa,--trap endif