Re: [gentoo-user] To Wifi or not to Wifi...
Hi Mick, thanks a lot for linking this informations for me :) My Lollipop device is a pure tablet. I choose intentionally a no-gsm/no-phone device...of smartphones I only like the smart part. And yesterday evening I put Linux on it...currently only as chroot environment (since nobody has currently made public a custom rom/kernel) so the android kernel is still running, but ... one step is done. I am eager to see the first custom ROMs for my device (Asus MeMO Pad 7 ME176CX) and a cwm/twpr for it made by the guys at clockworkmod.com/Team Win...can't wait... really :) Until then I have to be careful with modding, since there is no simple way of replay a nandroid backup. Have a nice weekend! Best regards, Meino Mick [15-07-31 17:09]: > Some info on lollipop FYI: > > http://pulse.ng/tech/biggest-flaw-ever-you-can-hack-an-android-device-with-a-text-message-id4018313.html > > On 30 July 2015 at 12:53, J. Roeleveld wrote: > > > On Wednesday, July 29, 2015 05:10:02 PM meino.cra...@gmx.de wrote: > > > J. Roeleveld [15-07-29 16:39]: > > > > On Wednesday, July 29, 2015 10:54:53 AM Thanasis wrote: > > > > > On 07/29/2015 05:42 AM, meino.cra...@gmx.de wrote: > > > > > <...snip...> > > > > > > > > > > > 2) How I can assign a static IP to my tablet. > > > > > > > > > > At the end of /etc/dhcp/dhcpd.conf add a line like > > > > > > > > > > host mytablet { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address > > > > > xxx.xxx.xxx.xxx; } > > > > > > > > > > > 3) How I can change the MAC on my tablet. > > > > > > > > > > What is the OS on the tablet? > > > > > > > > If I read this right in this thread, I believe it's Android Lollipop. > > > > In this case, without rooting, it definitely will not be possible. > > > > > > > > I don't see why anyone would want to change the MAC on a tablet, other > > > > then > > > > try to break into someone elses WIFI. > > > > > > > > -- > > > > Joost > > > > > > Hi Joost, > > > > > > your are right: It is Android Lollipop 5.0 ! :) > > > > Same version as my mobile phone. (After the latest update) > > > > > I think specialists experienced in networks, Wlans, Wifis and > > > such know and are experienced in hacking into others devices. Changing > > > the MAC may or may not a tool for that ... I simply dont know. I am > > > just at the start to get Wifi working ... a very basic problem for > > > others like you I think. For me...it is just a challenge. > > > Are you experienced in breaking in someone elses WIFI via changing the > > > MAC? Where came your idea from? > > > > I played around with it in the past, not recently though. > > > > MAC-based access control lists are simple and lightweight. Which is why I > > use > > them for WIFI networks (apart from the guest-WIFI). But I don't consider > > them > > secure enough to only rely on those. > > > > I only actively set MAC-addresses for VMs to avoid duplications. I don't > > see > > the point in setting them specifically as they tend to be unique in my > > experience. > > > > Only other reason I can think off for changing the MAC-address is to get > > around > > a MAC-based filtering. > > > > -- > > Joost > > > > > > > -- > Regards, > Mick
Re: [gentoo-user] To Wifi or not to Wifi...
Some info on lollipop FYI: http://pulse.ng/tech/biggest-flaw-ever-you-can-hack-an-android-device-with-a-text-message-id4018313.html On 30 July 2015 at 12:53, J. Roeleveld wrote: > On Wednesday, July 29, 2015 05:10:02 PM meino.cra...@gmx.de wrote: > > J. Roeleveld [15-07-29 16:39]: > > > On Wednesday, July 29, 2015 10:54:53 AM Thanasis wrote: > > > > On 07/29/2015 05:42 AM, meino.cra...@gmx.de wrote: > > > > <...snip...> > > > > > > > > > 2) How I can assign a static IP to my tablet. > > > > > > > > At the end of /etc/dhcp/dhcpd.conf add a line like > > > > > > > > host mytablet { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address > > > > xxx.xxx.xxx.xxx; } > > > > > > > > > 3) How I can change the MAC on my tablet. > > > > > > > > What is the OS on the tablet? > > > > > > If I read this right in this thread, I believe it's Android Lollipop. > > > In this case, without rooting, it definitely will not be possible. > > > > > > I don't see why anyone would want to change the MAC on a tablet, other > > > then > > > try to break into someone elses WIFI. > > > > > > -- > > > Joost > > > > Hi Joost, > > > > your are right: It is Android Lollipop 5.0 ! :) > > Same version as my mobile phone. (After the latest update) > > > I think specialists experienced in networks, Wlans, Wifis and > > such know and are experienced in hacking into others devices. Changing > > the MAC may or may not a tool for that ... I simply dont know. I am > > just at the start to get Wifi working ... a very basic problem for > > others like you I think. For me...it is just a challenge. > > Are you experienced in breaking in someone elses WIFI via changing the > > MAC? Where came your idea from? > > I played around with it in the past, not recently though. > > MAC-based access control lists are simple and lightweight. Which is why I > use > them for WIFI networks (apart from the guest-WIFI). But I don't consider > them > secure enough to only rely on those. > > I only actively set MAC-addresses for VMs to avoid duplications. I don't > see > the point in setting them specifically as they tend to be unique in my > experience. > > Only other reason I can think off for changing the MAC-address is to get > around > a MAC-based filtering. > > -- > Joost > > -- Regards, Mick
Re: [gentoo-user] To Wifi or not to Wifi...
On Wednesday, July 29, 2015 05:10:02 PM meino.cra...@gmx.de wrote: > J. Roeleveld [15-07-29 16:39]: > > On Wednesday, July 29, 2015 10:54:53 AM Thanasis wrote: > > > On 07/29/2015 05:42 AM, meino.cra...@gmx.de wrote: > > > <...snip...> > > > > > > > 2) How I can assign a static IP to my tablet. > > > > > > At the end of /etc/dhcp/dhcpd.conf add a line like > > > > > > host mytablet { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address > > > xxx.xxx.xxx.xxx; } > > > > > > > 3) How I can change the MAC on my tablet. > > > > > > What is the OS on the tablet? > > > > If I read this right in this thread, I believe it's Android Lollipop. > > In this case, without rooting, it definitely will not be possible. > > > > I don't see why anyone would want to change the MAC on a tablet, other > > then > > try to break into someone elses WIFI. > > > > -- > > Joost > > Hi Joost, > > your are right: It is Android Lollipop 5.0 ! :) Same version as my mobile phone. (After the latest update) > I think specialists experienced in networks, Wlans, Wifis and > such know and are experienced in hacking into others devices. Changing > the MAC may or may not a tool for that ... I simply dont know. I am > just at the start to get Wifi working ... a very basic problem for > others like you I think. For me...it is just a challenge. > Are you experienced in breaking in someone elses WIFI via changing the > MAC? Where came your idea from? I played around with it in the past, not recently though. MAC-based access control lists are simple and lightweight. Which is why I use them for WIFI networks (apart from the guest-WIFI). But I don't consider them secure enough to only rely on those. I only actively set MAC-addresses for VMs to avoid duplications. I don't see the point in setting them specifically as they tend to be unique in my experience. Only other reason I can think off for changing the MAC-address is to get around a MAC-based filtering. -- Joost
Re: [gentoo-user] To Wifi or not to Wifi...
Mick [15-07-29 20:08]: > On Wednesday 29 Jul 2015 16:05:10 meino.cra...@gmx.de wrote: > > Thanasis [15-07-29 16:38]: > > > On 07/29/2015 05:42 AM, meino.cra...@gmx.de wrote: > > > <...snip...> > > > > > > >2) How I can assign a static IP to my tablet. > > > > > > At the end of /etc/dhcp/dhcpd.conf add a line like > > > > > > host mytablet { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address > > > xxx.xxx.xxx.xxx; } > > > > > > >3) How I can change the MAC on my tablet. > > > > > > What is the OS on the tablet? > > > > Hi Thanasis, > > > > thanks for your help! > > I didn't thought of "dynamically" assigning a fixed IP to > > my tablet via DHCPd (my fault). But this is an elegant solution > > for this! > > If your client is running dhcpcd, then > > --request 123.456.78.9 #will request this address from the server > > --inform 123.456.78.9/24 #will inform the server of this address > > > > The tablet runs Android Lollipop 5.0. The tablet is an > > ASUS MeMO Pad 7 (ME176CX). > > To set the IP address manually: > > ifconfig wlan0 123.456.78.9 > > or > > ip addr add 123.456.78.9 dev wlan0 > > depending on the commands that come with this distro. > > > To change the MAC address manually: > > ifconfig wlan0 hw ether 00:AA:BB:CC:DD:FF > > or > > ip link set wlan0 address 00:AA:BB:CC:DD:FF > > > Reboot to get back what you had originally. > > -- > Regards, > Mick Hi Mick, !!!GREAT!!! Exactly what I am searching for! BEST! Thank you VERY much! :) 8) Best regards, Meino
Re: [gentoo-user] To Wifi or not to Wifi...
On Wednesday 29 Jul 2015 16:05:10 meino.cra...@gmx.de wrote: > Thanasis [15-07-29 16:38]: > > On 07/29/2015 05:42 AM, meino.cra...@gmx.de wrote: > > <...snip...> > > > > >2) How I can assign a static IP to my tablet. > > > > At the end of /etc/dhcp/dhcpd.conf add a line like > > > > host mytablet { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address > > xxx.xxx.xxx.xxx; } > > > > >3) How I can change the MAC on my tablet. > > > > What is the OS on the tablet? > > Hi Thanasis, > > thanks for your help! > I didn't thought of "dynamically" assigning a fixed IP to > my tablet via DHCPd (my fault). But this is an elegant solution > for this! If your client is running dhcpcd, then --request 123.456.78.9 #will request this address from the server --inform 123.456.78.9/24 #will inform the server of this address > The tablet runs Android Lollipop 5.0. The tablet is an > ASUS MeMO Pad 7 (ME176CX). To set the IP address manually: ifconfig wlan0 123.456.78.9 or ip addr add 123.456.78.9 dev wlan0 depending on the commands that come with this distro. To change the MAC address manually: ifconfig wlan0 hw ether 00:AA:BB:CC:DD:FF or ip link set wlan0 address 00:AA:BB:CC:DD:FF Reboot to get back what you had originally. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] To Wifi or not to Wifi...
J. Roeleveld [15-07-29 16:39]: > On Wednesday, July 29, 2015 10:54:53 AM Thanasis wrote: > > On 07/29/2015 05:42 AM, meino.cra...@gmx.de wrote: > > <...snip...> > > > > > 2) How I can assign a static IP to my tablet. > > > > At the end of /etc/dhcp/dhcpd.conf add a line like > > > > host mytablet { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address > > xxx.xxx.xxx.xxx; } > > > > > 3) How I can change the MAC on my tablet. > > > > What is the OS on the tablet? > > If I read this right in this thread, I believe it's Android Lollipop. > In this case, without rooting, it definitely will not be possible. > > I don't see why anyone would want to change the MAC on a tablet, other then > try to break into someone elses WIFI. > > -- > Joost > Hi Joost, your are right: It is Android Lollipop 5.0 ! :) I think specialists experienced in networks, Wlans, Wifis and such know and are experienced in hacking into others devices. Changing the MAC may or may not a tool for that ... I simply dont know. I am just at the start to get Wifi working ... a very basic problem for others like you I think. For me...it is just a challenge. Are you experienced in breaking in someone elses WIFI via changing the MAC? Where came your idea from? Best regards, Meino
Re: [gentoo-user] To Wifi or not to Wifi...
Thanasis [15-07-29 16:38]: > On 07/29/2015 05:42 AM, meino.cra...@gmx.de wrote: > <...snip...> > >2) How I can assign a static IP to my tablet. > > At the end of /etc/dhcp/dhcpd.conf add a line like > > host mytablet { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address > xxx.xxx.xxx.xxx; } > > >3) How I can change the MAC on my tablet. > > What is the OS on the tablet? > > Hi Thanasis, thanks for your help! I didn't thought of "dynamically" assigning a fixed IP to my tablet via DHCPd (my fault). But this is an elegant solution for this! The tablet runs Android Lollipop 5.0. The tablet is an ASUS MeMO Pad 7 (ME176CX). Best regards, Meino
Re: [gentoo-user] To Wifi or not to Wifi...
Peter Humphrey [15-07-29 16:38]: > On Wednesday 29 July 2015 06:40:51 Mick wrote: > > On Wednesday 29 Jul 2015 03:42:56 meino.cra...@gmx.de wrote: > > > Still I have to figure out: > > > > > > 1) What create_ap does differently (and more correctly). > > > > It also sets up a DNS repeater, DHCP server and configures iptables on your > > PC. > > > > > 2) How I can assign a static IP to my tablet. > > > > There must be some config files to edit, but I'm guessing you won't have > > access to these without rooting the tablet. > > I think Meino means how he should tell dhcpd to assign the same IP to his > tablet every time it appears. This is easy in dnsmasq but I don't know dhcp. > > -- > Rgds > Peter > > Hi Peter, quite an easy answer: YESNO! ;) Until I read your mail, my thought of "statis IP" was: Server and client set their IPs for themselves statically and "know" of the IPs of the counterpart. Your mail gives (at least to me) a totally new aspect: DHCPd "dynamically" assigns the same IP to the client all the time. Which is an elegant solution around the problem of currently don't knowing how to set an IP on my tablet other than via DHCP. Downside: One still needs to configure DHCPd on the server side/site. Thanks for the new aspect! :) Best regards, Meino
Re: [gentoo-user] To Wifi or not to Wifi...
Mick [15-07-29 16:38]: > On Wednesday 29 Jul 2015 03:42:56 meino.cra...@gmx.de wrote: > > Mick [15-07-29 03:32]: > > > On Tuesday 28 Jul 2015 20:35:55 Todd Goodman wrote: > > > > * meino.cra...@gmx.de [150728 15:31]: > > > > [..SNIP..] > > > > > > > > > Hi Todd, > > > > > > > > > > thanks for all your help and patience... :)) > > > > > > > > > > The recursive(recursive(recursive).problem.).problem).problem has > > > > > been solved by rebooting my PC (due to the new kernel) and restarting > > > > > the tablet PC. > > > > > > > > > > Now I am fighting against dhcpd...as sson as I want to start that > > > > > beast its telling me that dhcpd.ldap is missing. This was not > > > > > installed (at least as an example) by emerge. I have no idea what > > > > > is to get into that file. > > > > > > > > > > I will check create_ap...may be it is more intelligent than me in > > > > > writing config-files ;) > > > > > > > > > > But unfortunately I have to stop my journey here for today...it is > > > > > late here (9:00 pm) and I have to get out early tommorrow (4:00 am). > > > > > > > > > > But /I want/ to get this running finally. > > > > > We will see. > > > > > As soon I have something new, I will post more of the contents > > > > > of my harddisk ;) > > > > > > > > > > Best regards and thanks again! 8) > > > > > Meino > > > > > > > > Hi Meino, > > > > > > > > You're welcome. I'm sorry I couldn't be of more help (and get this > > > > solved!) > > > > > > > > I'm sure you will eventually. > > > > > > > > Please let us know how it goes once you get back to it. > > > > > > > > Good night, > > > > > > > > Todd > > > > > > A lot seems to have been progressed with since I last contributed to this > > > thread. Given that WiFi related problems were solved thanks to Todd's > > > good help, perhaps Meino should start a thread on setting up a local > > > dhcp server? > > > > > > However, I would recommend that you set a static route, gateway and IP > > > address on your tablet pointing to the PC and on the PC you configure IP > > > Masquerading, so that it can NAT connections from the tablet to the > > > Internet. > > > > > > However, if you must be running a dhcp server, then emerge and configure > > > net- misc/dhcp on the PC. > > > > Hi Todd, hi Mick, > > > > !YEAH! It works! > > create_ap did it! I have access to the internet on my tablet just by > > fireing up create_ap. > > > > There is one advantage of create_ap (beside creating a /working/ ap, > > which I was not able to...;) over the setup below /etc: One can give > > it an temporary SSID and password on the commandline - every > > configuration is temporary. In my case this is very handy, since I > > only need the AP for transferring files from and to my tablet. Makes > > the thing /a little/ more secure...a /little/. > > > > Still I have to figure out: > > > > 1) What create_ap does differently (and more correctly). > > It also sets up a DNS repeater, DHCP server and configures iptables on your > PC. > > > > 2) How I can assign a static IP to my tablet. > > There must be some config files to edit, but I'm guessing you won't have > access to these without rooting the tablet. > > > > 3) How I can change the MAC on my tablet. > > Ditto. > > -- > Regards, > Mick Hi Mick, thanks for your reply and answers! :) I have rooted the tablet, but I dont want to change "The inner core" (setup/boot scripts) until I know a little more about Android...it is quite a different Linux somehow. I thought of a temporary solution, which sets the MAC/IP from the commmandline until the tablet is booted again. create_ap is of great help for me...it be instructed to dump its configuration also, so I have a source for further inspections. Best regards, Meino
Re: [gentoo-user] To Wifi or not to Wifi...
On Wednesday, July 29, 2015 10:54:53 AM Thanasis wrote: > On 07/29/2015 05:42 AM, meino.cra...@gmx.de wrote: > <...snip...> > > > 2) How I can assign a static IP to my tablet. > > At the end of /etc/dhcp/dhcpd.conf add a line like > > host mytablet { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address > xxx.xxx.xxx.xxx; } > > > 3) How I can change the MAC on my tablet. > > What is the OS on the tablet? If I read this right in this thread, I believe it's Android Lollipop. In this case, without rooting, it definitely will not be possible. I don't see why anyone would want to change the MAC on a tablet, other then try to break into someone elses WIFI. -- Joost
Re: [gentoo-user] To Wifi or not to Wifi...
On Wednesday 29 July 2015 06:40:51 Mick wrote: > On Wednesday 29 Jul 2015 03:42:56 meino.cra...@gmx.de wrote: > > Still I have to figure out: > > > > 1) What create_ap does differently (and more correctly). > > It also sets up a DNS repeater, DHCP server and configures iptables on your > PC. > > > 2) How I can assign a static IP to my tablet. > > There must be some config files to edit, but I'm guessing you won't have > access to these without rooting the tablet. I think Meino means how he should tell dhcpd to assign the same IP to his tablet every time it appears. This is easy in dnsmasq but I don't know dhcp. -- Rgds Peter
Re: [gentoo-user] To Wifi or not to Wifi...
On 07/29/2015 05:42 AM, meino.cra...@gmx.de wrote: <...snip...> 2) How I can assign a static IP to my tablet. At the end of /etc/dhcp/dhcpd.conf add a line like host mytablet { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address xxx.xxx.xxx.xxx; } 3) How I can change the MAC on my tablet. What is the OS on the tablet?
Re: [gentoo-user] To Wifi or not to Wifi...
On Wednesday 29 Jul 2015 03:42:56 meino.cra...@gmx.de wrote: > Mick [15-07-29 03:32]: > > On Tuesday 28 Jul 2015 20:35:55 Todd Goodman wrote: > > > * meino.cra...@gmx.de [150728 15:31]: > > > [..SNIP..] > > > > > > > Hi Todd, > > > > > > > > thanks for all your help and patience... :)) > > > > > > > > The recursive(recursive(recursive).problem.).problem).problem has > > > > been solved by rebooting my PC (due to the new kernel) and restarting > > > > the tablet PC. > > > > > > > > Now I am fighting against dhcpd...as sson as I want to start that > > > > beast its telling me that dhcpd.ldap is missing. This was not > > > > installed (at least as an example) by emerge. I have no idea what > > > > is to get into that file. > > > > > > > > I will check create_ap...may be it is more intelligent than me in > > > > writing config-files ;) > > > > > > > > But unfortunately I have to stop my journey here for today...it is > > > > late here (9:00 pm) and I have to get out early tommorrow (4:00 am). > > > > > > > > But /I want/ to get this running finally. > > > > We will see. > > > > As soon I have something new, I will post more of the contents > > > > of my harddisk ;) > > > > > > > > Best regards and thanks again! 8) > > > > Meino > > > > > > Hi Meino, > > > > > > You're welcome. I'm sorry I couldn't be of more help (and get this > > > solved!) > > > > > > I'm sure you will eventually. > > > > > > Please let us know how it goes once you get back to it. > > > > > > Good night, > > > > > > Todd > > > > A lot seems to have been progressed with since I last contributed to this > > thread. Given that WiFi related problems were solved thanks to Todd's > > good help, perhaps Meino should start a thread on setting up a local > > dhcp server? > > > > However, I would recommend that you set a static route, gateway and IP > > address on your tablet pointing to the PC and on the PC you configure IP > > Masquerading, so that it can NAT connections from the tablet to the > > Internet. > > > > However, if you must be running a dhcp server, then emerge and configure > > net- misc/dhcp on the PC. > > Hi Todd, hi Mick, > > !YEAH! It works! > create_ap did it! I have access to the internet on my tablet just by > fireing up create_ap. > > There is one advantage of create_ap (beside creating a /working/ ap, > which I was not able to...;) over the setup below /etc: One can give > it an temporary SSID and password on the commandline - every > configuration is temporary. In my case this is very handy, since I > only need the AP for transferring files from and to my tablet. Makes > the thing /a little/ more secure...a /little/. > > Still I have to figure out: > > 1) What create_ap does differently (and more correctly). It also sets up a DNS repeater, DHCP server and configures iptables on your PC. > 2) How I can assign a static IP to my tablet. There must be some config files to edit, but I'm guessing you won't have access to these without rooting the tablet. > 3) How I can change the MAC on my tablet. Ditto. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] To Wifi or not to Wifi...
Mick [15-07-29 03:32]: > On Tuesday 28 Jul 2015 20:35:55 Todd Goodman wrote: > > * meino.cra...@gmx.de [150728 15:31]: > > [..SNIP..] > > > > > Hi Todd, > > > > > > thanks for all your help and patience... :)) > > > > > > The recursive(recursive(recursive).problem.).problem).problem has > > > been solved by rebooting my PC (due to the new kernel) and restarting > > > the tablet PC. > > > > > > Now I am fighting against dhcpd...as sson as I want to start that > > > beast its telling me that dhcpd.ldap is missing. This was not > > > installed (at least as an example) by emerge. I have no idea what > > > is to get into that file. > > > > > > I will check create_ap...may be it is more intelligent than me in > > > writing config-files ;) > > > > > > But unfortunately I have to stop my journey here for today...it is > > > late here (9:00 pm) and I have to get out early tommorrow (4:00 am). > > > > > > But /I want/ to get this running finally. > > > We will see. > > > As soon I have something new, I will post more of the contents > > > of my harddisk ;) > > > > > > Best regards and thanks again! 8) > > > Meino > > > > Hi Meino, > > > > You're welcome. I'm sorry I couldn't be of more help (and get this > > solved!) > > > > I'm sure you will eventually. > > > > Please let us know how it goes once you get back to it. > > > > Good night, > > > > Todd > > A lot seems to have been progressed with since I last contributed to this > thread. Given that WiFi related problems were solved thanks to Todd's good > help, perhaps Meino should start a thread on setting up a local dhcp server? > > However, I would recommend that you set a static route, gateway and IP > address > on your tablet pointing to the PC and on the PC you configure IP > Masquerading, > so that it can NAT connections from the tablet to the Internet. > > However, if you must be running a dhcp server, then emerge and configure net- > misc/dhcp on the PC. > > -- > Regards, > Mick Hi Todd, hi Mick, !YEAH! It works! create_ap did it! I have access to the internet on my tablet just by fireing up create_ap. There is one advantage of create_ap (beside creating a /working/ ap, which I was not able to...;) over the setup below /etc: One can give it an temporary SSID and password on the commandline - every configuration is temporary. In my case this is very handy, since I only need the AP for transferring files from and to my tablet. Makes the thing /a little/ more secure...a /little/. Still I have to figure out: 1) What create_ap does differently (and more correctly). 2) How I can assign a static IP to my tablet. 3) How I can change the MAC on my tablet. Thanks for all your help and patience! :) 8) Best regards, Meino
Re: [gentoo-user] To Wifi or not to Wifi...
Mick [15-07-29 03:32]: > On Tuesday 28 Jul 2015 20:35:55 Todd Goodman wrote: > > * meino.cra...@gmx.de [150728 15:31]: > > [..SNIP..] > > > > > Hi Todd, > > > > > > thanks for all your help and patience... :)) > > > > > > The recursive(recursive(recursive).problem.).problem).problem has > > > been solved by rebooting my PC (due to the new kernel) and restarting > > > the tablet PC. > > > > > > Now I am fighting against dhcpd...as sson as I want to start that > > > beast its telling me that dhcpd.ldap is missing. This was not > > > installed (at least as an example) by emerge. I have no idea what > > > is to get into that file. > > > > > > I will check create_ap...may be it is more intelligent than me in > > > writing config-files ;) > > > > > > But unfortunately I have to stop my journey here for today...it is > > > late here (9:00 pm) and I have to get out early tommorrow (4:00 am). > > > > > > But /I want/ to get this running finally. > > > We will see. > > > As soon I have something new, I will post more of the contents > > > of my harddisk ;) > > > > > > Best regards and thanks again! 8) > > > Meino > > > > Hi Meino, > > > > You're welcome. I'm sorry I couldn't be of more help (and get this > > solved!) > > > > I'm sure you will eventually. > > > > Please let us know how it goes once you get back to it. > > > > Good night, > > > > Todd > > A lot seems to have been progressed with since I last contributed to this > thread. Given that WiFi related problems were solved thanks to Todd's good > help, perhaps Meino should start a thread on setting up a local dhcp server? > > However, I would recommend that you set a static route, gateway and IP > address > on your tablet pointing to the PC and on the PC you configure IP > Masquerading, > so that it can NAT connections from the tablet to the Internet. > > However, if you must be running a dhcp server, then emerge and configure net- > misc/dhcp on the PC. > > -- > Regards, > Mick Hi Mick, thanks for your reply ! 8) the current problem is the authentication problem and with my limited knowledge about the wifi topic I cannot decide, whether it is a problem related to wifi setups of or related to "after wifi" - that is the timeout happens because there is no data transfer, because the table does not get an IP addr from the PC. Setting up an static IP address scheme is a good idea! Unfortunately the tablet does not allow to assign an IP statically. It is an Android Lollipop based tablet, wifi only, no gsm. I searched the GUI up and down - there is an field "IP-adress" and "MAC-address" but they are not selectable or react on clicking/tapping. I think I have to go the dhcpd way for accomplish the assignments of IP-addresses. Before I will go to work, I will check create_ap as Todd suggested and see whether it will solve the knot. I will also trace the handshake with wireshark. May be this will give an addition insight also. When I will get more information where the whole authentications stuff fails, I will start an new dhcpd thread or I will add more here. Thanks for all your help Mick! 8) Best regards, Meino I could remember the good ole day, when data was transmit through good ole copper...
Re: [gentoo-user] To Wifi or not to Wifi...
On Tuesday 28 Jul 2015 20:35:55 Todd Goodman wrote: > * meino.cra...@gmx.de [150728 15:31]: > [..SNIP..] > > > Hi Todd, > > > > thanks for all your help and patience... :)) > > > > The recursive(recursive(recursive).problem.).problem).problem has > > been solved by rebooting my PC (due to the new kernel) and restarting > > the tablet PC. > > > > Now I am fighting against dhcpd...as sson as I want to start that > > beast its telling me that dhcpd.ldap is missing. This was not > > installed (at least as an example) by emerge. I have no idea what > > is to get into that file. > > > > I will check create_ap...may be it is more intelligent than me in > > writing config-files ;) > > > > But unfortunately I have to stop my journey here for today...it is > > late here (9:00 pm) and I have to get out early tommorrow (4:00 am). > > > > But /I want/ to get this running finally. > > We will see. > > As soon I have something new, I will post more of the contents > > of my harddisk ;) > > > > Best regards and thanks again! 8) > > Meino > > Hi Meino, > > You're welcome. I'm sorry I couldn't be of more help (and get this > solved!) > > I'm sure you will eventually. > > Please let us know how it goes once you get back to it. > > Good night, > > Todd A lot seems to have been progressed with since I last contributed to this thread. Given that WiFi related problems were solved thanks to Todd's good help, perhaps Meino should start a thread on setting up a local dhcp server? However, I would recommend that you set a static route, gateway and IP address on your tablet pointing to the PC and on the PC you configure IP Masquerading, so that it can NAT connections from the tablet to the Internet. However, if you must be running a dhcp server, then emerge and configure net- misc/dhcp on the PC. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] To Wifi or not to Wifi...
* meino.cra...@gmx.de [150728 15:31]: [..SNIP..] > Hi Todd, > > thanks for all your help and patience... :)) > > The recursive(recursive(recursive).problem.).problem).problem has > been solved by rebooting my PC (due to the new kernel) and restarting > the tablet PC. > > Now I am fighting against dhcpd...as sson as I want to start that > beast its telling me that dhcpd.ldap is missing. This was not > installed (at least as an example) by emerge. I have no idea what > is to get into that file. > > I will check create_ap...may be it is more intelligent than me in > writing config-files ;) > > But unfortunately I have to stop my journey here for today...it is > late here (9:00 pm) and I have to get out early tommorrow (4:00 am). > > But /I want/ to get this running finally. > We will see. > As soon I have something new, I will post more of the contents > of my harddisk ;) > > Best regards and thanks again! 8) > Meino Hi Meino, You're welcome. I'm sorry I couldn't be of more help (and get this solved!) I'm sure you will eventually. Please let us know how it goes once you get back to it. Good night, Todd
Re: [gentoo-user] To Wifi or not to Wifi...
Todd Goodman [15-07-28 21:16]: > * meino.cra...@gmx.de [150728 14:44]: > [..SNIP..] > > Hi Todd, > > > > ok, I've fixed that...now it displays another error: > > > > >/usr/sbin/hostapd /etc/hostapd/hostapd.conf > > Configuration file: /etc/hostapd/hostapd.conf > > wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE > > Using interface wlan0 with hwaddr 14:cc:20:17:24:49 and ssid "" > > VLAN: vlan_set_name_type: SET_VLAN_NAME_TYPE_CMD name_type=2 failed: > > Package not installed > > wlan0: interface state COUNTRY_UPDATE->ENABLED > > wlan0: AP-ENABLED > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) > > WPA: wpa_sm_step() called recursively > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to local > > deauth request > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) > > WPA: wpa_sm_step() called recursively > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to local > > deauth request > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) > > WPA: wpa_sm_step() called recursively > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to local > > deauth request > > > > > > The vlan thingy seems to be a missing CONFIG in the kernel I use...I > > am currently backing a new one with this option set. > > > > But what is that > > "WPA: wpa_sm_step() called recursively" > > message telling me? > > The device accessing the AP is an ASUS Memo Pad 7 ME176CX tablet... > > > > Best regards, > > Meino > > Hi Meino, > > Looking at the code it looks like the "WPA: wpa_sm_step() called > recursively" message is due to the WPA state machine of hostapd > currently running a step in its state machine and that step then trying > to run another step in the state machine. It seems like that's an a > hostapd problem, probably triggered by the authentication issues. > > Can you post your hostapd.conf file (with passwords and other personal > information redacted?) > > It still seems like something with authentication isn't quite right. > > Also, have you seen https://github.com/oblique/create_ap > > There's even Gentoo instructions for pulling it from an overlay. It > might be interesting to see what kind of config file that script creates > (and if it works.) > > Regards, > > Todd > > Hi Todd, thanks for all your help and patience... :)) The recursive(recursive(recursive).problem.).problem).problem has been solved by rebooting my PC (due to the new kernel) and restarting the tablet PC. Now I am fighting against dhcpd...as sson as I want to start that beast its telling me that dhcpd.ldap is missing. This was not installed (at least as an example) by emerge. I have no idea what is to get into that file. I will check create_ap...may be it is more intelligent than me in writing config-files ;) But unfortunately I have to stop my journey here for today...it is late here (9:00 pm) and I have to get out early tommorrow (4:00 am). But /I want/ to get this running finally. We will see. As soon I have something new, I will post more of the contents of my harddisk ;) Best regards and thanks again! 8) Meino
Re: [gentoo-user] To Wifi or not to Wifi...
* meino.cra...@gmx.de [150728 14:44]: [..SNIP..] > Hi Todd, > > ok, I've fixed that...now it displays another error: > > >/usr/sbin/hostapd /etc/hostapd/hostapd.conf > Configuration file: /etc/hostapd/hostapd.conf > wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE > Using interface wlan0 with hwaddr 14:cc:20:17:24:49 and ssid "" > VLAN: vlan_set_name_type: SET_VLAN_NAME_TYPE_CMD name_type=2 failed: Package > not installed > wlan0: interface state COUNTRY_UPDATE->ENABLED > wlan0: AP-ENABLED > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) > WPA: wpa_sm_step() called recursively > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to local deauth > request > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) > WPA: wpa_sm_step() called recursively > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to local deauth > request > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) > WPA: wpa_sm_step() called recursively > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to local deauth > request > > > The vlan thingy seems to be a missing CONFIG in the kernel I use...I > am currently backing a new one with this option set. > > But what is that > "WPA: wpa_sm_step() called recursively" > message telling me? > The device accessing the AP is an ASUS Memo Pad 7 ME176CX tablet... > > Best regards, > Meino Hi Meino, Looking at the code it looks like the "WPA: wpa_sm_step() called recursively" message is due to the WPA state machine of hostapd currently running a step in its state machine and that step then trying to run another step in the state machine. It seems like that's an a hostapd problem, probably triggered by the authentication issues. Can you post your hostapd.conf file (with passwords and other personal information redacted?) It still seems like something with authentication isn't quite right. Also, have you seen https://github.com/oblique/create_ap There's even Gentoo instructions for pulling it from an overlay. It might be interesting to see what kind of config file that script creates (and if it works.) Regards, Todd
Re: [gentoo-user] To Wifi or not to Wifi...
Thanasis [15-07-28 19:28]: > On 07/28/2015 07:36 PM, meino.cra...@gmx.de wrote: > > >When starting hostapd, it says: > > * Caching service dependencies ... > >[ ok ] > > * Bringing up interface wlan0 > > * Running preup ... > > * Starting wpa_supplicant on wlan0 ... > > * start-stop-daemon: /sbin/wpa_supplicant does not exist > >< > * ERROR: net.wlan0 failed to start > > * ERROR: cannot start hostapd as net.wlan0 would not start > > > > try the following in your /etc/conf.d/net > > modules_wlan0="!iwconfig !wpa_supplicant" > Hi Thanasis, thanks for your help:) ...it was already set that way... (scratching my head...) Best regards, Meino
Re: [gentoo-user] To Wifi or not to Wifi...
Todd Goodman [15-07-28 20:24]: > * meino.cra...@gmx.de [150728 14:08]: > [..SNIP..] > > Hi Todd, > > > > I unblocked with rfkill and I am a step further: > > The SSID is shown on my tablet together with a > > boobastic signal strength (no wonder: distance is below 30 cm...;) > > BUT: No connect...: > > > > I start hostapd by hand since wpa_supplicant seems to be hardcoded > > somewhere... > > > > Now I got this (stderr of hostapd) > > > > wlan0: interface state COUNTRY_UPDATE->ENABLED > > wlan0: AP-ENABLED > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) > > wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd > > wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session > > 55B7C32D- > > wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN) > > wlan0: AP-STA-DISCONNECTED ac:9e:17:e7:c7:bd > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: disassociated > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to inactivity > > (timer DEAUTH/REMOVE) > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) > > wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd > > wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session > > 55B7C32D-0001 > > wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN) > > wlan0: AP-STA-DISCONNECTED ac:9e:17:e7:c7:bd > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: disassociated > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to inactivity > > (timer DEAUTH/REMOVE) > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) > > wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd > > wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session > > 55B7C32D-0002 > > wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN) > > wlan0: AP-STA-DISCONNECTED ac:9e:17:e7:c7:bd > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: disassociated > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to inactivity > > (timer DEAUTH/REMOVE) > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) > > wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd > > wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session > > 55B7C32D-0003 > > wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN) > > > > What's happening here...? > > > > I am sure, it is a layer 8 failure ;) > > (me) > > > > Best regards, > > Meino > > Hi Meino, > > Again, I'm not sure, but it looks like hostapd is set up to do WPA with EAP > (WPA-Enterprise) which uses a RADIUS backend. > > Is it possible that you want to make sure your hostapd configuration > file is configured for WPA-PSK (something like:) > > auth_algs=1 # 1=wpa, 2=wep, 3=both > wpa=2 # WPA2 only > wpa_key_mgmt=WPA-PSK > rsn_pairwise=CCMP > wpa_passphrase=somepassword > > Sorry if you already posted that you have that already. I've lost track > of what your hostapd configuration file has in it. > > Regards, > > Todd > Hi Todd, ok, I've fixed that...now it displays another error: >/usr/sbin/hostapd /etc/hostapd/hostapd.conf Configuration file: /etc/hostapd/hostapd.conf wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE Using interface wlan0 with hwaddr 14:cc:20:17:24:49 and ssid "" VLAN: vlan_set_name_type: SET_VLAN_NAME_TYPE_CMD name_type=2 failed: Package not installed wlan0: interface state COUNTRY_UPDATE->ENABLED wlan0: AP-ENABLED wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) WPA: wpa_sm_step() called recursively wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to local deauth request wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) WPA: wpa_sm_step() called recursively wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to local deauth request wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) WPA: wpa_sm_step() called recursively wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to local deauth request The vlan thingy seems to be a missing CONFIG in the kernel I use...I am currently backing a new one with this option set. But what is that "WPA: wpa_sm_step() called recursively" message telling me? The device accessing the AP is an ASUS Memo Pad 7 ME176CX tablet... Best regards, Meino
Re: [gentoo-user] To Wifi or not to Wifi...
* meino.cra...@gmx.de [150728 14:08]: [..SNIP..] > Hi Todd, > > I unblocked with rfkill and I am a step further: > The SSID is shown on my tablet together with a > boobastic signal strength (no wonder: distance is below 30 cm...;) > BUT: No connect...: > > I start hostapd by hand since wpa_supplicant seems to be hardcoded > somewhere... > > Now I got this (stderr of hostapd) > > wlan0: interface state COUNTRY_UPDATE->ENABLED > wlan0: AP-ENABLED > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) > wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd > wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session > 55B7C32D- > wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN) > wlan0: AP-STA-DISCONNECTED ac:9e:17:e7:c7:bd > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: disassociated > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to inactivity > (timer DEAUTH/REMOVE) > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) > wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd > wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session > 55B7C32D-0001 > wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN) > wlan0: AP-STA-DISCONNECTED ac:9e:17:e7:c7:bd > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: disassociated > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to inactivity > (timer DEAUTH/REMOVE) > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) > wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd > wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session > 55B7C32D-0002 > wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN) > wlan0: AP-STA-DISCONNECTED ac:9e:17:e7:c7:bd > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: disassociated > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to inactivity > (timer DEAUTH/REMOVE) > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) > wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd > wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session > 55B7C32D-0003 > wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN) > > What's happening here...? > > I am sure, it is a layer 8 failure ;) > (me) > > Best regards, > Meino Hi Meino, Again, I'm not sure, but it looks like hostapd is set up to do WPA with EAP (WPA-Enterprise) which uses a RADIUS backend. Is it possible that you want to make sure your hostapd configuration file is configured for WPA-PSK (something like:) auth_algs=1 # 1=wpa, 2=wep, 3=both wpa=2 # WPA2 only wpa_key_mgmt=WPA-PSK rsn_pairwise=CCMP wpa_passphrase=somepassword Sorry if you already posted that you have that already. I've lost track of what your hostapd configuration file has in it. Regards, Todd
Re: [gentoo-user] To Wifi or not to Wifi...
Todd Goodman [15-07-28 19:48]: > * meino.cra...@gmx.de [150728 13:25]: > > Todd Goodman [15-07-28 19:08]: > > > * meino.cra...@gmx.de [150728 11:28]: > > > [..SNIP..] > > > > Hi Todd, > > > > > > > > thanks for your help! :) > > > > > > > > I will to adjust the config file and see what will happen... > > > > Dont worry about the password...it is a fake one. If everything is > > > > running fine, if will choose a more random one. > > > > > > > > By the way...While tumbling down the google hole ;) I came across > > > > "hostapd" which exactly seems to be build for the purpose I want: An > > > > access point. > > > > > > > > BUT: > > > > I could not decide, what tutorial is correct: > > > > Do I still need wpa_supplicant with hostapd or > > > > Don't I neeed wpa_supplicant? > > > > > > > > Thank you very much in advance for any help! > > > > Best regards, > > > > Meino > > > > > > Hi Meino, > > > > > > I don't think you need wpa_supplicant if you're using hostapd (unless > > > you need to also connect to a WAP in additional to being a WAP > > > yourself, and in that case I don't know if it requires a different > > > interface to do that.) > > > > > > I think wpa_supplicant is a supplicant (i.e., client only) component. > > > > > > But I could be wrong and hopefully someone else will chime in with more > > > hostapd experience than I have. > > > > > > Regards, > > > > > > Todd > > > > > > > Hi, > > > > Slowly but surely I got a lot of ants in my head...or it feels like. > > There are SO MANY tutorial out there and every doc says something > > different. > > > > No I got this: > > > > >rfkill list > > 1: phy1: Wireless LAN > > Soft blocked: yes > > Hard blocked: no > > > > Damn! This is the by far the most complicated thing which came across > > my way with linux... > > > > > > Best regards, > > Meino > > > > > > Hi Meino, > > Since it's soft blocked I think you need an: > > rfkill unblock wifi > > But I haven't had to worry about rfkill before so might have it wrong. > > Todd > Hi Todd, I unblocked with rfkill and I am a step further: The SSID is shown on my tablet together with a boobastic signal strength (no wonder: distance is below 30 cm...;) BUT: No connect...: I start hostapd by hand since wpa_supplicant seems to be hardcoded somewhere... Now I got this (stderr of hostapd) wlan0: interface state COUNTRY_UPDATE->ENABLED wlan0: AP-ENABLED wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session 55B7C32D- wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN) wlan0: AP-STA-DISCONNECTED ac:9e:17:e7:c7:bd wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: disassociated wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE) wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session 55B7C32D-0001 wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN) wlan0: AP-STA-DISCONNECTED ac:9e:17:e7:c7:bd wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: disassociated wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE) wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session 55B7C32D-0002 wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN) wlan0: AP-STA-DISCONNECTED ac:9e:17:e7:c7:bd wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: disassociated wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE) wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1) wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session 55B7C32D-0003 wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN) What's happening here...? I am sure, it is a layer 8 failure ;) (me) Best regards, Meino
Re: [gentoo-user] To Wifi or not to Wifi...
* meino.cra...@gmx.de [150728 13:25]: > Todd Goodman [15-07-28 19:08]: > > * meino.cra...@gmx.de [150728 11:28]: > > [..SNIP..] > > > Hi Todd, > > > > > > thanks for your help! :) > > > > > > I will to adjust the config file and see what will happen... > > > Dont worry about the password...it is a fake one. If everything is > > > running fine, if will choose a more random one. > > > > > > By the way...While tumbling down the google hole ;) I came across > > > "hostapd" which exactly seems to be build for the purpose I want: An > > > access point. > > > > > > BUT: > > > I could not decide, what tutorial is correct: > > > Do I still need wpa_supplicant with hostapd or > > > Don't I neeed wpa_supplicant? > > > > > > Thank you very much in advance for any help! > > > Best regards, > > > Meino > > > > Hi Meino, > > > > I don't think you need wpa_supplicant if you're using hostapd (unless > > you need to also connect to a WAP in additional to being a WAP > > yourself, and in that case I don't know if it requires a different > > interface to do that.) > > > > I think wpa_supplicant is a supplicant (i.e., client only) component. > > > > But I could be wrong and hopefully someone else will chime in with more > > hostapd experience than I have. > > > > Regards, > > > > Todd > > > > Hi, > > Slowly but surely I got a lot of ants in my head...or it feels like. > There are SO MANY tutorial out there and every doc says something > different. > > No I got this: > > >rfkill list > 1: phy1: Wireless LAN > Soft blocked: yes > Hard blocked: no > > Damn! This is the by far the most complicated thing which came across > my way with linux... > > > Best regards, > Meino > > Hi Meino, Since it's soft blocked I think you need an: rfkill unblock wifi But I haven't had to worry about rfkill before so might have it wrong. Todd
Re: [gentoo-user] To Wifi or not to Wifi...
Todd Goodman [15-07-28 19:08]: > * meino.cra...@gmx.de [150728 11:28]: > [..SNIP..] > > Hi Todd, > > > > thanks for your help! :) > > > > I will to adjust the config file and see what will happen... > > Dont worry about the password...it is a fake one. If everything is > > running fine, if will choose a more random one. > > > > By the way...While tumbling down the google hole ;) I came across > > "hostapd" which exactly seems to be build for the purpose I want: An access > > point. > > > > BUT: > > I could not decide, what tutorial is correct: > > Do I still need wpa_supplicant with hostapd or > > Don't I neeed wpa_supplicant? > > > > Thank you very much in advance for any help! > > Best regards, > > Meino > > Hi Meino, > > I don't think you need wpa_supplicant if you're using hostapd (unless > you need to also connect to a WAP in additional to being a WAP > yourself, and in that case I don't know if it requires a different > interface to do that.) > > I think wpa_supplicant is a supplicant (i.e., client only) component. > > But I could be wrong and hopefully someone else will chime in with more > hostapd experience than I have. > > Regards, > > Todd > Hi, Slowly but surely I got a lot of ants in my head...or it feels like. There are SO MANY tutorial out there and every doc says something different. No I got this: >rfkill list 1: phy1: Wireless LAN Soft blocked: yes Hard blocked: no Damn! This is the by far the most complicated thing which came across my way with linux... Best regards, Meino
Re: [gentoo-user] To Wifi or not to Wifi...
On 07/28/2015 07:36 PM, meino.cra...@gmx.de wrote: When starting hostapd, it says: * Caching service dependencies ... [ ok ] * Bringing up interface wlan0 * Running preup ... * Starting wpa_supplicant on wlan0 ... * start-stop-daemon: /sbin/wpa_supplicant does not exist < try the following in your /etc/conf.d/net modules_wlan0="!iwconfig !wpa_supplicant"
Re: [gentoo-user] To Wifi or not to Wifi...
* meino.cra...@gmx.de [150728 11:28]: [..SNIP..] > Hi Todd, > > thanks for your help! :) > > I will to adjust the config file and see what will happen... > Dont worry about the password...it is a fake one. If everything is > running fine, if will choose a more random one. > > By the way...While tumbling down the google hole ;) I came across > "hostapd" which exactly seems to be build for the purpose I want: An access > point. > > BUT: > I could not decide, what tutorial is correct: > Do I still need wpa_supplicant with hostapd or > Don't I neeed wpa_supplicant? > > Thank you very much in advance for any help! > Best regards, > Meino Hi Meino, I don't think you need wpa_supplicant if you're using hostapd (unless you need to also connect to a WAP in additional to being a WAP yourself, and in that case I don't know if it requires a different interface to do that.) I think wpa_supplicant is a supplicant (i.e., client only) component. But I could be wrong and hopefully someone else will chime in with more hostapd experience than I have. Regards, Todd
Re: [gentoo-user] To Wifi or not to Wifi...
Thanasis [15-07-28 18:08]: > On 07/28/2015 06:27 PM, meino.cra...@gmx.de wrote: > > >By the way...While tumbling down the google hole ;) I came across > >"hostapd" which exactly seems to be build for the purpose I want: An > >access point. > > > >BUT: > >I could not decide, what tutorial is correct: > >Do I still need wpa_supplicant with hostapd > > You don't need wpa_supplicant to run hostapd even with wpa. > > Hi Thanasis, thanks for the info :) (I will take nearly any opportunity to get rid of this over 1000 lines large wpa_supplicant conf monster...but:) When starting hostapd, it says: * Caching service dependencies ... [ ok ] * Bringing up interface wlan0 * Running preup ... * Starting wpa_supplicant on wlan0 ... * start-stop-daemon: /sbin/wpa_supplicant does not exist <
Re: [gentoo-user] To Wifi or not to Wifi...
On 07/28/2015 06:27 PM, meino.cra...@gmx.de wrote: By the way...While tumbling down the google hole ;) I came across "hostapd" which exactly seems to be build for the purpose I want: An access point. BUT: I could not decide, what tutorial is correct: Do I still need wpa_supplicant with hostapd You don't need wpa_supplicant to run hostapd even with wpa.
Re: [gentoo-user] To Wifi or not to Wifi...
Todd Goodman [15-07-28 17:01]: > * meino.cra...@gmx.de [150727 23:07]: > [..SNIP..] > > I tried the stripped down version of wpa_supplicat.conf with mixed > > results. I changed it as follows: > > > > hw_mode=n # a simply means 2.4GHz > > channel=0 # the channel to use, 0 means the AP will search for > > the channel with the least interferences > > ieee80211d=1 # limit the frequencies used to those allowed in the > > country > > country_code=DE # the country code > > ieee80211n=1 # 802.11n support > > ieee80211ac=1 # 802.11ac support > > wmm_enabled=1 # QoS support > > > > ssid=somename # the name of the AP > > auth_algs=1 # 1=wpa, 2=wep, 3=both > > wpa=2 # WPA2 only > > wpa_key_mgmt=WPA-PSK > > rsn_pairwise=CCMP > > wpa_passphrase=XX > > > > > > I changed hw_mode to "n" since "a" is not supported by the tablet PC > > which I want to connect to my PC. > > I set the password to something different as shown here... ;) > > > > The output is: > > Successfully initialized wpa_supplicant > > Line 1: unknown global field 'interface=wlan0'. > > Line 1: Invalid configuration line 'interface=wlan0'. > > Line 2: unknown global field 'hw_mode=n'. > > Line 2: Invalid configuration line 'hw_mode=n'. > > Line 3: unknown global field 'channel=0'. > > Line 3: Invalid configuration line 'channel=0'. > > Line 4: unknown global field 'ieee80211d=1'. > > Line 4: Invalid configuration line 'ieee80211d=1'. > > Line 5: unknown global field 'country_code=DE'. > > Line 5: Invalid configuration line 'country_code=DE'. > > Line 6: unknown global field 'ieee80211n=1'. > > Line 6: Invalid configuration line 'ieee80211n=1'. > > Line 7: unknown global field 'ieee80211ac=1'. > > Line 7: Invalid configuration line 'ieee80211ac=1'. > > Line 8: unknown global field 'wmm_enabled=1'. > > Line 8: Invalid configuration line 'wmm_enabled=1'. > > Line 10: unknown global field 'ssid=somename'. > > Line 10: Invalid configuration line 'ssid=somename'. > > Line 11: unknown global field 'auth_algs=1'. > > Line 11: Invalid configuration line 'auth_algs=1'. > > Line 12: unknown global field 'wpa=2'. > > Line 12: Invalid configuration line 'wpa=2'. > > Line 13: unknown global field 'wpa_key_mgmt=WPA-PSK'. > > Line 13: Invalid configuration line 'wpa_key_mgmt=WPA-PSK'. > > Line 14: unknown global field 'rsn_pairwise=CCMP'. > > Line 14: Invalid configuration line 'rsn_pairwise=CCMP'. > > Line 15: unknown global field 'wpa_passphrase=stardancer2107631'. > > Line 15: Invalid configuration line 'wpa_passphrase=X'. > > Failed to read or parse configuration > > '/etc/wpa_supplicant/wpa_supplicant.conf'. > > * start-stop-daemon: failed to start `/usr/sbin/wpa_supplicant' > > [ !! ] > > * ERROR: net.wlan0 failed to start > > [1]4612 exit 1 /etc/init.d/net.wlan0 restart > > This looks like your /etc/wpa_supplicant/wpa_supplicant.conf file is not > formatted correctly. > > I believe most of the first things you're setting are defaulted, but > even so, I'd remove them to get the rest working first (I think > ieee80211d is enabled for Global Roaming so it won't transmit on > channels you shouldn't be in your country, but you could doublecheck if > you're really concerned.) > > The lines starting with ssid=somename should be inside a: > > network={ > } > > enclosure for network configuration. > > Perhaps try with just a network block and see if wpa_supplicant likes it > OK. And make sure there's no funny line endings or the like. > > Also, you didn't out your wpa_passphrase in the error message above > so hopefully it's a fake one or you've changed it by now. > > Todd > Hi Todd, thanks for your help! :) I will to adjust the config file and see what will happen... Dont worry about the password...it is a fake one. If everything is running fine, if will choose a more random one. By the way...While tumbling down the google hole ;) I came across "hostapd" which exactly seems to be build for the purpose I want: An access point. BUT: I could not decide, what tutorial is correct: Do I still need wpa_supplicant with hostapd or Don't I neeed wpa_supplicant? Thank you very much in advance for any help! Best regards, Meino
Re: [gentoo-user] To Wifi or not to Wifi...
* meino.cra...@gmx.de [150727 23:07]: [..SNIP..] > I tried the stripped down version of wpa_supplicat.conf with mixed > results. I changed it as follows: > > hw_mode=n # a simply means 2.4GHz > channel=0 # the channel to use, 0 means the AP will search for > the channel with the least interferences > ieee80211d=1 # limit the frequencies used to those allowed in the > country > country_code=DE # the country code > ieee80211n=1 # 802.11n support > ieee80211ac=1 # 802.11ac support > wmm_enabled=1 # QoS support > > ssid=somename # the name of the AP > auth_algs=1 # 1=wpa, 2=wep, 3=both > wpa=2 # WPA2 only > wpa_key_mgmt=WPA-PSK > rsn_pairwise=CCMP > wpa_passphrase=XX > > > I changed hw_mode to "n" since "a" is not supported by the tablet PC > which I want to connect to my PC. > I set the password to something different as shown here... ;) > > The output is: > Successfully initialized wpa_supplicant > Line 1: unknown global field 'interface=wlan0'. > Line 1: Invalid configuration line 'interface=wlan0'. > Line 2: unknown global field 'hw_mode=n'. > Line 2: Invalid configuration line 'hw_mode=n'. > Line 3: unknown global field 'channel=0'. > Line 3: Invalid configuration line 'channel=0'. > Line 4: unknown global field 'ieee80211d=1'. > Line 4: Invalid configuration line 'ieee80211d=1'. > Line 5: unknown global field 'country_code=DE'. > Line 5: Invalid configuration line 'country_code=DE'. > Line 6: unknown global field 'ieee80211n=1'. > Line 6: Invalid configuration line 'ieee80211n=1'. > Line 7: unknown global field 'ieee80211ac=1'. > Line 7: Invalid configuration line 'ieee80211ac=1'. > Line 8: unknown global field 'wmm_enabled=1'. > Line 8: Invalid configuration line 'wmm_enabled=1'. > Line 10: unknown global field 'ssid=somename'. > Line 10: Invalid configuration line 'ssid=somename'. > Line 11: unknown global field 'auth_algs=1'. > Line 11: Invalid configuration line 'auth_algs=1'. > Line 12: unknown global field 'wpa=2'. > Line 12: Invalid configuration line 'wpa=2'. > Line 13: unknown global field 'wpa_key_mgmt=WPA-PSK'. > Line 13: Invalid configuration line 'wpa_key_mgmt=WPA-PSK'. > Line 14: unknown global field 'rsn_pairwise=CCMP'. > Line 14: Invalid configuration line 'rsn_pairwise=CCMP'. > Line 15: unknown global field 'wpa_passphrase=stardancer2107631'. > Line 15: Invalid configuration line 'wpa_passphrase=X'. > Failed to read or parse configuration > '/etc/wpa_supplicant/wpa_supplicant.conf'. > * start-stop-daemon: failed to start `/usr/sbin/wpa_supplicant' > [ !! ] > * ERROR: net.wlan0 failed to start > [1]4612 exit 1 /etc/init.d/net.wlan0 restart This looks like your /etc/wpa_supplicant/wpa_supplicant.conf file is not formatted correctly. I believe most of the first things you're setting are defaulted, but even so, I'd remove them to get the rest working first (I think ieee80211d is enabled for Global Roaming so it won't transmit on channels you shouldn't be in your country, but you could doublecheck if you're really concerned.) The lines starting with ssid=somename should be inside a: network={ } enclosure for network configuration. Perhaps try with just a network block and see if wpa_supplicant likes it OK. And make sure there's no funny line endings or the like. Also, you didn't out your wpa_passphrase in the error message above so hopefully it's a fake one or you've changed it by now. Todd
Re: [gentoo-user] To Wifi or not to Wifi...
Mick [15-07-27 21:04]: > On Monday 27 Jul 2015 19:13:03 meino.cra...@gmx.de wrote: > > Hi, > > > > shocked from over 1000 lines of configurational stuff in > > wpa_supplicant.conf I have manovered to this point > > > > The USB Wifi-dongle now is a TP-LINK WN722N with Atheros chipset AR9271 > > 802.11n (thanks for the hint!) which driver is by far easier to compile > > and use as the hassle with this other one... > > > > I started /etc/init.d/hostapd manually and the /etc/init.d/net.wlan0 > > and got this here > > > > Successfully initialized wpa_supplicant > > rfkill: Cannot open RFKILL control device > > [ ok ] * Starting wpa_cli on wlan0 ... > >[ ok ] * > > Backgrounding ... ... > > * WARNING: net.wlan0 has started, but is inactive > > > > > > I am confused by this...especially by "rfkill: Cannot open RFKILL control > > device...[OK]". It's feeling like: "Unexpected ERROR: SUCCESS" > > > > > > What is the above text is trying to tell me? > > It is probably telling you that you have not configured rfkill in your kernel? > > $ grep RFKILL /usr/src/linux/.config > CONFIG_RFKILL=m > CONFIG_RFKILL_LEDS=y > CONFIG_RFKILL_INPUT=y > # CONFIG_AMILO_RFKILL is not set > # CONFIG_TOSHIBA_BT_RFKILL is not set > > > This allows you to control the state of the hardware using any buttons for it > on your laptop, or by running the command 'rfkill list/block/unblock DEVICE'. > > > > PS: > > Is there any stripped down version of wpa_supplicant.conf > > for AP use? Sawing that reminds me a little at manually configuring > > sendmail > > For hostapd use this: > > https://wiki.gentoo.org/wiki/Hostapd#802.11a.2Fn.2Fac_with_WPA2-PSK_and_CCMP > > > For the client look at this: > > https://wiki.gentoo.org/wiki/Wpa_supplicant#WPA2_with_wpa_supplicant > > -- > Regards, > Mick Hi Mick, I recompiled the kernel with the flags set! Never thought, that this is a kernel thing..."rfkill" souns like any other commandline tool... :) I tried the stripped down version of wpa_supplicat.conf with mixed results. I changed it as follows: hw_mode=n # a simply means 2.4GHz channel=0 # the channel to use, 0 means the AP will search for the channel with the least interferences ieee80211d=1 # limit the frequencies used to those allowed in the country country_code=DE # the country code ieee80211n=1 # 802.11n support ieee80211ac=1 # 802.11ac support wmm_enabled=1 # QoS support ssid=somename # the name of the AP auth_algs=1 # 1=wpa, 2=wep, 3=both wpa=2 # WPA2 only wpa_key_mgmt=WPA-PSK rsn_pairwise=CCMP wpa_passphrase=XX I changed hw_mode to "n" since "a" is not supported by the tablet PC which I want to connect to my PC. I set the password to something different as shown here... ;) The output is: Successfully initialized wpa_supplicant Line 1: unknown global field 'interface=wlan0'. Line 1: Invalid configuration line 'interface=wlan0'. Line 2: unknown global field 'hw_mode=n'. Line 2: Invalid configuration line 'hw_mode=n'. Line 3: unknown global field 'channel=0'. Line 3: Invalid configuration line 'channel=0'. Line 4: unknown global field 'ieee80211d=1'. Line 4: Invalid configuration line 'ieee80211d=1'. Line 5: unknown global field 'country_code=DE'. Line 5: Invalid configuration line 'country_code=DE'. Line 6: unknown global field 'ieee80211n=1'. Line 6: Invalid configuration line 'ieee80211n=1'. Line 7: unknown global field 'ieee80211ac=1'. Line 7: Invalid configuration line 'ieee80211ac=1'. Line 8: unknown global field 'wmm_enabled=1'. Line 8: Invalid configuration line 'wmm_enabled=1'. Line 10: unknown global field 'ssid=somename'. Line 10: Invalid configuration line 'ssid=somename'. Line 11: unknown global field 'auth_algs=1'. Line 11: Invalid configuration line 'auth_algs=1'. Line 12: unknown global field 'wpa=2'. Line 12: Invalid configuration line 'wpa=2'. Line 13: unknown global field 'wpa_key_mgmt=WPA-PSK'. Line 13: Invalid configuration line 'wpa_key_mgmt=WPA-PSK'. Line 14: unknown global field 'rsn_pairwise=CCMP'. Line 14: Invalid configuration line 'rsn_pairwise=CCMP'. Line 15: unknown global field 'wpa_passphrase=stardancer2107631'. Line 15: Invalid configuration line 'wpa_passphrase=X'. Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'. * start-stop-daemon: failed to start `/usr/sbin/wpa_supplicant' [ !! ] * ERROR: net.wlan0 failed to start [1]4612 exit 1 /etc/init.d/net.wlan0 restart the installed wpa_supplicant is: [I] net-wireless/wpa_supplicant Available versions: 2.4-r3 ~2.4-r4 {ap dbus eap-sim fasteap gnutls +hs2-0 p2p ps3 qt4 readline selinux smartcard ssl tdls uncommon-eap-types wimax wps KERNEL="FreeBSD linux"} Installed versions: 2.4-r3(19:4
Re: [gentoo-user] To Wifi or not to Wifi...
On Monday 27 Jul 2015 19:13:03 meino.cra...@gmx.de wrote: > Hi, > > shocked from over 1000 lines of configurational stuff in > wpa_supplicant.conf I have manovered to this point > > The USB Wifi-dongle now is a TP-LINK WN722N with Atheros chipset AR9271 > 802.11n (thanks for the hint!) which driver is by far easier to compile > and use as the hassle with this other one... > > I started /etc/init.d/hostapd manually and the /etc/init.d/net.wlan0 > and got this here > > Successfully initialized wpa_supplicant > rfkill: Cannot open RFKILL control device > [ ok ] * Starting wpa_cli on wlan0 ... >[ ok ] * > Backgrounding ... ... > * WARNING: net.wlan0 has started, but is inactive > > > I am confused by this...especially by "rfkill: Cannot open RFKILL control > device...[OK]". It's feeling like: "Unexpected ERROR: SUCCESS" > > > What is the above text is trying to tell me? It is probably telling you that you have not configured rfkill in your kernel? $ grep RFKILL /usr/src/linux/.config CONFIG_RFKILL=m CONFIG_RFKILL_LEDS=y CONFIG_RFKILL_INPUT=y # CONFIG_AMILO_RFKILL is not set # CONFIG_TOSHIBA_BT_RFKILL is not set This allows you to control the state of the hardware using any buttons for it on your laptop, or by running the command 'rfkill list/block/unblock DEVICE'. > PS: > Is there any stripped down version of wpa_supplicant.conf > for AP use? Sawing that reminds me a little at manually configuring > sendmail For hostapd use this: https://wiki.gentoo.org/wiki/Hostapd#802.11a.2Fn.2Fac_with_WPA2-PSK_and_CCMP For the client look at this: https://wiki.gentoo.org/wiki/Wpa_supplicant#WPA2_with_wpa_supplicant -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] To Wifi or not to Wifi...
Hi Meino, I don't think you need to worry about the "rfkill: Cannot open RFKILL control device" message. I believe that's for getting status of rfkill switches (the switches on laptops to disable the WiFi radio.) A USB WiFi-dongle doesn't generally have those (at least the ones I've used) and neither does my custom hardware which also gets that warning but works fine. I think the bigger issue is the "WARNING: net.wlan0 has started, but is inactive. I think the next step is trying to run wpa_supplicant by hand and see what it has to say: wpa_supplicant -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -dd (replacing the location of the config file you want to use for the one after the -c above.) The -dd ups the debugging info displayed. Regards, Todd * meino.cra...@gmx.de [150727 14:13]: > Hi, > > shocked from over 1000 lines of configurational stuff in > wpa_supplicant.conf I have manovered to this point > > The USB Wifi-dongle now is a TP-LINK WN722N with Atheros chipset AR9271 > 802.11n > (thanks for the hint!) which driver is by far easier to compile and > use as the hassle with this other one... > > I started /etc/init.d/hostapd manually and the /etc/init.d/net.wlan0 > and got this here > > Successfully initialized wpa_supplicant > rfkill: Cannot open RFKILL control device > [ ok ] > * Starting wpa_cli on wlan0 ... > [ ok ] > * Backgrounding ... ... > * WARNING: net.wlan0 has started, but is inactive > > > I am confused by this...especially by "rfkill: Cannot open RFKILL control > device...[OK]". > It's feeling like: "Unexpected ERROR: SUCCESS" > > > What is the above text is trying to tell me? > > > Thank you very much in advance for any help! > Best regards, > Meino > > > > > > PS: > Is there any stripped down version of wpa_supplicant.conf > for AP use? Sawing that reminds me a little at manually configuring > sendmail > >
[gentoo-user] To Wifi or not to Wifi...
Hi, shocked from over 1000 lines of configurational stuff in wpa_supplicant.conf I have manovered to this point The USB Wifi-dongle now is a TP-LINK WN722N with Atheros chipset AR9271 802.11n (thanks for the hint!) which driver is by far easier to compile and use as the hassle with this other one... I started /etc/init.d/hostapd manually and the /etc/init.d/net.wlan0 and got this here Successfully initialized wpa_supplicant rfkill: Cannot open RFKILL control device [ ok ] * Starting wpa_cli on wlan0 ... [ ok ] * Backgrounding ... ... * WARNING: net.wlan0 has started, but is inactive I am confused by this...especially by "rfkill: Cannot open RFKILL control device...[OK]". It's feeling like: "Unexpected ERROR: SUCCESS" What is the above text is trying to tell me? Thank you very much in advance for any help! Best regards, Meino PS: Is there any stripped down version of wpa_supplicant.conf for AP use? Sawing that reminds me a little at manually configuring sendmail