LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 03-14-2006, 08:45 AM   #1
biohazar
LQ Newbie
 
Registered: Mar 2006
Posts: 5

Rep: Reputation: 0
Internet Acces without configuring network card


Hi,

I want to find out if there is a way to connect to the network without changing the settings for the network card. I saw this in some hotels, where the clients just plug the cable to the network socket and the internet is simply working (including e-mail with pop3). Does anybody have a suggestion ?

thx in advance
 
Old 03-14-2006, 09:08 AM   #2
ralvez
Member
 
Registered: Oct 2003
Location: Canada
Distribution: ArchLinux && Slackware 10.1
Posts: 298

Rep: Reputation: 30
If you are using DHCP (which is the case in the hotel and most companies) you have that level of "instant" connectivity.
 
Old 03-14-2006, 09:12 AM   #3
biohazar
LQ Newbie
 
Registered: Mar 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I want to work also in the case the customer has already a static IP address on the network card (dosn't matter what subclass).

thx
 
Old 03-14-2006, 09:12 AM   #4
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
The network card needs to be configured to get its settings automatically from the network. This is called DHCP => Dynamic Host Configuration Protocol.

For this to work, you need a DHCP server on your network. Once it is installed and configured, any (authorized...) client can discover and query the server for its settings. The server will return an IP address, a network mask, a gateway, dns to use and more (wins server, hostname etc...) depending on your needs and on the dhcp server software capabilities.

If you have some kind of DSL router on your network, it might already contain a simple DHCP server. For something more scalable, you can install one on linux box, any distribution as one to offer...
 
Old 03-14-2006, 09:14 AM   #5
biohazar
LQ Newbie
 
Registered: Mar 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by zeitounator
The network card needs to be configured to get its settings automatically from the network. This is called DHCP => Dynamic Host Configuration Protocol.

For this to work, you need a DHCP server on your network. Once it is installed and configured, any (authorized...) client can discover and query the server for its settings. The server will return an IP address, a network mask, a gateway, dns to use and more (wins server, hostname etc...) depending on your needs and on the dhcp server software capabilities.

If you have some kind of DSL router on your network, it might already contain a simple DHCP server. For something more scalable, you can install one on linux box, any distribution as one to offer...
It's verry easy in this way..... But I want to work also if the card has allready a staic ip address
 
Old 03-14-2006, 09:15 AM   #6
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
Quote:
Originally Posted by biohazar
I want to work also in the case the customer has already a static IP address on the network card (dosn't matter what subclass).

thx
That is not possible unless the static address corresponds to the actual network, with a compatible mask and gateway and is not already in use. But you can have different settings for a same network card: one with static address, the other with DHCP. Then you just need to switch from one to an other, depending on your location.
 
Old 03-14-2006, 09:16 AM   #7
jbkerr
LQ Newbie
 
Registered: Jan 2002
Location: Canada
Distribution: Debian Sarge
Posts: 12

Rep: Reputation: 0
Unless you already have the same settings on the nic that matches the host networks ( IP, subnet,Dns, gateway ) and that you are using an available IP it ain't gonna happen.
 
Old 03-14-2006, 09:31 AM   #8
biohazar
LQ Newbie
 
Registered: Mar 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jbkerr
Unless you already have the same settings on the nic that matches the host networks ( IP, subnet,Dns, gateway ) and that you are using an available IP it ain't gonna happen.
I saw that there are allready some solutions that are doing this(Also I saw myself...)
Go to locatel.com/site_uk.htm -> hotel industry -> net. Here I found :
"Give your guest High speed internet without any configuration or parameters removal on his personal laptop. Also there are some Locatel competitors that are making the same king of software.

So, is it possible ?
 
Old 03-14-2006, 11:13 AM   #9
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Quote:
Originally Posted by biohazar
I saw that there are allready some solutions that are doing this(Also I saw myself...)
Go to locatel.com/site_uk.htm -> hotel industry -> net. Here I found :
"Give your guest High speed internet without any configuration or parameters removal on his personal laptop. Also there are some Locatel competitors that are making the same king of software.

So, is it possible ?
Sounds like just marketing. The solution is having a DHCP server period. This can come built into a device, like the home "routers" that are popular, it can be configured into a Linux server, or you can pay some company to set one up for you. It's all the same, the "provider" has a network with a DHCP server somewhere on it and a path out to The Internet. Some hotel networks are as basic as a home LAN, although you can get more complex by adding in a proxy that requires authentication.

You CAN NOT set up a network that accomidates static IP addresses on the client unless you can predict EVERY possible static IP configuration including their IP range, netmask, default route and DNS servers. Oh and you also have to predict and find a workaround for any possible IP conflicts. Still, if you get it all working, you will have multiple IP subnets on the same layer 2 network, meaning tons of wasted overhead on the LAN causing unneeded slowing of traffic across that network. DHCP does not do any "configuration or parameters removal" to the client computer, the client computer is set up to accept whatever settings are required of any network it plugs into.
 
Old 03-14-2006, 12:03 PM   #10
biohazar
LQ Newbie
 
Registered: Mar 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Darin
Sounds like just marketing. The solution is having a DHCP server period. This can come built into a device, like the home "routers" that are popular, it can be configured into a Linux server, or you can pay some company to set one up for you. It's all the same, the "provider" has a network with a DHCP server somewhere on it and a path out to The Internet. Some hotel networks are as basic as a home LAN, although you can get more complex by adding in a proxy that requires authentication.

You CAN NOT set up a network that accomidates static IP addresses on the client unless you can predict EVERY possible static IP configuration including their IP range, netmask, default route and DNS servers. Oh and you also have to predict and find a workaround for any possible IP conflicts. Still, if you get it all working, you will have multiple IP subnets on the same layer 2 network, meaning tons of wasted overhead on the LAN causing unneeded slowing of traffic across that network. DHCP does not do any "configuration or parameters removal" to the client computer, the client computer is set up to accept whatever settings are required of any network it plugs into.
I know o hotel that have this system and a friend who is sysadmin at this hotel. Tomorow I'll go to check myself .... (I'll let you know if indeed is possible).
 
  


Reply



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
Configuring Network Card Echo Kilo Linux - Networking 4 06-04-2005 10:15 AM
Configuring network to connect internet using broadband senab Linux - Newbie 3 09-13-2004 04:21 AM
noFTP acces via Internet on Debian 3.0 box on a LAN network with Netgear rp614 router ferry Linux - Networking 2 08-16-2004 12:33 AM
Cannot acces internet but network Ok GGSpike Linux - Newbie 5 05-17-2004 08:58 AM
configuring network card alkee Linux - Networking 3 02-12-2002 10:00 PM

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

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