VPNC connection fails after upgrading to Ubuntu 13.10 (saucy) 

My corporate VPN connection got broken after I have updated my desktop to Kubuntu 13.10.

First I have started the Networkmanager's vpnc service in debug mode:

sudo /usr/lib/NetworkManager/nm-vpnc-service --debug


When connecting to the VPN the following message had been shown at the end of the log:


S5.5 do xauth reply
[2014-01-12 09:54:00]
/usr/sbin/vpnc: server requested domain, but none set (use "Domain ..." in config or --domain


The KDE networkmanager applet do not provide input for the domain, so it had to be workarounded:

Edit the /etc/NetworkManager/system-connections/[VPN connection name]

And insert the following line under the [vpn] section:

Domain=your_domain

[ hozzászólás ] ( 10 megtekintés ) [ 0 trackbackek ] permalink ( 2.9 / 348 )
The macaddress in the /etc/udev/rules.d/70-persistent-net.rules is case sensitive 

Really!
It must have the letters in lowercase.
[ hozzászólás ] ( 2 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 321 )
Android Studio - Waiting for device @ Ubuntu 

I have started to develop to Android on Ubuntu.
At my first attempt when I have tried run my app on the device, the device shown up as ?????????? in the Android Studio Choose Device dialog.

The problem root cause is the access rights around the device descriptors.

The ADB daemon is started with the user's permissions, so I had created an udev rule to get access to the device:

mm@lapos:/opt/android-studio/bin$ cat /etc/udev/rules.d/51-android.rules
# Concorde tablet (18d1:0003)
ATTR{idVendor}=="18d1",ATTR{idProduct}=="0003" MODE="0666"

[ hozzászólás ] ( 1 megtekintés ) [ 0 trackbackek ] permalink ( 3.2 / 351 )
AVR libc _delay_ms() does not works after upgrading to Ubuntu Raring Ringtail 

After upgrading my system to kUbuntu 13.04 Raring Ringtail the delays in my avr-gcc compiled binaries had been gone.
After reading the #include <util/delay.h> documentation my eyes cached the __DELAY_BACKWARD_COMPATIBLE__ macro. After defining it the delays are working.

Workaround:

#define F_CPU 16000000UL
#define __DELAY_BACKWARD_COMPATIBLE__
#include <util/delay.h>
#include <avr/io.h>

int main(void
{
DDRB = 0xFF;
while (1) {
PORTB = ~PORTB;
_delay_ms(1000);
}
}



[ hozzászólás ] ( 3 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 353 )
Lattice ISPVM with parallel port cable under Ubuntu 11.04 

The trick is simple, but not obvious:


echo "disallow method ppdev" > /etc/ieee1284.conf

[ hozzászólás ] ( 1 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 450 )

| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Következő> >>

 
számláló