Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:handbook:networkconf [2014/04/26 15:57] emgi [Static IP - Using a specific address] |
en:handbook:networkconf [2019/10/16 19:11] (current) mojo [Wifi-box - Graphical configuration of the wireless network (SliTaz 4.0 and 5.0 Weekly)] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Network Configuration ====== | ====== Network Configuration ====== | ||
+ | <note important>SliTaz Panel/Network replaces netbox for SliTaz-4.0 and newer</note> | ||
===== About the Network ===== | ===== About the Network ===== | ||
- | By default SliTaz starts a DHCP client (udhcpc) on eth0 at boot time. If your network card has been identified as an eth0 interface and you use a router, your connection should already be working. DHCP is dynamically configured, on each boot the client asks for a new IP address from the DHCP server which is integrated into the router, or on another computer. If you need a static IP, you can directly edit config files or use the GUI //netbox// available from the //System menu --> System// tools. In a terminal or a Linux console, you can list all available network interfaces with the command //ifconfig// followed by the //-a// option: | + | By default SliTaz starts a DHCP client (udhcpc) on eth0 at boot time. If your network card has been identified as an eth0 interface and you use a router, your connection should already be working. DHCP is dynamically configured, on each boot the client asks for a new IP address from the DHCP server which is integrated into the router, or on another computer. If you need a static IP, you can directly edit config files or use the //Network// tab at //System Tools// -> //Slitaz Panel//. In a terminal or a Linux console, you can list all available network interfaces with the command //ifconfig// followed by the //-a// option: |
<code> $ ifconfig -a </code> | <code> $ ifconfig -a </code> | ||
Line 11: | Line 12: | ||
<code> $ route </code> | <code> $ route </code> | ||
- | The system wide network configuration file is ///etc/network.conf//. It can be graphically configured with netbox or directly edited by the root administrator. | + | The system wide network configuration file is ///etc/network.conf//. It can be graphically configured at the //Network// tab on SliTaz Panel or directly edited by the root administrator. |
- | + | ||
- | ===== Netbox - Configure the network ===== | + | ===== Netbox - Configure the network (SliTaz 3.0 and older) ===== |
Netbox is a small GTK+ application to configure a network interface using DCHP or a fixed (static) IP address. The tabs can be used to start/stop the connections and automatically change the values in the system files. Netbox provides a system wide tab from which you can directly edit network configuration files, and tabs to configure PPP/PPPoE username/passwords. Servers such as SSH, DHCP, PXE, DNS, etc can also be configured and it's possible to create your own virtual private network (VPN) using the tools provided. | Netbox is a small GTK+ application to configure a network interface using DCHP or a fixed (static) IP address. The tabs can be used to start/stop the connections and automatically change the values in the system files. Netbox provides a system wide tab from which you can directly edit network configuration files, and tabs to configure PPP/PPPoE username/passwords. Servers such as SSH, DHCP, PXE, DNS, etc can also be configured and it's possible to create your own virtual private network (VPN) using the tools provided. | ||
Line 23: | Line 24: | ||
<code> $ subox netbox </code> | <code> $ subox netbox </code> | ||
- | ===== Wifibox - Graphical configuration of the wireless network ===== | + | <note important>SliTaz-4.0 and newer: \\ |
+ | wifi-box was renamed to wifibox \\ | ||
+ | SliTaz Panel/Network/Wireless offers same configuration \\ | ||
+ | SliTaz-5.0 offers slitaz-configs wifi configuration using ncurses interface. | ||
+ | </note> | ||
+ | ===== Wifi-box - Graphical configuration of the wireless network (SliTaz 4.0 and 5.0 Weekly) ===== | ||
- | Wifibox is small interface to configure a network connection (Wifi, WLAN, or Wireless). The 'Networks' tab displays a list of available networks, just double click on a network name to connect. If the network is secure, the key will then be sought. | + | Wifi-box is small interface to configure a network connection (Wifi, WLAN, or Wireless). The 'Networks' tab displays a list of available networks, just double click on a network name to connect. If the network is secure, the key will then be sought. |
{{:en:handbook:image:wifibox.png}} | {{:en:handbook:image:wifibox.png}} | ||
Line 35: | Line 41: | ||
- The card is not supported by Linux and a Windows driver must be installed via the Windows driver manager (tazndis). | - The card is not supported by Linux and a Windows driver must be installed via the Windows driver manager (tazndis). | ||
+ | You can start wifi-box via a terminal: | ||
+ | |||
+ | <code> # wifi-box</code> | ||
===== /etc/hostname - The hostname ===== | ===== /etc/hostname - The hostname ===== | ||
Line 166: | Line 175: | ||
<code> # pppoe-stop | <code> # pppoe-stop | ||
</code> | </code> | ||
+ | |||
+ | To check the connection status: | ||
+ | |||
+ | <code># pppoe-status</code> | ||
===== Install network card driver ===== | ===== Install network card driver ===== | ||
Line 180: | Line 193: | ||
On an installed system you just need to add the module_name to the variable LOAD_MODULES in ///etc/rcS.conf// to load your module on each boot. | On an installed system you just need to add the module_name to the variable LOAD_MODULES in ///etc/rcS.conf// to load your module on each boot. | ||
+ | <note important> | ||
+ | SliTaz-4.0 and newer: /etc/firewall.conf is moved to /etc/slitaz/firewall.conf \\ | ||
+ | iptables rules are moved from /etc/init.d/firewall.sh to /etc/slitaz/firewall.sh \\ | ||
+ | Reference: http://hg.slitaz.org/slitaz-tools/rev/769 | ||
+ | </note> | ||
===== Manage the Firewall (firewall) using Iptables ===== | ===== Manage the Firewall (firewall) using Iptables ===== | ||