ip for hostapd access poit
Karl Hiramoto
karl
Sun Jun 28 13:23:21 PDT 2009
Andrzej Kosmala wrote:
> My ap starting and
> ifconfig wlan0 shows:
> wlan0 Link encap:Ethernet HWaddr 00:30:cd:0d:37:57
> inet6 addr: fe80::230:cdff:fe0d:3757/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:752 errors:0 dropped:0 overruns:0 frame:0
> TX packets:651 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:100123 (97.7 KiB) TX bytes:95810 (93.5 KiB
>
> in my /etc/network/interfaces I have:
> iface wlan0 inet static
> address 192.168.1.51
> netmask 255.255.255.0
> broadcast 192.168.1.255
> My hostapd conf:
>
> interface=wlan0
> bdriver=nl80211
> #bridge=brd0
> hw_mode=g
> channel=11
> ssid=ralink
>
> logger_syslog=-1
> logger_syslog_level=2
> logger_stdout=-1
> logger_stdout_level=1
>
> Maybe I should add anythink to hostapd.conf?
> windows notebook can't get internet so I want try ssh to login on my
> router first.
>
AFIK, hostapd only cares about layer 2 configuation. It may remove the
device layer 3 configuration while hostapd is starting. After starting
hostapd you could just try "ip addr add 192.168.1.51/24 brd
192.168.1.255 dev waln0" to readd the IP.
More information about the Hostap
mailing list