Posts Tagged ‘Ubuntu’

TSClient on Ubuntu 12.04

Tuesday, June 25th, 2013

Today there will be a few different posts. This is a day full of events, so…

My first – to allow tsclient to work under Ubuntu 12.04, you should follow this guide: http://superuser.com/a/547102

To sum it up:

  1. Get tsclient to your architecture from http://pkgs.org
  2. Install it using ‘sudo dpkg –force-depends -i tsclient_0.150-3ubuntu1_amd64.deb’
  3. Edit /var/lib/dpkg/status , search for tsclient, and remove the entry containing libpanel-applet2-0

Done.

Cables connection in Israel for Linux

Thursday, May 14th, 2009

Update to 0.2. Links remain the same. At the moment I cannot host many versions (it’s mostly uncomfortable), but this might change in the future.

I have created a GUI cables installer and configurator for L2TP on Linux.

I have noticed that there is no GUI solution, so, after this has been brought up, I have done it (!!!)

I have uploaded these files here, and you are welcome to use them.

Remember – they are designed for a blank Ubuntu (currently. More distros will be supported in the future, upon request) with not much of junk installed. Also – they are designed for the simple user. Double-click and run. That’s it.

Quoting my readme file:

L2TP Cables connection in Israel (and across the world, where relevant) by Ez-Aton

—About:
This is an installer and configurator for L2TP over cables in Israel
With some luck, by running this installer, you will be able to connect
to the Internet with a dialer!

The system assumes you have little technical knowledge of Linux and you
are not expected to have any. Follow the defaults, and you should be fine.

This configuration will be cross distro in the future, meaning it will work
both on your Ubuntu, your RHEL, your Centos, Mandrake, etc. In order for me
to be able to do so, please assist by sending information on systems I am
not familiar with yet, per the appendix at the bottom.
Also, you can feel free to send me info in case the system did not work for
you (and let me know what are the differences from a default installation),
or, as always, send me money.

Visit my technical blog for updates and all kind of other technical stuff, at
http://run.tournament.org.il

OSS work is meant to be based on others work, and that I have done. I would
like to thank (and mention below) the resources for without this would not
have happened.

I hope you enjoy this dialer!

Ez

—How to use
Simply double-click on the “cables” icon on your desktop, and the system will
get you connected.
For CLI utilization: Run /usr/local/bin/cables

—Tools and resources used:
To create this package I have used the following tools and resources
makeself http://megastep.org/makeself/
xl2tpd by http://www.xelerance.com/software/xl2tpd/
xl2tpd guide for Israel Cables http://stuff.pulkes.org/l2tp/
ISP LNS list http://www.cables.org.il/cable-vpn/vpn.html
My connect/disconnect scripts from http://run.tournament.org.il

—License
This package contents are under GNUv2 license, meaning you have full permission
to modify the contents of this package, except for the binary packages included
with it, where you are binded by their respective licenses.

—My Distro/ISP is not supported!
Well, these things happen. Over 300 distros our there, and I can’t have them all.
However – you have your own distro, right? For me to add it to this package
(assuming you don’t want to do this yourself) you will have to supply me with the
following info:
* What distro, kernel and version, and how you get the distro name
(for example – on Redhat – /etc/redhat-release. On Ubuntu – /etc/lsb-release)
* The file containing the version inforamtion (see above)
* The versions available from your repositories of xl2tpd or l2tpd for older
releases, and where you can get them
* Your ISP, your ISPs LNS names/addresses
* Your country
* All other info you think relevant

—Change log
0.2 – Added ability to enter manual LNS address. Added Orange LNS. Fixed fixroute to allow both IP and hostname without problems. Fixed cables connection script to run fixroute anyhow.
0.1 – Initial release

Download it here: cables_connect.sh

If you want the scripts and sources (not for the simple user!), you can get there here: l2tp-cables

Ubuntu Hardy 8.04 USB performance issues

Monday, February 9th, 2009

As the owner of a nice laptop running Hardy, I had a huge performance degradation when accessing USB storage devices. Speed could reach 1MB/s at most, and usually, half that speed.

The trick that solved my problem was suggested in this post, and after I have tested it, I was happy with the results.

The trick is to backup the old ehci_hcd.ko module aside, and to replace it with the one from kernel 2.6.24-19-generic. Following that action, you need to make sure this module can force load, else version mismatch whill prevent it from loading.

To do so, I have added the following line to /etc/modprobe.d/options:

install ehci_hcd /sbin/modprobe –ignore-install –force ehci_hcd

This solves the force load issues.

An experiment

Tuesday, September 30th, 2008

My brother is a computer illiterate. He can use a computer for the purpose of e-mail messaging and for editing documents, spreadsheets, etc.

I have decided to “abuse” his older laptop, an IBM X31 and install Ubuntu on it. This is some sort of an experiment. I wonder how he, a simple user, can cope up with using Linux as a desktop.

I have made sure he had the following, for now:

  • Ubuntu 8.04 32bit
  • Firefox 3 with Adblock Plus
  • Hebrew fonts, and msttfcorefonts package installed
  • OpenOffice which defaults to saving in MS Office formats – doc, xls, ppt
  • Skype
  • VLC media player
  • Hebrew layout enabled

I will let him use it for a few days, and keep my blog up to date on this. It interests me 🙂

Sierra AirCard 880E on Ubuntu

Tuesday, July 1st, 2008

To get your newly purchased Sierra AirCard 880E on your Ubuntu Hardy, you should follow these simple steps:

  1. Make sure you have GCC on your computer: ‘sudo apt-get install gcc
  2. Make sure you have kernel sources installed on your computer: ‘sudo apt-get install linux-headers-2.6.24-19-generic
  3. Download the driver from Sierra Wireless site
  4. Extract and compile (‘make‘, ‘sudo make install‘)
  5. Add to /etc/modprobe.d/blacklist-modem the line: ‘blacklist ehci_hcd’
  6. Insert the device into the laptop. When everything is OK, you should see that a USB device is registered using ‘dmesg‘ shortly afterwards, or ‘lsusb
  7. Configure /etc/wvdial.conf using the attached config file wvdial.conf
  8. Add to /etc/ppp/peers the file wvdial

Done. To connect, you need to run ‘sudo wvdial &

I will add in the future a nice gksudo with a nice-looking connect/disconnect script