Resolution problem

When i first installed Ubuntu, the graphics were hurting my eyes.
It was all disformed and corny.
To fix this, I opened up a terminal, and entered:

sudo dpkg-reconfigure xserver-xorg

This starts a script that configures your xserver.

Just follow the steps, select the vesa driver, and when you come to selecting resolution,
make sure you check off the 1280×800 setting.

Just follow all the steps till the end, just selecting the default ones.

Reboot

Should look much better now

WPA on your WLAN

Ok time to get you connected to that WPA secured wlan

Step one:

Get the wpasupplicant package from the repo if it’s not already installed:
sudo apt-get install wpasupplicant

Step two:

Create a file named wpa.conf or something (doesn’t matter what you call it really)
Paste this into the file:

ctrl_interface=/var/run/wpa_supplicant
network={
ssid="myssid"
psk="mysecret"
key_mgmt=WPA-PSK
proto=WPA
}

Replace myssid with the name of the access point and mysecret with the key. If you got the hex key and not a string, insert the hex key without the “”.
Save.

Step three:

Now, assuming your wlan drivers are running, and not connected to an access point, all you got to do is enter this is a terminal:

sudo wpa_supplicant -Dwext -iwlan0 -c/pathtofile/wpa.conf -dd

This should connect your device to the WPA secured wireless network.

You can also add that line to a file, save the file. (Mine’s called wpaschool cause i use WPA at school)
Then in terminal:

chmod 755 wpaschool (or whatever the name of your file is)

Now you can just enter:

./wpaschool
(name of file instead of wpaschool)

and that will do excacly the same thing.

Happy hunting…

PS. It might take a while to connect, so give it a min if it doesn’t give you access to the web right away.

WLAN with WEP

First step:
Make sure you have Ndiswrapper installed.
If you don’t, open a terminal and enter:

sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9

That should take care of getting ndiswrapper.

Step two:

Get the drivers.
Go to http://www.fujitsu-siemens.com,
then “Download Drivers“,
find the Amilo la 1703,
then go to Wlan.

Get the Windows XP drivers
Downloaded the drivers, and unzip them to where ever you want.

Step three:

Open a terminal and enter:

cd /path/to/unpacked/drivers/
sudo ndiswrapper -i sis163u.inf
sudo ndiswrapper -l

If that last command returns:
sis163u : driver installed
device (0BF8:100F) present

then you got everything set up ok and you can skip the next part.
If you get a message saying:
sis163u : driver installed

then you got the driver set up, but it doesn’t know where your wlan card is located.
If that is the case, you gotta find out what the address to your hardware is.
On my notebook this was:

sudo ndiswrapper -d 1106:4336 sis163u

Please leave a comment if 1106:4336 doesn’t fit your computer, as i don’t have another one to measure against.

Step four:

Load the drivers into the system by entering into the terminal:

sudo modprobe ndiswrapper

Now your wlan card should be up and running.
To check that it is, in the terminal type:

sudo iwconfig

if you see wlan0 listed there, you should be up and running.

Now all you need to do it open up the network manager from the menu:
System->Administration->Network
Then click wlan0 in the list and click the properties button, and set the accesspoint/wepkey details.