Jump to content

Hello all! It 's Unix time


G+_Rud Dog
 Share

Recommended Posts

Hello all! It's Unix time.

The drivers are not installed on a friends computer for WiFi and I don't feel comfortable connecting it to my network to upgrade his drivers. Can anyone suggest a way to download the drivers onto a USB stick on my Windows machine and Nike-net over to the troubled computer and install?

When running the following command on the Unix PC it will install the proper drivers:

Unix: sudo app install tlp

How do I get the proper drivers for the computer in questions when doing it offline as in download onto USB stick?

Link to comment
Share on other sites

I don't know how you would do this. But I was thinking can't you make your own repository using the flash drive on windows then. Then you can run it on Linux. I know on a show that Brian Lunduke was talking about an end of the world scenario. I think he talked about making your own Linux repository. I hope this helps. If I find the video I link it in this post

Link to comment
Share on other sites

Michael Whalen Jr This sounds complicated and not sure how this would work. Sounds to me I still would have to allow the Unix PC to be connected to my LAN and trying to avoid doing so. Maybe seeing the video would help me see the bigger picture. Thank you.

Link to comment
Share on other sites

Justin Lynch Therein lies the problem. If I ran the sudo command, on the Unix PC, I show in my original post and there was nothing to worry about, meaning the Unix PC connected to my LAN, I could just run the command and the correct drivers would download, I assume. But not knowing how to download the right Unix drivers via windows is a puzzle to me. So can't get to the step of carrying the USB stick over to the Unix PC.

Link to comment
Share on other sites

I may be showing my Linux snobbery, I'm scared to give anyone with a Windows machine access to my trusted network. A Linux machine would be more welcome unless it was owned by someone that I was concerned had the skills to do something nefarious. Then I wouldn't let them on no matter what their OS was.

Link to comment
Share on other sites

Is your friends machine a fresh installation? If so, I would have no problem connecting that machine to any network(even wifi at Starbucks) to update the OS.

 

I like the idea of local repositories, especially for mass update over local net. My concern would be the size of the storage that would be required to store 'everything'.(drivers, packages, and more)

Link to comment
Share on other sites

Jared Messervy Interesting approach never considered doing so and I think I misunderstood someone else's suggestion on a similar line. Somehow I remember someone saying there were a couple of setup modes the ISP has you choose for your modem. Can only remember one think it was bridge mode. Don't really know but this might be something I can do just have to wait till everyone is off the LAN. Might wake up with the router as a hat.

Link to comment
Share on other sites

Rud Dog OK

You can run “sudo apt-get install —dry-run tlp”

 

That will tell you what packages it would download. The issue is that the information is based on the last time the catalog was refreshed, so it could reference older package versions or packages that no longer exist.

 

However, you can try grabbing the latest available in the repositories for that version of Ubuntu and see if they’ll install. Just download them and transfer them with the USB stick. You can double click on the packages or install them from the command line with “sudo dpkg -i packageA.dpkg packageB.dpkg ...” The command line may be easier if there is more than one package.

 

You may find that some other packages need to be updated if you can’t find the exact versions already in the catalog.

Link to comment
Share on other sites

If you're worried about giving it direct access, you could plug it into a Windows machine (or another Linux machine) that you trust and route traffic through there. This would prevent you from exposing your network directly.

 

Or perhaps USB tethering on a phone connected to the guest network (Easy Tether on Android has Linux drivers). If you can use the built-in Android tethering, it may even show up as an RNDIS device.

 

I agree with everyone else though. Unless you have reason to expect nefarious actions, it should be fine to just plug it in.

Link to comment
Share on other sites

For RedHat based systems (anything that uses .rpm files). I like https://rpmfind.net/linux/rpm2html/search.php?query=tlp&submit=Search+...&system=&arch=

 

I'm not seeing it in the Debian repos, so it's probably not a .deb package, which would be most other distributions.

 

To install, use 'yum localinstall tlp.rpm' (the downloaded file will probably be something like tlp-1.1-1.fc29.noarch.rpm)

 

If it's truly a UNIX machine and not some sort of Linux Distribution, then you're going to have to compile it from source anyway and I don't envy you at all.

rpmfind.net - Rpmfind mirror

Link to comment
Share on other sites

Ben Reese Yeah just can't get past giving an unknown machine access to my network or single computer. It could be ok and probably is but can you imagine if I had to chase down some problem for which I probably don't have the expertise? Having said that want to make it clear I appreciate your and everyone's help. Now I must decide.

Link to comment
Share on other sites

Rud Dog Sort of. It shows you the repository structure, which isn’t exactly the directory structure, but you can probably guess. You could also google the package name and probably find a link to the package. Just make sure it’s from an official mirror. Some mirrors are searchable as well.

 

FYI, I don’t know if the “tld” is supposed to be a real package that you want, but it doesn’t seem to be related to drivers.

 

This is all far easier online. You may have to add a repository if the driver requires binaries.

Link to comment
Share on other sites

Just finished googling my brains out! One suggestion was to load Wine then run Malwarebytes. That turned out to be more work then I really care to carry out. Thinking I will take one of the other community users ideas with a twist. Disconnect all the connections to my 24 port switch and only plug in the nightmare of a computer this way it will be the only thing on my LAN.

Link to comment
Share on other sites

Got extremely confused with this friendly gesture I have ventured into.

Got up early and connected the villainous machine to my LAN.

There are no other computers on the LAN.

First thing I find out the computer after entering a query for network information was that neither Wired or Wireless connections were claimed or at least that is what I got from the line stating:

"Network UNCLAIMED" in the lines that followed.

I made up a CD-ROM with the same OS version as loaded on the VPC.(saving some typing Villainous PC)

It has the Ralink Corporation Wireless 802.11n PCIe card and

RTL 8111/8168/8411 PCI Gigabit Ethernet Controller.

 

The plan was to insert the CD with the Ubuntu version OS of

16.04 into the VPC and try to install the drivers for either one of the ethernet drives. Well after hours of searching could not find a clear and newbie explanation of how to carry this out.

 

Is there a command I can enter to install drivers for the card mentioned, something simple?

 

BTW the friend of my son claims this was connected to the internet for a long time. Find that odd.

 

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...