SOLVED: Install WiFi on eee box. Using ndiswrapper. Декабрь 24, 2008
Posted by russenreaktor in linux, wifi.Tags: drivers, eee box, linux, suse
1 comment so far
I have installed SUSE on eee Box B202. It works but i had a problem with wireless driver installation. I found this tutorial and it helped
. Use CD-Disk with Windows drivers from your eee Box package. Just use rt2860 driver.
«Installing Ndiswrapper Drivers: Locate the XP drivers on the install CD that came with the device or if you don’t have it, download them from the manufacturer’s site. Copy the whole contents of the directory containing the XP .inf file to a directory anywhere in your Suse filesystem, e.g in the directory «ndiswrapper» located at /path_to/ndiswrapper. For illustration, suppose the .inf is abcde.inf, now located at /path_to/ndiswrapper/abcde.inf. Open a console and first enter su to get rootly powers. Then enter the command ndiswrapper -i /path_to/ndiswrapper/abcde.inf. Here’s the dialogue:
frednurk@suse110:~> su
Password:
suse110 # ndiswrapper -i /path_to/abcde.inf
All being well you can enter the diagnostic command ndiswrapper -l and receive a positive response something like this:
frednurk@suse110:~> su
Password:
suse110 # ndiswrapper -l
abcde : driver installed
device (2001:3A03) present
suse110 #
If you receive a message like device (2001:3A03) present (alternate driver ), then you have a possible conflict with a Linux native driver and will need to add the name of the Linux driver into the blacklist file located at /etc/modprobe.d/blacklist.
To check whether the kernel module is present, execute the modprobe command as root:
frednurk@suse110:~> su
Password:
suse110 # modprobe ndiswrapper
suse110 #
In this case, no response means success. If you get an error message like «Module ndiswrapper not found», you have a problem.
Ndiswrapper should load at boot time. For some it doesn’t. If you find that it doesn’t, just add the command modprobe ndiswrapper into the bottom of the file boot.ini located at /etc/init.d/boot.ini, and it will load at boot time.
frednurk@suse110:~> su
Password:
suse110 # ndiswrapper -m
adding «alias wlan0 ndiswrapper» to /etc/modprobe.d/ndiswrapper …
suse110 #
Should you need to uninstall ndiswrapper at some time, please follow the examples given on the Ndiswrapper Wiki. All being well, you can now proceed to configure the wireless device in Yast for Internet and LAN access.» swerdna.net.au
How do I install Perl modules? Ноябрь 8, 2008
Posted by russenreaktor in linux.Tags: linux, modules, perl
add a comment
«Installing a new module can be as simple as typing perl -MCPAN -e ‘install Chocolate::Belgian’» cpan.org
SOLVED: tortoise(svn) + putty(ssh) + pageant = no password input needed Октябрь 29, 2008
Posted by russenreaktor in develop, linux, windows.Tags: linux, pageant, putty, ssh, svn, tortoise, windows
add a comment
«Lets do this step by step:
- login to your server
- type: ssh-keygen -b 1024 -t dsa -N passphrase -f mykey
- change «passphrase» to a secret keyword only you know
- type: ls -l mykey*
We just created a SSH2 DSA key with 1024 bit keyphrase. You will see two files. One named «mykey» and one named «mykey.pub». As you might guess, the .pub file is the public key file, the other is the private one. Next create a user on the server with a home directory:
- type: useradd -m myuser
You will have a directory under /home with the name «myuser», create a new directory in «myuser» called «.ssh»:
- type: cd /home/myuser
- type: mkdir .ssh
Then go to the directory where you created your keys and copy the public key to the .ssh userfolder with the following command:
- type: cp mykey.pub /home/myuser/.ssh/authorized_keys
or if you already have some keys in place
- type: cat mykey.pub >> /home/myuser/.ssh/authorized_keys
Please pay attention to the filename, it really must be «authorized_keys». In some old OpenSSH implementations, it was «authorized_keys2″. Now download the private key file to your client computer. Remember, the file was «mykey»
————————————————————
SSH key generation and connection check (client)
————————————————————
Grab the tools we need for doing SSH on windows on this site:
http://www.chiark.greenend.org.uk/~sgtatham/putty/
Just go to the download section and get «Putty», «Plink», «Pageant» and «Puttygen»
In order to use the private key we get from the server, we have to convert it to a putty format. This is because the private key file format is not specified by some standard body. To do this we simple open «puttygen» and open the «conversions» menu and chose «Import Key». Then browse to your file «mykey» which you got from the server enter your provided passphrase upon creation of the key. Finally click «Save private key» and save the file as «mykey.PPK» somewhere on disk.
Now we are ready to use this key for the first time to test the connection. In order to do this, we open the program «putty» and create a new session like this:
Session->HostName: Hostname or IP Adress of your server
Session->Protocol: SSH
Session->Saved Sessions: MyConnection
SSH->Prefered SSH Protocol version: 2
SSH->Auth->Private Key file for auth: $PATH$\mykey.PKK (replace $PATH$ with real path to the mykey.PKK file)
Then go back to Session tab and hit «save» button. You will see «MyConnection» in the list of available connections.» tortoisesvn.net
1blu VPS X86-64 vs. i386 при Plesk update Май 6, 2008
Posted by russenreaktor in linux.Tags: linux, plesk, suse, vpn
add a comment
Если у вас на вашем виртуальном сервере вдруг при апдейте Plesk-а появится ошибка типа
Reading system installed packages...done.
Download file update-8.1.1-suse10.1-i386.hdr.gz: 18%..84%..100% done.
Download file build-8.1.1-suse10.1-i386.hdr.gz: 51%..100% done.
Resolve components
ERROR: Impossible do installation while package postgresql-contrib-8.1.4-1.2.x86_64 is installed in system
Errors just before:
- Trying to find direct hardwired dependencies for package postgresql-libs-8.1.9-1.2.i586
- Check for need upgrade of postgresql-contrib-8.1.4-1.2.x86_64 with upgrade of postgresql-libs-8.1.4-1.2.x86_64 wich needs to install postgresql-libs-8.1.9-1.2.i586
- Unresolved dependency: necessary package postgresql-libs-8.1.9-1.2.i586 have older version postgresql-libs-8.1.4-1.2.x86_64. After upgrade we will have the dependency 'libpq.so.4()(64bit)' of package postgresql-contrib-8.1.4-1.2.x86_64 is unresolved, add to removable list postgresql-contrib
- Find remove mode solution for package postgresql-contrib-8.1.4-1.2.x86_64
ERROR: Installation failed
Рекомендую посмотреть на версию линукса (у меня показывается при логине)
SUSE LINUX 10.1 (X86-64)
Linux 2.6.9-023stab043.1-smp GNU/Linux
а так-же на версию согласно uname
# uname -a
Linux v29133.1blu.de 2.6.9-023stab046.2-smp #1 SMP Mon Dec 10 15:04:55 MSK 2007 i686 athlon i386 GNU/Linux
как мы видим X86-64 != i686
воизбежания вышеуказанной ошибки используйте switch –override-os-arch
#/usr/local/psa/bin/autoinstaller –help –override-os-arch x86_64
…надеюсь я сохранил вам время