lørdag 31. januar 2015

Pop pop POPCORN-TIME!!

[IN PROGRESS...]
So you wanna install Popcorn-Time on linux?

Here's the way you can do it on linux 64-bit.

Go to https://popcorntime.io/, download the packet for linux 64-bit

extract the packet.

there was some trouble, more later....



Connect to network and internet from your linux terminal

So... you dont have access to graphical interface and still want to connect to internet from you linux-box?

I wanted to install popcorn-time to see what it was, and i had to do something with the libudev.. a symlink something.

then I managed to delete the file libudev.so.0: 
/lib/x86_64-linux-gnu/libudev.so.0

and rebooted, then I only got the terminal login, and had to manage from there. I needed the network to get hold of a packet and install it again or something, but the network didnt get loaded at startup so had to do that too..

Here's what I did, and it worked for me.
To get the internet working again:

Started out with this:
http://linuxcommando.blogspot.no/2013/10/how-to-connect-to-wpawpa2-wifi-network.html

When the above doesnt succeed, here is an option:
http://www.cyberciti.biz/faq/howto-linux-renew-dhcp-client-ip-address/


Find the wireless device name, often wlan0:
/sbin/iw dev

phy#0
        Interface wlan0
                ifindex 3
                type managed


Is your device up and running? Check it with:

ip link show wlan0

result maybe:
wlan0: (NO-CARRIER,BROADCAST,MULTICAST,UP) mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000
    link/ether 74:e5:43:a1:ce:65 brd ff:ff:ff:ff:ff:ff
 
note the UP.. if it doesnt say UP, then its not up. 

if not up, do this:
sudo ip link set wlan0 up 
 

To scan your wifi for networks:
sudo /sbin/iw wlan0 scan
  
if you want less details and only the ssid:

sudo /sbin/iw wlan0 scan | grep SSID


to be continued...


A little on-the-side below..

Something about apt-get, and libudev:
http://askubuntu.com/questions/441924/problems-with-libudev0-libudev0i386-libgudev-1-0-0-libgudev-1-0-0i386-breaks

and something about dpkg, the debian package manager:
http://askubuntu.com/questions/173992/how-do-i-remove-only-one-specific-package-with-apt-get