Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wlan0 with hostapd and dhcpd without wpa_supplicant
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
chris...
Apprentice
Apprentice


Joined: 26 Sep 2006
Posts: 179
Location: Melbourne, AU

PostPosted: Thu Nov 01, 2012 6:48 am    Post subject: wlan0 with hostapd and dhcpd without wpa_supplicant Reply with quote

Hi

I have a device that runs hostapd and dhcpd on wlan0
dhcpd seems to only work if i set the ip address on wlan0
how do i only set the ip address with net.wlan0?
it seems to want to run wpa_supplicant which I dont have and is not needed


Last edited by chris... on Fri Nov 02, 2012 12:42 am; edited 2 times in total
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Thu Nov 01, 2012 2:46 pm    Post subject: Reply with quote

chris ...

something like:

/etc/conf.d/net
Code:
modules_wlan0="!plug !wpa_supplicant iproute2"
config_wlan0="192.168.1.1/24"

best ... khay
Back to top
View user's profile Send private message
chris...
Apprentice
Apprentice


Joined: 26 Sep 2006
Posts: 179
Location: Melbourne, AU

PostPosted: Thu Nov 01, 2012 11:37 pm    Post subject: Reply with quote

now it wants to scan for access points whan starting net.wlan0
I just need it to set the ip address of the wlan0 device
e.g. if i add the command ifconfig wlan0 192.168.2.1/24 in the /etc/init.d/dhcpcd script it works
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum