Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-12-2005, 01:47 PM
|
#1
|
Member
Registered: Feb 2005
Posts: 61
Rep:
|
Connecting to network in hotels:
During my recent trips I had a lot of problems trying to access the network in hotels, both wireless and wired. Once you connect you are supposed to get a screen where you login with the user name and password given to you, I was never able to get this page, I don't know why!
There are no specific settings for the connection, at least according to the hotel employees and to what I saw others doing.
For the wireless my computer can see the network, but it never connects. I believe because I need to get my computer initialized with the proper network setting that I get after logging in.
I will be traveling again next week and I don't want to run into the same problems again. Any help would be appreciated.
I am using suse 9.3.
i.s.
|
|
|
10-12-2005, 01:57 PM
|
#2
|
LQ Newbie
Registered: Jan 2005
Location: Michigan
Distribution: Ubuntu 13.04 Testing
Posts: 24
Rep:
|
Go to the command prompt and type iwconfig to see what pops up. If there's anything NOT to do with the hotel, set it.
Set your essid to "any" so you can pick it up. Try iwlist scanning to make sure you can see it, as well.
I'm not a suse person, but if netconfig is available to you, try that as well.
Good luck!
|
|
|
10-12-2005, 02:05 PM
|
#3
|
Member
Registered: Feb 2005
Posts: 61
Original Poster
Rep:
|
Thanks for the reply, I tried all of that, from setting essid to any to checking what pops up with iwconfig, to many other things, but none of them helped, the issue I presume is why I wasn't getting the login screen which is needed to configure the network (like ip, gateway, and dns).
Thanks again.
|
|
|
10-12-2005, 03:13 PM
|
#4
|
LQ Newbie
Registered: Jan 2005
Location: Michigan
Distribution: Ubuntu 13.04 Testing
Posts: 24
Rep:
|
What do you get when you open a browser window? How are you connecting currently?
Can you ping anything?
An interesting note:
I'm living in our Universities Dorms right now, and they have this "huge security system" of which on a Windows or Mac box you get the login screen and all that as soon as you open a browser.
Nothing on Linux. Straight connection, with nobody watching. No registration.
They have a bandwidth cap and I continuously exceed it on my windows box, so I just plug in Linux and can have internet again! haha. I told them about this about two months ago and they still haven't fixed it.
|
|
|
10-12-2005, 03:32 PM
|
#5
|
Member
Registered: Feb 2005
Posts: 61
Original Poster
Rep:
|
I don't get anything when I open up a browser and ask for any page. I just get an error message. I also tried pinging many servers without any luck. I am not there right now, but I am trying to figure what to do in such a case, because I am traveling again next week and I need the internet connection.
Thanks.
i.s.
|
|
|
10-12-2005, 04:12 PM
|
#6
|
LQ Newbie
Registered: Jan 2005
Location: Michigan
Distribution: Ubuntu 13.04 Testing
Posts: 24
Rep:
|
http://rak.isternet.sk/linux-netman/commands.html
That's a bunch of network commands and thier usage.
Have you ever tried rebooting after plugging in? That's helped in numerous cases with me. Unfortunately, without you there right now, it'd be hard to find what might work and what might not.
Do you know where you'll be staying? Perhaps you can call the people there and ask to get the number of the people that set up the network to talk to them about how you can use a linux box there. Sounds like a headache, but it might save three!
|
|
|
10-13-2005, 06:10 PM
|
#7
|
Member
Registered: Feb 2005
Posts: 61
Original Poster
Rep:
|
I am aware to some degree of these commands,
what I am wondring is if there is somesort of a script that the dhcp client runs to get the page, or something like that.
i.s.
|
|
|
10-13-2005, 06:40 PM
|
#8
|
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307
Rep:
|
Hi
I'm currently in an hotel connected by wifi. I was the first beta tester and there were some problems, mainly due to the DSL connected after the AP.
So you have to check that the ESSID is set.
Then I guess they use DHCP to provide you an IP, your gateway and maybe the dns server.
I also guess they do not have WEP.
You can put down all network interfaces not used and then redo a
ifup <interface_to_use>
optionnaly , launch dhclient
you should see something like
bound to 192.168.115.101 (in my case now)
So here you can try to ping your gateway (get it from ifconfig)
Then try to make
host www.google.com to see if dns works (it was one of the problems here)
if not check in /etc/resolv.conf what has been set.
And then it depends on how the AP is set.
Here it uses some kind of reverse masquerading /NAT :
in firefox, you type www.google.com ; this is caught by the AP and it replies with the login screen.
It's really funny to see others browsing (no WEP..)
If the login screen is not https , you can also get their login/pass ..
good luck
|
|
|
10-24-2005, 08:45 AM
|
#9
|
Member
Registered: Feb 2005
Posts: 61
Original Poster
Rep:
|
Just returned from my last trip, and the same problem is still there, I was unable to connect, no matter what I did. I tried so many things but without any success.
I look at the others (using M$ or Macs OSX) and they are able to connect with out any problems what so ever. They just pick the network and enter a website address in their webbrowser and an authentication page comes out, once they authenticate they are able to browse the web normally. It is true that they are using it without encryption hence they are more vulnerable, but if all your secure info goes through https, then you are ok, at least this is what I believe.
I know that if it can be done with windows or OSX then it can be done with linux, the question remains how and what settings are needed?
Thanks.
i.s.
|
|
|
10-24-2005, 08:58 AM
|
#10
|
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307
Rep:
|
Ahah the same as in my hotel..
"no no, there is nothing to do." They don't even give you a screenshot or something...
I plugged winblows and it didn't work...  and it couldn't as I had a static IP..
There is DHCP to set...
Launch dhclient or retry the few commands I've said.
Then the rest should be transparent. If you can't ping the A/P (I guess/hope its not firewalled) then don't even try to go on internet, it can not work.
Step by step is the idea.
Good luck
|
|
|
All times are GMT -5. The time now is 02:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|