SliTaz will load the firmware (if needed), the kernel module, configure your wifi, and connect to the access point. Then, go to “ Configuration ”, and start to configure. If you don't know what to add, have a look at the sample /etc/network.conf - wifibox uses the same parameters. Install Slitaz on HDD. SliTaz is distributed in the form of a LiveCD that you can easily burn to a cdrom and boot from. When the system is running you can eject the LiveCD and use your CD drive for other tasks. The Live system provides a fully-featured, working graphical distro and lets you keep your data and personal settings on persistent media.
@Gaurav – first of all make sure that wifi is enabled on your device. What happens when you issue the below command in linux terminal: modinfo ath9k grep ‘depend’ (replace ath9k by your kernel driver) If mac80211 could not be found in the output, then your wifi adapter may not support infrastructure mode. Just to be sure, you can try out two things: 1.
Try a different linux distro other than the one you are currently using (By burning Live CD/USB of the image. I hope you are aware of the process). Secondly, if you have a Windows-7 dual-boot system, you can use the below DOS commands and see if you can start infrastructure mode in windows-7: netsh wlan set hostednetwork mode=allow ssid=gauravwan key=12345678 (where ssid = your Wi-Fi hotspot name, and key = your password key) netsh wlan start hostednetwork If you can start wifi routing in infrastructure mode in either windows-7 or another distro, then it means there could be a linux/distro-specific driver issue. @heyricardo nl80211: Failed to set interface wlan0 into AP mode Looks like your wifi adapter doesn’t support infrastructure mode. Does the output of below command include mac80211? Modinfo ath9k grep ‘depend’ (Replace ath9k with your kernel driver. Read the pre-requisites section in the article for more info) You can also try with the new GUI based script I’ve written: Instead of dhcpd, this uses dnsmasq which is light-weight and installed by default on most Linux distros.
Also, I’ve tested the script successfully on Fedora-20-Xfce. Hi i’m trying to use pyforward and its says router is running but it is not any ideas? Found interface:eth0 found interface:lo found interface:ppp0 found interface:wlan0 hostapd found. Hostapd is not running.
Dnsmasq found. Dnsmasq is running. Python web server is not running. Up interface: wlan0 on IP: 192.168.5.1 sleeping for 2 seconds. Stopping dnsmasq enabling forward in sysctl. Enabling forward rules in iptables.
Running dnsmasq created: /home/adarsh/pyforward/hostapd.conf running hostapd sleeping for 2 seconds. Configuration file: /home/adarsh/pyforward/hostapd.conf nl80211: Failed to set interface wlan0 into AP mode nl80211 driver initialization failed. ELOOP: remaining socket: sock=4 eloopdata=0x820c908 userdata=0x820cea8 handler=0x807c5e0 ELOOP: remaining socket: sock=6 eloopdata=0x820ecb0 userdata=(nil) handler=0x8086770 router is running. Hey Adarsh, This message is surprising: nl80211: Failed to set interface wlan0 into AP mode nl80211 driver initialization failed.
Are you sure that wifi drivers on your distro are properly installed or you are able to access wifi generally (other than routing)? If yes, then it might be failing due to conflicts with built-in Networkmanager. Try disabling wifi from the Networkmanager applet, and retry this. If it still doesn’t work, use rfkill: rfkill list all Issue above command to see if there are any blocks on your wifi interface.
If yes, then issue this command to unblock them: rfkill unblock all. Root@HostisleDiscoporationHost42:# sudo./AccessPoint Internet Systems Consortium DHCP Server 4.2.2 Copyright 2004-2011 Internet Systems Consortium. All rights reserved. For info, please visit /etc/dhcp/dhcpd.conf line 110: semicolon expected.
Interface ^ /etc/dhcp/dhcpd.conf line 115: semicolon expected. Option subnet-mask ^ /etc/dhcp/dhcpd.conf line 125: range declaration not allowed here.
Range ^ /etc/dhcp/dhcpd.conf line 127: expecting a declaration max-lease-time 1814400; ^ Configuration file errors encountered — exiting dhcpd: no process found. Hi @Prahlad Yeri i try using the pyforwarder software but it is no working i check my wifi driver (RT2880) on wireless kernel and it is avalable but still i am having issues Then i tried installing the hotspotd application too, also i had issues with that one too. ➜ hotspotd-0.1.1 git:(master) ✗sudo hotspotd start Traceback (most recent call last): File “/usr/local/bin/hotspotd”, line 9, in hotspotd.main(sys.argv1:) AttributeError: ‘module’ object has no attribute ‘main’ ➜ hotspotd-0.1.1 git:(master) ✗hotspotd Traceback (most recent call last): File “/usr/local/bin/hotspotd”, line 9, in hotspotd.main(sys.argv1:) AttributeError: ‘module’ object has no attribute ‘main’ also i want to ask you @Prahlad Yeri is your software like connectify, does it share from a wifi network to a hostspot like connectify.
Hi,Ojus here I was trying to install hotspotd0.1.1. Installation was successfull but, finally running it get ojus@ojus-VPCEB44EN:/hotspotd-0.1.1$ sudo python hotspotd.py start Verifying interfaces done. Created interface: mon.wlan0 on IP: 192.168.45.1 wait.
![Wifi Wifi](/uploads/1/2/5/4/125420234/384806014.png)
Stopping hostapd enabling forward in sysctl. Net.ipv4.ipforward = 1 creating NAT using iptables: wlan0eth0 running dnsmasq hotspot is running. But the hotspot is not visible or can not be detected.
How can I do that.? I am working on a Ubuntu 12.04, My wireless card uses ath9k, also AP mode. I was trying to use this for setting a WEP based AP for capturing WiFi pacekts, modify it and send.
@Gaurav – first of all make sure that wifi is enabled on your device. What happens when you issue the below command in linux terminal: modinfo ath9k grep ‘depend’ (replace ath9k by your kernel driver) If mac80211 could not be found in the output, then your wifi adapter may not support infrastructure mode. Just to be sure, you can try out two things: 1. Try a different linux distro other than the one you are currently using (By burning Live CD/USB of the image. I hope you are aware of the process). Secondly, if you have a Windows-7 dual-boot system, you can use the below DOS commands and see if you can start infrastructure mode in windows-7: netsh wlan set hostednetwork mode=allow ssid=gauravwan key=12345678 (where ssid = your Wi-Fi hotspot name, and key = your password key) netsh wlan start hostednetwork If you can start wifi routing in infrastructure mode in either windows-7 or another distro, then it means there could be a linux/distro-specific driver issue. @heyricardo nl80211: Failed to set interface wlan0 into AP mode Looks like your wifi adapter doesn’t support infrastructure mode.
Does the output of below command include mac80211? Modinfo ath9k grep ‘depend’ (Replace ath9k with your kernel driver.
![Configurar Wifi Slitaz Root Configurar Wifi Slitaz Root](/uploads/1/2/5/4/125420234/236860520.jpg)
Read the pre-requisites section in the article for more info) You can also try with the new GUI based script I’ve written: Instead of dhcpd, this uses dnsmasq which is light-weight and installed by default on most Linux distros. Also, I’ve tested the script successfully on Fedora-20-Xfce. Hi i’m trying to use pyforward and its says router is running but it is not any ideas? Found interface:eth0 found interface:lo found interface:ppp0 found interface:wlan0 hostapd found. Hostapd is not running. Dnsmasq found. Dnsmasq is running.
Python web server is not running. Up interface: wlan0 on IP: 192.168.5.1 sleeping for 2 seconds. Stopping dnsmasq enabling forward in sysctl. Enabling forward rules in iptables.
Running dnsmasq created: /home/adarsh/pyforward/hostapd.conf running hostapd sleeping for 2 seconds. Configuration file: /home/adarsh/pyforward/hostapd.conf nl80211: Failed to set interface wlan0 into AP mode nl80211 driver initialization failed.
ELOOP: remaining socket: sock=4 eloopdata=0x820c908 userdata=0x820cea8 handler=0x807c5e0 ELOOP: remaining socket: sock=6 eloopdata=0x820ecb0 userdata=(nil) handler=0x8086770 router is running. Hey Adarsh, This message is surprising: nl80211: Failed to set interface wlan0 into AP mode nl80211 driver initialization failed. Are you sure that wifi drivers on your distro are properly installed or you are able to access wifi generally (other than routing)? If yes, then it might be failing due to conflicts with built-in Networkmanager. Try disabling wifi from the Networkmanager applet, and retry this. If it still doesn’t work, use rfkill: rfkill list all Issue above command to see if there are any blocks on your wifi interface. If yes, then issue this command to unblock them: rfkill unblock all.
Root@HostisleDiscoporationHost42:# sudo./AccessPoint Internet Systems Consortium DHCP Server 4.2.2 Copyright 2004-2011 Internet Systems Consortium. All rights reserved. For info, please visit /etc/dhcp/dhcpd.conf line 110: semicolon expected. Interface ^ /etc/dhcp/dhcpd.conf line 115: semicolon expected. Option subnet-mask ^ /etc/dhcp/dhcpd.conf line 125: range declaration not allowed here.
Range ^ /etc/dhcp/dhcpd.conf line 127: expecting a declaration max-lease-time 1814400; ^ Configuration file errors encountered — exiting dhcpd: no process found. Hi @Prahlad Yeri i try using the pyforwarder software but it is no working i check my wifi driver (RT2880) on wireless kernel and it is avalable but still i am having issues Then i tried installing the hotspotd application too, also i had issues with that one too.
➜ hotspotd-0.1.1 git:(master) ✗sudo hotspotd start Traceback (most recent call last): File “/usr/local/bin/hotspotd”, line 9, in hotspotd.main(sys.argv1:) AttributeError: ‘module’ object has no attribute ‘main’ ➜ hotspotd-0.1.1 git:(master) ✗hotspotd Traceback (most recent call last): File “/usr/local/bin/hotspotd”, line 9, in hotspotd.main(sys.argv1:) AttributeError: ‘module’ object has no attribute ‘main’ also i want to ask you @Prahlad Yeri is your software like connectify, does it share from a wifi network to a hostspot like connectify. Hi,Ojus here I was trying to install hotspotd0.1.1. Installation was successfull but, finally running it get ojus@ojus-VPCEB44EN:/hotspotd-0.1.1$ sudo python hotspotd.py start Verifying interfaces done. Created interface: mon.wlan0 on IP: 192.168.45.1 wait. Stopping hostapd enabling forward in sysctl. Net.ipv4.ipforward = 1 creating NAT using iptables: wlan0eth0 running dnsmasq hotspot is running.
But the hotspot is not visible or can not be detected. How can I do that.?
I am working on a Ubuntu 12.04, My wireless card uses ath9k, also AP mode. I was trying to use this for setting a WEP based AP for capturing WiFi pacekts, modify it and send.