Tartalom
This section describes a number of tasks related to the Internet, including how to connect to the Internet, configure and use a web browser, and use other types of Internet programs.
Ez a rész az internetkapcsolat felépítésének alapvető módját írja le.
![]() |
|
If you have a wireless connection or connect to the Internet through a modem (including an ADSL modem), and this section does not work, you should read „Wireless Cards” or „ADSL Connections”. |
Kapcsolódás az internethez:
Open
→ → .Lépjen a Kapcsolatok lapra és kattintson a használni kívánt kapcsolatra.
Nyomja meg a
gombot a beállítások módosításához.Ha az internetszolgáltatója vagy a hálózati adminisztrátora rendelkezésre bocsátott egy IP címet, akkor a Beállítások alatt válassza a Rögzített IP cím lehetőséget, majd írja be a címet az IP-cím sorba és nyomja meg az gombot. Ellenkező esetben a Beállítások alatt válassza az Automatikus beállítás (DHCP) lehetőséget és nyomja meg az gombot.
A kapcsolat engedélyezéséhez jelölje be a mellette lévő négyzetet.
Many wireless cards are automatically detected by Xubuntu during installation. To see if your card is supported, open „Alapvető eljárás” to connect to the Internet. You need to enter a valid ESSID value. If in doubt, type any
. A complete listing of wireless cards which work with Xubuntu can be found online at the Ubuntu Wiki. Please add your wireless card to the list if it works with Xubuntu.
If your wireless network is protected by WEP encryption, ensure that you specify your network password when configuring your connection.
Press
→ → and click the wireless connection you wish to use.Press
, choose Password Type and enter your WEP password in Network Password form below.Press
and to apply changes.Some cards may not work automatically with Xubuntu. If this is the case, please look at the Wireless Troubleshooting Guide on the Ubuntu Wiki which is an excellent resource for troubleshooting wireless cards.
If your wireless card does not work with Xubuntu, you may have to do some research in order to activate it. A relatively reliable way of getting a wireless card to work is to use the ndiswrapper tool which allows Xubuntu to use the Microsoft Windows driver for the wireless card. To do this, follow the instructions below in „Using Windows wireless drivers”.
All other information regarding wireless networking on Xubuntu is collected at Wireless Networking Central on the Ubuntu Wiki.
Eszközfelismerés ellenőrzése
Open a Terminal ( → → ) and type the command: sudo lshw -C network
Ha látja a meghajtót a listában, olvassa el a következő fejezetet: „Eszköz állapotának ellenőrzése”
Set up NDISWrapper („Using Windows wireless drivers”).
Many wireless network devices can be turned on or off. Check to see if the device is turned on by opening a Terminal ( → → ) and type the command: sudo lshw -C network
.
Ha be van kapcsolva, olvassa el a következő fejezetet: „Kapcsolat ellenőrzése az útválasztóhoz”
Open a Terminal ( → → ) and type the command: iwconfig
.
Ha lát egy ilyen bejegyzést: ESSID=""
, akkor olvassa el a WPA beállításáról szóló fejezetet („WPA támogatás beállítása”).
Ha az útválasztója hálózati azonosítóját látja, akkor probléma lehet az ACPI kezeléssel. Indítsa újra a számítógépét a rendszermagnak adott pci=noacpi
opcióval.
Open a Terminal ( → → ) and type the command: ifconfig
.
Ha látható egy IP cím, akkor olvassa el a következő fejezetet: „DNS ellenőrzése”.
Gépelje be a Terminálba a dhclient if_név
parancsot, ahol az if_név az előzőekben kiírt kapcsolat.
Ha a következő üzenetet kapja: bound to xxx.xxx.xxx.xxx
, akkor olvassa el a következő fejezetet: „DNS ellenőrzése”
Ellenkező esetben indítsa újra a rendszert.
Open a Terminal ( → → ) and type the command: ping 82.211.81.158
.
Now type the command: ping www.ubuntu.com
.
Type the command: cat /etc/resolv.conf
. If there is no nameserver listed then contact your ISP and find out your primary and secondary domain name servers. Once you have this information see „Wireless Cards”.
Even if your wireless network card does not have a native Linux driver, you may still be able to get it working with ndiswrapper. Ndiswrapper is a Linux module which allows Xubuntu to use Microsoft Windows driver for wireless cards (in most cases).
![]() |
|
These instructions apply only to the x86 and AMD64 versions of Xubuntu, and not to Xubuntu for Power PC (PPC). |
![]() |
|
If you have access to the Internet, you can see if your wireless cards is in the list of cards supported by ndiswrapper on the ndiswrapper website. |
To install ndiswrapper, install the package ndiswrapper-utils (see 11. fejezet - Adding, Removing and Updating Applications). This package is provided on the Xubuntu CD. If you have access to the Internet, you can also optionally install a graphical tool, ndisgtk from the Universe repository (see „Software repositories”).
In order to set up ndiswrapper, it is necessary to obtain the Windows driver for your wireless card. Generally, the best way to do this is from the CD supplied with your wireless card. You should copy two files to the same place on your computer, one ending in .SYS and one ending in .INF. If you find any files which end in .BIN, also copy those. If you are not able to find the right files, and have alternative access to the Internet, you may be able to obtain help from the ndiswrapper website.
If you have installed the graphical tool ndisgtk, to set up ndiswrapper, simply select → → from the menu, and follow the instructions given.
If you have not installed the graphical tool, use this procedure:
Open
→ → and type:sudo ndiswrapper -i ~/Desktop/drivername.inf
![]() |
|
The above command assumes that your .INF file is named |
To check if it is working correctly, type:
ndiswrapper -l
If it is working correctly, you should see:
Installed ndis drivers: {name of driver} driver present, hardware present
For ndiswrapper to function, you need to load a module. To do this, type:
sudo depmod -a sudo modprobe ndiswrapper
To ensure that the module is loaded each time you boot the computer, type:
sudo ndiswrapper -m
You should now be able to connect to the Internet by following the instructions at „Alapvető eljárás”.
A WiFi Protected Access (WPA) a WEP-re épül, de annál biztonságosabb.
A WPA a Network Manager része. Ezen felül szüksége lesz a wpasupplicant csomagra is.
A WPA támogatás kézi beállításához olvassa el ezt a wiki bejegyzést.
All PPPoE and router-style ADSL modems that use an Ethernet connection are supported by Xubuntu, and some USB ADSL modems are supported too.
For a router-style ADSL modem, simply follow „Alapvető eljárás”
For information on setting up a PPPoE ADSL modem see „PPPoE modemek”.
For information on setting up a USB ADSL modem see „USB ADSL modemek”.
This section is about setting up an ADSL Internet connection using an ethernet PPPoE modem.
You will need to have subscribed to an Internet Service Provider, and your Internet connection must be installed and functional. A "DSL" light on your modem usually shows that the line is synchronized.
Szüksége lesz az internet-hozzáférés felhasználónevére és jelszavára. Ezen kívül a hálózati kártyának csatlakoztatva kell lennie a PPPoE modemhez a megfelelő kábellel.
Finally, you need the PPPoE package to be installed in order for the following command to work. This package is installed by default, but can be missing if the configuration has been changed. If the following command does not work, you will need to install this package, which can be found on the Xubuntu CD.
Modem beállítása:
Open
→ →A terminálban adja ki a következő parancsot:
sudo pppoeconf
Egy szövegalapú menüprogram végigvezeti a következő lépéseken:
Ellenőrizze, hogy a hálózati kártyáját felismerte-e a program.
Írja be a felhasználónevét.
Adja meg a jelszavát.
Ha rendelkezik beállított PPPoE kapcsolattal, annak módosítása előtt a rendszer megerősítést kér.
Népszerű beállítások: A rendszer rákérdez, hogy szeretné-e beállítani a „noauth” és „defaultroute”, illetve eltávolítani a „nodetach” lehetőségeket - mindezekhez válassza az gombot.
Egyenrangú DNS használatának kiválasztásához kattintson az
gombra.Korlátozott MSS hiba - válassza az
gombot.A program megkérdezi, hogy szeretné-e el elindítani a szolgáltatást a rendszer indulásakor, itt javasolt igennel válaszolni.
Végül megkérdezi, szeretne-e azonnal kapcsolódni.
Miután befejezi ezeket a lépéseket, a kapcsolatnak működnie kell.
To start your ADSL connection on demand, in a terminal type:
sudo pon dsl-provider
To stop your ADSL connection, in a terminal type:
sudo poff dsl-provider
Often parts of ADSL USB modem drivers are proprietary, closed source software, with a restrictive licence, and so the whole driver cannot be supplied with Xubuntu. To get a modem to work with these drivers, you will need to download files from Internet with a computer having a working connection, then transfer the downloaded files to you Xubuntu installation.
![]() |
|
USB is far from the ideal medium for network access. If you have a modem that can connect both via USB and ethernet, or an ethernet router, you should use the ethernet connection instead of the USB modem. |
Since any USB modem installation will require Internet access to download the necessary proprietary drivers, as well as extensive configuration which is beyond the scope of this guide, all we can do here is to list the USB Modem models known to work with Xubuntu with links to the relevant installation instructions on the Xubuntu community help site.
The installation procedure of USB modems differs depending on the specific make and model of your modem. To identify model of your modem, note the name and number on the front. Occasionaly you may have to look for a label to discover the exact model. Consult the list below to see which driver your modem requires and note the link.
When you go online to download the necessary drivers, you can access the relevant driver download links from the page with the installation instructions relevant to that model of USB modem.
Speedtouch modemek:
https://help.ubuntu.com/community/UsbAdslModem/SpeedTouch (angol)
Az Analog Devices Inc. eagle-usb I, II vagy III lapkakészletét használó modemek (mint a Sagem Fast 800, Comtrend ct 350 stb.):
https://help.ubuntu.com/community/UsbAdslModem/ueagle-atm (angol)
https://help.ubuntu.com/community/UsbAdslModem/EagleUsb (angol)
Connexant AccessRunner alapú modemek:
https://help.ubuntu.com/community/UsbAdslModem/EciAdsl (angol)
https://help.ubuntu.com/community/UsbAdslModem/AccessRunner (angol)
https://help.ubuntu.com/community/UsbAdslModem/e-techV2 (angol)
Most dialup modems are not supported by Xubuntu, but drivers can be found that will enable the use of such modems. You need a working internet connection to proceed. First you need to identify what chipset your dialup modem is using. Open
→ → and type:wget -c http://linmodems.technion.ac.il/packages/scanModem.gz gunzip -c scanModem.gz > scanModem chmod +x scanModem sudo ./scanModem
Read carefully instructions on the screen and follow them if necessary. Once the script obtains the relevant information, type:
mousepad Modem/ModemData.txt
Read this file, it should list what modem chipset you have. Once you are aware of the chipset you have, see http://www.linmodems.org/ and follow the directions for your modem. More infomation can be found at SettingUpModems on the Ubuntu Wiki.
Network Manager provides graphical tools to configure a modem connection.
![]() |
|
A következő információkat kell ismernie: ISP Phone Number; Username; Password. |
Open Network Manager(
→ → )Válassza a Modemes kapcsolat lehetőséget
Kattintson a Tulajdonságok gombra és töltse ki a mezőket.
Kattintson az OK gombra
Ha a hálózati kapcsolata nem működik megfelelően, néhány segédprogram segítségével meghatározhatja a probléma okát.
Most of the tools in this section require use of the Terminal, which you can open by pressing
→ → .Az iwconfiglehetővé teszi a vezeték nélküli hardver egyes beállításainak módosítását. Ugyanakkor ez nagyon hasznos eszköz a vezeték nélküli kapcsolatok azonosítására.
Vezeték nélküli kapcsolatok azonosítása:
Press
→ → to open a TerminalÍrja be az iwconfig
parancsot a terminálba, majd nyomja meg az Enter billentyűt
Hasonló kimenetet kell kapnia:
lo no wireless extensions. eth0 no wireless extensions. eth1 IEEE 802.11g ESSID:"WLAN Name" Mode:Managed Frequency:2.432 GHz Access Point: 00:12:CF:02:6F:EC Bit Rate:54 Mb/s Tx-Power=20 dBm Sensitivity=8/0 Retry limit:7 RTS thr:off Fragment thr:off Power Management:off Link Quality=75/100 Signal level=-54 dBm Noise level=-89 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:1
A bal oldali oszlop megadja a kapcsolat nevét, például „eth0” vagy „wlan0”
Ha a jobb oldali oszlopban a „no wireless extensions” szerepel, akkor a kapcsolat nem vezeték nélküli kapcsolatként lett felismerve és valószínűleg vezetékes kapcsolat
Ha a kapcsolat vezeték nélküliként lett felismerve, a vezeték nélküli kapcsolat adatai jelenek meg a jobb oldali oszlopban
Az ESSID megadja a a vezeték nélküli hálózat névét, ha van
Link Quality visszaadja a vezeték nélküli jel erősségét
Az iwlist képes információkat megjeleníteni a vezeték nélküli kapcsolatokról.
Press
→ → to open a TerminalÍrja be a következő parancsot a terminálba és nyomja meg az Entert a futtatáshoz. Győződjön meg róla, hogy az eth1 elemet kicserélte a saját vezeték nélküli eszközének nevére, ha az eltér.
iwlist eth1 accesspoints
- Megmutatja az elérhető hozzáférési pontokat
iwlist eth1 rate
- Megjeleníti az összes lehetséges átviteli sebességet, beleértve a jelenlegit is
iwlist eth1 key
- Információkat mutat a vezeték nélküli titkosításról
Az ifconfig lehetővé teszi a hálózati kapcsolatok beállítását, de az aktuális kapcsolatok információinak megjelenítésére is használható.
Press
→ → to open a TerminalÍrja be az ifconfig eth1
parancsot a terminálba, majd nyomja meg az Enter billentyűt és cserélje ki az eth1 értéket a saját hálózati eszközének nevére, ha az eltér.
Az inet addr megadja a kapcsolat aktuális IP címét
A HWaddr megadja a hálózati eszköz MAC címét
Egy kapcsolat helyes működésének ellenőrzésére jó módszer egy, a hálózaton vagy az Interneten elérhető számítógép pingelése.
To check if you are connected to the Internet press
→ → and type:ping -c 8 xubuntu.com
After a while, xubuntu.com ping statistics should appear. Look at the % packet loss.
0% packet loss - Your computer should have a good connection to the Internet
More than 0% packet loss - Your computer probably has a poor connection to the Internet or a poor wireless signal
100% packet loss - Your connection is set improperly, or your computer is connected to an access point or router which is not connected to the Internet
If you get an error message which says ping: unknown host 'xubuntu.com' , then your computer is probably not connected to the Internet or cannot reach a DNS server.