Go Back   Wireless and Wifi Forums > Wireless Networks (Wifi) > Network Troubleshooting
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-29-2006, 11:53 AM
Junior Member
 
Join Date: Aug 2006
Posts: 2
Default help: using a linux laptop as an access point

I'm having some problems with hostapd and bridging a wireless to a wired network that are driving me insane! I'm running Debian Sarge with a 2.6.8-2 kernel and an Atheros chipset on the wireless card.

I'm able to bring up the access point with #iwconfig ath0 essid cabe and connect to it, but I cannot ping another computer on the wired network. It's as if the bridge is not working. However, by some miracle I DID have hostapd working at one point, and at the time I could ping a wired machine from the wireless and vice versa. I have no idea why hostapd broke but now every time I try to run #/etc/init.d/hostapd start I get Starting advanced IEEE 802.11 management: hostapd...failed. I've looked in both the /tmp/hostapd.dump and /var/log/daemon.log files but there is nothing, even when debug=4 in hostapd.conf. I have started with a completely default hostapd.conf, only changing the ssid, driver, and adding in the bridge var (this was not in the original hostapd.conf, but somewhere in my many painful hours of reading about this topic it was suggested that this var is required so hostapd will know it's part of a bridge).

I am at my wits end with this and am about to kill someone, so please help reduce the homicide rate and overpopulation of the jail system by helping me figure this out!

Here are the relevant files:

/etc/hostapd/hostapd.conf (with all commented lines removed)
Code:
bridge=br0
interface=ath0
driver=madwifi
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
dump_file=/tmp/hostapd.dump
ssid=cabe
macaddr_acl=0
auth_algs=0
eap_authenticator=0
eapol_key_index_workaround=0
/etc/network/interfaces
Code:
auto lo eth1 ath0 br0

iface lo inet loopback

iface eth1 inet dhcp

iface ath0 inet manual
        pre-up wlanconfig ath0 destroy
        pre-up wlanconfig ath0 create wlandev wifi0 wlanmode ap

iface br0 inet static
        bridge_ports eth0 ath0
        address 192.168.0.2
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255

Reply With Quote
  #2 (permalink)  
Old 08-31-2006, 08:51 PM
Junior Member
 
Join Date: Aug 2006
Posts: 2
Default

C'mon guys! 24 views and no replies? Someone's gotta have an idea what's wrong here.
Reply With Quote
  #3 (permalink)  
Old 08-31-2006, 09:30 PM
Administrator
 
Join Date: Aug 2005
Location: New Zealand
Posts: 670
Default

Very few people around here use wireless under linux.

I mess around with auditor (Auditor main - Remote-exploit.org) on my laptop every now and then, but I don't know much about wireless under linux, sorry.
Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial: WPA2 access point under Linux Sylvain SARMEJEANNE comp.security.misc 0 11-23-2006 09:41 PM
Linksys WAP54GPE access point problems Dog alt.internet.wireless 3 08-03-2006 01:33 AM
access point setup problem dazzler alt.internet.wireless 7 11-08-2005 10:57 AM
Access Point Problems youthminman@yahoo.com alt.internet.wireless 1 10-22-2005 06:08 PM
Using a Linksys router as an access point bwadamson@gmail.com alt.internet.wireless 4 09-28-2005 05:06 PM


All times are GMT. The time now is 09:38 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45