Ubuntu Networking :: Run Hostapd Wireless Utility On Startup?
Mar 1, 2011
I run the following command on my terminal to start hostapd which sets up my router to behave like a wireless access point. $ ./hostapd -dd hostapd.conf The service starts successfully. But now i am trying to figure out a way to run this program automatically at start up so that my access point is permanently visible.
View 2 Replies
ADVERTISEMENT
Apr 29, 2011
I know WEP is frowned upon and enverone should be using WPA. And my hostapd AP is working with WPA clients. However, I would like to alow some older clients that can only "talk" WEP to connect. All my attempts so far have failed! Can anyone point me in the right direction? The hostapd.conf file comments suggests that hostapd can support WEP. There are no contraindications or flags that I can find in the defconfig file that suggest that a WEP module needs to be complied-in to the final make.
View 6 Replies
View Related
Jan 6, 2010
I am seeing log messages that I don't understand. If I run tail -f /var/log/messages, some times I will see this this sort of repeating pattern. I don't know if I have cut at the start of the sequence or not. Incidentally, this is a normaly well-behaved client/host.
[Code].....
Why is the client repeatedly sending the (1/4) message and then timing out?
View 1 Replies
View Related
Apr 8, 2011
Is there a utility to forward ports on a simple home networking wireless router from commandline using upnp?
View 1 Replies
View Related
May 4, 2011
I use an Atheros AR922X wireless card in my router/access point and everything was working fine under maverick. Now when I try and start hostapd I get this:
Code:
root@puffin:~# hostapd -d /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ctrl_inerface_group=0[code]....
View 9 Replies
View Related
Jan 24, 2011
I currently have an Atheros a5k 802.11g PCI card and I am looking to upgrade to 802.11n. Are there any cards that support the Atheros chipset (a9k) or something similar? I do have PCIe x16 available if I can go with that. Plus, I could go with an external USB 802.11n wireless adapter, but I'd rather prefer the internal card to save space. I don't mind any PCI/PCIe adapters taking up slots in my motherboard, although I might plan to upgrade to an ATX motherboard so I can have more slots available.
View 2 Replies
View Related
Nov 19, 2010
I've been running hostapd for a while in 11g mode with great success. Having upgraded the router machine to maverick today, I had a poke at getting hostapd working in 11n mode without too much fuss. From cursory reading of old forum posts, this appears to now be built in functionality without needing to compile drivers or hostapd from source - this is borne out by a few 11n-related lines in the default configuration file.
When adding those two lines to my config file, though, I get the same error message I did a few years ago when trying this out for the first time:
[Code].....
View 2 Replies
View Related
Sep 21, 2010
I'm running WiFi AP (hostapd/nl80211) and STA (Wicd) in my home net. More or less all does work fine at last. The only problem I have - STA reconnection works few times only (1-4 times), ending with unsuccessful authentification (and multiple AP probing in hostapd debug output before STA failing).Two contradictive facts take place:
1. Reloading hostapd on the AP side permits Wicd to reconnect, while STA rebooting(!) doesn't help.
2. Another STA - my son's Nokia mobile phone (don't know a model) - reconnects with this AP without problems (we have tried 10 times).
So, you see, first fact says something wrong with AP, while the second one says something wrong with STA. Or you can treat these facts in strictly opposite way Indeed WiFi under Linux is very fragile area yet. I have found plenty of close-to-be-similar reports as well as different resolving ways (but it is rare case).OK, few words about setup. Up to date Kubuntu Maverick testing with backports enabled on both sides. ASUS USB-N11 adapters are in use on both sides. It means RT2870 chip.
View 1 Replies
View Related
May 15, 2011
I try to set-up an Access point using ubuntu 11.04. I am using the minimal configuration file from [URL] together with a TP-Link TL-WN422G (Atheros chipset). I've installed the linux-backports-net-natty-generic drivers. But when trying to start hostapd I always get this output:
Code:
# hostapd -dd -K test.conf
Configuration file: test.conf
Failed to set interface wlan0 to master mode.
nl80211 driver initialization failed.
wlan0: Unable to setup interface.
ELOOP: remaining socket: sock=5 eloop_data=0x9b9440 user_data=(nil) handler=0x43d980
I have also disabled the network-manager for this device by adding this to /etc/network/interfaces:
Code:
iface wlan0 inet manual
cat test.conf:
Code:
interface=wlan0
driver=nl80211
ssid=test
channel=1
lsusb says:
Code:
...
Bus 001 Device 005: ID 0cf3:1006 Atheros Communications, Inc. TP-Link TL-WN422G v2 802.11g [Atheros AR9271]
...
lsmo: .....
Code:
Linux magnet 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
View 1 Replies
View Related
Feb 3, 2011
what i want to do is
client <--> wlan0 <--> computer <--> eth0 <--> internet
i have 2 network connections eth0 wired connected to internet wlan0 wireless (work fine) i have installed hostapd with madwifi and so on oki when i run hostapd the clients see the hot spot oki clients connect with wpa oki network manager run at demand not automatic (keep it for internet help) now i'm a bit lost what do i need is wlan0 give the client an ip (dhcp demand) create a bridge between wlan0 and eth0 steps to create a permanent bridge between wlan0 and eth0
View 2 Replies
View Related
Feb 22, 2011
I have setup hostapd and a bridged setup with br0 bridging eth0 and wlan0. The setup works but unfortunately not on bootup. The reason is that the bridge can't add iface wlan0 because it is down for some reason at this time. When hostapd is running (after the network script) the interface is up and can be added to bridge via
[Code]....
View 2 Replies
View Related
May 2, 2011
I've got Fedora 14 (2.6.35.12-90.fc14.i686.PAE) installed and i'm trying to use hostapd with my Realtek RTL8191S USB WLAN Adapter, but can't get it to work. The driver i'm using is : rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100 601.tar.gz
[Code]....
View 2 Replies
View Related
Dec 3, 2009
I have a small intel Atom based computer that acts as a 'combo' firewall / router / server / 802.11 Access Point that services my end user needs. I'm using hostapd 0.7.0 and Fedora 12 x86_64. The system works fine on Fedora 11. I decided to upgrade to Fedora 12 last night, and completely broke my wireless. Note that configurations are _identical_ between the Fedora 11 and Fedora 12 installation. Though, I did recompile the hostapd binary under Fedora 12 libs, etc.
Anyway, Client #1 associates fine. Client #2 associates, and hostapd hangs. Strace'ing the process shows nothing... just.. dead. SIGTERM works, but hostapd is unable to 'unallocate' the wlan0 interface, which appears to be in a hung state, so I can't simply re-start hostapd. So, I have to remove wlan0 from my bridge, them rmmod ath9k, modprobe ath9k, re-add wlan0 into the bridge, restart hostapd.. But the second association consistently hangs it every time. Next, I went and downloaded the latest compat-wireless drivers as of this posting. Selected the ath9k driver, built the modules, replaced them in my /lib/modules tree, depmod'd, reboot, etc..
BIG difference. Now hostapd does not hang, and there appears to be better logging/debug than ever before. This made me happy. Unfortunately, there appears to be a new problem. Clients can now associate, but only for a split second. They are immediately disconnected, and the following message appears via hostapd's stdout logging: hostapd: wlan0: STA 00:21:5c:39:a3:99 IEEE 802.11: did not acknowledge authentication response
For every client that attempts connection. Note that I'm using WPA2-EAP-PEAP w/ MSCHAPv2. I've also, for kicks, just tried regular WPA2-PSK with similar results. I'm using a mixture of clients, Windows XP, Windows 7, Linux Ubuntu, Fedora, and others.
[Code].....
View 1 Replies
View Related
Jan 25, 2010
I've got my wireless card working fine, the only thing is that I have to enter the following EVERY time I log in:
Code:
sudo iwconfig ra0 essid MYID
What can I do to bypass this step?
View 3 Replies
View Related
May 2, 2010
I have a Thinkpad x61 with intel wireless chipset. At startup, wireless is always disabled, and bluetooth is always enabled. Function+F5 has no effect. Can you tell me how to enable automatic wireless connection at startup?
View 3 Replies
View Related
Oct 8, 2010
I have been having some problems with my wireless connection. I am having to start my computer 2 times in order for my wireless connection to work. The first time I start up, even after I enable wireless it wont connect. If I reboot immediately and enable wireless it will then connect. I would like to be able to fix this problem since it has become really annoying to me to have to boot my computer 2 times every time I turn it on. BTW Network manager shows auto-connect, however it also shows i month ago as to the last time the connections were used.
View 2 Replies
View Related
Dec 5, 2010
every time i log in to ubuntu, i run this line to get the drivers working or something (not sure what it does, it just works):
sudo modprobe -a wl
where can i put this line so it automatically happens, rather than always having to run it manually @ the terminal?
View 1 Replies
View Related
Mar 7, 2010
I am running 9.10 on my compaq laptop. I tried linux a couple years ago and was not impressed with it's operation on this machine (wifi didn't work, pain in the butt to make it work) but I just installed 9.10 and to my surprise, everything on this machine seems to work now automatically!
One minor annoyance though, when I boot my machine and the gnome desktop loads, it takes about 1 minute until the wireless finds and connects to my router. Granted, my SSID is set to not broadcast but I set ubuntu to find it as a hidden network and it does in fact work, just takes more time than usual to find and connect. Normally with windows, when it loaded, my wifi was present and connected immediately.
View 4 Replies
View Related
Apr 5, 2010
Ubuntu 9.10
Acer 7736
This machine has a combined key/indicator light to turn the wireless networking on/off The change of state of the switch is detected by software with the switch off iwconfig shows
[Code]...
View 2 Replies
View Related
Nov 20, 2010
On my Lenovo IdeaPad S12, the "Enable wireless" checkbox is always unchecked after startup. After I check it, it automatically connects to the preferred wireless network. Is there a way to ensure that wireless is always enabled after startup? On my other PCs, "enable wireless" remains set properly after startup. It's only on my Lenovo that I have noticed this problem. I have poked through the various network tools to see if there's a preference setting for this, and have not found one.
View 2 Replies
View Related
Jan 13, 2011
I've looked quite a bit, but didn't find an answer.
I have a Thinkpad x61s which comes with a "Sierra Wireless Mini Card module".
When I start up my computer, I get prompted for a PUK / PIN.
"Unlocking SIM PUK required" (sorry, this is a direct translation of the French, might not be the exact same words in English)
With three fields to fill:
Code PUK
New PIN Code
Reenter new PIN Code.
I don't have a card in my computer, and broadband mobile is not activated in networkmanager.
Does anyone have an idea how I can disable this prompt (I don't intend to put in a SIM card before some time).
View 3 Replies
View Related
Apr 14, 2010
I am trying to get my intel pro wireless 3945abg working on this Lenny installation. My progress is as follows:
No wireless & LED (on the physical switch) won't turn on
installed NdisWrapper and netw5x32 driver
installed package "firmware-iwlwifi_0.14+lenny2_all.deb"
[code]....
Still no wireless, but when DHCPDISCOVER runs at startup, it is apparently assigned an IP address using wlan0. This only happens when the cable (eth0) isn't plugged in (eth0 is set to static) which leads me to believe that the wireless really does work for DHCPDISCOVER.
What I want to know so that I can mess about with it more is how do I switch between drivers? What I have been doing here is
Code:
modprobe -r [old driver]
and then
Code:
modprobe [new driver]
View 2 Replies
View Related
Feb 5, 2010
cpuid utility is not compiled with U9.04 and the utility is not available as a package with synaptic -
other distributions have it available as rpm . url
Any way to run this utility in the Debian world?
View 2 Replies
View Related
Oct 1, 2009
This is my startup routine:
I log on and Network Manager shows no wireless adapter.
I go to System > Administration > Network:
There are two entries in the Devices tab: Wireless and Ethernet
As soon as I double click the Wireless device and the configuration pops up, the device starts working (no changes to the settings are made)
I have the following set to ON:
- Controlled by Network Manager
- Activate device when computer starts
- Allow all users to enable and disable this device
View 7 Replies
View Related
Apr 18, 2010
Is there a way to make the (router's) USB port to work in OpenSUSE? I have a external HD were I would access files from when connected to the router with the shareport utility but it only works on windows. I was wondering if it could work in wine? And how could I do it?
And how can I make a network? I have never made a shared connection between computers. I don't know the correct term but I would like to share files with my brother and sister which I just converted from Ubuntu
View 3 Replies
View Related
Aug 9, 2010
My wireless works fine, but every time I boot I have to right click on the Network Manger Applet and enable wireless. how to set this up?
View 5 Replies
View Related
Nov 30, 2010
I would like to write a small configuration utility that will act as a daemon on the telnet port and SSH port that will only allow access to, and modification of, specific information in a structure imposed by the utility. How do I set this utility up so that when a user opens a telnet connection (or ssh) to the device, they are actually connected to the utility?
View 3 Replies
View Related
Jul 11, 2011
I'm trying to setup Access Point on my laptop using hostapd I'm using Debian squeeze and using RT2860STA. this is my hostapd config file:
[Code]....
View 2 Replies
View Related
Aug 19, 2010
I need a utility to record the traffic on a particular TCP port. I know there are packet sniffers that can do this, but I don't need to monitors the wire, just the traffic to and from my own computer. I would assume there is something out there that can hook into the TCP stack and copy the data to a file just before/after it goes out/in, but my google fu has failed me.
View 6 Replies
View Related
Jul 29, 2010
I am trying to make my computer an access point for a PS3 to connect to directly. I'm not too bothered about it behaving as a router, just a direct connection would be sufficient. I have installed hostapd from slackbuilds.org and followed the guide given at [URL]. Hostapd seems to work ok - it creates a new interface called mon.wlan0 and I can see the access point from my netbook but I can't connect to it. I think the problem is with dhcpd. Here's my /etc/dhcpd.conf:
[Code].....
View 1 Replies
View Related