LinuxQuestions.org
Visit Jeremy's Blog.
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 10-20-2011, 11:02 AM   #16
tethysgods
Member
 
Registered: May 2004
Posts: 166

Original Poster
Rep: Reputation: 17

Got it solved, but just lost what I was going to post.

I shall post it tomorrow now.
 
Old 10-20-2011, 11:44 AM   #17
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Quote:
Originally Posted by tethysgods View Post
P.S where are "thread tools"
above the first post on the page.

Markus
 
Old 10-21-2011, 06:59 AM   #18
tethysgods
Member
 
Registered: May 2004
Posts: 166

Original Poster
Rep: Reputation: 17
So, this works (at the time of writing).


HPG7000 laptop specific - but could apply to any machine with a hardware on/off for wireless

This is not necessarily a common fault: On the HPG700 there is a hardware wireless switch. There is a light which should be blue for wireless on, orange for wireless off. On the machine that my daughter's friend has, the light gives you no idea whether the switch is on or off. Using a wired connection I downloaded "rfkill" and (with command line "rfkill list") you can find out whether anything is hardware or software blocked. So the real problem I had was that though the light said was wireless was enabled, it was disabled.

A separate problem from this thread is about the battery: You plug the laptop in at the mains, but it uses the battery and drains it. This gives you the impression that the battery is dud. The cure for this is to take the battery out, then start the machine, and only then will it be guaranteed to use the mains supply and not the battery. Then put the battery back in and it will charge properly. (This problem seems random - sometimes it will use the mains - but sometimes it will use the battery when you think you are using the mains.) I mention it because I suspect this might be a problem on other laptops.

All around JOLLY BAD SHOW HEWLETT PACKARD!

fc14 specific: but useful for non fedora users

Networkmanager is accessed via system->preferences->network connections. It isn't clear that this is networkmanager, but it is. Installing cnetworkmanager is a help. If "iwlist scanning" doesn't return anything for "wlan0" (or whatever for your machine) it means you are either hardware or software blocked (or there is a physical problem). The output of iwlist will tell you what to put into the wpa_supplicant.conf file under "pairwise=" and "group=") see the wpa_spupplicant.conf file later in this post...

BT Home Hub specific+fc14 specific

Get to networkmanager via system->preferences->network connections. Go to the wireless tab and click on "add" if it isn't there, or edit it.

Enter the SSID as BTHomeHub2-xxxx or BTHub3-xxxx where xxxx is on the label on the hub. Leave all the addresses, MAC and otherwise blank. You only need ESSID.


Next go to wireless security and enter the HEX address on the label of the home hub (no quotes) as the password.

NOTE: if you are hardware or software blocked, you can "save". This will alter config files. However if all is well you have the "connect" option. If there is no "connect" something is wrong before you even got to netwrorkmanager.

Now for wpa_supplicant.conf

This works for me at least, go for man wpa_supplicant.conf as Markush said, and google on it for extras.

On fc14, wpa_supplicant automatically starts on boot! If you have this distro IGNORE EVERYTHING YOU SEE on manually starting wpa_supplicant or putting in scripts that will launch wpa_supplicant on boot. On other distros, see if "ps -ef | grep wpa_supplicant" tells you if it's running already as part of the boot process.


So finally

This worked for me (with info from "iwlist scanning" as I mentioned earlier).


ctrl_interface=/var/run/wpa_supplicant
ctrl_interface group=0
network={
ssid="WHAT IT SAYS ON THE LABEL WITH QUOTES"
scan_ssid=1
proto=WPA RSN
key-mgmt=WPA-PSK
pairwise=CCMP TKIP
group=TKIP
psk="HEX NUMBER ON THE LABEL WITHOUT QUOTES"
}


I am not sure whether the tabs are necessary or not.

Thank's Markush, I did it myself, but without your encouragement I may have just given up.

Last edited by tethysgods; 10-21-2011 at 02:20 PM. Reason: minor additions
 
Old 10-21-2011, 07:17 AM   #19
tethysgods
Member
 
Registered: May 2004
Posts: 166

Original Poster
Rep: Reputation: 17
Sorry! Thought the original had vanished..

I should add for fc14/fc15 users, no need for dhclient or anything else you might read.

Last edited by tethysgods; 10-21-2011 at 07:22 AM. Reason: addition
 
Old 10-21-2011, 08:12 AM   #20
tethysgods
Member
 
Registered: May 2004
Posts: 166

Original Poster
Rep: Reputation: 17
On top of all that, if "rfkill list" says you're hardware blocked, hit wifi the switch. Then reboot for it to come into effect!

(I am not sure if you need to reboot, but not everything (according to rfkill) is unblocked after pushing the switch. On a reboot everything is unblocked.

Last edited by tethysgods; 10-21-2011 at 01:14 PM. Reason: addition
 
Old 10-21-2011, 01:04 PM   #21
tethysgods
Member
 
Registered: May 2004
Posts: 166

Original Poster
Rep: Reputation: 17
Bye! I must add that the HPG700 is a nice little machine once you know about it's little quirks...

Last edited by tethysgods; 10-21-2011 at 02:05 PM.
 
  


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
[SOLVED] DSL connection slow on Linux wired connection but fast on Windows wireless Pandarsson Linux - Wireless Networking 9 12-17-2010 05:55 PM
Debian - Gnome: Wireless connection list missing my connection bio2009 Linux - Newbie 5 12-17-2009 11:07 PM
Slackware 13.0 & WICD - Slow wired connection, no wireless connection xTyrant Linux - Laptop and Netbook 2 10-14-2009 11:58 PM
Networking problems can find wireless router (BT HomeHub) but fails to connect-Fedora dan.bar Linux - Wireless Networking 1 06-29-2009 03:46 PM
wireless connection ok with knoppix dvd , no connection with installed fedora 4 docharmony Linux - Wireless Networking 2 11-27-2005 04:33 PM


All times are GMT -5. The time now is 02:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration