Howto install Squeeze on Lenovo X100e with wire connection

Share your own howto's etc. Not for support questions!

Howto install Squeeze on Lenovo X100e with wire connection

Postby uBaLd » 2010-08-26 21:25

1- install Squeeze with usb key
2 - installe the Fan (build a new kernel)
3 - Install the Wifi
4 - Other

1- install Squeeze with usb key

Prepare a usbkey unetbootin http://unetbootin.sourceforge.net/

install as usual with the wire connection.
ignore the demand for firmware file rt18168d-1.fw as it will be fix later with the installation of the Wifi.

When the grub-loader install make sure you install it on the disk and not on the usbkey.:


open a terminal Ctrl+F2
Code: Select all
ls /dev/sd*
mount /dev/sdc1 /mnt/
ls -l /mnt
umount /mnt/


and compare with the usb. Once you know on which device you have install your system on change the value to exemple :/dev/sdc

Once your Squeeze is install on the Lenovo X100e you can configure the Fan the wirless ...

2 - installe the Fan (build a new kernel)

There is a way to manage the fan more efficiently http://www.thinkwiki.org/wiki/How_to_control_fan_speed The problem is the present kernel in Squeeze do not allow it the way it is build now. Solution Build a new kernel more recent. I use 2.6.35.3 !
An other way to control the fan is with fancontrol I made a Howto on this
Go to http://kernel.org/ download the kernel untar and build it:

As said by Rolling Stone install the dependency

Code: Select all
sudo apt-get install kernel-package ncurses-dev bzip2 module-init-tools initramfs-tools procps fakeroot


untar and make
Code: Select all
tar -xf linux-2.6.35.3.tar.bz2
cd  linux-2.6.35.3
make


Make the configuration don't change any thing exit and save!
Code: Select all
make menuconfig


Ounce it is done you'll see .config in the file !

Build the debian package

Code: Select all
fakeroot make-kpkg kernel_image --initrd
fakeroot make-kpkg kernel_headers


Install it
Code: Select all
cd ..
dpkg -i *2.6.35.3*.deb


To get thinkfan runing:
Code: Select all
 
sudo echo 'options thinkpad_acpi fan_control=1' >> /etc/modprobe.d/thinkpad_acpi.conf
sudo apt-get install thinkfan


reboot chose 2.6.35.3 as your kernel:

edit the script in /etc/thinkfan.conf mine is :
Code: Select all
sensor /proc/acpi/ibm/thermal (0, 1, 0, 0, 0, 0, 0, 0)

(0,   0,   40)
(1,   33,   45)
(2,   38,   50)
(3,   43,   54)
(4,   45,   55)
(5,   48,   56)
(6,   50,   67)
(7,   57,   500)


run :
Code: Select all
sudo thinkfan


Once you know it run the way it should and you want it to start every boot without runing sudo thinkfan every time.

You can edit /etc/default/thinkfan and change START to yes To have thinkfan start at boot
Code: Select all
# Should thinkfan be started automatically on boot?                                                                   
# Only say "yes" when you know what you are doing, have configured                                                     
# thinkfan correctly for *YOUR* machine and loaded thinkpad_acpi                                                       
# with fan_control=1 (if you have a ThinkPad).                                                                         
START=yes

# Additional startup parameters                                                                                       
DAEMON_ARGS="-q"



3- Install the Wifi

To install the driver from Realtek for the RTL8191SE wireless card. First download the driver.

Make sure you have the headers install

Code: Select all
$ ls -l /lib/modules/2.6.35.3/
total 2384
lrwxrwxrwx  1 root root     36 31 jui 14:27 build -> /usr/src/linux-headers-2.6.32-5-686/
drwxr-xr-x 10 root root   4096 20 jui 22:26 kernel
-rw-r--r--  1 root root 579867  2 aoû 11:27 modules.alias
...
lrwxrwxrwx  1 root root     38 21 jui 12:29 source -> /usr/src/linux-headers-2.6.32-5-common


then

Code: Select all
tar -xf rtl8192se_linux_2.6.0017.0507.2010.tar.gz
cd rtl8192se_linux_2.6.0017.0507.2010
make
sudo make install


edit /etc/network/interfaces as root so it it look like this (this will enable your cable to be seen by network-manager wen you plug it):
Code: Select all
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
# allow-hotplug eth0
# iface eth0 inet dhcp

Tanks to Japser and debian wiki !!
reboot !

4 - Other
for the pointer to work:
Code: Select all
 sudo aptitude install gpointing-device-settings


The Graphic card can be handle with fglrx proprietary driver but in my case I crash all my system trying to make it work so I wont tel any bothy how to use it !!!

END !!!
Hope this is useful for some one else then me ! :D

Since this is my first howto you are welcome to give comments and advice to improve it !

