Posts Tagged 'Linux'

Amilo Pro v2030

Alright I finally got Debian installed on the Amilo Pro 2030 laptop. There were a few problems that I managed to solve, like an invisible mouse pointer/cursor and the wireless. So I’d like to share the solutions here:

    Invisible pointer:

edit /etc/X11/xorg.conf
add

Section “Device”
Identifier “Configured Video Device”
Option “HWCursor” “off”
Option “SWCursor” “on”

EndSection

    Wireless(with internet access available, e.g. ethernet):

Add the contrib repositories to /etc/apt/sources.list
e.g. deb http://ftp.debian.org/debian/ lenny main contrib

apt-get update
apt-get install b43-fwcutter

Download and setup the firmware when prompted.

Voila. Now get something to manage your connections according to your windows manager, I use wicd with LXDE.

Why Use SSH?

This is a short practical introduction to SSH and how you can benefit from using it, or atleast how I have. The secure shell (SSH) network protocol is often unknown to new linux users, and probably to 99% of all only-Windows users 😀 SSH is used for remote connections over a network, both computers could be in the same LAN, or you could connect to an external ip from the outside world.

I remember when my friend helped me configure something in Debian with SSH from his home. At that point I didn’t actually see how I could personally benefit from it other than being helped to fix things. Later I got more interested in server stuff, but after giving my second monitor away to the same friend who helped my with the config, I started working with SSH to avoid switching one monitor between 2 computers.

These days I try to install the OpenSSH server on my server-box asap, so that I can have the monitor for the pc that actually has a graphical interface 😀 With Debian/Ubuntu you can find the openssh-server packet on the install cd and in the repositories, if it’s not installed already. You also need a client for the system that you are connecting from, openssh-client for Debian/Ubuntu, and I use Putty for Windows. You can apt-get the Debian packages.

SSH is easy to set up. For example with a fresh install of a distribution, I try to get the openssh-server up and running asap after I get my net setup. This helps me troubleshoot and follow install instructions on my other computer while working on the monitorless computer. I can’t solve everything without a proper browser! Another scenario is if xorg doesn’t work anymore so you can’t really look for help in e.g. google, but luckily you’ve got the openssh-server running and: 1.) another working computer at home 2.) your friend who will let you use his computer for a few minutes. One way or another you can find help much easyer, and continue messing around sooner 😛 Right now I’ve got this pc, with my TinyXp Beast edition, connected to my Debian server with SSH. Both computers are sitting next to each other but I’ve only got one monitor, convenient. As you can see SSH can make your life easyer.

Hopefully this gets the basic idea of SSH through, and opens new doors to linux users. You can find more on how to setup SSH on your distribution by googling around now that you definately want to start using it 😀

Firefox 3 Beta 5 Not So Resource Friendly Sometimes

It seems I was a little too hasty in giving Firefox 3 Beta 5 as much credit as I did earlier. Ffb5 does work extremely well, untill it doesn’t. As far as I am able to tell, the browser becomes extremely slow at random times often after keeping the browser open for some time, this is a result of a boost in memory usage and cpu load for no apparent reason. Surprisingly this problem does not occur to everyone, I only found a few reports. Nevertheless, this is a very big issue, that didn’t occur in ffb4. Obviously the browser is in beta stage, so whining is out of question. However, I could have recommended ffb4 to those willing to experience the speed improvement with only a few downsides, but I can’t say the same for ffb5. As the release of Firefox 3 draws nearer, I hope this problem gets fixed as soon as possible. I will still keep using ffb5 🙂 Post comments if you are having a similar problem and also if you know what’s causing it.

Setting up a Battlenet/pvpgn-1.8.1 server

Here is how I installed my pvpgn (bnet) server. It will be installed on linux without the mysql or pgsql support, which are used to store account information and only benefit servers with more than 100 active users or if you need to have ladder information appear on your website. In this installation simple file form was used.

Download the pvpgn file from here and upload+extract it to some folder on your server.

Once extracted open the src subdirectory inside the main folder, type in console cd /path-to-pvpgn/src

Then type ./configure –prefix=<path-where-you-want-to-install> or just ./configure to default install in /usr/local

In console type: make and once that is done without errors, type: make install

Now install the support files from here and extract into, by default install directory: /usr/local/var/files

The configuration file is located in, by default install directory: /usr/local/etc/ – and its the bnetd.conf file. I didn’t have to configure anything other than the server name.

The server should work with just that. If you are behind a router like I am, then you should open ports 6200 and 6112… or that’s what I did 😀

Finally start your server by typing: /usr/local/sbin/bnetd (that’s again the default install directory)

Thats all! It would be nice to hear if this helps someone or if something should be edited, so leave comments 😉

Webmin

Surfed to this website, which I found very easy to follow, and on which I found reference to something amazing. Even though I had my basic LAMP server up and running, I found something more to include. I decided to install Webmin, which is a free server control panel.

Their website had a Debian package that made things relatively easy. Surprisingly enough, everything installed perfectly, and I though something was wrong since I didn’t have to configure anything 😀 However, when I tried to access the url to the panel from my Winxp pc, nothing seemed to work. So I tested https://localhost:10000 (Webmin port) from the server box, and it worked. Even though Webmin couldn’t be accessed from anywhere else then my server itself, the holy grail of server control was presented to me! Webmin isn’t just any kind of connection between you and your server, it’s much more. You can play around with your whole linux installation, for example it has a command line and download/upload function, which basically means I could ditch puTTy and Filezilla for good.

So this meant that even though I could only reach Webmin from one location, I wouldn’t let that put me down, since now I had more motivation than ever to make things work. Then after a long while of pondering, I realized the obvious… my router wasn’t letting anything go through port 10000. So I forwarded the port and then with a nervous right hand finger clicked refresh in my browser. I felt extremely relaxed when my browser asked if I wanted to accept the websites’ ssl certificate, which I did, and then I was flying past login to the kick-ass control panel 😛

FIN