User avatar
kerry_s
Posts: 1209
Joined: Thu Jan 30, 2020 7:14 pm

Re: Getting to a Comamnd Line

Sun Sep 20, 2020 9:33 am

https://pimylifeup.com/raspberry-pi-kodi/

scroll down to network.
hopefully you have a linux compatible wifi dongle & it will be there ready to go.

GlowInTheDark
Posts: 950
Joined: Sat Nov 09, 2019 12:14 pm

Re: Getting to a Comamnd Line

Sun Sep 20, 2020 10:24 am

OP, try this:

At the $ prompt, type ls (that's el ess), then hit Tab (that's like the soft drink) twice. Note: I'm not sure why you have to hit Tab twice - it should only need to be once, but in my testing, nothing happens after the first hit. So, the idea is: Try it once, if that doesn't work, hit it again.

Anyway, on my system, after hitting Tab twice, it displays like this:

$ ls
ls lsb_release lscpu lslocks lsof lspgpot
lsattr lsblk lsinitramfs lsmod lspci lsusb

This shows all the commands the shell knows about that start with "ls". Is "lsusb" in your list?
GitD's list of things that are not ready for prime time:
1) IPv6
2) 64 bit OSes
3) USB 3
4) Bluetooth

User avatar
rpdom
Posts: 17541
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Getting to a Comamnd Line

Sun Sep 20, 2020 10:43 am

AlexanderBB wrote:
Sun Sep 20, 2020 9:10 am
I get No such file or directory
The command prompt is smc@osmc:~$
is that right ?
It looks like the lsusb command has been left out of osmc (can anyone confirm this?)
Unreadable squiggle

AlexanderBB
Posts: 38
Joined: Fri May 23, 2014 5:56 am

Re: Getting to a Comamnd Line

Sun Sep 20, 2020 11:32 pm

I'm still getting nowhere at prompt "smc@osmc:~$". Am I in the right place for these commands.

User avatar
kerry_s
Posts: 1209
Joined: Thu Jan 30, 2020 7:14 pm

Re: Getting to a Comamnd Line

Sun Sep 20, 2020 11:39 pm

AlexanderBB wrote:
Sun Sep 20, 2020 11:32 pm
I'm still getting nowhere at prompt "smc@osmc:~$". Am I in the right place for these commands.
did you check my link? some wifi dongles are supported right out of the box.
if it's not supported you need to compile the drivers from source, if you can find the source for the dongle.

GlowInTheDark
Posts: 950
Joined: Sat Nov 09, 2019 12:14 pm

Re: Getting to a Comamnd Line

Mon Sep 21, 2020 12:34 am

I'm still getting nowhere at prompt "smc@osmc:~$". Am I in the right place for these commands.
Did you try what I suggested - with the Tab key?
GitD's list of things that are not ready for prime time:
1) IPv6
2) 64 bit OSes
3) USB 3
4) Bluetooth

AlexanderBB
Posts: 38
Joined: Fri May 23, 2014 5:56 am

Re: Getting to a Comamnd Line

Mon Sep 21, 2020 12:59 am

>scroll down to network.
>hopefully you have a linux compatible wifi dongle & it will be there ready to go.

My System info = Not Connected
Check Network Settings

This is the bottom graphic in Settings - with Wired or Wireless Option, then Enable Adapter ?

Trying both return Status: Disabled.

AlexanderBB
Posts: 38
Joined: Fri May 23, 2014 5:56 am

Re: Getting to a Comamnd Line

Mon Sep 21, 2020 1:01 am

> Did you try what I suggested - with the Tab key?
I see
lsattr lsblk lscpu lsinittramfs lsips lslocks lslogins lsmod lsns lspgpot

User avatar
kerry_s
Posts: 1209
Joined: Thu Jan 30, 2020 7:14 pm

Re: Getting to a Comamnd Line

Mon Sep 21, 2020 1:36 am

what version rpi is this again? it doesn't have built in wifi?

GlowInTheDark
Posts: 950
Joined: Sat Nov 09, 2019 12:14 pm

Re: Getting to a Comamnd Line

Mon Sep 21, 2020 3:18 am

kerry_s wrote:
Mon Sep 21, 2020 1:36 am
what version rpi is this again? it doesn't have built in wifi?
Apparently not. I think prior to the 3, they didn't have WiFi.
(I just checked one of my Pi 2s - no Wifi)

Anyway, the OP says:
Hi, I have an older Pi running KODI (RaspBMC) on which the LAN port appears to have failed.
I still have a use for this so rather than toss it out I bought a USB wifi adapter.
He probably would have done better to have bought a USB ethernet adapter. That's pretty much guaranteed to work. WiFi is always a gamble with non-PC/non-Windows hardware.
GitD's list of things that are not ready for prime time:
1) IPv6
2) 64 bit OSes
3) USB 3
4) Bluetooth

GlowInTheDark
Posts: 950
Joined: Sat Nov 09, 2019 12:14 pm

Re: Getting to a Comamnd Line

Mon Sep 21, 2020 3:18 am

AlexanderBB wrote:
Mon Sep 21, 2020 1:01 am
> Did you try what I suggested - with the Tab key?
I see
lsattr lsblk lscpu lsinittramfs lsips lslocks lslogins lsmod lsns lspgpot
Well, then, it is pretty clear you don't have lsusb on your system. At least we know that now.
GitD's list of things that are not ready for prime time:
1) IPv6
2) 64 bit OSes
3) USB 3
4) Bluetooth

AlexanderBB
Posts: 38
Joined: Fri May 23, 2014 5:56 am

Re: Getting to a Comamnd Line

Mon Sep 21, 2020 3:41 am

> ave done better to have bought a USB ethernet adapter

I you think it'll work I'll get one. Also can I buy this same model Pi anywhere? It's probably 12+ years old. The reason is my wife has heaps of mkv's partly watched and we'd like to know where she's up to (to watch the rest). This Pi just stopped working one day so we had no way to get that. I did try exporting the library as shown in an earlier link, but it took less than a second to write a file (I can't read on the PC). Perhaps there's no library as such if the HDDs can't be seen ?

Where is that info kept ? The place you're up to in a file.

> you don't have lsusb on your system
Should I? Can I add it (would have to be PC writing to SD card).

W. H. Heydt
Posts: 13197
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Getting to a Comamnd Line

Mon Sep 21, 2020 4:37 am

GlowInTheDark wrote:
Mon Sep 21, 2020 3:18 am
Apparently not. I think prior to the 3, they didn't have WiFi.
Correct. That's why I want to get around to buying up a bunch of Pi2Bv1.2 boards.

W. H. Heydt
Posts: 13197
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Getting to a Comamnd Line

Mon Sep 21, 2020 4:41 am

AlexanderBB wrote:
Mon Sep 21, 2020 3:41 am
I you think it'll work I'll get one. Also can I buy this same model Pi anywhere? It's probably 12+ years old.
The very first Pis were released just over 8.5 years ago.
The reason is my wife has heaps of mkv's partly watched and we'd like to know where she's up to (to watch the rest). This Pi just stopped working one day so we had no way to get that. I did try exporting the library as shown in an earlier link, but it took less than a second to write a file (I can't read on the PC). Perhaps there's no library as such if the HDDs can't be seen ?
You can still get Pi2Bs. All the ones on the market *should* be Pi2Bv1.2, but there may still be some Pi2Bv1.1 floating around out there from held by vendors that don't sell them very fast.
Where is that info kept ? The place you're up to in a file.
Pis store all information on the SD card, unless you have set up some other type of mass storage device, such as USB stick, HDD, or SSD.

AlexanderBB
Posts: 38
Joined: Fri May 23, 2014 5:56 am

Re: Getting to a Comamnd Line

Mon Sep 21, 2020 5:24 am

On the Pi Board it says (c)2011.12
I can put the SD card into the PC and I see an N: drive (which can be read) and a 3.6GB 2nd partition which can't be read.
Do you know which partition would hold the info and if the one I can read, what the filename is ?

User avatar
kerry_s
Posts: 1209
Joined: Thu Jan 30, 2020 7:14 pm

Re: Getting to a Comamnd Line

Mon Sep 21, 2020 6:07 am

AlexanderBB wrote:
Mon Sep 21, 2020 5:24 am
On the Pi Board it says (c)2011.12
I can put the SD card into the PC and I see an N: drive (which can be read) and a 3.6GB 2nd partition which can't be read.
Do you know which partition would hold the info and if the one I can read, what the filename is ?
the 1 you can read is the /boot partition, it is fat32 which windows can read. the 1 you can't read is ext4 a linux partition, that is where your stuff is in /home.
https://www.howtogeek.com/112888/3-ways ... m-windows/

User avatar
kerry_s
Posts: 1209
Joined: Thu Jan 30, 2020 7:14 pm

Re: Getting to a Comamnd Line

Mon Sep 21, 2020 6:40 am

AlexanderBB wrote:
Mon Sep 21, 2020 12:59 am
>scroll down to network.
>hopefully you have a linux compatible wifi dongle & it will be there ready to go.

My System info = Not Connected
Check Network Settings

This is the bottom graphic in Settings - with Wired or Wireless Option, then Enable Adapter ?

Trying both return Status: Disabled.
i was reading the osmc docs & it says:
Wireless Network
The wireless option will only appear if you have a supported wireless adapter connected to your device.
you say you see wireless but it won't enable?

AlexanderBB
Posts: 38
Joined: Fri May 23, 2014 5:56 am

Re: Getting to a Comamnd Line

Mon Sep 21, 2020 7:46 am

> you say you see wireless but it won't enable?

Pretty much, it doesn't say it found anything or show anything to connect to.
BTW thanks for that link re reading linux. I did download Diskinternals Linux Reader and it shows the drives, but clicking on S: gives
Can't open disk: S:
Check the disk and try again

I just wonder... I do have a second rasp pi. much later version which has LibreElec. I got this to replace the older one when the LAN port stopped working. If I pull the SD card out of that - and put in the old one, will it work? And not muck up the libre setup when I put the card back in ?

User avatar
RamaSpaceShip
Posts: 86
Joined: Sun Apr 26, 2020 12:19 pm

Re: Getting to a Comamnd Line

Mon Sep 21, 2020 10:00 am

Before using your SD card with LibreElec in the old Pi, you can first make a binary copy of it and use the copy in the old Pi so you risk nothing.

Return to “Troubleshooting”