Users online right now: 115 - Login  » search  » forum index  

wifi setup

lmart
wrote 1 year ago


reply
downloaded Slax (CD, v6.1.2), MD5 checked OK, burned to CD, booted successfully, but unable to connect to wifi
can see router, but cannot connect
is there a step-by-step?
what can I do to help you help me?
thanks
 
burninbush
wrote 1 year ago


reply
http://www.slax.org/modules.php?action=detail&id=3323

That module has been useful to lots of people.
 
lmart
wrote 1 year ago


reply
Thanks. Will try. Need to figure out how to build a CD with that module.
 
mocabilly
wrote 1 year ago


reply
Dunno for Windows, but most archive managers in linux can open the slax.iso.
That way you can add the module to the slax/modules directory in your slax.iso file.
Burn the .iso again and you're done.

By the way, did you have problems putting Slax on USB or was burning slax to CD your real intention?
(real intention = like you considered putting slax on USB, but went for some reason(s) for the CD approach?)
 
lmart
wrote 1 year ago


reply
@mocabilly, thanks

built the new iso online, but no md5 supplied
will try your approach because I can download the module w/ md5
CD only options; my desktop bios does not support usb boot and, plop won't boot usb either
 
bb as guest
wrote 1 year ago


reply
@ lmart ... you would seem to be a candidate for what was once called a usb-boot cd. It's a regular Slax cd that does not contain the /slax subdir [which is about 183mb of the total 190mb]. That way, your usbstick only holds the /slax subdir, and you can add modules freely to the /slax/modules subdir on the stick. Or it can be a standard usb load with both /boot and /slax.

To be clear, the vmlinuz and initrd.gz on the cd contain the drivers that WILL read files from a usb device, so you load those from the cd and then find the bulk of the distro on the usbstick. When vmlinuz starts running it searches all top level partitions for a /slax subdir [and then the .sgn file] -- doesn't care where it is found on the system.

You can use the standard cd if you want, just Tab-add a from=/dev/sda1 cheatcode; it'll then read modules from the usbstick.
 
lmart
wrote 1 year ago


reply
@bb - thanks, thought plpbt-5.0.14 would make usb booting possible - after booting from the UsbBootCD, can you pull out the CD and use it for r/w operations?

@burninbush - downloaded the utility, installed, still unable to get wifi working

