When transfering a harddisk with Ubuntu 10.04 to another machine you’ll end up without a working network connection.
To overcome this you can do:
echo -n > /etc/udev/rules.d/70-persistent-net.rules
echo -n > /lib/udev/rules.d/75-persistent-net-generator.rules
Installing OpenVPN-GUI (openvpn-2.0.9-gui-1.0.3-install.exe in my case) on Windows 7 Pro 32Bit works as usual by running the setup process.
Although the connection will be established you won’t have any routes.
- Download setacl from http://setacl.sourceforge.net
- run setacl -on openvpnservice -ot srv -actn ace -ace “n:Benutzer;p:start_stop”
- by going to Computer/right click/maintenance/user and groups add the desired user to the group Networkconfiguration-Operators (Netwerkkonfigurations-Operatoren)
- in the .ovpn configuration file add the lines
- disable the service openvpngui via msconfig
- change the startlink for OpenVPN-GUI to be run as Administratior
Assuming you have a default installation of Apache 2 and Tomcat 5.5 running on your Ubuntu box.
Like apache on http://hiserver and Tomcat on http://hiserver:8080
Now you want to accces i.e. http://hiserver:8080/baula through apache with http://hiserver/baula
Continue reading »
Just some common pitfalls to avoid when setting up BackupPC….
- When doing a backup of a host whose data is mounted using a nfs share then you have to modify the TarClientCmd.
$sshPath -q -x -n -l root $host env LC_ALL=C $tarPath -c -v -f – -C $shareName+ –totals
env LC_ALL=C $tarPath -c -v -f – -C $shareName+ –totals
because ssh doesn’t work when accessing local directories.
- The part env LC_ALL=C is important if you work with a non english locale. Because otherwise the backup gets done but in the end BackuppPc can’t check the result.
- To avoid all sorts of access restrictions run tar as root like
env LC_ALL=C /usr/bin/sudo $tarPath -c -v -f – -C $shareName+ –totals
To make this work start visudo and add the line
backuppc ALL=NOPASSWD: /bin/tar
sudo add-apt-repository ppa:robert-ancell/simple-scan
sudo apt-get update
sudo apt-get install simple-scan
Sometimes programs aren’t used in a way the programmer knows when creating a software. I had the situation that the properties stored in the registry where system wide but I needed different settings for every user.
Well actually not really a problem. (Except if you need to use Windows 7) I located the settings in the registry exported them into a .reg file and a small .cmd batch job should append a user specific setting and start the program.
The only problem is that a line like
resulted in a new line in export.reg with CHINESE CHARACTERS !!!!
But if you take the content of the export.reg and copy it into a NEW file and save it as export.reg then everything works.
PLEASE TELL ME WHAT THE FUCK IS GOING ON HERE !!!!!
Ok, it’s actually only a small problem, but PLEASE tell me the concept behind this – or – oh I understand – there is no concept…..
The following has only been testet with jACOB / MySQL / Birt running on Ubuntu 10.04 (Lucid Lynx).
For some strange reason it happens that text containing Euro signs (€) displays perfectly well between OpenJacob and MySQL but when running a Birt Report they aren’t displayed correctly.
This happens with a driver URL in Birt like:
but adding some character set information to the URL in Birt resolves this issue
Maybe someone from Tarragon Software could be so nice to comment on this.
For accessing the i18n messages provided under the Application Outline / Localization entry use something like.
One of my customers is running a IPCop machine that does all the DHCP/DNS/Gateway stuff on the network. This works on the local 192.168.10.x network.
Recently we added a second internet line for accessing the company’s headquarter. They use the 172.16.x.x network.
route add -net 172.16.0.0 netmask 255.255.0.0 gw 192.168.10.2
does the job.
In order to make that route permanent the above line has to be added to /etc/rc.d/rc.netaddress.up also.
Now every workstation on the local network is capable of accessing the headquarter’s network by IP address. But accessing the headquarter’s network by hostname does NOT work.
The reason is that every DNS request to the domain .headquarter.group gets transferred to the public DNS by IPCop and .group is no valid public TLD.
Using IPCop’s DNS1 / DNS2 settings does not work because the multiple DNS only get asked in case the previous one is unaccessible.
What has to be done is to tell IPCop that he has to use a different DNS once a request concerning .headquarter.group arrives.
Continue reading »