LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices

Reply
 
Search this Thread
Old 10-04-2012, 02:27 PM   #1
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 432

Rep: Reputation: 19
Automatic wifi hotspot detect


I have Linux Mint and Gentoo installed. Mint detects hotspots and allows easy connection.

My Gentoo system, as configured, needs detailed configuration in /etc/wpa_supplicant/wpa_supplicant.conf for each service or it is not seen.

What can I install to easily connect to a hotspot?

Thanks
Jim
 
Old 10-04-2012, 06:24 PM   #2
ShadowCat8
Member
 
Registered: Nov 2004
Location: Arcadia, CA
Distribution: Gentoo, Arch, (RedHat4.x-9.x, FedoraCore 1.x-4.x, Debian Potato-Sarge, LFS 6.0, etc.)
Posts: 209

Rep: Reputation: 43
Greetings,

Well, I am not directly familiar with the program, but a quick 'emerge -s wifi' brought up the following on one of my servers:
Code:
...<snip>...
*  net-wireless/wifi-radar
      Latest version available: 2.0.8
      Latest version installed: [ Not Installed ]
      Size of files: 61 kB
      Homepage:      http://wifi-radar.berlios.de/
      Description:   WiFi Radar is a Python/PyGTK2 utility for managing WiFi profiles.
      License:       GPL-2

...<snip>...
I took a look at the website and screenshots and I think it's what you might be looking for.

HTH. Let us know.
 
Old 10-04-2012, 09:52 PM   #3
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 432

Original Poster
Rep: Reputation: 19
Thanks, but I think it might be Catch-22 *&^%$

Unfortunately the only Internet access is wireless...

I might be able to use wget under Mint to get the file, but dependencies might be a problem.
 
Old 10-05-2012, 09:10 AM   #4
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Rep: Reputation: 54
You can use wpa_gui for basic authentication set-up, and then dhcpcd to get the rest of the settings. That's to get your current gentoo system connected. Then look for a network manager. I have found wicd quite helpful.
 
Old 10-05-2012, 06:41 PM   #5
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 432

Original Poster
Rep: Reputation: 19
Thanks

wpa_gui gives me nothing for adaptor or network from which to choose. Scan finds nothing.

wifi-radar looks very promising, but it is asking for a wpa driver. I'm looking for that.

I briefly had access to a wired connection, but mostly I'm working through this by accessing the Internet with Mint, then rebooting gentoo to check out what I found. Tediuos.
 
Old 10-08-2012, 01:59 AM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
I have no experience with Mint, but about any distro out there is using wpa_supplicant these days for this task.

So, what you want is a frontend to wpa_supplicant. That can be wicd, networkmanager or whatever you prefer. I don't use any so I can't really give you any hint about what's better.

If you want to get the list of files you will need to fetch to be able to emerge any package you just need to issue this command:

Code:
emerge -pf package_name > file_list.txt
Then use your favorite download manager in Mint, or wherever, to download the files. A simple "wget -i file_list.txt" will do.
 
1 members found this post helpful.
Old 10-08-2012, 12:01 PM   #7
ShadowCat8
Member
 
Registered: Nov 2004
Location: Arcadia, CA
Distribution: Gentoo, Arch, (RedHat4.x-9.x, FedoraCore 1.x-4.x, Debian Potato-Sarge, LFS 6.0, etc.)
Posts: 209

Rep: Reputation: 43
Hmmm...

I agree with i92guboj in that you should be able to point the driver for wifi-radar at wpa_supplicant.

If that doesn't work though, you can use 'lshw' to find out which driver the interface grabs and use that directly. At the very least, lshw will give you the chipset that the interface has so you can find the right driver for it.

HTH. Let us know.
 
Old 10-24-2012, 09:46 PM   #8
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 432

Original Poster
Rep: Reputation: 19
Thanks for the help. I've finally had an opportunity to get things working.
wifi-radar wanted a WPA driver. I did not think to try wpa_supplicant. Is that what is wanted?

I did get wicd working. It has a curious problem: It works the first time, but reports that it cannot connect with dbus the next time. If I delete the logfile it works.
 
Old 10-26-2012, 07:02 PM   #9
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 432

Original Poster
Rep: Reputation: 19
What am I doing wrong?
A few days ago I entered
Code:
emerge -pf wicd
and got a list of URLs for the files I needed to install wicd.

