You are not logged in.
Pages: 1
I have a netbook eeepc701 and I would like to set up wifi connection on slitaz-base-3.0 image with minimal configuration and the minimum number of packages. I do not need a GUI, as on this unit a weak processor and little memory.
lspci: (network card)
01:00.0 Ethernet controller: Atheros Communications, Inc. AR5007EG 802.11 b / g Wireless PCI Express Adapter (rev 01)
03:00.0 Ethernet controller: Atheros Technology Corp. L2 100 Mbit Ethernet Adapter (rev a0)
I ran slitaz-3.0 openbox in wifi adapter works and the network is installed without any problems, you need only specify the settings netbox "wlan0", select the network, and a password. Using the command "ifconfig-a" I got a list in which there is wlan0.
But in slitaz-base, I can not get interface wlan0. I tried to solve this problem in the search for www, and found some instructions for setting up wifi. Most of them are written, if ifconfig-a does not exhibit the desired interface, no drivers for it and is not enabled on this interface in the kernel Linux.
If I understand correctly, the Atheros driver in the kernel is 2.6.30.6-slitaz, I need to install the correct driver. I tried to install the packages, which contain wifi * wifi-firmware *, etc. but the results are not received. There were also attempts to download and compile a new kernel 3.3.1, but I have too little experience to do so.
Search the forums I found a topic http://forum.slitaz.org/topic/slitaz-wireless-some-tips-if-you-have-troubles#post-4980 following the instructions, I downloaded a newer stable version http://www.orbit-lab.org/kernel/compat-wireless-3.0-stable/v3.4/compat-wireless-3.4-rc1-2.tar.bz2 unpacked, but during the installation (make install) I get an error "no rule to make target (modules install) ". I'm not sure what is right has launched a tool compat-wireless: ". / Scripts / driver-select ath5k", make, make install. Bash also gave me several warnings for the locale "us".
Can you help me?
Offline
I managed to get to work interface wlan0, using the instructions http://doc.slitaz.org/en:guides:wifi-hard, I wrote:
# tazpkg get-install get-wifi-firmware
# tazpkg get-install wpa_supplicant
# modprobe -v ath5k
# ifconfig eth0 down
# ifconfig wlan0 up
# iwconfig wlan0 txpower on
# iwconfig wlan0 essid <MY_ESSID>
# iwconfig wlan0 key <my_wep_key>
I have a network with WPA-PSK encryption:
Using vi, I added to the file /etc/wpa_supplicant.conf
ap_scan = 1
network = {
ssid = "<my_essid>"
scan_ssid = 1
proto = WPA
key_mgmt = WPA-PSK
psk = "<my_clear_key>"
priority = 5
}
then
# Wpa_supplicant-B-W -c/etc/wpa_supplicant.conf -Dwext -iwlan0
# /Sbin/udhcpc -b -i wlan0 -p/var/run/udhcpc.wlan0.pid
No errors have not received, the list of top processes I can see the process of wpa_supplicant, but the network could not be established, wget writes bad address for any address. What am I doing wrong?
[attachment=8570,405]
Offline
While I have an eeepc701 mine has a Realtek wireless connection and I also now use Slitaz4.0 but I do recall that I changed the connection from wlan0 to wlan1 when I used 3.0.
I can't tell u now why but it connected OK........
Offline
@forsik
Slitaz base flavor does not include the wireless kernel module drivers:
#tazpkg get-install linux-wireless
Use slitaz network script to manage the connection:
#nano /etc/network.conf
#/etc/init.d/network.sh restart
If you can't get a connection verify you have the DEPENDS installed.
#tazpkg check
@plumtreed
Network interface alias: ls /sys/class/net
Offline
mojo thank you very much, it works. It was so easy. (I copied /etc/network.conf of running the network slitaz-3.0).
1)The question is how to automatically mount a kernel module on behalf of the root (modprobe -v ath5k) before booting the system?
(solved by editing /etc/init.d/bootopts.sh)
2) Is it possible to install the ath5k driver only without loading a heap of unnecessary drivers?
Offline
1)#nano /etc/rcS.conf
Add to:
LOAD_MODULES="ath5k"
2)linux-wireless contains 76 files and is 2MB uncompressed
If you remove a module that another module depends on it will break your wireless.
You have to do a complete inventory of which modules are loaded and make sure you don't remove those.
I feel it's more trouble than it's worth.
Offline
I think so too, do not spend a few weeks to compile a minimal kernel, cut a few packages and libraries, and eventually get 8MB instead of 14 mb.
Offline
Pages: 1
[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]