Linux - NetworkingThis 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.
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.
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 ?
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262
Rep:
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...
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
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262
Rep:
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.
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.
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.
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.
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.