LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-01-2016, 09:25 AM   #1
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,288

Rep: Reputation: 52
How can I use wifi in library? And at home?


I have purchased a wireless TP-LINK TD-W8960N and a few USB "adapters" (TP-LINK AC600 Dual Band USB model no ARCHER T2U) all supposedly supported under Linux. TP-LINK has a driver to be compiled on their web site for these adapters but, trying this compilation, I get one error after an other and each takes a while to fix. Finding the driver on TP-LINK's sites already took far too long as it is sort of buried somewhere and I only found it accidentally. Given the fact that I could find errors to keep me busy for weeks, I simply want to throw away the gear as I haven't even started to try to get the modem/router working yet. The waste of time is simply ridiculous given the value of the gear.

I have 2 requirements:
1) I need to go away from my internet connection for 3-5 months and I am contemplating spending a fair bit of time in public libraries or the like to surf the Internet. At the local library, I can come with my laptop and have free use of their connection provided my machine is wireless-enabled. I know nothing about wifi but I believe all I need is an USB adapter (also called a dongle?) on my laptop.

Can anyone suggest wireless adapters known to work on Linux (Debian 7 - with only reasonable adaptation known to work if absolutely necessary - (I have read Linux support for wifi is disappearing - true or not.))?

2) I am temporarilly out of space to install my (wireless-enabled) 2 year-old laser printer in proximity of my 8 year-old desktop (Debian 7 USB2) and I'd like to use another adapter to do this so I can put the printer away in a corner. The wireless modem/router I purchased is not really necessary and probably to be avoided given the difficulties. I assume if I can fix problem number one, I will automatically solve problem number two.

Can anyone point to suitable info or tell me what needs to be done (if anything) to have my desktop communicating wirelessly with my printer? Perhaps I am better off installing an internal card? If too problematic, I will use cables.

The use of the Internet is only "surfing", no large download/upload - nothing speed-critical and I am not looking to purchase the cheapest hardware. Given that USB adapters do not need their own power supply, I can even purchase from the US if it is something not available in the small .au market.

Incidentally, there was a possible need to unplug and replug the USB adapter when following another unsuccessful procedure but only the case came out when trying to unplug, the electronic board remained plugged (made in china syndrom?)

Thank you for your help.

Last edited by rblampain; 08-01-2016 at 09:29 AM.
 
Old 08-01-2016, 10:31 AM   #2
pingu_penguin
Member
 
Registered: Aug 2004
Location: pune
Distribution: Slackware
Posts: 349

Rep: Reputation: 60
Hi,
As far as the library wifi internet goes, in most of the cases, laptops come with an in-built wifi network card. To see if you have one, fire up a
terminal window/console, become root, and type :

#ifconfig -a

It will show all the network devices (configured or not).
If there is a wifi adapter in the laptop , it will show up as wlan0 , wlan1 etc. You can then use network-manager (or wicd as per your case) in the system tray to create a new wifi-connection and the rest is self-explanatory.
If it's not there, then you will have to get yourself a usb wireless adapter (dongle). you can use the same command to check if its detected on the laptop when inserted.

And I do not agree that wifi support from linux is going away.

Hope this helps.
 
1 members found this post helpful.
Old 08-01-2016, 01:40 PM   #3
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,095
Blog Entries: 21

Rep: Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473
Since your equipment is aged and obsolete.

On my aged and obsolete gear. I use the pcmcia slot and the linux kernel supplies firmware and drivers for this wireless N device that ships from China. So it should be available to you down under also.

It works out of the box with any modern linux distro with a newer 3.xx kernel.

http://www.ebay.com/itm/121129946381...84.m1439.l2649

Code:
Card-2: Ralink RT2800 802.11n PCI driver: rt2800pci
Code:
# iwconfig wlan1 | grep -i --color quality
          Link Quality=52/70  Signal level=-58 dBm
iwconfig wlan1 | grep -i --color signal
          Link Quality=52/70  Signal level=-58 dBm
You might find this card locally <brick and mortar store> since China sells stuff in Australia outlet stores

So saying that. What you can get on Ebay AU

Which is supported at kernel.org with the ath9k driver <the driver comes with Linux kernel so should work out of the box>

Quote:
Products in the retail market containing Atheros AR5008-based solutions

Belkin
N1 Wireless Notebook Card
D-Link

DWA-642 RangeBooster N Notebook Adapter

DWA-645 RangeBooster N650 Notebook Adapter

DWA-542 RangeBooster N Desktop Adapter

DWA-547 RangeBooster N650 Desktop Adapter
DWA-652 XtremeN Notebook Adapter
DWA-552 XtremeN Desktop Adapter

DWA-643 Xtreme N ExpressCard Notebook Adapter

DWA-556 Xtreme N PCIe Desktop Adapter
Or. Let the other members here show you how to make your usb wifi stuff work.

Edit: The kerenl.org link I supplied gives a lot info on wireless devices.

Last edited by rokytnji; 08-01-2016 at 01:42 PM.
 
1 members found this post helpful.
Old 08-01-2016, 02:41 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,965

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
Start at the official web pages maybe. https://wiki.debian.org/WiFi

As you can see only a few are native. Some do need extra work but few should have to be compiled. The ndiswrapper are ones that use a windows driver and can work but may be outside of newbie tasks.
 
1 members found this post helpful.
Old 08-05-2016, 09:47 AM   #5
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,288

Original Poster
Rep: Reputation: 52
Quote:
Start at the official web pages maybe.
I have already seen that, although it is very good, the bottom part is what is time-consuming for an inexperienced like myself.

In my initial post, I mentioned only the case of the USB dongle came out when trying to unplug/replug it and I get the following:
Code:
# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 13fe:4200 Kingston Technology Company Inc. 
Bus 001 Device 003: ID 13fe:4200 Kingston Technology Company Inc. 
Bus 001 Device 004: ID 148f:761a Ralink Technology, Corp. 

ifconfig -a
eth0      Link encap:Ethernet  HWaddr e0:cb:4e:b9:58:20  
          inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::e2cb:4eff:feb9:5820/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:169932 errors:0 dropped:0 overruns:0 frame:0
          TX packets:167314 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:158705808 (151.3 MiB)  TX bytes:25487276 (24.3 MiB)
          Interrupt:43 Base address:0x4000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:5835 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5835 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:350856 (342.6 KiB)  TX bytes:350856 (342.6 KiB)

iw list
nl80211 not found.
So "lsusb" sees it, should "iw list" (iwconfig is obsolete!) detect it? Or should I assume that it has been damaged when its cap abandonned it and I should mercilessly dispose of it with the vicegrip from my car toolbox (I've got a ballbearing extractor)? Or does it need setting up?

If the mention "works out of the box" means a gadget should be detected when plugged in (even if reboot is necessary) and possibly work with minimal setup, I think that's the way I will go. I have found "ThinkPenguin" from the US has an "N" dongle although it requires installation of firmware (which they supply by download) for Debian 7, although any "extra" step worries me and raises my suspicion, it's not about the money, it's about the hidden waste of time.

As I understand, using a wireless enabled laptop at the library (or similar) involves a few steps that can only be done with parameters supplied by this library.

Perhaps someone could comment?

Last edited by rblampain; 08-05-2016 at 09:56 AM.
 
Old 08-05-2016, 04:59 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,965

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
One part of question.
I doubt the library in terms of wifi and tcp/ip are unique. The wifi may have a password, the tcp/ip part of your connection should be similar to your home. The last part of the connection may be some type of agreement or portal. If you had the branch or library group we may be able to look online as to the requirements.

On to next issue.

lsusb tends to report almost any powered usb device that can report. Doesn't begin to mean it will function in linux just yet.
It reports this. 148f:761a Ralink so we can go to other web pages to configure it and we find that the driver is not built into most distro's kernel. Unfortunately you will need to choose one or two ways to connect. One is to use the tplink driver as in these instructions. http://askubuntu.com/questions/67411...ralink-mt7610u
Otherwise you need to use the windows driver under ndiswrapper.

Linux has for a very long time been unable to easily offer drivers and support for the millions of devices available.

Most times in the past I have suggested that a person purchase a device that is known to work in linux as one that is built into the kernel. A kernel version tends to have a list of drivers and unfortunately they add some and subtract some. My old usb etherent adapter was supported for 10 years and even in android. Now I have to buy a new model.
 
1 members found this post helpful.
Old 08-07-2016, 04:31 AM   #7
jnihil
Member
 
Registered: Dec 2012
Location: inside the matrix
Distribution: Debian, Xubuntu, Gentoo, Antergos
Posts: 90

Rep: Reputation: 27
I think the solution offered on the page below might be what you're after:

http://askubuntu.com/questions/45706...r-installation
 
1 members found this post helpful.
Old 08-07-2016, 08:38 PM   #8
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,307
Blog Entries: 28

Rep: Reputation: 6135Reputation: 6135Reputation: 6135Reputation: 6135Reputation: 6135Reputation: 6135Reputation: 6135Reputation: 6135Reputation: 6135Reputation: 6135Reputation: 6135
If you need a USB wireless adapter, you can get one guaranteed to work with Linux out of the box at ThinkPenguin. When I needed one, that's where I got it.

I checked their FAQ. They do ship to Australia.
 
1 members found this post helpful.
Old 09-10-2016, 05:23 AM   #9
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,288

Original Poster
Rep: Reputation: 52
I have reconnected an old Netgear modem/router and tried the laptop (Asus X53Z) and bingo, it works "out of the box" (no cable and only a 1 line setup), why didn't I try that first instead of assuming the worst?
I will definitely keep ThinkPenguin in mind for any new purchase.
Thank you all.

Last edited by rblampain; 09-10-2016 at 05:24 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cannot access Internet via the public Library's WiFi signal; Ubuntu v. 12.04 is my OS JLBB Linux - Newbie 22 09-30-2016 09:28 AM
laptop wifi security in public library, etc., etc. SP7 Linux - Security 2 07-09-2010 06:44 AM
can't access public wifi BUT wifi works on my router at home rob.rice Linux - Networking 4 05-15-2009 01:59 AM
Ralink WIFI with Asus@Home WIFI wavemachine Linux - Hardware 0 10-20-2004 03:10 PM
Serving up my mp3 library at home through a firewall at work nbcthreat Linux - Networking 3 07-08-2004 08:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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