Today I entered
Code:
emerge -pf calibre
and got
Code:
[ebuild  N     ] dev-libs/chmlib-0.40-r1  USE="examples -static-libs" 
[ebuild     U  ] dev-util/pkgconfig-0.27.1 [0.26] USE="-internal-glib%" 
[ebuild  N     ] app-text/podofo-0.9.1  USE="boost -debug -test" 
[ebuild  N     ] dev-python/six-1.1.0  USE="-doc" 
[ebuild  N     ] dev-python/python-dateutil-2.1  USE="-examples" 
[ebuild  N     ] media-libs/libwmf-0.2.8.4-r4  USE="X -debug -doc -expat -xml" 
[ebuild   R    ] dev-lang/python-2.7.3-r2  USE="sqlite*" 
[ebuild  N     ] dev-python/beautifulsoup-3.2.0 
[ebuild  N     ] dev-python/mechanize-0.2.5 
[ebuild  N     ] dev-python/cssutils-0.9.9  USE="-examples -test" 
[ebuild  N     ] dev-python/imaging-1.1.7-r1  USE="X -doc -examples -lcms -scanner -tk" 
[ebuild  N     ] dev-python/pycrypto-2.6  USE="gmp -doc" 
[ebuild  N     ] dev-python/lxml-2.3.4  USE="threads -doc -examples" 
[ebuild  N     ] dev-python/dnspython-1.9.4  USE="-examples" 
[ebuild  N     ] app-text/calibre-0.8.62  USE="udisks"
How do I get the URLs again?

Thanks
Jim
 
Old 10-29-2012, 02:36 PM   #10
ShadowCat8
Member
 
Registered: Nov 2004
Location: Arcadia, CA
Distribution: Gentoo, Arch, (RedHat4.x-9.x, FedoraCore 1.x-4.x, Debian Potato-Sarge, LFS 6.0, etc.)
Posts: 209

Rep: Reputation: 43
Hmmm...

Well, one way is to make sure that you get the URLs you need is to check that you aren't connected on a network (which, iirc, is a given), and just run:
Code:
 ~ # emerge -f calibre >> ~/calibre-pkglist.txt
That file you create will be the output from the process of trying to grab the packages from all the different URLs it tried to download from, according to both the URLs within the ebuilds as well as the GENTOO_MIRRORS settings in /etc/make.conf.

Another way is to just go through the ebuild files for each listed version of each package there. A bit more time-consuming, but a bit less confusing for some.

Lastly, you *could* take the calibre-pkglist.txt file from above, and then run a 'grep | uniq' for the site closest to you to get a list of what you need to grab from one site.

I know that's a bit generic of an explanation, but if you have more questions, just let us know.

As a note, I tried it myself (e.g. running 'emerge -pf wicd' and then 'emerge -pf calibre') with portage-2.1.10.49 and portage-2.1.11.9 and got the list of URLs that you were seeing earlier for wicd but the packagelist for calibre... Not sure why the difference of behavior off-hand.
(P.S. Did you have any USE changes or package conflicts output from 'emerge -pf calibre'? That might be the difference. If so, it isn't ready to download them to begin with. I had a conflict with cairo vs. qt and 3 USE-flag changes from my list.)

HTH. Let us know.

Last edited by ShadowCat8; 10-29-2012 at 02:55 PM. Reason: Adjusted for different packages. (Need more coffee...) - Added P.S.
 
Old 10-29-2012, 04:59 PM   #11
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 432

Original Poster
Rep: Reputation: 19
Thanks.

If I had been thinking at the time, I would not have tried to get the URLs since I already had a connection thanks to the help with wicd.

I will pursue this for future reference.
 
  


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
Creating linux wifi hotspot to share pc internet with android galaxy ace, dsnt detect bhupinderjitbawa Linux - Wireless Networking 1 06-17-2012 04:21 PM
[SOLVED] making gumstix a wifi hotspot tybandara Linux - Hardware 2 05-23-2012 12:50 AM
WiFi can't switch the connection to wifi hotspot when already connect to an AP pologuy Linux - Wireless Networking 2 08-02-2011 03:05 AM
wifi works:how to connect to hotspot,with console?alternative to wifi-wiz assistant? frenchn00b Debian 7 10-30-2009 12:31 PM
linux wifi hotspot right for me? henrikwidth Linux - Wireless Networking 4 05-30-2006 02:06 PM


All times are GMT -5. The time now is 11:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration