s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
3. Setting up Internet (Belgian ISP information)3.1. Dialing in with your modem (PPP)To configure PPP correctly, you should check the PPP-HOWTO. I try to explain it briefly, but if you have any questions or problems, read the HOWTO very carefully. 3.1.1. Configuring the modemTo configure your modem, you can alter the initstring of your modem. To learn more about your modem, check Ask Mr. Modem.
3.1.2. Installing pppdNow, you need to have the ppp-package installed (check this by typing pppd --version), make sure you have a recent one. Then you have to make sure you've got these files: /usr/local/bin/ppp
/etc/ppp/ppp-on-dialer
The pppd command uses /etc/ppp/options to list its options, change these options to whatever fits. These defaults normally work in most cases.
3.1.3. pap-secrets / chap-secretsIf your ISP requires CHAP or PAP, you need one of these files with their proper username and password: /etc/ppp/pap-secrets or /etc/ppp/chap-secrets
3.1.4. NetworkTo configure your nameservers, change /etc/resolv.conf. If dialing in is succesful, but you can't get it to connect to URL's: this is probably the cause.
3.1.5. File permissionsBefore you can run a (shell)script, it must be set executable. Be sure that you set the permissions so that other users cannot see the passwords stored in the files. If you want other users to be able to dial in, you might want to consider using sudo. You might want to do the following:
3.1.6. Dial + HangupThen if /usr/local/bin is in your PATH, you can easily dial in with:
3.1.7. ISP-dependant information3.1.7.1. Cable&Wireless (Online, TijdNet)
3.1.7.2. KPN Belgium (Eunet)
3.1.7.3. Planet Internet (Ping)
3.1.7.4. Skynet (Belgacom)
3.1.7.5. Tiscalinet (Freegates, FreeBel)
3.1.7.6. UUNet (VT4)
3.1.7.7. Wanadoo (Euronet)
3.1.7.8. World Online
3.1.7.9. XS4ALL
3.1.7.10. Yucom (DMA)
3.2. Dialing in with your ISDN-modemContributed by Christophe Lambin <clambin@skynet.be> This section does not aim to be a definitive guide on ISDN for Linux. For a more detailed discussion on the topic, see Paul Slootman's ISDN4Linux HOWTO and ISDN4Linux-FAQ. 3.2.1. Updating the kernelIf you're using a 2.2 kernel, it's recommended to get an updated version of the ISDN code. You can retrieve it from CVS at ftp://ftp.suse.com/pub/isdn4linux/. For more information, check: http://www.brisse.dk/site/linux/docs/isdn.htm
Once the ISDN is in place, you can start up the driver. Eg: modprobe hisax type=11 protocol=2 Refer to the Readme's for the right parameters and values for your card. 3.2.2. ISDN4Linux toolkitNext, you'll need the ISDN4Linux toolkit. You can retrieve the latest version of the toolkit at: ftp://ftp.suse.com/pub/isdn4linux/ 3.2.3. Configuring the interfaceWith the tools installed and configured, write a script to configure the interface, to be used for the ISDN connection. As always in Linux, there's no one correct way of doing this. I've put these in a script /etc/rc.d/rc.isdn:
To start this at boot time, make it executable and append the following to /etc/rc.d/rc.local:
The ipppd command gets its parameters passed through a file, /etc/ppp/ioptions:
Finally, create /etc/ppp/ip-down.local to handle the shutdown of the interface:
3.2.4. pap-secrets / chap-secretsIf your ISP uses PAP or CHAP, create a file /etc/ppp/pap-secrets or /etc/ppp/chap-secrets. Its format is:
3.2.5. NetworkNot really related to ISDN, but a lot of people forget this step (too eager to try out all the stuff they typed in above ? :-)). Anyway, you need to configure the DNS, by creating a file /etc/resolv.conf:
3.2.6. File permissionsBefore you can run a (shell)script, it must be set executable. Be sure that you set the permissions so that other users cannot see the passwords stored in the files. If you want other users to be able to dial in, you might want to consider using sudo. You might want to do the following:
3.2.7. Dial + HangupFinally, you can write a little wrapper to start and stop the ISDN connection. I've put this as /usr/local/bin/isdn:
Then if /usr/local/bin is in your PATH, you can easily dial in with isdn on and hangup with isdn off. 3.3. Cablemodem (DHCP)DHCP was designed to make life easier, and most of the times it does ;) More information to set up your DHCP client can be found at: http://www.oswg.org/oswg-nightly/DHCP.html and a list of Frequently Asked Questions from the infamous document of John Wobus at http://www.dhcp.org/ which describes everything you need to know. Along with the information in the Cable-Modem HOWTO (http://www.oswg.org/oswg-nightly/Cable-Modem.html). Lots of people want to connect a whole network to their cablemodem, that's not a problem. You'll need IP-Masquerading and make sure the interface (that speaks to the cablemodem) has the right MAC-address !! Another solution (in case of problems) is to reset your cablemodem. 3.3.1. UPC Belgium (Chello, TVD)
3.3.2. Pandora (Telenet)
3.4. ADSL3.4.3. Turboline (Belgacom)
|
Belgian HOWTO | ||
---|---|---|
Prev |
The most important collection of Linux information on the net. Please if you encounter erroneous information in one of them, do contact the author. Only that way it will be corrected and we all stand together ;)
As Dutch is less wide-spread, it is the least supported. But work is being done to resolve this ;) (and maybe *you* can help ?!?) French and German translations obviously are already taken care of.
A succesfull initiative is making progress, but there's still a lot to do. If you want to help, start translating and send it there. Check http://nl.linux.org/doc/HOWTO/.
French translations of HOWTO's can be found at: http://www.ibiblio.org/pub/Linux/docs/HOWTO/translations/fr/
German translations of HOWTO's can be found at: http://www.ibiblio.org/pub/Linux/docs/HOWTO/translations/de/
The fastest medium to get support is IRC, but beware. Because IRC is rather anonymous it's also easy to deceive people.
On IRCnet there's a channel called #linux.be that is closely related to bcol and the Belgian Linux-scene. The channel is still small, but it surely will grow in time. To get help in English, there's only one place #linux.
Also Dalnet has a #linux.be channel.