Archive

Posts Tagged ‘Ubuntu’

Uni Oldenburg VPN with ubuntu 10.04

May 11th, 2010 5 comments

Finally got the VPN of my university working. I will share how I got it working in case you study/work here and want to use it, too.

I found the VPN to be more stable when started from a shell:
sudo apt-get install vpnc
sudo nano /etc/vpnc/default.conf

Edit the config as following:
IPSec gateway 10.9.8.7
IPSec ID student
IPSec secret student
#IKE Authmode hybrid
Xauth username YOUR
Xauth password YOUR

Then just connect to the wlan and start the vpn with sudo vpnc.

If you want to use the network-manager, you need to install another package. However, I always get an error message about invalid secrets. If you have more luck, please let me know.
sudo apt-get install network-manager-vpnc
sudo service network-manager restart

Solving Sound Problems with Dosbox in Ubuntu 8.10 and 9.04

June 27th, 2009 No comments

Hey guys, since I get a lot of hits to this article, I’d really appreciate if you leave a short note when this helped you, so we can see if this is a general configuration problem. Thanks!

Since ubuntu 8.10 I was having stuttering sound with dosbox. I just made a fresh install of 9.04 and still was experiencing such problems (pulseaudio ftw again…). I searched the web, alas was unable to find a solution that was actually working. After trying a couple of things, I finally seem to have found a solution which is working (at least for me): I set the mixing rate within dosbox to match that of pulseaudio. To make it short, change your conf in ~/.dosbox/ to

[mixer]
#   nosound: Enable silent mode, sound is still emulated though.
#      rate: Mixer sample rate, setting any device's rate higher than this will probably lower their sound quality.
#            Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
# blocksize: Mixer block size, larger blocks might help sound stuttering but sound will also be more lagged.
#            Possible values: 2048, 4096, 8192, 1024, 512, 256.
# prebuffer: How many milliseconds of data to keep on top of the blocksize.
nosound=false
#rate=22050
rate=44100      # Change this line
blocksize=2048
prebuffer=10

Also, to get rid of the initial midi warning I changed the following, though it may not be necessary:

[midi]
#     mpu401: Type of MPU-401 to emulate.
#             Possible values: intelligent, uart, none.
# mididevice: Device that will receive the MIDI data from MPU-401.
#             Possible values: default, win32, alsa, oss, coreaudio, coremidi, none.
# midiconfig: Special configuration options for the device driver. This is usually the id of the device you want to use. See README for details.
mpu401=intelligent
mididevice=default
midiconfig=128:0      # Change this line

Yet another pulseaudio problem solved.

Update: Also, setting output to opengl helps a lot, at least if you have compiz enabled.

Enabling Automatic Upgrades for Ubuntu

May 9th, 2009 No comments

Ubuntu allows you to install security updates automatically in the background (under Synaptic -> Repositories -> Updates), but there was only the option Install Security updates without notification, no option for just installing all updates. I searched for a way to automate it and found the solution in launchpad:

Just open /etc/apt/apt.conf.d/50unattended-upgrades and enable all updates, then you can have daily automatic upgrades without notification. No more need to confirm all the same upgrades on different computers again and again, neat!

Privacy Preference Center

      Necessary

      Advertising

      Analytics

      Other