26.12.2014 Views

Gentoo Linux AMD64 Handbook

Gentoo Linux AMD64 Handbook

Gentoo Linux AMD64 Handbook

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configuring your Network<br />

# pppoe-start<br />

If something goes wrong, double-check that you correctly typed your username and password by<br />

looking at /etc/ppp/pap-secrets or /etc/ppp/chap-secrets and make sure you are<br />

using the right ethernet device. If your ethernet device doesn't exist, you will have to load the<br />

appropriate network modules. In that case you should continue with Manual Network Configuration<br />

[#doc_chap3] as we explain how to load the appropriate network modules there.<br />

If everything worked, continue with Preparing the Disks [part=1&chap=4].<br />

Alternative: Using PPTP<br />

If you need PPTP support, you can use pptpclient which is provided by our Installation CDs. But<br />

first you need to make sure that your configuration is correct. Edit /etc/ppp/pap-secrets or /<br />

etc/ppp/chap-secrets so it contains the correct username/password combination:<br />

Example 3.7. Editing /etc/ppp/chap-secrets<br />

# nano -w /etc/ppp/chap-secrets<br />

Then adjust /etc/ppp/options.pptp if necessary:<br />

Example 3.8. Editing /etc/ppp/options.pptp<br />

# nano -w /etc/ppp/options.pptp<br />

When all that is done, just run pptp (along with the options you couldn't set in options.pptp)<br />

to connect the server:<br />

Example 3.9. Connection to a dial-in server<br />

# pptp <br />

Now continue with Preparing the Disks [part=1&chap=4].<br />

Manual Network Configuration<br />

Loading the Appropriate Network Modules<br />

When the Installation CD boots, it tries to detect all your hardware devices and loads the appropriate<br />

kernel modules (drivers) to support your hardware. In the vast majority of cases, it does a very good<br />

job. However, in some cases, it may not auto-load the kernel modules you need.<br />

If net-setup or pppoe-setup failed, then it is possible that your network card wasn't found<br />

immediately. This means you may have to load the appropriate kernel modules manually.<br />

To find out what kernel modules we provide for networking, use ls:<br />

Example 3.10. Searching for provided modules<br />

# ls /lib/modules/`uname -r`/kernel/drivers/net<br />

If you find a driver for your network card, use modprobe to load the kernel module:<br />

16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!