You are not logged in.
Hello, I don't have any clue about how to connect to Internet
from Slitaz (Slitaz 5 rolling iso, on an usb stick).
That's all!
When I tried Ubuntu, basically I didn't need to do anything,
I've been able to connect by tetheryng and by using wi-fi card; but
on my old pc it was too slow, while Slitaz is amazong fast.
Can anybody please tell me how to connect?
I don't have any networking/hardware background.
Thank you very much,
Saveria.
p.s.: in attachment what I got with lshw on Ubuntu about my wi-fi card
Offline
Please could you post again the file, unable to load/open it seems it is broken.
Offline
Hi Ceel,
Below it, i download this morning after begin work to check during break noon.
See it's PRO/Wireless 3945ABG [Golan] Network Connection
I check module iwl3945.ko.xz is provide by linux-wireless (maybe not load by default).
Offline
@shann, thanks
@slitta,
Open a terminal and become root (su/root)
Check the module for your Wi-Fi interface is loaded
[c]lsmod[/c]
you should see [c]iwl3945[/c] in the displayed list ; if not
[c]modprobe iwl3945[/c]
Modify your [c]/etc/network.conf[/c] file: set
[c]WIFI="no"[/c] to [c]WIFI="yes"[/c]
[c]WIFI_ESSID="any"[/c] to [c]WIFI_ESSID="your_essid"[/c]
[c]WIFI_KEY_TYPE="any"[/c] to [c]WIFI_KEY_TYPE="WPA"[/c] (or [c]WEP[/c] or [c]EAP[/c], depends of your rooter configuration
ànd fill [c]WIFI_KEY=""[/c] with your WPA/WEP/EAP key
Restart the network
[c]/etc/init.d/network.sh restart[/c]
Wi-Fi should work; if not, post the return of [c]lsmod[/c] and your network.conf (without your Wi-Fi key)
Note that spaces are not allowed in [c]ESSID[/c] and [c]WIFI_KEY[/c] field.
Offline
Hello, thank you very much.
It didn't work.
As requested, I copy&paste
- output of lsmod
Module Size Used by
zram 9093 2
zsmalloc 4014 1 zram
lz4_compress 2070 1 zram
ipv6 213160 15
iwl3945 39584 0
pcmcia 24608 0
i915 561646 2
iwlegacy 32853 1 iwl3945
mac80211 244431 2 iwl3945,iwlegacy
snd_hda_codec_realtek 42235 1
snd_hda_codec_generic 33641 2 snd_hda_codec_realtek
snd_hda_intel 14935 1
snd_hda_controller 11982 1 snd_hda_intel
snd_hda_codec 56058 4 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep 4051 1 snd_hda_codec
snd_pcm 49604 3 snd_hda_codec,snd_hda_intel,snd_hda_controller
cfg80211 152610 3 iwl3945,iwlegacy,mac80211
tg3 118116 0
yenta_socket 15984 0
pcmcia_rsrc 6936 1 yenta_socket
pcmcia_core 8379 3 pcmcia,pcmcia_rsrc,yenta_socket
snd_timer 14185 1 snd_pcm
ptp 7270 1 tg3
pps_core 4889 1 ptp
libphy 16372 1 tg3
hwmon 1865 1 tg3
rfkill 10718 1 cfg80211
i2c_algo_bit 3691 1 i915
snd 35766 9 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
drm_kms_helper 23610 1 i915
drm 161345 3 i915,drm_kms_helper
soundcore 3190 2 snd,snd_hda_codec
intel_agp 7740 0
i2c_core 14640 4 drm,i915,drm_kms_helper,i2c_algo_bit
intel_gtt 8322 3 i915,intel_agp
agpgart 17619 3 drm,intel_agp,intel_gtt
wmi 5731 0
button 3289 1 i915
video 10751 1 i915
- content of network.conf file
# /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"
#L+
# 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="LGpat"
# 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=""
# 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=""
- even if not requested, here's output of
/etc/init.d/network.sh restart
Loading network settings from /etc/network.conf
Stopping all interfaces
Killing all daemons
Shutting down Wi-Fi card
Cannot parse integer value '-i' for -r
Configuring Wi-Fi interface wlan0... [ Done ]
Change network settings in /etc/wpa/wpa.conf
Starting wpa_supplicant for WPA/WPA2-PSK...
Successfully initialized wpa_supplicant
Could not set interface wlan0 flags (UP): Cannot allocate memory
WEXT: Could not set interface 'wlan0' UP
wlan0: Failed to initialize driver interface
Starting udhcpc client on: wlan0...
udhcpc: started, v1.31.1
ifconfig: SIOCSIFFLAGS: Cannot allocate memory
udhcpc: sending discover
udhcpc: sendto: Network is down
udhcpc: read error: Network is down, reopening socket
udhcpc: sending discover
udhcpc: sendto: Network is down
udhcpc: read error: Network is down, reopening socket
udhcpc: sending discover
udhcpc: sendto: Network is down
udhcpc: read error: Network is down, reopening socket
udhcpc: no lease, forking to background
Cannot parse integer value '-i' for -r
Connecting to LGpat... [ Failed ]
Thank you for any further help.
S.
Offline
Hi slitta,
[c]Could not set interface wlan0 flags (UP): Cannot allocate memory[/c] seem strange.
Can you post /var/log/dmesg.log and /var/log/boot.log file please, suspect firmware missing.
I found we have this package "firmware-iwlwifi-3945-20200515.tazpkg", think miss for your wifi card work.
http://mirror.slitaz.org/packages/cooking/firmware-iwlwifi-3945-20200515.tazpkg
On my side need firwmare-ipw2100 for my wifi card intel pro 2100 work on dell x300 
Follow this :
- download package and put in on your usb key
- install it with [c]tazpkg -i <path_to/firmware-iwlwifi-3945-20200515.tazpkg>[/c]
- reload driver with [c]rmmod iwl3945 && modprobe iwl3945[/c]
- adjust /etc/network.conf to have right wifi configuration
- restart network with [c]/etc/init.d/network.sh restart[/c]
Offline
Check also your Wi-Fi interface is not hard/soft blocked.
Install [c]rfkill[/c]
[c]tazpkg -gi rfkill[/c]
then type
[c]rfkill list[/c]
If the card is soft blocked
[c]rfkill unblock <Wi-Fi_identifier>[/c]
and restart network
[c]/etc/init.d/network.sh restart[/c]
Offline
Thanks, I'll try as soon as possible, probably I'll have to be absent some days.
Did you mean that I can run
tazpkg -gi rfkill
from Slitaz without connection?
S.
Offline
[ Generated in 0.027 seconds, 7 queries executed - Memory usage: 1.57 MiB (Peak: 1.77 MiB) ]