wifi Easy http:e/doc.slitaz.org/en:guides:wifi-easy tazhw detect-pci --get-firmware root@slitaz:/home/tux# tazhw detect-pci --get-firmware Detected PCI devices Kernel modules ============================================== * Builtin module : ahci * Builtin module : ata_generic > Module in use : e1000e * Builtin module : ehci_pci > Module in use : i915 > Module in use : intel_agp * Builtin module : pcieport * Builtin module : sdhci_pci * Builtin module : serial > Module in use : snd_hda_intel * Builtin module : uhci_hcd > Module in use : yenta_socket ============================================= lspci | grep -i network root@slitaz:/home/tux# lspci | grep -i network (Nothing!) tazpkg get-install get-wifi-firmware root@slitaz:/home/tux# tazpkg get-install get-wifi-firmware Package "get-wifi-firmware" (2.0) is installed. Output as per instructions lspci | grep -i network modprobe your_module dmesg | tail lsmod nano /etc/network.conf ifconfig eth1 up ifconfig -a iwconfig /etc/init.d/network.sh restart ifconfig -a lspci | grep -i network root@slitaz:/home/tux# lspci | grep -i network Nothing, no output! modprobe your_module root@slitaz:/home/tux# modprobe iwlwifi Nothing, no output! dmesg | tail root@slitaz:/home/tux# dmesg | tail e1000e 0000:00:19.0 eth0: 10/100 speed: disabling TSO IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready e1000e: eth0 NIC Link is Down e1000e 0000:00:19.0: irq 45 for MSI/MSI-X e1000e 0000:00:19.0: irq 45 for MSI/MSI-X IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx e1000e 0000:00:19.0 eth0: 10/100 speed: disabling TSO IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready e1000e: eth0 NIC Link is Down lsmod root@slitaz:/home/tux# lsmod Module Size Used by snd_hda_codec_hdmi 27939 1 snd_hda_codec_analog 6293 1 snd_hda_codec_generic 33605 1 snd_hda_codec_analog pata_pcmcia 6636 1 ipv6 213160 19 pcmcia 24568 1 pata_pcmcia ppdev 4114 0 iwlwifi 63944 0 snd_hda_intel 14895 1 snd_hda_controller 11942 1 snd_hda_intel snd_hda_codec 56018 5 snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,snd_hda_codec_analog cfg80211 152570 1 iwlwifi i915 561626 2 snd_hwdep 4011 1 snd_hda_codec snd_pcm 49568 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller e1000e 121922 0 yenta_socket 15944 0 pcmcia_rsrc 6896 1 yenta_socket pcmcia_core 8339 3 pcmcia,pcmcia_rsrc,yenta_socket rfkill 10678 1 cfg80211 snd_timer 14145 1 snd_pcm snd 35730 9 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel soundcore 3150 2 snd,snd_hda_codec ptp 7230 1 e1000e pps_core 4849 1 ptp parport_pc 14445 0 parport 21391 2 ppdev,parport_pc i2c_algo_bit 3651 1 i915 drm_kms_helper 23574 1 i915 drm 161333 3 i915,drm_kms_helper video 10711 1 i915 wmi 5691 0 button 3249 1 i915 i2c_core 14604 4 drm,i915,drm_kms_helper,i2c_algo_bit intel_agp 7704 0 intel_gtt 8282 3 i915,intel_agp agpgart 17579 3 drm,intel_agp,intel_gtt nano /etc/network.conf # /etc/network.conf: SliTaz system wide networking configuration. # Config file used by: /etc/init.d/network.sh # NETWORK_CONF_VERSION="2" # Set default interface. INTERFACE="eth0" # Dynamic IP address. # Enable/disable DHCP client at boot time. DHCP="yes" # # Settings only for static IP address. # # Enable/disable static IP at boot time. STATIC="no" # Set IP address and netmask for a static IP. IP="192.168.0.6" NETMASK="255.255.255.0" # Set broadcast address BROADCAST="192.168.0.255" # Set route gateway for a static IP. GATEWAY="192.168.0.1" # Set domain name DOMAIN="" # Set DNS server for a static IP. DNS_SERVER="192.168.0.1" # # Wi-Fi settings. # # Enable/disable wireless connection at boot time. WIFI="yes" # Set "yes" if you don't want to store networks you're already connected. WIFI_BLANK_NETWORKS="" # # Wi-Fi settings for iwconfig. # # Wi-Fi interface. It can auto-search interface if value below is fail. WIFI_INTERFACE="wlan0" # WPA driver; default is "wext" (Wireless Extension). WIFI_WPA_DRIVER="wext" # Set the operating mode of the device. The mode can be "Ad-Hoc", "Managed", # "Master", "Repeater", "Secondary", "Monitor" or "Auto". WIFI_MODE="managed" # Set the operating channel in the device. Empty by default. WIFI_CHANNEL="" # Force the card to register to the Access Point given by the address, if it's # possible. Empty by default to automatic mode. WIFI_AP="" # # Wi-Fi settings for wpa_supplicant (for given network). # # SSID (network name) WIFI_ESSID="any" # BSSID (optional), use this block to associate with the AP WIFI_BSSID="" # Wi-Fi security. Empty ("") for open network; "ANY" for trying many methods; # "WEP" for WEP; "WPA" for WPA/WPA2-PSK; "EAP" for 802.1x EAP. WIFI_KEY_TYPE="WPA" # Password for WEP, WPA, EAP, WAPI, and ANY; both in ASCII or HEX form. WIFI_KEY='' # Method for EAP: "PEAP", "TLS", "TTLS", "PWD". WIFI_EAP_METHOD="PEAP" # File path to CA certificate file (PEM/DER). WIFI_CA_CERT="" # File path to client certificate file (PEM/DER). WIFI_CLIENT_CERT="" # Identity string for EAP. WIFI_IDENTITY="" # Anonymous identity string for EAP. WIFI_ANONYMOUS_IDENTITY="" # Inner authentication parameters: "", "PAP", "MSCHAP", "MSCHAPV2", "GTC". WIFI_PHASE2="none" ifconfig eth1 up root@slitaz:/home/tux# ifconfig eth1 up ifconfig: SIOCGIFFLAGS: No such device ifconfig -a root@slitaz:/home/tux# ifconfig -a dummy0 Link encap:Ethernet HWaddr FE:26:B9:2D:9D:42 BROADCAST NOARP MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) eth0 Link encap:Ethernet HWaddr D8:D3:85:00:DF:5A inet addr:192.168.1.117 Bcast:192.168.1.255 Mask:255.255.255.0 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:4336 errors:0 dropped:0 overruns:0 frame:0 TX packets:3287 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4903602 (4.6 MiB) TX bytes:326203 (318.5 KiB) Interrupt:22 Memory:d8800000-d8820000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:402 errors:0 dropped:0 overruns:0 frame:0 TX packets:402 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:122871 (119.9 KiB) TX bytes:122871 (119.9 KiB) tunl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) iwconfig root@slitaz:/home/tux# iwconfig dummy0 no wireless extensions. lo no wireless extensions. eth0 no wireless extensions. tunl0 no wireless extensions. /etc/init.d/network.sh restart root@slitaz:/home/tux# /etc/init.d/network.sh restart Loading network settings from /etc/network.conf Stopping all interfaces ifconfig: SIOCGIFFLAGS: No such device Killing all daemons killall: udhcpc: no process killed wlan0 No such device wlan0 is not a Wi-Fi interface, changing it. Configuring Wi-Fi interface ... dummy0 no wireless extensions. lo no wireless extensions. eth0 no wireless extensions. tunl0 no wireless extensions. [ Done ] Change network settings in /etc/wpa/wpa.conf Starting wpa_supplicant for WPA/WPA2-PSK... wpa_supplicant: option requires an argument -- 'i' wpa_supplicant v2.6 Copyright (c) 2003-2016, Jouni Malinen and contributors This software may be distributed under the terms of the BSD license. See README for more details. This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/) usage: wpa_supplicant [-BddhKLqqtuvW] [-P] [-g] \ [-G] \ -i -c [-C] [-D] [-p] \ [-b] [-e] \ [-o] [-O] \ [-N -i -c [-C] [-D] \ [-p] [-b] [-I] ...] drivers: nl80211 = Linux nl80211/cfg80211 wext = Linux wireless extensions (generic) wired = Wired Ethernet driver options: -b = optional bridge interface name -B = run daemon in the background -c = Configuration file -C = ctrl_interface parameter (only used if -c is not) -d = increase debugging verbosity (-dd even more) -D = driver name (can be multiple drivers: nl80211,wext) -e = entropy file -g = global ctrl_interface -G = global ctrl_interface group -h = show this help text -i = interface name -I = additional configuration file -K = include keys (passwords, etc.) in debug output -L = show license (BSD) -N = start describing new interface -o = override driver parameter for new interfaces -O = override ctrl_interface parameter for new interfaces -p = driver parameters -P = PID file -q = decrease debugging verbosity (-qq even less) -t = include timestamp in debug messages -u = enable DBus control interface -v = show version -W = wait for a control interface monitor before starting example: wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant.conf Starting udhcpc client on: ... udhcpc: SIOCGIFINDEX: No such device Connecting to any... [ Failed ] root@slitaz:/home/tux# ifconfig -a root@slitaz:/home/tux# ifconfig -a dummy0 Link encap:Ethernet HWaddr FE:26:B9:2D:9D:42 BROADCAST NOARP MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) eth0 Link encap:Ethernet HWaddr D8:D3:85:00:DF:5A inet addr:192.168.1.117 Bcast:192.168.1.255 Mask:255.255.255.0 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:4336 errors:0 dropped:0 overruns:0 frame:0 TX packets:3287 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4903602 (4.6 MiB) TX bytes:326203 (318.5 KiB) Interrupt:22 Memory:d8800000-d8820000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:418 errors:0 dropped:0 overruns:0 frame:0 TX packets:418 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:124023 (121.1 KiB) TX bytes:124023 (121.1 KiB) tunl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)