Sunday, 18 March 2012

OpenSUSE NetworkManager doesn't switch on

NetworkManager cannot switch on WiFi interface. The switch jumps back to "off" immediately.

But the WiFi is actually working fine manually with wpa_supplicant followed by "dhcpcd wlan0".

Turned out the solution is to:
  • add "blacklist acer-wmi" to /etc/modprobe.d/50-blacklist.conf
  • reboot

Then the NetworkManager works perfectly.

Saturday, 17 March 2012

Remote access to OpenSUSE

ssh

  • enable sshd with Runlevel
  • allow it with Firewall
Samba
  • Allow Samba Server, Client and Netbios with Firewall
  • Configure Samba Server:
    • Start at Boot time
    • Open port in Firewall
    • Allow Users to Share Their Directories
    • Default workgroup: WORKGROUP
    • Not a Domain Controller
  • Add current user to Users group
  • command line: 
    • sudo smbpasswd -a [user]
    • give password
  • e.g. connect from Mac, in Finder, Ctrl+K, smb://[ip]

Video upside down/inverted in Skype, Cheese

libv4l allows controlling the orientation of the image.

The solution is to set the control of the image orientation and load up libv4l for Cheese or Skype.
#!/bin/bash  
export LIBV4LCONTROL_FLAGS=2 
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/cheese
2 flips the image horizontally and 3 flips both vertically and horizontally.