LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-06-2024, 11:16 AM   #1
linuxuser371038
Member
 
Registered: Jan 2024
Posts: 55

Rep: Reputation: 1
Is it safe to buy a second hand 4g dongle online in terms of it having some malware or such?


I read about rare cases for usbs.

Crypto guys are super paranoid about buying hardware and say you must always buy new.

Is it an issue?

4g dongles seem pretty rare here in the UK and the new ones cost 40 GBP and up but 2nd hand only a few quid.

I could afford to buy new if absolutely advised but is it unnecesary from a security standpoint?
 
Old 05-06-2024, 07:00 PM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,707

Rep: Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720
I would read up on the available information about the device you are interested in. IF it presents as an interface device or I/O channel and contains no writable storage it is probably safe enough. Not that it could not be leveraged to be a threat, but why would someone work like crazy to make one a threat when other devices make it SO EASY?

Do you have a LUG in your area? You might contact them and see if the group seems trustworthy and does a hardware swap night once in a while. They might be good people to talk to about other hardware and OS issues and questions as well.

I cannot suggest one, because only your vocabulary suggests you might be in the UK. Neither your profile nor your question provide any information that might refine the answers. (DO NOT put information about your address, but something about your country or timezone might not be risky.)

Last edited by wpeckham; 05-06-2024 at 07:03 PM.
 
Old 05-06-2024, 07:18 PM   #3
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 493

Rep: Reputation: 182Reputation: 182
From a security stand-point, one should never buy a second hand USB drive (unless it's your buddy selling it) as it be to much of a risk. That's my opinion. YMMV. Also you don't know how 'well used' the drive is. Could be on last legs for all one knows... Why would someone be selling it? I mean, I use mine until either they have problems and then wipe it/break it and into the bit bucket it goes.
 
Old 05-06-2024, 08:17 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,360
Blog Entries: 28

Rep: Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148
Maybe it's just my nasty suspicious mind, but, unless I was able to thoroughly vet the seller, I'd be concerned about the health and potential longevity of the item.

I've read in legitimate sources about persons reselling used laptop batteries as if they were new on various on-line merchandising sites.
 
Old 05-07-2024, 03:02 AM   #5
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,987
Blog Entries: 33

Rep: Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470
linuxuser371038,

Here is one on Amazon UK:
https://www.amazon.co.uk/TP-Link-M70...ct_top?ie=UTF8

Buy new and sleep easy at night!
 
1 members found this post helpful.
Old 05-07-2024, 04:46 AM   #6
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,483

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Having looked in to mobile connectivity recently there appear to be three main types of USB device:

USB 4G "dongle" These generally appear first as a mass storage device (to make it easy for Windows users to install drivers) and then switch to modem mode when the driver kicks in. You'll need to check that specific drivers are available for your linux distribution as otherwise it can be a bit of a headache.

USB 4G "Sharing" like the one beachboy2 mentions above, these come in a couple of sub-flavors, I've one that's USB and the other that's self powered. The self powered ones show up as a hotspot that you connect to, and then they provide the outbound connectivity. These are easy to set up as there's no drivers needed. The USB ones enumerate as another ethernet device on the host and through DHCP connect directly to the "router" part of the hotspot as though it was a wired connection.

"Dumb" USB modem These show up as a /dev/ttyUSBX device and are really much more for things like dial-up / SMS rather than giving full time 4G "mobile data" connectivity.

For anything other than the "Dumb" USB I'd be wary of buying used as the "router" part of the firmware could be modified and doing strange / naughty things.
 
Old 05-07-2024, 07:37 AM   #7
linuxuser371038
Member
 
Registered: Jan 2024
Posts: 55

Original Poster
Rep: Reputation: 1
Where is the insert quotes button I couldn't find it anywhere?

Anyway seems there are a few people here as paranoid as me! Makes me feel better about shelling out the extra cash for new now .
 
Old 05-07-2024, 08:04 AM   #8
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,987
Blog Entries: 33

Rep: Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470
linuxuser371038,

Try using this for quote tags:

[quote=John Doe;5685032]

Lorem ipsum dolor sit amet

Then put /quote in square brackets [...] immediately after amet.

This will give the following output:

Quote:
Originally Posted by John Doe View Post
Lorem ipsum dolor sit amet

Last edited by beachboy2; 05-07-2024 at 10:36 AM.
 
Old 05-07-2024, 03:57 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,008

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
Might be able to buy one that allows some firmware update. One can check that via shal or such and reload it.
 
Old 05-07-2024, 10:58 PM   #10
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,707

Rep: Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720
Amazon has 10 packs of new 4G USB2 thumb drives for $20USD with free delivery.
How is it worth th risk to buy used?
 
Old 05-11-2024, 01:33 PM   #11
linuxuser371038
Member
 
Registered: Jan 2024
Posts: 55

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by wpeckham View Post
Amazon has 10 packs of new 4G USB2 thumb drives for $20USD with free delivery.
How is it worth th risk to buy used?
Because they don't all have the same functionality.

It seems only the older discontinued ones expose the
Code:
/dev/ttyUSB*
serial modems whereas new ones use the RNDIS ethernet connection like mobile hotspots. I want to use the former for AT commands. Plus RNDIS is some microsoft crap. Avoid whenever possible.
 
Old 05-11-2024, 01:37 PM   #12
linuxuser371038
Member
 
Registered: Jan 2024
Posts: 55

Original Poster
Rep: Reputation: 1
So guys, to follow up I have been doing quite some more research and it seems the second hand market is where most of these devices I want are available. Very very difficult to get my hands on a 4g GSM modem new now. Been trying all week. Bought one, thinking it was just what I wanted and there was a firmware update in the last few years rendering that funcntionality obsolete.

The newer ones use RNDIS making a wired connection which is different from the classic ones which make a
Code:
/dev/ttyUSB*
device. Seems makers transitioned to this new style across the board of the few that are still available.

So, having said that, 2nd hand market is where I could most easily get one.

As such is there much risk of one having some malware tacked on it? I know I went most of my life not thinking about this stuff and did not have such issues buying 2nd hand quite often. I am very paranoid these days though.
 
Old 05-11-2024, 02:28 PM   #13
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,333
Blog Entries: 3

Rep: Reputation: 3730Reputation: 3730Reputation: 3730Reputation: 3730Reputation: 3730Reputation: 3730Reputation: 3730Reputation: 3730Reputation: 3730Reputation: 3730Reputation: 3730
Quote:
Originally Posted by linuxuser371038 View Post
So, having said that, 2nd hand market is where I could most easily get one.
It would not be hard to make a "USB appliance" out of a Raspberry Pi Zero (if you can get one) plus a 4G HAT. At its most basic, you'd just connect a USB cable to the Raspberry Pi's data microUSB port and send data and power over that, leaving the power microUSB port unconnected. There is also a HAT or two to provide USB.

For less current, you might be able to do something similar with an Arduino Every Nano plus 4G.

Then 3D print case, if you can use FreeCAD. Or just wrap it in beautiful electrical tape.
 
Old 05-12-2024, 05:28 AM   #14
linuxuser371038
Member
 
Registered: Jan 2024
Posts: 55

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Turbocapitalist View Post
It would not be hard to make a "USB appliance" out of a Raspberry Pi Zero (if you can get one) plus a 4G HAT. At its most basic, you'd just connect a USB cable to the Raspberry Pi's data microUSB port and send data and power over that, leaving the power microUSB port unconnected. There is also a HAT or two to provide USB.

For less current, you might be able to do something similar with an Arduino Every Nano plus 4G.

Then 3D print case, if you can use FreeCAD. Or just wrap it in beautiful electrical tape.
A nice out of the box idea but what is the point of doing that when it costs about 10x the price and also 10x the effort than buying one made for the job?

I just looked at a 4g hat and on pihut first result I see is £82. Add £30+ for a pi and probably other accessories to put everything together I fail to see any advantage in that then a load of setup installing OS and such for no benefit over a device which is a fraction of the cost.

I have seen there are some non brand name gsm modems floating around such as the OSTENT GSM modem someone has recommended in another thread reply. That seems similar in price to the classic 4g dongles.
 
Old 05-12-2024, 05:43 AM   #15
linuxuser371038
Member
 
Registered: Jan 2024
Posts: 55

Original Poster
Rep: Reputation: 1
Guys just how risky is buying 2nd hand I want clarification on that?

A gumtree seller I found sounds genuine and found an old model that should be the one I want.

Surely there is not much of an attack surface for an obscure old 4g usb dongle sale? As well wouldn't it be a case of them only targeting windows if it is the case?

I much prefer buying 2nd hand really not only for the economic aspect but also to bring old, otherwise unloved, hardware back to life.

Last edited by linuxuser371038; 05-12-2024 at 05:45 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Things not to buy second hand: Mostly BULLS**T smeezekitty General 25 06-14-2010 12:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration