Linuxtag 4-Day Tickets

June 3rd, 2010 Gabriel Stein No comments

Hello!

I have two 4-Day Tickets to LinuxTag. If someone like to go, please make your comment with email address.

Ich habe 4-Day Tickets für LinuxTag. Wenn jemand gerne gehen, Sie bitte einen Kommentar mit E-Mail-Adresse machen.

Categories: Uncategorized Tags:

Patching regedit remotely

May 13th, 2010 Gabriel Stein No comments

Sorry for an MS post. But I challenge who NEVER worked with windows clients and servers.

Well, this post its about WSUS and “How to change remotely Regedit from Clients”. This is an neeeded step to networks which don’t use Windows Update and have a local server with all updates to local clients. We need to change the regedit from clients to make a link between clients and the local updates server WSUS.

We need first Pstools.

After, we need and script to execute a command remotely: Psexec. This command comes with Pstools. We will use a for to read a file, line by line and apply the regedit keys.

Create a file with clients names, just a client per line. And I put an errorfile in the end, to check some running problems.

@Echo Off
for /f %%a in (file_with_clients_names.txt) do (psexec \\%%a -u DOMAIN\USER-p -e cmd.exe /c “reg import \\UNC_PATH.reg”) 2> errorlog.txt

Cool? Please test first before execute!! Any feedback, comments.

Categories: Hints Tags: , ,

Problems with Grub?

May 12th, 2010 Gabriel Stein No comments

Well, I posted a tutorial about clones, and who never forget some steps making a clone? After the end of the cloning process, grub just say “no way” for you. Important: just for cases which grub its installed on MBR.

There are many websites talking about specific errors, but I will give some hints which helped me sometimes.

Frequent Error: its the “Error 2″ on the stage 1.5 of grub loading.  When this error occurs, please check your HDD configuration on FSTAB and MTAB. Normally when we change some old machines which use PATA HDDs to new SATA HDDs, Grub get confused with these devices. After check FSTAB(/etc/fstab) and MTAB(/etc/mtab) after a successful clone process, please pay attention on file device.map, usually at /boot/grub.

If you can’t find it, run grub-install with the option –recheck:

grub-install –recheck /dev/sda

When you execute this command and receive an error with device “hdaxx”, you have to check the configurations on /etc/fstab and /etc/mtab.

Its something simple and appears stupid, but when you are restarting your Linux studies, you lost few hours until discover this kind of problem.

Some links about Grub:

Grub Error Messages

Errors reported by the Stage 2

Solving problems with Grub

Categories: Hints Tags: , , , ,

Clone with Netcat.

May 11th, 2010 Gabriel Stein No comments

I found an excellent tutorial like a “Howto” to work with NetCat and make clones of HDDs(same size). This tutorial really works, I tested and its on my bookmarks since few days ago.

OS Clonning with NetCat.


Categories: Hints Tags: , , ,

And I’m still here.

May 10th, 2010 Gabriel Stein 2 comments

After 4 months without posts, I’m back. I had been busy, because last December I moved to Germany and my  adaptation was so long as I could imagine.

Unfortunately my English its not getting better, because I’m studying a lot of German – and yes, now I can speak Denglish :( and my priority now isn’t study English. But, after 4 months I saw few comments to be approved, and I got some motivation to write about Linux and a bit of Programming too.

And yes working more with Linux, burning my brain with some concepts which I lost after years and years using Linux only as Desktop and small jobs. I have a lot to study! A lot of things to remember, its not big deal or some amazing hacking, but maybe the blog will help me to remember.

Of course, if I have time I will put some materials using German, to help more IT people whom are trying to learn this amazing language to have a chance to work.

As long I can, I will post some articles, and its a little chance which I have to study a bit of English and help someone. If WordPress don’t disturb me with the vocabulary “red lines” at least I’m not so wrong, there are some grammatical problems to resolve, I know.

Categories: News Tags: , , ,

How to make Webcam C3Tech work with openSUSE 11.2

December 11th, 2009 Gabriel Stein No comments

I bought a cheap webcam called C3Tech to talk with my family. But, when I installed openSUSE 11.2, I can’t work with that. Solution? Use Video4Linux to solve this.

Some data about webcam:

## lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 004: ID 093a:2620 Pixart Imaging, Inc.
Bus 005 Device 003: ID 15d9:0a4c Unknown
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 0b97:7761 O2 Micro, Inc. Oz776 1.1 Hub
Bus 007 Device 003: ID 0b97:7772 O2 Micro, Inc. OZ776 CCID Smartcard Reader

## lspic

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory
Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile
GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960
Integrated Graphics Controller (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB
UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB
UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2
EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express
Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express
Port 2 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express
Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB
UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB
UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB
UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2
EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface
Controller (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E)
IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E)
SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
03:01.0 CardBus bridge: O2 Micro, Inc. Cardbus bridge (rev 21)
03:01.4 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
09:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5755M
Gigabit Ethernet PCI Express (rev 02)
0c:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)

## dmesg when I put the webcam on the usb port.

[  171.660349] usb 5-1: new full speed USB device using uhci_hcd and address 4
[  171.882653] usb 5-1: New USB device found, idVendor=093a, idProduct=2620
[  171.882680] usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[  171.882929] usb 5-1: configuration #1 chosen from 1 choice
[  171.884721] gspca: probing 093a:2620
[  171.889868] gspca: video0 created
[  171.890186] gspca: probing 093a:2620
[  171.890201] gspca: intf != 0