Regards
Last edited by uBaLd on 2011-04-07 15:29, edited 1 time in total.
Debian is the best !
Debian Jessie / Gnome3
Workstation / 2 Xeon E5-2620 / 32GB RAM
User avatar
uBaLd
 
Posts: 58
Joined: 2008-02-25 23:13

Re: Howto install Squeeze on Lenovo X100e with wire connection

Postby secipolla » 2010-09-04 20:22

Thank you for posting.
Regarding a newer kernel, it's much more simpler to enable the liquorix repository and install the kernel of the same name. See: viewtopic.php?f=16&t=45151

Currently it's on 2.6.35-4 and it can update itself if you install the metapackage, the same for the headers. Works very well and it's a trouble saver for many people.
secipolla
 
Posts: 1127
Joined: 2010-06-21 14:20

Re: Howto install Squeeze on Lenovo X100e with wire connection

Postby uBaLd » 2010-10-25 14:15

Thank you for the reply, its been a while since I came to on the forum.

I did not know a thing about the liquorix repository.
Can you explain to me how it work?

Will it install the package separately from the normal repository?

On the link of liquorix in the post you refereed to me it refer to sid :

deb http://liquorix.net/debian sid main

But is Squeeze will work ?

How may I be sure it will support the IBM fan of the Lenovo Thinkpad x100 ???

Best regards.
Debian is the best !
Debian Jessie / Gnome3
Workstation / 2 Xeon E5-2620 / 32GB RAM
User avatar
uBaLd
 
Posts: 58
Joined: 2008-02-25 23:13

Re: Howto install Squeeze on Lenovo X100e with wire connection

Postby canci » 2010-10-26 10:38

The Liquorix kernel package is installed separately from your Debian kernel, so you can choose what kernel
you want at boot time. Be aware that e.g. proprietary graphics drivers will have to be reinstalled by hand.

I wouldn't suggest the kernel for stable use, more for testing maybe. While it has great speed because of
its patches, it was very unstable for me. I would lose control of my laptop trackpad for example.
I ken hez kinvulf beck? I ken hez riesnible modereyshn? Kthnxbai!

No need to discuss this topic? Offended by this signature? Remove it:

Mez wrote:You can easily just disable viewing signatures

Click here - and set "Display Signatures" to No
User avatar
canci
 
Posts: 1705
Joined: 2006-09-24 11:28
Location: Bosnia & Herzegovina

Re: Howto install Squeeze on Lenovo X100e with wire connection

Postby widz » 2010-11-05 14:34

hello,
thank you for the how-to, and as I have the same wireless card - what about if I have no other way to download the build-essentials (no broadband, just wireless)? :)
you have to laugh at the things that hurt you just to keep the world from running you plumb crazy
User avatar
widz
 
Posts: 206
Joined: 2008-01-03 16:44
Location: Currently Scotland, Bulgaria

Re: Howto install Squeeze on Lenovo X100e with wire connecti

Postby uBaLd » 2010-12-23 12:32

widz

Sorry for the late answer!

If you don't have land connection you can download all the needed package and install by hand !

that is for example download
build-essentials from an other computer to a usb:

http://packages.debian.org/squeeze/build-essential

and install with dpkg -i all the package you need !! As you might need other dependency package ...

There is probably a better or easier way to do it without wifi but i don't know now how ! Other way might be to use DVD with usb DVD player But I guess you don't have one !
Debian is the best !
Debian Jessie / Gnome3
Workstation / 2 Xeon E5-2620 / 32GB RAM
User avatar
uBaLd
 
Posts: 58
Joined: 2008-02-25 23:13

Re: Howto install Squeeze on Lenovo X100e with wire connecti

Postby canci » 2010-12-23 12:43

build-essential won't install by itself. You will need all the dependencies. I suggest you rather pay someone you know and has
an Internet connection a coffee or something, to just hook up for 30 min or so and install everything you need. Just make a list
of the packages and the source code you'll require. build-essential + dependencies + kernel is around 100 MB of data, not more.

Another thing you could do is to order Debian DVDs from a local Linux user group (or another company which does that) and
just flash the DVD ISOs to usb keys (alternatively, you can also use an external DVD drive). That way you have all the packages
without going online. Be sure to at least have the 1st 4 DVDs or so.

Look at this website:
http://www.ingus.biz/debian

They seem to be outdated, and as I don't understand Bulgarian, I can't quite tell if they're still delivering Debian. You can try and
contact them.
I ken hez kinvulf beck? I ken hez riesnible modereyshn? Kthnxbai!

No need to discuss this topic? Offended by this signature? Remove it:

Mez wrote:You can easily just disable viewing signatures

Click here - and set "Display Signatures" to No
User avatar
canci
 
Posts: 1705
Joined: 2006-09-24 11:28
Location: Bosnia & Herzegovina


Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable