LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs > floppy_stuttgart
User Name
Password

Notices


Rate this Entry

Thinkpad T520 with Debian 7 Wheezy Linux

Posted 02-28-2015 at 03:06 PM by floppy_stuttgart
Updated 05-02-2015 at 01:36 PM by floppy_stuttgart

I downloaded Debian7 stable 64bit lxde iso, from the debian download page https://www.debian.org/CD/http-ftp/ , on a linux pc.
I installed the Debian iso on an usb stick with the program "unetbootin" (pc connected to the internet with a LAN cable).
I booted the pc from the usb and installed a parallel boot Win7 / Debian according that advice https://www.youtube.com/watch?v=HYw3FUnh-CQ
a) I installed the realtek firmware on the pc in order to make the wifi working (it did not work out of the box) "apt-get install firmware-realtek" from the "non-free". The wifi is seen with "lspci -nn" "Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8176] (rev 01)"
b) I installed gnome "apt-get install gnome"
c) I installed the flashplayer in iceweasel according https://wiki.debian.org/FlashPlayer

Finally, the wifi driver was not working stable, so I had to install another.
In a root terminal
Quote:
apt-get update && sudo apt-get install -y git gcc build-essential linux-headers-`uname -r`
Quote:
cd && git clone https://github.com/FreedomBen/rtl8188ce-linux-driver.git
Quote:
cd rtl8188ce-linux-driver && sudo make
(answer yes)
Quote:
make install && sudo reboot
(answer n)
I log in my pc in and I am immediatly in the internet. Stable. Good.


Quote:
modinfo rtl8192ce
Quote:
filename: /lib/modules/3.2.0-4-amd64/kernel/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko
firmware: rtlwifi/rtl8192cfw.bin
description: Realtek 8192C/8188C 802.11n PCI wireless
license: GPL
author: Larry Finger <Larry.Finger@lwfinger.net>
author: Realtek WlanFAE <wlanfae@realtek.com>
author: lizhaoming <chaoming_li@realsil.com.cn>
author: Benjamin Porter <BenjaminPorter86@gmail.com>
alias: pci:v000010ECd00008176sv*sd*bc*sc*i*
alias: pci:v000010ECd00008177sv*sd*bc*sc*i*
alias: pci:v000010ECd00008178sv*sd*bc*sc*i*
alias: pci:v000010ECd00008191sv*sd*bc*sc*i*
depends: rtlwifi,mac80211
vermagic: 3.2.0-4-amd64 SMP mod_unload modversions
parm: swlps:bool
parm: swenc:using hardware crypto (default 0 [hardware])
(bool)
parm: ips:using no link power save (default 1 is open)
(bool)
parm: fwlps:using linked fw control power save (default 1 is open)
(bool)
I got a new printer/scanner and wanted to make it working for that thinkpad (the printer/scanner is installed on a raspberry pi server).
The hplip page http://hplipopensource.com/hplip-web...40_series.html
inform the version Minimum HPLIP version 3.13.8 should be used for my printer hp deskjet 2544 allinone 03f0:c211

On the raspbian server, the version of hplip is
"dpkg -s hplip"
Package: hplip
Code:
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 383
Maintainer: Debian HPIJS and HPLIP maintainers <pkg-hpijs-devel@lists.alioth.debian.org>
Architecture: armhf
Version: 3.12.6-3.1+deb7u1 ....
For the reason I have issues in making that printer working (it printed one time and not again after making sane setups; it should print but there are no error and pages dont come out + scanimage -L dont work), I am installing the newest hplip version on my raspberry PI.

On the raspberry pi server
Quote:
sudo passwd
(give a root pw)
Quote:
sudo apt-get remove hplip
Quote:
sudo apt-get autoremove
Quote:
sudo reboot
Quote:
sh hplip-3.15.4.run
(dont run with sudo; have look here http://hplipopensource.com/hplip-web...os/debian.html and here https://www.liberiangeek.net/2014/04...more-printers/)
Quote:
make
(perhaps that step and next step is not necessary: the install script ended with a "memory..." error; it why I made both steps manually again)
Quote:
su -c "make install"
Quote:
su -c "usermod -a -G lp,lpadmin $USER"
(now disconnect usb and reconnect)
Quote:
sudo reboot
Quote:
sudo hp-setup -i
(follow http://hplipopensource.com/hplip-web.../hp_setup.html)

With advices from http://dev.shyd.de/2011/03/debian-pr...lip-cups-sane/ and http://wiki.ubuntuusers.de/SANE-Scanserver_im_Netzwerk and
on the raspberry pi server
Quote:
sudo chmod 666 /dev/bus/usb/001/003
Result on the server
Quote:
scanimage -L
gives
Quote:
device `hpaio:/usb/Deskjet_2540_series?serial=CN49Q4F4KH0604' is a Hewlett-Packard Deskjet_2540_series all-in-on
Result on the client
Quote:
scanimage -L
gives
Quote:
device `net:192.168.178.50:hpaio:/usb/Deskjet_2540_series?serial=CN49Q4F4KH0604' is a Hewlett-Packard Deskjet_2540_series all-in-on
It works with simplescan on the thinkpad.
Posted in Uncategorized
Views 754 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 10:34 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration