LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-05-2021, 04:42 PM   #1
PBynum
LQ Newbie
 
Registered: Dec 2021
Posts: 2

Rep: Reputation: Disabled
Lightbulb I'm confused about how to open a zip file on Zorin.


Hi! I rarely have to open zip files and it's been so long that I forgot what steps to take. Extracting always did confuse me! I'm no computer whiz, as you can tell, but I do OK for myself!! Thanks!!
 
Old 12-05-2021, 05:11 PM   #2
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
What is it you've tried, what were you expecting to happen, and what happens?

Besides that, what are you trying to accomplish by "opening" it. Are you trying to see a list of files inside? Are you trying to extract them? Do you want to do it from your file manager or command line?
 
Old 12-05-2021, 06:46 PM   #3
PBynum
LQ Newbie
 
Registered: Dec 2021
Posts: 2

Original Poster
Rep: Reputation: Disabled
Zip file

I was trying to download the TL-WN321G Driver for a wireless USB adapter from DriversCollection.com. I got so far as to extract it and the file is on my desktop. But don't know how to actually get it downloaded and functioning from there. I know this sounds elementary but I am older and haven't had coaching on anything. Thanks!
 
Old 12-05-2021, 06:53 PM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

why do you think you need to download a driver from drivercollection.com?

It might help if we had details about this wireless usb device you are trying to use. When you plug it in, what is the output of the lsusb command?

Evo2.
 
Old 12-05-2021, 07:33 PM   #5
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,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Back to the original question, you can use the unzip command (see man unzip for more) in a terminal.

Also, in most file managers, if you right-click on a file name, the right-click menu will contain an item to "extract" (decompress) a compressed file.

As for the USB wireless dongle, the other posters have raised excellent points. Of all external devices, those are ones for which various manufacturers seem to have the most--er--inconsistent Linux support.
 
Old 12-05-2021, 07:54 PM   #6
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
So, if you already have it, that means you downloaded it already. Download means transfer to you from somewhere else.

If you've already extracted it, you're done with zip.

Now your question is how to install it, which you should probably start a new thread for, as it has nothing to do with opening a zip file.

I took a quick look at the file, it is source code... there is a readme in there you could follow... but make sure you really need it first and not already packaged for your distro etc etc....

Code:
*****************************************************************
    RT73 a/b/g STA driver interface with WPA Supplicant
                      Ralink Tech Corp.
*****************************************************************

Q0. Contents:
-----------------------
defconfig
driver.h
driver_ralink.c
driver_ralink.h
drivers.c
events.c
Makefile
wpa_supplicant.c
wpa_supplicant_i.h
README
wpa_supplicant_example.conf


Q1. How to compile
-----------------------
The driver interface was developed on wpa_supplicant v.0.5.8.
You can install the WPA Supplicant Free Edition development from website.

	http://hostap.epitest.fi/wpa_supplicant/
	
After download the package then go to wpa_supplicant directory
Follow the steps..

1.) Copy file "driver_ralink.c" and "driver_ralink.h" we provide to wpa_supplicant directory.
1.1.) Copy files driver.h, events.c, wpa_supplicant.c, wpa_supplicant_i.h we provide to wpa_supplicant directory.
2.) Set driver_ralink configuration as y in the "defconfig" or update to the "defconfig" we provide::

# Driver interface for Ralink rt73 driver
CONFIG_DRIVER_RALINK=y
    
3.) Add wpa_driver_ralink_ops() into wpa_supplicant_drivers() in file "drivers.c" 
    or update to the file "drivers.c" we provide:: 
    
#ifdef CONFIG_DRIVER_RALINK
extern struct wpa_driver_ops wpa_driver_ralink_ops; /* driver_ralink.c */
#endif /* CONFIG_DRIVER_RALINK */
    :
    :
struct wpa_driver_ops *wpa_supplicant_drivers[] =
{ 
#ifdef CONFIG_DRIVER_RALINK
	&wpa_driver_ralink_ops,
#endif /* CONFIG_DRIVER_RALINK */  
}
    
4.) Edit the "Makefile" or update to the "Makefile" we provide::

ifdef CONFIG_DRIVER_RALINK
CFLAGS += -DCONFIG_DRIVER_RALINK
OBJS_d += driver_ralink.o
endif

5.) type $cp defconfig .config
6.) Compile the source code using 'make' command.
    

Q2. How to start wpa_supplicant
--------------------------------
1.) First start rt73 driver.

2.) Edit/Create a configuration file of wpa_supplicant.
   -a)  Set your work directory of wpa_supplicant for sockets
        ctrl_interface = YOUR_WORK_PATH
        
   -b)  Set YOUR_OPENSC_PATH if need be. (e.g. generate certificates)
        opensc_engine_path =/YOUR_OPENSC_PATH/engine_opensc.so
        pkcs11_engine_path =/YOUR_OPENSC_PATH/engine_pkcs11.so
        pkcs11_module_path =/YOUR_OPENSC_PATH/opensc-pkcs11.so

   -c)  Set network configuration. (e.g. WPA/EAP-TTLS)
   
    *** refer to wpa_supplicant.conf in details or related documents ***
    
3.) Manually start wpa_supplicant, 
    type $./wpa_supplicant -c your_config_file -i rausb0 -D ralink

    turn on debug mode,
    type $./wpa_supplicant -c your_config_file -i rausb0 -D ralink -d

Notes:
1.) wpa_supplicant 0.5.8 can not compiler with Redhat Enterprise Linux 5 
	kernel 2.6.18-8.el5xen.  Update Redhat Enterprise Linux 5 kernel to
	current version (kernel-xen-2.6.18-8.1.15.el5xen) can solve it.

Last edited by enigma9o7; 12-05-2021 at 07:57 PM.
 
Old 12-05-2021, 08:57 PM   #7
SW64
Member
 
Registered: May 2014
Distribution: Slackware
Posts: 262

Rep: Reputation: 123Reputation: 123
TL-WN321G has different versions; v1, v4, and v5. The drivers for them are all old, their requirements are in stone-age and and only v1 has the Linux driver. https://www.tp-link.com/us/support/download/tl-wn321g/

It would be easier for OP to just buy a newer one. The ones on the market today would be likely a plug 'n play experience (I don't know Zorin OS so I don't know if that's still a true statement). Many of them are under $20. Staying with TP-Link is a good bet. Any that says "Will support Raspberry Pi, too!" is also another good bet.

Last edited by SW64; 12-05-2021 at 09:00 PM.
 
Old 12-06-2021, 06:16 AM   #8
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
^^
Quote:
Any that says "Will support Raspberry Pi, too!" is also another good bet.
Interesting... You do know that the Raspberry Pi is an ARM device rather than an X86 one so the code will be incompatible?

Just a thought.

Play Bonny!

 
Old 12-06-2021, 11:44 AM   #9
SW64
Member
 
Registered: May 2014
Distribution: Slackware
Posts: 262

Rep: Reputation: 123Reputation: 123
Quote:
Originally Posted by Soadyheid View Post
^^
Interesting... You do know that the Raspberry Pi is an ARM device rather than an X86 one so the code will be incompatible?

Just a thought.

Play Bonny!

Yes, I do know that Raspberry Pi is an ARM device. I have several of them. They are lovely! Everyone should have at least one. I have a TL-WN727N that worked on both architectures without me doing anything extra.
 
  


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
I have troubles. Blinks: Zorin OS12 zorin tty1 zorin login:_ FRANCISCO JAHN Linux - Newbie 1 09-23-2020 07:02 PM
extracting zip file in zorin linux-man Linux - Newbie 3 04-24-2020 10:33 PM
[SOLVED] How can I have zip -d file.zip "__MACOSX*" work on all zip files in directory? thomwblair Linux - Newbie 10 10-08-2018 02:30 PM
How to find out a file in a WAR which in a zip without unzip the zip-file? thomas2004ch Linux - Software 3 09-30-2011 03:06 PM
PHP ZIP MYSQL - open zip without writing it to disk benjalien Programming 2 01-15-2010 05:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:02 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