Tag Archives | Terminal

OSX – Brew Commands

Install Homebrew ruby -e “$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)” Show available versions available for install: brew versions [formula] Install/Switch to a different version: brew switch [formula] [version] Stop using a version brew unlink [formula]

Continue Reading 0

Misc useful OSX commands

Remove the “Last login” message from the Terminal touch .hushlogin Enable/Disable Firewall defaults write /Library/Preferences/com.apple.alf globalstate -int 1 0 = off 1 = on for specific services 2 = on for essential services   launchctl load -w /System/Library/LaunchDaemons/ssh.plist launchctl unload -w /System/Library/LaunchDaemons/ssh.plist launchctl list | grep ssh

Continue Reading 0

Change the speed and duplex settings of an Ethernet card

# apt-get install ethtool net-tools # ethtool eth0 or # mii-tool eth0 add a pre-up line to /etc/network/interfaces. Something like this: iface eth0 inet static pre-up /usr/sbin/ethtool -s eth0 speed 1000 duplex full autoneg off address … OR Debian init script: # sudo vi /etc/init.d/100Mbs #!/bin/sh ETHTOOL=”/usr/sbin/ethtool” DEV=”eth0″ SPEED=”100 duplex full” case “$1” in start) […]

Continue Reading 0

HUAWEI Disable CDRom Mode

disable/revive flashdrive The integrated flashdrive can be disabled by executing the following AT-command: at^u2diag=256 If your modem answers ERROR, instead you can use command: at^u2diag=0 Unfortunately this command will also disable the microSD-drive. To revive the flashdrive and the microSD-drive execute: at^u2diag=255 Tested to work on: E160, E1552

Continue Reading 0

Powered by recycled bites and bytes.