And now we will install the C3tech camera.

1 – First, add we  add webcam repo on YaST.

2 – Search for v4l libs and devel and install it. Install linux development packages also(make, gcc, bison..) Install mercurial also.

3 – Clone the last version of V4Linux drivers to your desktop, using hg.

hg clone http://linuxtv.org/hg/v4l-dvb

4 – Enter on v4l-dvb directory and compile the source.

cd v4l-dvb
make && make install

5 – If you have errors, please check linux development packages, we will need it to compile using make.

6 – Ready! Now we will use LD_PRELOAD prefix to run some camera programs, like skype and cheese.

To skype, you can try a shell-script(create a file using your prefered text editor, add the content below and add basic permissions to execute):

#!/bin/bash
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

To cheese, the same stuff, just change the program name in the end of PREFIX line.

#!/bin/bash
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so cheese.

And now, you can use skype and cheese with v4libs.
ALL THANKS TO DOUGSLAND. HIS WORK TO V4L IS GREAT.

Categories: Hints, openSUSE Tags: , , ,

openSUSE 11.2 Milestone 7 – Testing YaST2 and sharing

September 14th, 2009 Gabriel Stein No comments
New YaST logo?

Now, we will test YaST and sharing. Another superficial test: How a user can access YaST and setup printers, keyboard and manage new packages? For example, in a company, a workstation user will need share files… and where is this option? YaST is the answer!

For example, YasT new look

. yast

Comment: I found the same YasT style on GNOME. And I like it! All options, concerning Software, Hardware, System.. as part of a list, and when you click in the left menu, YaST just adjust focus to the section. But, If I want to use a option for the last section, I just use the scroll and have fun! For search a specific module, just use the field Search and will be fine too!

Sharing Files with a Samba Server

samba

Comment: Like previous versions of Samba Server administration of YaST2, just click on the module in the section Network Services. YaST2 will ask to install samba server and samba client. After, few dialogs screens to define WORKGROUP and some share… and voilá! Is there an easier way to install Samba using only graphical screen and setup it?


Categories: Hints, News, openSUSE Tags:

openSUSE 11.2 Milestone 7 – Testing Desktop Applications

September 13th, 2009 Gabriel Stein 4 comments

My first test was: How to simple install a linux desktop system, and use a workstation, with internet browser, email, IM,openoffice, widgets.. I did the automated install with KDE, follwing all already selected patterns in the installation process.

Its just a superficial review. Looking for news, updates and popular software. I didn’t work  extensively with those applications, because its a initial test: Just run the application and check. I will do more extensively tests on those applications, to prevent crashes or another problems.

I changed only the package setup: installed VirtualBox Guest Additions to improve the virtual machine performance and usability.

Desktop Presentation after login – KDE 4.3.1 RC1

desktop-kde

Comment: Beautiful! Quick start and new wallpaper. Surprises! I love this!

Desktop Presentation – Menu

menu

Desktop Presentation – My Computer

mycomputer

Comment: Nothing different than older versions to me(first impression)

Desktop Presentation after login with widgets

widgets

Comment: No surprises. Widget is a feature from KDE 4. But, we have a lot of new widgets, like Remember the Milk, Twitter, Identi.ca and much more! Work and follow  some important tasks and some twitter updates from our friends. I like lancelot, which I didn’t know it!

lancelot

IM and Twitter

kopete


Comment: Lovely! I just added my gtalk account and works! Perfectly! Without additional setups. Kopete works stable, without crashes. Twitter widget have some problems with showing updates. I need to close and re-setup twitter account with more updates to show.

Kmail

kmail


Comment:  Houston, we have a problem. I didn’t find an easy way to setup for example, gmail account. To me: fail. We need an option to pre-setup gmail accounts. Isn’t a openSUSE Project problem, because Kmail works very well except popular mail account integration. Setup pop servers? SMTP Servers? To me is only acceptable when we have a company email account or another domain account than popular free mail account.

Browser – Firefox 3.5
firefox35

Comment: Runs smoothly, without problems. Perfect integration.

Openoffice

openoffice1

Comment: Work without problems. I just opened and start to write a text, without problems.
That’s all folks! As soon as possible, I will post some screenshots about sharing files with Samba and running commands from an option on the menu.
Categories: News, Review, openSUSE Tags: , , , ,

Testing – openSUSE 11.2 Milestone 7

September 12th, 2009 Gabriel Stein No comments

Few days ago I received nice news. Now I’m part of Test Core Team. I will start with some posts about my tests. The first test will be the Automated Installation, with minimum setup, using Virtualbox. The same test with a real machine, on my Macbook Black, 4GB RAM.

We have a lot to do, and I`m so glad to participate of Test Core Team. Its a great opportunity to test, give a lot of feedback and help to improve the distribution which I had been working since 1999.

Later!

Categories: News, openSUSE Tags: , , , ,

VirtualBox Guest Additions and openSUSE 11.2 M7

September 11th, 2009 Gabriel Stein 3 comments

For all  test team which started to develop tests, running openSUSE 11.2 M7 in Virtualbox:

To install Virtualbox Guest Additions…

- Using YaST >> Software Management, select the view Patterns and choose Development Packages(like gcc, make and another kernel compiling stuff) and  search for kernel-default-devel package. Install both and after run the installer *.run of Virtualbox Guest Additions.

Categories: Uncategorized Tags: