Näytä kirjoitukset

Tässä osiossa voit tarkastella kaikkia tämän jäsenen viestejä. Huomaa, että näet viestit vain niiltä alueilta, joihin sinulla on pääsy.


Aiheet - runeh

Sivuja: [1]
1
Tervehdys  :)

Saan tuon virheilmoituksen ainoastaan Ubuntu Suomi foorumilla, kun yritän vastata jonkun pulmaan.
Selain Chromium 11.0.682.0 (75845) Ubuntu 10.10

Mikä voisi aiheuttaa tämän?

2
Remove the old version

First you'll want to remove the old JRE or openJDK (if you have it).

When JRE is installed from the repositories, do it like this:

System - Administration - Synaptic Package Manager

Query: sun java

Tick all installed packages and choose complete removal.

When it's installed manually in /opt/java, see the instruction at the bottom of this column (under the header Removal).

If you don't have JRE, then you'll probably have openJDK. That one should be completely removed as well. That can also be done with Synaptic Package Manager (query: openjdk).


Get JRE

Get the right file from the Java website: http://www.java.com

For 32 bit you want Linux (self-extracting file); the name of this file ends on i586.bin. You don't want Linux RPM (self extracting file), of which the file name ends on i586-rpm.bin, because RPM is not built for Ubuntu, but for other Linux distro's.

Note: Store the file in the folder Downloads. So in /home/YourUserName/Downloads. Firefox puts downloaded files there by default, but not all web browsers do it like that.

For example: user John should place the file in /home/John/Downloads.  When in doubt, check it: upper panel of your desktop - Places - Downloads.

This is important for the terminal commands that you'll execute later on, because otherwise they won't be correct.


Install JRE (32-bit)

Note: the terminal commands in this how-to possibly refer to an older version of JRE. When there's a newer version, you can simply adapt the file names in the terminal commands.

This how-to has been written for JRE 6 update 24 (32 bit version).


1. Go to the folder opt, with the following command:

Applications - Accessories - Terminal

Type (use copy/paste: rapidly click three times on the blue line, in order to select the entire line).
cd /opt

Press Enter.


2. Create a new subfolder, with the following command line.
Type (copy/paste):
sudo mkdir java

Press Enter.

Type your password. You won't see anything, not even dots, this is normal.
Press Enter.


3. Go to the new folder, with the following command.
Type (copy/paste):
cd java

Press Enter.


4. Create a new subfolder, with the following command.
Type (copy/paste):
sudo mkdir 32

Press Enter.


5. Move the JRE file that you just downloaded, into this newest folder, with the following command.
Type (copy/paste):
sudo mv ~/Downloads/jre-6u24-linux-i586.bin /opt/java/32

Press Enter.


6. Make the file executable, with the following command.
Type (copy/paste):
sudo chmod 755 /opt/java/32/jre-6u24-linux-i586.bin

Press Enter.

Now you're going to install JRE, by executing this file.


7. First, go to the new folder, with the following command.
Type (copy/paste):
cd /opt/java/32

Press Enter.


8. Execute the file, with the following command.
Type (copy/paste):
sudo ./jre-6u24-linux-i586.bin

Press Enter.

Now the license agreement appears.
Press as many times on the space bar, until you see the following text:
Do you agree to the above license terms? [yes or no]

Type:
yes

Press Enter.

Note: it's possible that you won't see a license agreement. For example because you've already accepted it previously, during the installation of an older version of JRE from the repositories.


Inform the system and make the new JRE the default

9. Now you'll want to tell the system, that there's a new Java version available.

Type (copy/paste):
sudo update-alternatives --install "/usr/bin/java" "java" "/opt/java/32/jre1.6.0_24/bin/java" 1

Press Enter.

Note: are you updating from a previous Java version, which you have removed manually? Then you'll need to execute the above command twice, because you'll get an error message the first time.


10. Tell the system, that the new Java must be the default:

Type (copy/paste):
sudo update-alternatives --set java /opt/java/32/jre1.6.0_24/bin/java

Press Enter.


Install the Firefox plugin

11. Installing the Firefox plugin is simple. First execute the following command, in order to create a certain folder (if it doesn't exist already).

Type in the terminal (copy/paste):
mkdir ~/.mozilla/plugins

Press Enter.

If it exists already, you'll see a notification of that.


12. Now remove the IcedTea plugin, if it has been installed.

Type (copy/paste):
sudo apt-get remove icedtea6-plugin

Press Enter.


13. Remove a former version of the Java plugin (may or may not be present, run the command just to make sure).

Type (copy/paste):

rm ~/.mozilla/plugins/libnpjp2.so

Press Enter.


14. Now you can install the plugin, by creating a symbolic link (you tell Firefox, where the plugin is located).

Type (copy/paste):
ln -s /opt/java/32/jre1.6.0_24/lib/i386/libnpjp2.so ~/.mozilla/plugins/

Press Enter.


Final check

Now close and restart Firefox. Check if everything has succeeded. Type in the url bar of Firefox (not in the terminal!):

about:plugins

Press Enter.

And scroll down, until you see something approximately similar to this:
Java(TM) Plug-in 1.6.0_24

You can also use this website:
http://java.com/en/download/installed.jsp


Other user accounts: repeat three commands

Are there any other user accounts on the computer? Then repeat the following three commands in each user account:

rm ~/.mozilla/plugins/libnpjp2.so

and then (in case the plugins folder doesn't exist yet):

mkdir ~/.mozilla/plugins

and then:

ln -s /opt/java/32/jre1.6.0_24/lib/i386/libnpjp2.so ~/.mozilla/plugins/


Sun Java 6 Plugin Control Panel

You can call up the Control Panel as follows (in each user account):

Type (copy/paste):
/opt/java/32/jre1.6.0_24/bin/ControlPanel

Press Enter.

Note: this command is only for JRE update 24. You'll need to adapt it when you use another version.


Removal

Do you wish to remove JRE again? It's very easy, to remove a manually installed JRE. As follows:

Close Firefox (otherwise the java plugin will be in use).

Now open file manager Nautilus with root rights, using the following terminal command.

Applications - Accessories - Terminal

Type (copy/paste):
gksudo nautilus

Press Enter.

File system - opt

Click on the folder java and delete it.

Then remove the Java plugin:

Type in the terminal (copy/paste):

rm ~/.mozilla/plugins/libnpjp2.so

Press Enter.


Ohjeen linkki  http://sites.google.com/site/easylinuxtipsproject/java#TOC-Install-JRE-32-bit-

3
Mulla jää avatuilta nettisivuilta "laatikoita" työpöydän yläreunaan, mitkä näkyvät ainoastaan uuden avatun sivun "tyhjien" kohtien läpi. Kuten nyt tuolla oikealla ylhäältä, HAE! ruudukon läpi näkyy edellisen suljetun sivun yläreunan autotalli.com mainos sivu: http://www.telkku.com/programtable/show/2/20110213   . Samanlailla näkyy jos avaan esim. pakettienhallinnan, mutta ei siis näy kun ei ole avoimia ikkunoita, ja kuvakaappauksessa ei näy. Klikatessa oikealla hiiren-napilla ei sano että olisi flash mutta tuolla sivulla se on siis flash-mainos.
Mistä tämä voi johtua?

4
Onko kellään tietoa miksi virtualboxissa serveriä pyöritettäessä pakettien hallinta ei aukea?
Eli klikatessa pakettien hallintaa kysyy salasanaa, annettuani salasanan ikkuna vain katoaa, eikä mitään tapahdu.
Sama homma kun yritän käynnistää esim. Samban.
Alapalkissa lukee hetken aikaa "myönnetään oikeuksia".

edit: Päätteestä aukeaa pakettien hallinta niinkuin pitää
sambaa avattaessa:
Koodia: [Valitse]
Unknown parameter encountered: "max log size"
Ignoring unknown parameter "max log size"
Unknown parameter encountered: "syslog"
Ignoring unknown parameter "syslog"
Unknown parameter encountered: "passdb backend"

edit: poistin gnomen ja siirryin tekstipuolelle. Ongelma ratkaistu  lol!
Ignoring unknown parameter "passdb backend"
Unknown parameter encountered: "unix password sync"
Ignoring unknown parameter "unix password sync"
Unknown parameter encountered: "passwd program"
Ignoring unknown parameter "passwd program"
Unknown parameter encountered: "pam password change"
Ignoring unknown parameter "pam password change"
Unknown parameter encountered: "map to guest"
Ignoring unknown parameter "map to guest"
Unknown parameter encountered: "usershare allow guests"
Ignoring unknown parameter "usershare allow guests"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
[Mon Feb  7 14:13:21 2011 EET, 0 ../smbd/server.c:374:binary_smbd_main()]
samba version 4.0.0alpha12-GIT-UNKNOWN started.
Copyright Andrew Tridgell and the Samba Team 1992-2010

5
Juu myönnetään pihalla ollaan kuin lumiukko tuon kaukkarin suhteen   ???
Viritin on Hauppauge Nova-DVB-t USB  http://www.hauppauge.co.uk/site/products/data_novatstick.html
(Ei saman värisiä kuin linkissä, mutta sama tuotekoodi)

Koodia: [Valitse]
cat /proc/bus/input/devices

I: Bus=0003 Vendor=2040 Product=7070 Version=0100
N: Name="IR-receiver inside an USB DVB receiver"
P: Phys=usb-0000:00:02.1-3/ir0
S: Sysfs=/devices/pci0000:00/0000:00:02.1/usb1/1-3/input/input4
U: Uniq=
H: Handlers=kbd event4
B: EV=3
B: KEY=14afc336 294284f 0 0 0 4 80158000 2190 40000801 9e96c0 0 900240 10004ffc


Eli LIRC.n asetuksista ei löydy kakea&vastaanotinta.
Minkä valitsen Remote control configurationista:
(Pelkästään Hauppaugen)

Hauppauge DVB-s card (ver. 2.1)                                                                
Hauppauge HVR-1100                                                                            
Hauppauge HVR-1300                                                                            
Hauppauge Nova-T 500                                                                              
Hauppauge TV card  

Entäs tämä:
IR transmitter, if present:

None                                                                                                  
Custom                                                                                              
Command IR : Direct TV Receiver                                                                        
Command IR : Dish Receiver                                                                              
Command IR : Motorola Cable box                                                                        
Command IR : Pioneer Cable box                                                                          
Command IR : Scientific Atlanta Cable box                                                              
Command IR : Sky Satellite Receiver                                                                    
Microsoft Windows Media Center V2 (usb) : Direct TV Receiver                                            
Microsoft Windows Media Center V2 (usb) : Dish Receiver                                                
Microsoft Windows Media Center V2 (usb) : Motorola Cable box                                          
Microsoft Windows Media Center V2 (usb) : Pioneer Cable box                                            
Microsoft Windows Media Center V2 (usb) : Scientific Atlanta Cable box                                  
Microsoft Windows Media Center V2 (usb) : Sky Satellite Receiver                                      
Serial Port (UART) : Direct TV Receiver                                                            
Serial Port (UART) : Dish Receiver                                                                    
Serial Port (UART) : Motorola Cable box                                                            
Serial Port (UART) : Pioneer Cable box                                                              
Serial Port (UART) : Scientific Atlanta Cable box                                                
Serial Port (UART) : Sky Satellite Receiver                                                        
USB-UIRT2 : Direct TV Receiver                                                                        
USB-UIRT2 : Dish Receiver                                                                            
USB-UIRT2 : Motorola Cable box                                                                        
USB-UIRT2 : Pioneer Cable box                                                                          
USB-UIRT2 : Scientific Atlanta Cable box                                                              
USB-UIRT2 : Sky Satellite Receiver

[nm: jaoin aiheen VDR-keskustelusta]

6
Moro   ;)

yritän saada tänään ostamaani digiTV-tikkua toimimaan asiallisesti. Olen asentanut v4l-dvb ajurit ja firmwareja joka lähtöön, mitä olen löytänyt eri palstoilta koskien asiaa.


dmesg


[ 1272.209036] usb 1-3: new high speed USB device using ehci_hcd and address 5
[ 1272.399944] dib0700: loaded with support for 14 different device-types
[ 1272.400904] dvb-usb: found a 'Hauppauge Nova-T Stick' in cold state, will try to load a firmware
[ 1272.413216] dvb-usb: downloading firmware from file 'dvb-usb-dib0700-1.20.fw'
[ 1272.617132] dib0700: firmware started successfully.
[ 1273.120145] dvb-usb: found a 'Hauppauge Nova-T Stick' in warm state.
[ 1273.120275] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 1273.120394] DVB: registering new adapter (Hauppauge Nova-T Stick)
[ 1273.329610] DVB: registering adapter 0 frontend 0 (DiBcom 7000PC)...
[ 1273.543464] DiB0070: successfully identified
[ 1273.543658] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:02.1/usb1/1-3/input/input5
[ 1273.543799] dvb-usb: schedule remote query interval to 50 msecs.
[ 1273.543807] dvb-usb: Hauppauge Nova-T Stick successfully initialized and connected.
[ 1273.544504] usbcore: registered new interface driver dvb_usb_dib0700
[ 5250.297507] lo: Disabled Privacy Extensions
[ 5354.930473] [UFW BLOCK] IN=eth0 OUT= MAC=00:21:85:31:54:da:00:16:4d:26:a8:4d:08:00 SRC=193.229.0.40 DST=91.154.4.9 LEN=75 TOS=0x00 PREC=0x00 TTL=252 ID=65435 DF PROTO=UDP SPT=53 DPT=40077 LEN=55 MARK=0x14
[ 6140.839611] [UFW BLOCK] IN=eth0 OUT= MAC=00:21:85:31:54:da:00:16:4d:26:a8:4d:08:00 SRC=193.229.0.40 DST=91.154.4.9 LEN=74 TOS=0x00 PREC=0x00 TTL=252 ID=34808 DF PROTO=UDP SPT=53 DPT=34503 LEN=54 MARK=0x14
[ 6856.514960] lo: Disabled Privacy Extensions
[ 6926.526841] lo: Disabled Privacy Extensions


Ainoa ongelma on ENÄÄN että saan vain joitain kanavia näkymään ME TV.llä mutta siinäkin tikku tunnistuu väärin (Dibcom 7000PC)
Olen ymmärtänyt että Kaffeine olisi "paras" katselu ohjelma,mutta ei löydy kanavia ollenkaan ja tikku tunnistuu myös väärin (Dibcom 7000PC).

Ideoita ja ehdotuksia mitä tehdä?
(Win Xp.ssä tikku toimii)

Muokkaus (Tomin): Merkkasin ratkaistuksi

7
Tervehdys

Eli otsikon mukaista asiaa. Muutaman viikon käytössä ollut tikku ei ota enää yhteyttä. Punainen valo vain palaa.
Eilen illalla vissins alkoi kun yhtäkkiä jääty koko käyttis, ei voinu muuta tehdä kuin etupaneelin virtanapista sammuksiin. Sen jälkeen rupes netti takkuilee ja tänään tikku tuossa tilassa. Mitä vois yrittää ennen ku meen elisan kauppaan kyselee..?

dmesg
[ 5825.232042] usb 1-4: new high speed USB device using ehci_hcd and address 9
[ 5825.370668] scsi10 : usb-storage 1-4:1.0
[ 5828.484144] usb 1-4: USB disconnect, address 9
[ 5833.204028] usb 1-4: new high speed USB device using ehci_hcd and address 10
[ 5833.346272] option 1-4:1.0: GSM modem (1-port) converter detected
[ 5833.346503] usb 1-4: GSM modem (1-port) converter now attached to ttyUSB0
[ 5833.346684] option 1-4:1.1: GSM modem (1-port) converter detected
[ 5833.346819] usb 1-4: GSM modem (1-port) converter now attached to ttyUSB1
[ 5833.347036] option 1-4:1.2: GSM modem (1-port) converter detected
[ 5833.347191] usb 1-4: GSM modem (1-port) converter now attached to ttyUSB2
[ 5833.347951] scsi11 : usb-storage 1-4:1.3
[ 5834.351848] scsi 11:0:0:0: Direct-Access     ZTE      MMC Storage      2.31 PQ: 0 ANSI: 2
[ 5834.353948] scsi 11:0:0:1: CD-ROM            ZTE      USB SCSI CD-ROM  2.31 PQ: 0 ANSI: 2
[ 5834.355065] sd 11:0:0:0: Attached scsi generic sg3 type 0
[ 5834.368590] sr1: scsi-1 drive
[ 5834.368940] sr 11:0:0:1: Attached scsi CD-ROM sr1
[ 5834.369127] sr 11:0:0:1: Attached scsi generic sg4 type 5
[ 5834.370944] sd 11:0:0:0: [sdc] Attached SCSI removable disk


En tiedä liittyykö tämä mitenkään asiaan, mutta tänään asensin digiTV-tikun käyttäen seuraavaa:
(Netti kyllä välillä toimi tuon jälkeen, mutta nyt siis ei.)

Kuinka asennan uusimmat v4l ajurit
Tarkoitus olisi ajaa seuraavat komennot päätteessä, myös tunnetaan nimellä komentokehoite. Päätteen löydät kun klikkaat ylävalikosta Sovellukset --> Apuohjelmat --> Pääte. Tällöin avautuu ikkuna mihin voi syöttää järjestelmälle komentoja "käsin". Seuraavaksi komentojen syöttö: Maalaat vain kopioitavan tekstin, klikkaat päätteeseen ja painat hiiren keskimmäistä näppäintä niin kopio-liitä toimii.

Kopioi seuraavat komennot päätteeseen niin kuin ne on kirjoitettu rivi kerrallaan ja painaen enteriä jokaisen komennon jälkeen.


sudo apt-get install mercurial linux-headers-$(uname -r) build-essential
hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
make
sudo make install
sudo make reload

8
Ubuntu tietokoneissa / Rkhunter
« : 24.01.11 - klo:22.06 »
Moi

Osaako joku kertoa mitä nuo RKHUNTER.n löytämät varoitukset ovat ja mitä niille voi tehdä?

[21:53:23]   Checking /dev for suspicious file types         [ Warning ]
[21:53:23] Warning: Suspicious file types found in /dev:
[21:53:23]          /dev/shm/pulse-shm-2144294368: data
[21:53:23]          /dev/shm/pulse-shm-2929869711: data
[21:53:23]          /dev/shm/pulse-shm-1467953665: data
[21:53:23]          /dev/shm/pulse-shm-3529575168: data
[21:53:23]   Checking for hidden files and directories       [ Warning ]
[21:53:23] Warning: Hidden directory found: /etc/.java
[21:53:23] Warning: Hidden directory found: /dev/.udev
[21:53:23] Warning: Hidden directory found: /dev/.initramfs


Toiseksi miksi ylipäätään tein tarkastuksen on nämä NETSTAT -T yhteydet. Mitä nuo ovat ja miksi ovat olleet tunteja tuossa tilassa? Rupesi netti jumittelemaan tässä iltasella.
tcp       38      0           papeda.canonical.:https CLOSE_WAIT
tcp        1       0           barbadine.canonical:www CLOSE_WAIT
 

9
Multimedia ja grafiikka / DigiTV USB Ubuntu 10.10
« : 22.01.11 - klo:20.09 »
Miten tänä päivänä onnistuu Digikanavien tuijottaminen Usb-tikulla?

Löysin vanhan Pinnacle PCTV USB DVB-T 70e tikun ja yritin Windowsin puolella viritellä, mutta tv-centerin ohjelma ei löytänyt antennia  :-\  Antenni-liitäntä tuli samaa johtoa pitkin talon katolta, mikä on käytössä digi-tv.ssä.
Siis nappasin vain digiboksin irti ja laitoin antennijohdon Pinnaclen tikkuun.

Oiskohan tikku hajalla, kun tuossa muutama vuosi sitten toimi, eikä ole ollut sen jälkeen käytössä. Vai onko noi lähetykset jotenkin muuttuneet? Ei tahdo pysyä mukana tässä digi touhussa.  ;)

Siis vinkkejä tulemaan, miten te katselette digikanavia ja mielummin sellasia mitkä toimii "heittämällä" Ubuntussa (edullisesti) ??

Sivuja: [1]