LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 02-17-2005, 07:48 PM   #1
vimico
Member
 
Registered: Jan 2004
Distribution: Debian, Ubuntu
Posts: 118

Rep: Reputation: 15
parameters for public hotspots


I have successfully installed a DWL-G650 into my Ubuntu system on my laptop.

It does work fine with my DI-624 access point.

I am now wondering which parameter will I need if I want to use a public hot-spot in a hotel or bar.

My guess is, that I have to perform "iwlist scan", then configure the device with the ESSID and the channel number, switching encryption off, "up-ing" the device, start the dhcp client and off I go... :-)

Before I actually go and try I want to know, is this all there is?

At this point, I am not yet interested in automating the process via schemes etc. Just the basics will do.

I read in a hotel brochure that I should - after a successful connection - start my web browser to see their (!) registration page. Is there a standard address which is usually accessed in such cases?

Tnx

Mike
 
Old 02-17-2005, 09:31 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,743
Blog Entries: 4

Rep: Reputation: 76
Quote:
My guess is, that I have to perform "iwlist scan", then configure the device with the ESSID and the channel number, switching encryption off, "up-ing" the device, start the dhcp client and off I go... :-)
That's what I do...

Not sure if it's the 'correct' way, but it works for me.

Quote:
I read in a hotel brochure that I should - after a successful connection - start my web browser to see their (!) registration page. Is there a standard address which is usually accessed in such cases?
I think the registration page will come up no matter what webpage you try to access, so just use any of your bookmarks, and you should see the page automagically.
 
Old 02-17-2005, 09:58 PM   #3
mrperkins
LQ Newbie
 
Registered: Jun 2004
Location: Columbia Missouri
Distribution: SuSE 9.1
Posts: 23

Rep: Reputation: 15
same issue

This issue of course applies to laptops. There has to be a better way, and this is exactly the question that I came to ask so I hope we don't just drop it. I can not see going in and having to redo my wireless configuration everytime I move from one wireless network to another. I have one wireless environment at work, one at home, and then the wireless networks at the local coffee shops etc. I move between 2 -3 wireless networks as a normal part of my routine and I don't think that is so unusual. I suppose I could write a script for each network, but that would still be problematic since my work network is HEAVILY encrypted and secured and I am not sure that I could make that happen.

I am currently running the Novell Linux Desktop (based of course on SuSE 9.2) using KDE. I know that KDE used to have a tool that allowed you to set up several wireless network configurations and then you could just choose which one you wanted. At least in theory. I could never get it to work in reality.

I am very disappointed that wireless has been such a problem with Linux laptops. I know that with SuSE 9.1 I did not think I would ever get wireless up and going, but with my IBM Thinkpad R40 running SuSE 9.2 (a.k.a. Novell Linux Desktop) all my hardware including my wireless was configured without a hitch although wireless did not want to work until I rebooted into the fresh installation.

I will come and post whatever info I find if you good people will stay in the hunt with me.

Mike
 
Old 02-18-2005, 02:04 PM   #4
vimico
Member
 
Registered: Jan 2004
Distribution: Debian, Ubuntu
Posts: 118

Original Poster
Rep: Reputation: 15
As bulliver pointed out, the only information you need to access a public hot-spot are: the name of the network (ESSID) and the frequency/channel. They use no encryption (otherwise you would not be able to access it).

A GUI doing the scan, showing the values, and configure the card accordingly, if you click on the appropriate entry, should not be too difficult to write.

If you frequently switch between the same networks, you can use schemes to switch between these profiles.

I found this example in a german how-to:

Code:
(extract from /etc/pcmcia/wireless.opts)

case "$ADDRESS" in
work,*,*,00:60:1D:*|work,*,*,00:02:2D:*)
    INFO="Wireless LAN @ Work Setup"
    ESSID="FIRM_NETWORK"
    MODE="managed"
    KEY="s:Wireless_WORK [1]"
    ;;
home,*,*,00:60:1D:*|home,*,*,00:02:2D:*)
    INFO="Wireless LAN @ Home Setup"
    ESSID="HOME_NETWORK"
    MODE="managed"
    KEY="s:Wireless_HOME [1]"
    ;;
dhcp,*,*,00:60:1D:*|dhcp,*,*,00:02:2D:*)
    INFO="Generic Wireless LAN without Encryption"
    ESSID="any"
    MODE="managed"
    KEY="off"
    ;;
esac
You can switch between profiles using e.g.
Code:
cardctl scheme work
As you can see, you can provide WEP keys as well.

The next thing I have to find out is how to integrate an external program (wpa_supplicant) here, as my set-up uses WPA encryption.
 
  


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
Mouse hotspots to launch programs? (in Xfce) Zarneth Linux - Software 8 01-31-2006 07:55 AM
wireless hotspots zuessh Linux - Security 1 08-01-2005 12:41 PM
Automatic connection to different hotspots quiescere Linux - Wireless Networking 1 06-03-2005 04:36 PM
Searching for HotSpots? carlosinfl Linux - Wireless Networking 4 02-23-2005 09:17 PM
To anyone=(To go public or not to go public that is the question...) hotrodowner Linux - General 10 06-25-2002 09:19 AM


All times are GMT -5. The time now is 03:28 PM.

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