Feb
20
2017

Reboot OpenWRT

from: http://www.geekslove.it/2014/04/rebooting-openwrt-automatically-when.html

#! /bin/sh
# Checks if the wifi conn is up.  If not, it tries to restart
# the wifi.  If that fails, then reboot.
if ping -c 1 10.200.10.1 > /dev/null
then
echo nothing > /dev/null
else
/etc/init.d/network restart
sleep 30
if ping -c 10.200.10.1 > /dev/null
then
echo nothing > /dev/null
else
date >> /root/reboot.log
reboot
fi
fi
Print Friendly, PDF & Email
0
Mar
16
2015

OpenWrt build root

Install Ubuntu 14.04 Desktop

sudo apt-get install subversion build-essential libncurses5-dev zlib1g-dev gawk git ccache gettext libssl-dev xsltproc zip

clone from trunk

git clone git://git.openwrt.org/openwrt.git
 cd ~/openwrt
./scripts/feeds update -a
./scripts/feeds install -a
make prereq
make menuconfig
make

Enable Channel 12/13 (echo “CONFIG_ATH_USER_REGD=y” >> .config)
In menuconfig press « / » and type « REGD ». This will search all the menu items and display the path to reach it.
ATH_USER_REGD is a little buried. Editing .config is not recommended because some options have dependencies on other options.

Print Friendly, PDF & Email
0
Mar
27
2014

Car crash

0
Feb
24
2014

ESXi 5.1 to 5.5 – shell

~ # VMware -l
~ # vim-cmd hostsvc/maintenance_mode_enter
~ # esxcli software vib list
~ # esxcli software vib install -f -v file:/tmp/aacraid/vmware-esxi-drivers-scsi-aacraid-550.5.2.1.40301.-1.5.5.1331820.x86_64.vib
~ # esxcli network firewall ruleset set -e true -r httpClient
~ # esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-5.5.0-1331820-standard
~ # tail -f /var/log/esxupdate.log
~ # reboot
~ # vim-cmd hostsvc/maintenance_mode_exit
Print Friendly, PDF & Email
0
Feb
13
2014

RaspBMC – wireless drivers

ZyAIR G-220 802.11bg

Firmware is required to be installed for device operation:

Add a “non-free” component to /etc/apt/sources.list for your Debian version, for example:

# Debian 7 "Wheezy"
deb http://http.debian.net/debian/ wheezy main contrib non-free

Update the list of available packages and install the zd1211-firmware package:

sudo apt-get update && sudo apt-get install zd1211-firmware
nmcli dev
nmcli dev wifi list

Connect the device to your system. The zd1211rw kernel module is automatically loaded for supported devices.

Configure your wireless interface as appropriate.

ISY IWL2000

lsusb
sudo update-usbids
echo 'install 8192cu /sbin/modprobe --ignore-install 8192cu; /bin/echo "050d 11f2" > /sys/bus/usb/drivers/rtl8192cu/new_id' | sudo tee /etc/modprobe.d/rtl8192cu.conf
echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="050d", ATTR{idProduct}=="11f2", RUN+="/sbin/modprobe 8192cu"' | sudo tee /etc/udev/rules.d/10-wlan-stick.rules
Print Friendly, PDF & Email
0
Sep
12
2013

ESXi 5.1u1 upate

0
Sep
12
2013

Mediaserver

Install ubuntu linux 13.04 server (LAMP + SSHd + SAMBA)

1) install Logitech Media server 

$ sudo vi /etc/apt/sources.list

deb http://debian.slimdevices.com stable main

$ sudo apt-get update
$ sudo apt-get install logitechmediaserver

2) install Plex Media Server

$ wget -c downloads.plexapp.com/plex-media-server/0.9.8.6.175-88ffbb2/plexmediaserver_0.9.8.6.175-88ffbb2_amd64.deb
$ sudo dpkg -i plexmediaserver_0.9.8.6.175-88ffbb2_amd64.deb
$ sudo apt-get install -f

3) Install Webmin

$ sudo apt-get install apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl

$ wget -c downloads.sourceforge.net/project/webadmin/webmin/1.650/webmin_1.650_all.deb?r=&ts=1370273316&use_mirror=freefr
$ sudo dpkg -i webmin_1.630_all.deb
$ sudo apt-get install -f

……

http://mediaserver:9000 – logitech mediaserver

http://mediaserver:10000 – webmin

http://mediaserver:32400/manage – plex media server

Print Friendly, PDF & Email
0
Nov
20
2012

Protected: Games

This content is password protected. To view it please enter your password below:

Print Friendly, PDF & Email
Enter your password to view comments.
Jun
27
2012

Fixing Roaming Profiles – Win Vista / Win 7

1.

Never remove or rename the currupted profile

Never remove or rename the currupted profile using command line or windows explorer.

2.

Remove user profile

http://support.microsoft.com/kb/947215/en-us

a. Click Start, right-click Computer, and then click Properties. b. Click Change settings. c. In the System Properties dialog box, click the Advanced tab. d. In the User Profiles dialog box, select the profile that you want to delete, click Delete, and then click OK.

3.

Edit regestry to check SID key profile

http://support.microsoft.com/kb/947242
http://support.microsoft.com/kb/947215/en-us

a. Locate and then expand the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
b. Right-click the SID that you want to remove, and then click Delete.

4.

Log on to the computer and create a new profile.

Print Friendly, PDF & Email
0
Feb
04
2012

VMWare Tools on ESXi

#install kernel headers so modules will work
#needed this on a 10.04 guest running in a Fusion 3 host
apt-get install linux-headers-virtual
# install kernel modules
apt-get install --no-install-recommends open-vm-dkms
# EITHER: install tools for an xorg install
apt-get install open-vm-tools
# OR: a headless install
apt-get install --no-install-recommends open-vm-tools

From: https://help.ubuntu.com/community/VMware/Tools

Print Friendly, PDF & Email
0