WiFi
device identified (root@slax:~# lsusb Bus 001 Device 004: ID 0ace:1215 ZyDAS WLA-54L WiFi), access point shows up on network scan, set WEP key, get following msg

wait few seconds for dhcpcd which need to acquire all details for your device,
in case of troubles please paste debug info on slax forum:
Broadcasting DHCP_DISCOVER
timed out waiting for a valid DHCP server response

#1 - how does one know if a device driver is installed and, if installed, if it is the correct driver?
#2 - is there a command line step-by-step to troubleshoot wifi?
 
lettry
wrote 1 year ago


reply
Try this:
ifconfig :It will show active network adapter

ifconfig -a :It will show you wireless network adapter

ifconfig "your wireless network adapter" up:It will enable your wireless network adapter.

If you get "no such xxx",mostly you should install your wireless network adapter driver
 
bb as guest
wrote 1 year ago


reply
@bb - thanks, thought plpbt-5.0.14 would make usb booting possible - after booting from the UsbBootCD, can you pull out the CD and use it for r/w operations? >lmart

+++++++++++++++++++

Yes. The contents of vmlinuz and initrd.gz are copied to memory, so as soon as booting gets past the very first part you can remove the cd.

Or even better, copy /slax to your hard disk. It'll boot even faster that way. You can then add a slaxsave.dat file to the hard disk to save changes, after which it works pretty much like a regular installed linux. Note, this works fine on an ntfs filesystem also. Will not affect the installed system in any way.

BTW, for wireless devices the command is iwconfig.
 
lmart
wrote 1 year ago


reply
gettin' close - but no cigar!

#1 - determined drivers via puppy linux; difference between puppy/slax outputs for cmds modprobe -l | grep zd1211rw .and. lsmod | grep zd1211rw
#2 - found a wifi script and manually entered it; see below

different outputs;
root@slax:~# modprobe -l | grep zd1211rw
/lib/modules/2.6.27.27/kernel/drivers/net/wireless/zd1211rw/zd1211rw.ko
root@slax:~# lsmod | grep zd1211rw
zd1211rw 48260 0
mac80211 154652 1 zd1211rw

sh-4.1# modprobe -l | grep zd1211rw
kernel/drivers/net/wireless/zd1211rw/zd1211rw.ko
sh-4.1# lsmod | grep zd1211rw
zd1211rw 32476 0
mac80211 99898 1 zd1211rw
cfg80211 90319 2 zd1211rw,mac80211
usbcore 91279 6 zd1211rw,usbhid,usb_storage,uhci_hcd,ehci_hcd


manual walk-thru of wifi sh

root@slax:~# lsusb
Bus 001 Device 004: ID 0ace:1215 ZyDAS WLA-54L WiFi
root@slax:~# modprobe -l | grep zd1211rw
/lib/modules/2.6.27.27/kernel/drivers/net/wireless/zd1211rw/zd1211rw.ko
root@slax:~# lsmod | grep zd1211rw
zd1211rw 48260 0
mac80211 154652 1 zd1211rw
root@slax:~# wlan=`iwconfig 2>/dev/null |grep IEEE |awk '{print $1}' `
root@slax:~# echo $wlan
wlan0
root@slax:~# essid=398VC
root@slax:~# wepkey=xxxxxxxxxx
root@slax:~# iwconfig ${wlan}
wlan0 IEEE 802.11bg ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
root@slax:~# iwconfig ${wlan} essid ${essid}
root@slax:~# iwconfig ${wlan} enc ${wepkey}
root@slax:~# iwconfig ${wlan} key ${wepkey}
root@slax:~# iwconfig ${wlan} commit
Error for wireless request "Commit changes" (8B00) :
SET failed on device wlan0 ; Operation not supported.
root@slax:~# pkill udhcpc
root@slax:~# udhcpc -H box -b -i ${wlan}
-bash: udhcpc: command not found
root@slax:~# iwconfig wlan0
wlan0 IEEE 802.11bg ESSID:"398VC"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:xxxx-xxxx-xx Security mode:open
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
 
bb as guest
wrote 1 year ago


reply
Uhmmm ... after setting up wlan0, try dhcpcd wlan0. I dunno what udhcpc is, neither does slax.
 
lmart
wrote 1 year ago


reply
Uhmmm ... after setting up wlan0, try dhcpcd wlan0. I dunno what udhcpc is, neither does slax.
slax doesn't appear to like dhcpcd, dhclient or anything else I tried

the net; don't have a clue how to negotiate an IP lease via dhcp ... thoughts?
 
lmart
wrote 1 year ago


reply
to my disappointment, can't get wifi working, shouldn't be this hard
what am I missing?
why is this so difficult?
it certainly isn't hardware because wifi works under puppy ...
 
jcsoh
wrote 1 year ago


reply
He /she suceeds in:-
http://www.slax.org/forum.php?action=view&parentID=55124
 
lmart
wrote 1 year ago


reply
http://www.slax.org/forum.php?action=view&parentID=55124
you lost me on this one ... exactly where does he/she succeed?
 
jcsoh
wrote 1 year ago


reply
Isn't this your posting that you got wireless up and running with subkid's module ?

"#1 - wifi now works, thanks!"

The he/she refer to you (lmart).

Subkid have not login in 1 year .As to whether he/she is still using slax, who knows, but he/she had contributed one usefull module to slax.

As for Fanthom , I would expect him to concentrate on Portues as he is the lead developer , but I am quite sure he will check out the newer version of linux kit (ex linux livescript) and slax 7. Slax's heritage is still visible in Porteus.
 
lmart
wrote 1 year ago


reply
yes, it is working ...
however, having tried multiple ways to get wifi operational, I went back to the CLI and, to finish things up, I want to figure out how to get DHCP working
yes, the subkid's module is useful and it works
 

  » search  » forum index  

Post your reply

Your name (Login):

Message:

These HTML tags are allowed: <quote>, <b>, <u>, <i>, <pre>, <code>, <small>, <h1>, <h2>, <h3>, <li>



Slax is generously supported by: P&P Software GmbH and wisol technologie GmbH